Created
January 14, 2018 14:06
-
-
Save splitline/a6d7a03c547733d70f6e83d3865d7d3f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from requests_toolbelt import SSLAdapter | |
from OpenSSL import SSL | |
from requests.packages.urllib3.exceptions import InsecureRequestWarning | |
requests.packages.urllib3.disable_warnings(InsecureRequestWarning) | |
req = requests.Session() | |
req.mount('https://', SSLAdapter('TLSv1')) | |
vcode = req.get('https://stu255.ntust.edu.tw/ntust_stu/VCode.aspx',verify=False, stream=True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asn1crypto==0.22.0 | |
beautifulsoup4==4.6.0 | |
certifi==2017.7.27.1 | |
cffi==1.10.0 | |
chardet==3.0.4 | |
cryptography==2.0.3 | |
dj-database-url==0.4.2 | |
dj-static==0.0.6 | |
Django==1.11.5 | |
django-extensions==1.9.1 | |
django-toolbelt==0.0.1 | |
gunicorn==19.7.1 | |
idna==2.6 | |
psycopg2==2.7.3.1 | |
pyasn1==0.3.4 | |
pycparser==2.18 | |
pyOpenSSL==17.2.0 | |
pytz==2017.2 | |
requests==2.11.1 | |
requests-toolbelt==0.8.0 | |
six==1.10.0 | |
static3==0.7.0 | |
urllib3==1.22 | |
whitenoise==3.3.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment