modbender / animepahe-downloader

Downloader for animepahe.com
0 stars 0 forks source link

'NoneType' object has no attribute 'attrs' #5

Open kiranran opened 4 years ago

kiranran commented 4 years ago

I tried downloading many different anime, but i keep getting the same error.

Traceback (most recent call last): File "series.py", line 449, in run File "series.py", line 458, in download_episode AttributeError: 'NoneType' object has no attribute 'attrs'

modbender commented 4 years ago

Please give an example anime url

kiranran commented 4 years ago

https://animepahe.com/anime/kyokou-suiri

modbender commented 4 years ago

Fixed, could you please try downloading @kiranran

kiranran commented 4 years ago

I tried and this error appear when i press get episodes for any anime like the one above.

Traceback (most recent call last): File "series.py", line 200, in populate_episodes File "site-packages\selenium\webdriver\remote\webdriver.py", line 333, in get File "site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute File "site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=nssFailure2&u=https%3A//animepahe.com/anime/kyokou-suiri&c=UTF-8&f=regular&d=The%20connection%20to%20animepahe.com%20was%20interrupted%20while%20the%20page%20was%20loading.

modbender commented 4 years ago

Ok, now this error happens because of problems from your side, either geckdriver.exe is closed when it's opened, either you don't have proper version of firefox or internet problems. That's atleast what the internet says.

kiranran commented 4 years ago

I've used VPN, different connection and also latest Firefox version and geckodriver but to no avail. This is the log from geckodriver.

https://throwbin.io/YQ5rEL5

modbender commented 4 years ago

Did you not give it permissions for firewall? It would look something similar to this: Image description

kiranran commented 4 years ago

Already did, both firefox and series.

uali6981 commented 4 years ago

I have same issue.

Log for error Annotation 2020-03-24 035822

For Path Annotation 2020-03-24 041307

For series Firewall Annotation 2020-03-24 041339

For Firefox Firewall Annotation 2020-03-24 041357

Please help