l0b0 / export

Export scripts for miscellaneous web sites
GNU General Public License v3.0
9 stars 1 forks source link

LibraryThing.sh fix/update #4

Closed lidel closed 10 years ago

lidel commented 10 years ago

Hello,

change

LOGIN_URL='https://www.librarything.com/signup.php'

to

LOGIN_URL='https://www.librarything.com/enter/start' 

And the export/backup script will work again :-)

l0b0 commented 10 years ago

https://www.librarything.com/enter/start just redirects to https://www.librarything.com/problem.php, so that doesn't work here at least. But thanks for the heads up; I'm working on the script...

Actually, it looks like they have some Turing test involved in the login now; I'm getting a cookie value of areyouhuman :/

lidel commented 10 years ago

Hm.. when I post formusername=${USERNAME}&formpassword=${PASSWORD}&index_signin_already=Sign%20in to /action/start it does not redirect me to `problem.php``. I got cookie as expected (at least here). Just tested it and works fine: script fetched CSV.

l0b0 commented 10 years ago

Don't you mean /enter/start? /action/start gives a 404 error.

Regarding /enter/start, it could be that I've tried too many times, and that's the source of the areyouhuman message...

Even better, do you have a GitHub commit I could test?

l0b0 commented 10 years ago

Smacks self Well, that was easy. I was using the wrong password on the command line! Thank you very much for the tip! The script now works again (and has about 20 other improvements).

lidel commented 10 years ago

Yes, I made a typo. I'm glad it worked out, cheers! :-)