Hacker News new | ask | show | jobs
Show HN: Python script to automate filling out Google form using Selenium (github.com)
10 points by vedipen 2716 days ago
4 comments

Looks good! One of the best reasons to learn python: automating the boring stuff. If you like to write these scripts, definitely check out this book (free online): https://automatetheboringstuff.com/

With all that said, I'm baffled as to why this automation script for a particular Google form --a protected one, no less -- is on the front page...

Thanks for the reply. Surely this can be more generic, where the script itself asks for the required input for once, fetching questions from any form (instead of hard-coding them in the script) and using those inputs to submit it n times!
Linking https://www.seleniumhq.org/docs/03_webdriver.jsp would be more worthwhile
Good work. As someone who has dabbled a bit in Python scraping and forms, I can appreciate the amount of work that must have gone into this.
I've found selenium to be very heavy and unreliable but perhaps it's needed to deal with whatever barrage of cookies and verification Google implements? Did you find it easy to use? I use either mechanize (works like a headless browser, handles cookies, forms, etc) or beautiful soup for scraping.