Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Broken: image load is now driven by js on mal #41

Closed
pushrbx opened this issue Feb 7, 2020 · 1 comment
Closed

Broken: image load is now driven by js on mal #41

pushrbx opened this issue Feb 7, 2020 · 1 comment

Comments

@pushrbx
Copy link
Owner

pushrbx commented Feb 7, 2020

Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/travis/build/pushrbx/python3-mal/tests/anime_tests.py", line 149, in testAired
    assert self.spicy_wolf.aired == (
  File "/home/travis/build/pushrbx/python3-mal/myanimelist/base.py", line 87, in _decorator
    getattr(self, func_name)()
  File "/home/travis/build/pushrbx/python3-mal/myanimelist/media.py", line 603, in load
    self.set(self.parse(utilities.get_clean_dom(media_page)))
  File "/home/travis/build/pushrbx/python3-mal/myanimelist/media.py", line 375, in parse
    media_info = self.parse_sidebar(media_page)
  File "/home/travis/build/pushrbx/python3-mal/myanimelist/anime.py", line 101, in parse_sidebar
    anime_info = super(Anime, self).parse_sidebar(anime_page)
  File "/home/travis/build/pushrbx/python3-mal/myanimelist/media.py", line 174, in parse_sidebar
    media_info['picture'] = picture_tag.get('src').encode("utf-8").decode("utf-8")
AttributeError: 'NoneType' object has no attribute 'encode'
@pushrbx pushrbx changed the title Broken: lxml might have changed Broken: image load is now driven by js on mal Feb 7, 2020
@pushrbx
Copy link
Owner Author

pushrbx commented Feb 7, 2020

fixed

@pushrbx pushrbx closed this as completed Feb 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant