Skip to content

Commit

Permalink
specify version requirements for urllib3
Browse files Browse the repository at this point in the history
urllib3 versions 1.24.1 and 1.24.2 cause HTTP requests to
https://www.artstation.com/users/<username>/quick.json
to fail with a 403: Forbidden status code (#227),
and provoke a CAPTCHA response after solving a Cloudflare challenge.
  • Loading branch information
mikf committed Apr 26, 2019
1 parent bc26fc2 commit c35217e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
requests>=2.11.0
urllib3>=1.16, !=1.24.1, !=1.24.2
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def check_file(fname):
python_requires=">=3.4",
install_requires=[
"requests>=2.11.0",
"urllib3>=1.16, !=1.24.1, !=1.24.2",
],
packages=[
"gallery_dl",
Expand Down

0 comments on commit c35217e

Please sign in to comment.