Skip to content
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

use requests instead of urlopen to avoid 403 #84

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

maddanio
Copy link
Contributor

@maddanio maddanio commented Jan 6, 2021

seems urlopen is blocked by many servers

@ghost
Copy link

ghost commented Jan 6, 2021

Congratulations 🎉. DeepCode analyzed your code in 3.75 seconds and we found no issues. Enjoy a moment of no bugs ☀️.

👉 View analysis in DeepCode’s Dashboard | Configure the bot

@pfultz2
Copy link
Owner

pfultz2 commented Jan 6, 2021

Importing the ssl module can be removed.

cget/util.py Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
@maddanio
Copy link
Contributor Author

all comments worked in

@@ -1,3 +1,4 @@
click>=6.6
# PyYAML
six>=1.10
requests>=2.25.1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needs to be version 2.21.0 as this version doesnt seem to work with python 3.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants