The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 08:34:07 AM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: New adsense login with curl?  (Read 825 times)
jsp123
Rookie
**
Offline Offline

Posts: 20


View Profile
« on: October 10, 2011, 06:53:57 PM »

My adsense stats scraper broke after they updated the login page (around 9/25). It goes through a bunch of redirects and gives me a 'Your browser's cookie functionality is turned off. Please turn it on.' error.  Has anyone gotten this working? I am thinking that maybe I will set CURLOPT_FOLLOWLOCATION to 0 and follow the redirects manually.  Anyways 4+ hours of working on this is enough for one day, thought I would post in case someone else had some insight.

Thanks

Justin
Logged

No links in signatures please
Bompa
Administrator
Lifer
*****
Offline Offline

Posts: 524


View Profile
« Reply #1 on: October 11, 2011, 01:02:00 AM »

This type of thing has happened to me with my perl scripts.  So, yes, that's exactly
what I have to do, write a GET for each request, because they are setting a new cookie
along the way.
Logged

"Everything that can be counted does not necessarily count; everything that counts cannot necessarily be counted." -- Albert Einstein
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!