Skip to content Skip to sidebar Skip to footer

Filling Out A Select Tag With Requests Python

I want to choose/enter a value to a select tag using Python Requests For some reason, this doesn't work Html code: Python code: data = { 'name' : 'hourly-rate', 'value' : '

Solution 1:

That's not the correct data structure at all. You need a key-value pair:

data = {
   'hourly-rate': '10-20',
}

Post a Comment for "Filling Out A Select Tag With Requests Python"