#StackBounty: #python #python-requests #pyqt5 How to get the web data using requests and pyqt5?

Bounty: 50

I want to get the data from http://www.sse.com.cn/assortment/stock/list/info/announcement/index.shtml

You can see five boxes.
I would like to input the information as shown in the figure.
enter image description here

I tried to use requests

import requests

url = r'http://www.sse.com.cn/assortment/stock/list/info/announcement/index.shtml'
payload = {'inputCode': '600000', 'single_select_2':'DQGG', 'start_date': '2018-06-01', 'end_date':'2019-01-23'}
response = requests.post(url, data = payload)

However, I cannot get the correct result.

What should be the correct approach?

How to do it using pyqt5?

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.