Calvin Jones
Calvin Jones

Reputation: 367

inputting into a web form Python

I'm accessing HTML on a web page and submitting some input into the form. I followed this page Submit data via web form and extract the results step by step and it works with the site he used on post 3. I'm using all the values are right.

The error I'm getting is this and don't know why it works with the other site and not the one intended.

Traceback (most recent call last):
ValueError: unknown GET form encoding type 'x-www-form-urlencoded'

Upvotes: 1

Views: 267

Answers (1)

Thunderboltz
Thunderboltz

Reputation: 1637

Try this before you call submit() browser.form.enctype = ""

Upvotes: 1

Related Questions