```python import requests from bs4 import BeautifulSoup as bs4 url = "http://mops.twse.com.tw/mops/web/ajax_t05st10_ifrs" payload = "encodeURIComponent=1&firstin=true&step=0&off=1&yearmonth=10604&TYPEK=sii&year=106&month=04&co_id=2892" headers = { 'content-type': "application/x-www-form-urlencoded", 'cookie': "newmops2=co_id%3D2892%7Cyear%3D%7Cmonth%3D%7C", 'cache-control': "no-cache", } response = requests.request("POST", url, data=payload, headers=headers) response.encoding = 'utf8' dom = bs4(response.text, "html5lib") for data in dom.find_all("td"): if data.string != None: print(data.string.strip()) ``` result: ![](https://i.imgur.com/BSHalvh.png)