re: How I Automated The Google Form Filling For My College Attendance Using Python VIEW POST

re: its not working in form which has set response receipt always,

No that's not the case. As I've tried it on such form which sends a response receipt.


try again bro, i have tried today, its working when i disable this option and getting error 400 when i activate it

The reason why you are getting a response error of 400 is because when using the requests module, the posted data is automatically url encoded. Hence posting options that contains characters such as "+", "@" ..etc will cause a bad form error.

Hence, one way you can work around this is to have the request post http URL instead by passing a string.

string = "entry.xxx=Option+1&entry.xxx=option2"
r = requests.post(url, params = string)

Hope this helps.

code of conduct - report abuse