News for hackers. Stuff that matters.
Re:Show HN: Python script to automate filling out Google for... by adpirz on Sunday January 13, 2019 @03:42PM (#18898559)
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...

Re:Show HN: Python script to automate filling out Google for... by vedipen on Sunday January 13, 2019 @03:56PM (#18898632)
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 for... by dymk on Sunday January 13, 2019 @03:57PM (#18898635)
Linking https://www.seleniumhq.org/docs/03_webdriver.jsp would be more worthwhile
Re:Show HN: Python script to automate filling out Google for... by amanzi on Sunday January 13, 2019 @04:23PM (#18898783)
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.
Re:Show HN: Python script to automate filling out Google for... by dplgk on Sunday January 13, 2019 @04:11PM (#18898706)
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.