Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

'NoneType' object has no attribute 'find' #11

Open
tanner02 opened this issue Dec 6, 2021 · 2 comments
Open

'NoneType' object has no attribute 'find' #11

tanner02 opened this issue Dec 6, 2021 · 2 comments

Comments

@tanner02
Copy link

tanner02 commented Dec 6, 2021

There seems to be an error in the API

Traceback (most recent call last): File "/Users/user/Library/Python/3.9/lib/python/site-packages/anikimiapi/anikimi.py", line 218, in get_episode_link_advanced source_url = lnk.find("li").a AttributeError: 'NoneType' object has no attribute 'find'

@ryan-k8
Copy link
Contributor

ryan-k8 commented Dec 7, 2021

yes, this was simply because the host website has been updated and gives 403 error code if user-agent is not set in request headers. i will make a issue and consequently a PR for fixing this.

@tanner02
Copy link
Author

tanner02 commented Dec 8, 2021

Thank you, I'm looking forward to it!

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

2 participants