-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
403 HTTP errors in web_programming/fetch_anime_and_play.py
#8762
Comments
web_programming/fetch_anime_and_play.py
@tianyizheng02 This is due to https://ww1.gogoanime2.org implementing cloudfare bot protection services |
@CaedenPH I see, then it's definitely best to just mark it as broken like you did. Should we be concerned about this happening to the other scripts in |
Will our dependency https://pypi.org/project/fake-useragent (listed above) allow us to get past cloudflare? |
@cclauss I don't think so. This script had already been using the |
Update: I just tried running the file locally again and now it's no longer broken. Not exactly sure what happened on GoGoAnime's end to fix it, but I think we just need to open a PR to re-enable the file now. |
File was re-enabled in #8988 |
Repository commit
60b5ead
Python version (python --version)
Python 3.11.3
Dependencies version (pip freeze)
beautifulsoup4==4.12.2
black==22.12.0
certifi==2022.12.7
cfgv==3.3.1
charset-normalizer==2.1.1
click==8.1.3
commonmark==0.9.1
contourpy==1.0.6
cycler==0.11.0
distlib==0.3.6
fake-useragent==1.1.3
filelock==3.9.0
fonttools==4.38.0
identify==2.5.11
idna==3.4
joblib==1.2.0
kiwisolver==1.4.4
matplotlib==3.6.2
mpmath==1.2.1
mypy==0.991
mypy-extensions==0.4.3
nodeenv==1.7.0
numpy==1.24.1
packaging==22.0
pandas==1.5.2
pathspec==0.10.3
Pillow==9.4.0
pip==23.1.2
platformdirs==2.6.2
pre-commit==2.21.0
Pygments==2.13.0
pyparsing==3.0.9
python-dateutil==2.8.2
pytz==2022.7
PyYAML==6.0
requests==2.28.1
rich==12.6.0
ruff==0.0.260
scikit-learn==1.2.0
scipy==1.9.3
seaborn==0.12.2
setuptools==65.6.3
six==1.16.0
soupsieve==2.4.1
sympy==1.11.1
threadpoolctl==3.1.0
types-attrs==19.1.0
types-requests==2.28.11.7
types-urllib3==1.26.25.4
typing_extensions==4.4.0
urllib3==1.26.13
virtualenv==20.17.1
Expected behavior
Doctests in
web_programming/fetch_anime_and_play.py
should all passActual behavior
They all fail:
I believe that this started happening in this build run. That build run was for a PR that didn't edit
fetch_anime_and_play.py
at all, so the errors aren't due to an accidentally introduced bug. Furthermore, every build since that one has also failed for the same reason.The text was updated successfully, but these errors were encountered: