There are ways to get the SessionId from Cookie automatically.



My Favorite Open Source Projects
awsome-lists gretl robotframework
(sponsored/patrocinado) Recomendo servidores e alojamento Web em:
http://www.proalojamento.pt/

On Sat, May 20, 2017 at 3:30 PM, guido giaume <guido@giaume.it> wrote:
Hi all
maybe you know, last tuesday Yahoo finance denied automated download of historical data, putting a mandatory  "ID cookie" in the query of download. 


The good news 

It seems to me the  "ID cookie" is unique for every query caming from a single browser. 
E.G. I opened another browser in my machine and the cookie changed, BUT when I asked another series of data, did not.
I find this right now, so I dont know if the "ID cookie" changes day by day.

I think a rough way to bypass the restriction is quite simple.
a) Manually find the our own "ID cookie" (EG going with the mouse over the download link, then reading the last part of the syntiax of the query, at the bottom of windows )
b) put it in the query 



The bad news 

I cant write the changes by myself and so giving a service to the community. 
So please, could somebody verify my hypothesis and - if the trick is good - writing the additional code, inserting a new voice in the yahoo download menu (EG "Enter your cookie")? Could be sufficent BUT
moreover I suggest to delay in some way two successive query, to avoid more stringent measures from Yahoo.


Regards

Guido 



_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users