July 26, 2020 at 4:28 am #43047
It looks like this part of the submit_form function has an extra indentation:
if method == "post": return self.session.post(post_url, data=post_data) return self.session.get(post_url, params=post_data)
It should be at the same lave as for loop, not inside of it.
Let me know how it goes!