The response web page is as below when to slect **title** and input **wordpress**.

[![enter image description here](https://i.stack.imgur.com/KZW1J.png)](https://i.stack.imgur.com/KZW1J.png)

Here is my python code to pass arguments for get method with python3.

```
import urllib.request
import urllib.parse
url = 'http://www.it-ebooks.info/'
values = {'q': 'wordpress','type': 'title'}
data = urllib.parse.urlencode(values).encode(encoding='utf-8',errors='ignore')
headers = { 'User-Agent' : 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0' }
request = urllib.request.Request(url=url, data=data,headers=headers,method='GET')
response = urllib.request.urlopen(request)
buff = response.read()
html = buff.decode("utf8")
print(html)

```

I can't get the desired output web page.
How to pass arguments for get method with urllib in my example?