Mechanize: First Form Works, Then "unknown GET Form Encoding Type 'utf-8'"
I am trying to fill out 2 forms from the EUR-Lex website in order to record some data from the generated webpage. I am stuck at form #2. I get the feeling this should be easy and I
Solution 1:
How I got past this problem:
I re-installed mechanize after changing the source
line 3233 of _form.py
:
if (self.enctype != "application/x-www-form-urlencoded") and (self.enctype != "utf-8"):
it's probably very wrong and can only probably handle my case. but in my specific case it works.
Post a Comment for "Mechanize: First Form Works, Then "unknown GET Form Encoding Type 'utf-8'""