August 2015 |
|
October 2015 |
for i in `seq 1 10`; do python my_script.py; done
Verbose
-v
--trace-ascii <file>
hide progress
-s
extra info
-w "format"
Write output
-O
-o <file>
Timeout
-m <seconds>
POST
-d "string"
-d @file
multipart formpost
-F name=value
-F name=@file
PUT
-T <file>
HEAD
-I
Custom method
-X "METHOD"
Basic auth
-u user:password
read cookiejar
-b <file>
write cookiejar
-c <file>
send cookies
-b "c=1; d=2"
user-agent
-A "string"
Use proxy
-x <host:port>
Headers, add/remove
-H "name: value"
-H "name:"
follow redirects
-L
gzipped response
--compressed
Insecure HTTPS
-k
google.com android.com appengine.google.com cloud.google.com drive.google.com calendar.google.com google-analytics.com google.ca google.cl google.co.in google.co.jp google.co.uk google.com.ar google.com.au google.com.br google.com.co google.com.mx google.com.tr google.com.vn google.de google.es google.fr google.hu google.it google.nl google.pl google.pt googleapis.cn googlecommerce.com googlevideo.com gstatic.com gvt1.com urchin.com url.google.com youtube-nocookie.com youtube.com youtubeeducation.com ytimg.com g.co goo.gl youtu.be
Google Drive firewall and proxy settings: https://support.google.com/drive/answer/2589954?hl=en
For the following hosts, [N] means any single decimal digit and * means any string not containing a period.
www.google.com:443/HTTPS accounts.google.com:443/HTTPS googledrive.com:443/HTTPS drive.google.com:443/HTTPS *.drive.google.com:443/HTTPS docs.google.com:443/HTTPS *.docs.google.com:443/HTTPS *.c.docs.google.com:443/HTTPS sheets.google.com:443/HTTPS slides.google.com:443/HTTPS talk.google.com:5222/XMPP (needed only for Google Drive for Mac/PC) gg.google.com:443/HTTPS script.google.com:443/HTTPS ssl.google-analytics.com:443/HTTPS video.google.com:443/HTTPS s.ytimg.com:443/HTTPS apis.google.com:443/HTTPS *.googleapis.com:443/HTTPS *.googleusercontent.com:443/HTTPS *.gstatic.com:443/HTTPS lh[N].google.com:443/HTTPS [N].client-channel.google.com:443/HTTPS clients[N].google.com:443/HTTPS