gogoanime NoneType has no attrs
See original GitHub issueDescribe the bug
Gogoanime is broken
To reproduce
anime -ll DEBUG dl "https://gogoanime.app/anime/gintama-movie-2-kanketsu-hen-yorozuya-yo-eien-nare-jlk3"
LOG
2020-08-30 17:53:02 RithvijL anime_downloader.util[2236] INFO anime-downloader 4.6.3
2020-08-30 17:53:02 RithvijL anime_downloader.util[2236] DEBUG Platform: Windows-10-10.0.19041-SP0
2020-08-30 17:53:02 RithvijL anime_downloader.util[2236] DEBUG Python 3.8.0
2020-08-30 17:53:02 RithvijL anime_downloader.sites.anime[2236] INFO Extracting episode info from page
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG -----
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG GET https://gogoanime.app/anime/gintama-movie-2-kanketsu-hen-yorozuya-yo-eien-nare-jlk3
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG {}
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG {'user-agent': 'Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/532.1 (KHTML, like Gecko) Chrome/4.0.213.1 Safari/532.1'}
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG -----
2020-08-30 17:53:02 RithvijL anime_downloader.session[2236] DEBUG cached request
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG https://gogoanime.app/anime/gintama-movie-2-kanketsu-hen-yorozuya-yo-eien-nare-jlk3
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG C:\Users\Rithvij\AppData\Local\Temp\animedlgrt1rqtr\tmph088v68q
2020-08-30 17:53:02 RithvijL anime_downloader.sites.anime[2236] DEBUG Metadata scraping error: 'NoneType' object has no attribute 'find'2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG -----
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG GET https://gogoanime.app/anime/gintama-movie-2-kanketsu-hen-yorozuya-yo-eien-nare-jlk3
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG {}
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG {'user-agent': 'Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/532.1 (KHTML, like Gecko) Chrome/4.0.213.1 Safari/532.1'}
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG -----
2020-08-30 17:53:02 RithvijL anime_downloader.session[2236] DEBUG cached request
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG https://gogoanime.app/anime/gintama-movie-2-kanketsu-hen-yorozuya-yo-eien-nare-jlk3
2020-08-30 17:53:02 RithvijL anime_downloader.sites.helpers.request[2236] DEBUG C:\Users\Rithvij\AppData\Local\Temp\animedlgrt1rqtr\tmpeoi9nl1s
Traceback (most recent call last):
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\Rithvij\AppData\Local\Programs\Python\Python38\Scripts\anime.exe\__main__.py", line 7, in <module>
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\anime_downloader\cli.py", line 53, in main
cli()
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\click\core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\click\decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\anime_downloader\commands\dl.py", line 101, in command
anime = cls(anime_url, quality=quality,
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\anime_downloader\sites\anime.py", line 84, in __init__
self._episode_urls = self.get_data()
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\anime_downloader\sites\anime.py", line 165, in get_data
self._episode_urls = self._scrape_episodes()
File "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\anime_downloader\sites\gogoanime.py", line 82, in _scrape_episodes
anime_id = soup.select_one('input#movie_id').attrs['value']
AttributeError: 'NoneType' object has no attribute 'attrs'
Issue Analytics
- State:
- Created 3 years ago
- Comments:22 (6 by maintainers)
Top Results From Across the Web
'NoneType' object has no attribute 'attrs' [duplicate]
1 Answer 1 · I tried your code. It still gives the error 'NoneType' object has no attribute 'attrs' . · @EzyGrip this...
Read more >'NoneType' object has no attribute 'attrs' #48 - GitHub
It gives an error on line 240, icon = (soup.select_one('.dQrBL img.ujDFqe') On replacing it with : icon = (soup.select_one ('. XSyT2c img.
Read more >NoneType object has no attribute text | Edureka Community
AttributeError: 'NoneType' object has no attribute 'foo' - This usually happens because you called find() and then tried to access the .foo ...
Read more >How do I fix : attributeerror: 'nonetype' object has no attribute ...
The message is telling you that info_box.find did not find anythings, so it returned None . And a None object does not have...
Read more >'NoneType' object has no attribute '_inc_path' - Google Groups
There's no way of knowing for sure how this occurred - it may have been caused by an earlier error at the point...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
gogoanime.io works fine
Gogoanime removed in favor of vidstream