oicr-ibc / heliotrope

Other
10 stars 0 forks source link

Restore COSMIC automated download and checking #48

Closed morungos closed 10 years ago

morungos commented 10 years ago

We've got a response from Sanger now, so we can automate the login process. We'll need a configuration setup so we can pass in better into -- actually, this will be better than the excessive environment variables.

Email response follows:

Thanks for contacting COSMIC help desk,

You can get the data downloaded in multiple ways and one of them is by using
wget,

1) wget --save-cookies cookies.txt --post-data 'email=foo&password=bar'
https://cancer.sanger.ac.uk/cosmic/login

2) wget --load-cookies cookies.txt -p "http://path/to/file

Hope this helps,

Thanks,

Prasad.

-- 
Ticket Details <URL: https://rt.sanger.ac.uk/SelfService/Display.html?id=414147 >