dtbaker / envato-scraper

Simple PHP class to get your Envato statement and ratings
http://dtbaker.net
42 stars 12 forks source link

authorisation no longer works #12

Open WebFactoryLtd opened 9 years ago

WebFactoryLtd commented 9 years ago

Hi, A few days ago I started getting this message "Unable to login. Sorry, please try again shortly.". It's both on your script and mine that's slightly modified. Envato has probably changed something ... again :( Any idea how to fix it so that we can scrape pages that need login?

Thanks

dtbaker commented 9 years ago

oh bugger. Mine is still working, I probably have an active session and it hasn't forced the script to login again. I'm travelling at the moment so very tight on time but I might be able to take a look at it tomorrow. I need to fix the new CSV statement for one of my scripts too so I'll check login when doing that.

WebFactoryLtd commented 9 years ago

They added an IP check for "suspicious" IPs. Then you get an email ... and that's the news extra step.

dtbaker commented 9 years ago

I haven't been able to trigger the IP check / email.

I've just updated the script anyway, I'm not sure if the changes I added will help, it wasn't working for me until I hacked around with it a bit more so the update may or may not help.

WebFactoryLtd commented 9 years ago

The IP check thing is very elusive :( Once I got around it via a proxy and authorized the new IP range things went back to normal. Envato should really update their API so that we don't have to hack around ...

evrpress commented 8 years ago

Get the same message

 Unable to login. Sorry, please try again shortly.

The other one is working so I guess it's no longer possible for new sessions :(

Looking forward for a fix

dtbaker commented 8 years ago

I've noticed a change in session cookies in another script. I'll debug this one and see if I can find a fix

thongta commented 8 years ago

Any news on this, dtbaker? I got the same problem with login function.

Pixelous commented 7 years ago

Hi @dtbaker any news?