import requests
url = "https://www.ris.gov.tw/info-doorplate/app/doorplate/dateQuery"
data = {
"searchType": "date",
"cityCode": "63000000",
"tkt": "-1",
"areaCode": "63000010",
"village": "",
"neighbor": "",
"sDate": "001-01-01",
"eDate": "110-03-25",
"_includeNoDate": "on",
"registerKind": "0",
"floor": "",
"lane": "",
"alley": "",
"number": "",
"number1": "",
"ext": "",
"_search": "false",
"nd": "1616602191259",
"rows": "20",
"page": "1",
"sidx": "",
"sord": "asc",
"token": ""
}
r = requests.post(url, data=data)
r.encoding='utf-8'
f = open(r'dump.txt', 'w', encoding="utf-8")
f.write(r.text)
f.close()
0 意見:
張貼留言