0

YQL and websites that use cookie-based authentication

I'm interesting in using YQL to scrape data from a website that uses cookie-based authentication. Is this possible? I've only seen examples of YQL used with OAuth.

by
2 Replies
  • QUOTE (mightybao @ Jan 13 2010, 09:04 AM) <{POST_SNAPBACK}>
    I'm interesting in using YQL to scrape data from a website that uses cookie-based authentication. Is this possible? I've only seen examples of YQL used with OAuth.


    Yes, but you have to do the cookie management yourself by reading and writing cookie headers in an open data table.

    Sam
    0
  • QUOTE (Sam @ Jan 13 2010, 12:20 PM) <{POST_SNAPBACK}>
    Yes, but you have to do the cookie management yourself by reading and writing cookie headers in an open data table.

    Sam


    Are there any code examples of this? Where would I put the cookie management code, in the execute element I take it?

    Also, I would have to pass the cookie back to the user in the YQL request so they could use it in other requests, correct? Or is this something that I could store in the Open Data Table?
    0

Recent Posts

in YQL