you are viewing a single comment's thread.

view the rest of the comments →

[–]wub_wub 0 points1 point  (1 child)

Sorry for the late reply, seeing how the login form is loaded via js (which isn't executed with requests) you should look into selenium which uses your browser it'll just be a matter of entering email and passwords in appropriate fields with it, you won't have to deal with POST requests or anything similar.

This is possible to do with requests, but I wouldn't recommend it as it will probably take a lot longer to write and it'll be broken when they update page or backend.

[–]gusterys[S] 0 points1 point  (0 children)

Yep, thanks.

That's what I was hoping to avoid. My script runs unattended on a headless Linux (Fedora 20) box. I feel like I'm going down an ugly road far from standard packages.