Forums

is it possible to add raw.githubusercontent.com to the whitelist ?

hello,

I just figured out that raw.github.com (which is on the whitelist) is replaced by raw.githubusercontent.com (which is not on the whitelist)

is it possible to add raw.githubusercontent.com to the whitelist

thanks, Stef

Yep! Try it now?

thanks, but no luvk yet ;-)

I tried these, which all work in a browser and from a python file on my desktop

M.ZIP_URL = 'https://raw.github.com/Stef-aap/Solar/master/Groesbeek_Curves/zp_sunnybeam_dag_Groesbeek.zip' M.ZIP_URL = 'http://raw.github.com/Stef-aap/Solar/master/Groesbeek_Curves/zp_sunnybeam_dag_Groesbeek.zip' M.ZIP_URL = 'https://github.com/Stef-aap/Solar/raw/master/Groesbeek_Curves/zp_sunnybeam_dag_Groesbeek.zip' M.ZIP_URL = 'http://github.com/Stef-aap/Solar/raw/master/Groesbeek_Curves/zp_sunnybeam_dag_Groesbeek.zip'

M.ZIP_URL = 'https://raw.githubusercontent.com/Stef-aap/Solar/master/Groesbeek_Curves/zp_sunnybeam_dag_Groesbeek.zip' M.ZIP_URL = 'http://raw.githubusercontent.com/Stef-aap/Solar/master/Groesbeek_Curves/zp_sunnybeam_dag_Groesbeek.zip'

I use this code: urllib.urlretrieve ( M.ZIP_URL, M.RPath )

cheers, Stef

Hm. it may be that urllib is not compatible with the particular protocol that the proxy uses for SSH. Try using HTTP instead of HTTPS, or maybe better, use a different http library, like requests?

you're completely right Harry, thanks very much !!

The following addresses now all work correctly: https://dl.dropboxusercontent.com/ https://raw.github.com/ http://raw.github.com/ https://github.com/ http://github.com/ https://raw.githubusercontent.com/

Not working (but I guess this is due to githubuser requiring https): http://raw.githubusercontent.com/

cheers, Stef