Show HN: Python script to automate filling out Google form using Selenium
1–6 of 6 posts
Re: Show HN: Python script to automate filling out Google form using Selenium
#2Looks 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...
Re: Show HN: Python script to automate filling out Google form using Selenium
#3Looks 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!
Re: Show HN: Python script to automate filling out Google form using Selenium
#4Linking https://www.seleniumhq.org/docs/03_webdriver.jsp would be more worthwhile
Re: Show HN: Python script to automate filling out Google form using Selenium
#5I'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.
Re: Show HN: Python script to automate filling out Google form using Selenium
#6Good 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.