honda4life
Posts: 75
Joined: Thu Mar 15, 2012 7:27 pm

Automated form filling

Sun Sep 29, 2013 9:13 am

Hello,

I want to use automated form filling on a webpage with a Pi.
Something like iMacros addon for firefox.
I'm using Python Curl and Beatiful Soup to do the necessary things, but I'm hoping there is a better way.
Any suggestions, because it's very difficult this way.


Thank you!

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Automated form filling

Sun Sep 29, 2013 9:31 am

Form filling for what exactly??

Most web forms I've seen use POST requests this can be simulated using wget and a simple shell script the same as using Firefox or any other browser.

Richard S.

honda4life
Posts: 75
Joined: Thu Mar 15, 2012 7:27 pm

Re: Automated form filling

Sun Sep 29, 2013 10:06 am

reposting "bargains" on website ;)
So need some data to extract before completing the post request ;)

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Automated form filling

Tue Oct 01, 2013 4:10 am

You may find Python's requests module quite handy http://docs.python-requests.org/en/latest/index.html

User avatar
LemmeFatale
Posts: 253
Joined: Fri Feb 01, 2013 8:47 pm
Location: UK

Re: Automated form filling

Wed Oct 02, 2013 4:39 am

honda4life wrote:reposting "bargains" on website ;)
So need some data to extract before completing the post request ;)
I really hope that that's not a euphemism for spam. :lol:
Classic - Raspberry Pi Model B (512MB) with Motorola Atrix Lapdock
Lemcon-One - Raspberry Pi Model B (256MB) PiMAME TV-Box

Return to “General discussion”