我正在尝试从一个使用html
的网页获取ASP.NET
。当您想使用浏览器获取html
时,您必须进入菜单,设置您想要的区域和城市,然后单击按钮。我想自动执行此操作,但我正在尝试避免Selenium
并使用requests
模块执行此操作。
这是页面:Web page。你必须点击第一个方形按钮。现在你在菜单中。您可以更改3个属性okres
,katastralne uzemie
和list vlastnictva
。结果取决于这3个属性。
(一个okres
包含多个katastralne uzemie
,其中包含多个list vlastnictva
)
我注意到(通过Firebug)在生成所需的html
之前,它会发送POST
然后GET
。我尝试使用cURL
复制Firebug
并使用此网页对其进行转换:Convert cURL to Python requests
import requests
cookies = {
'ASP.NET_SessionId': 'wfq0n5xxu3vbfejq15dblw3b',
}
headers = {
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'Accept-Encoding': 'gzip, deflate',
'Accept-Language': 'en-US,en;q=0.5',
'Connection': 'keep-alive',
'Host': 'cica.vugk.sk',
'Referer': 'https://cica.vugk.sk/LV_vyber.aspx',
'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0',
'Content-Type': 'application/x-www-form-urlencoded',
}
data = 'DropDownList_okres=Martin&DropDownList_ku=Benice&DropDownList_LV=3&Button_LV=Vytvor+LV&__EVENTTARGET=&__EVENTARGUMENT=&__LASTFOCUS=&__VIEWSTATE=%2FwEPDwUKMjA5NTU2MjMyNw9kFgICAw9kFgICAw9kFgICAQ9kFgJmD2QWJAIBDw8WAh4EVGV4dAVBVnloxL5hZGFuaWUgbGlzdHUgdmxhc3Ruw61jdHZhIHBvZMS%2BYSDEjcOtc2xhIGxpc3R1IHZsYXN0bsOtY3R2YS5kZAIJDw8WAh8ABQM1MDZkZAILDw8WAh8ABQZNYXJ0aW5kZAINDw8WAh8ABQY4MDI2NTRkZAIPDw8WAh8ABQZCZW5pY2VkZAIRDw8WAh8ABQExZGQCEw8PFgIfAAUGNTEyMDYxZGQCFQ8PFgIfAAUGQkVOSUNFZGQCFw8PFgIfA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BpkbQCXnTiEGDuQ%2FJifWPgzM6YCzEOBeaNMDmPr0upVDUxtKC5apmNxmxxjAX37D5dX5tUF6zE08qnBL3oFPSOA%2FhFX%2FVIHEfrU5urq7Sf6uhn1Z7yssLZqNLUmO71Q3inopVwcHlKXEyiWd3E9dbXseo2geo%2B1PlqZRigpqCQfoQrb8X7BdWD0a5ooWSGx%2BgG%2FOX3px2mukjKVpUE76dAhfe%2BTmAflIInDtKkJSimxkxl1qx9Kgut5Qz6mOjG5RSzm%2FwFKct6ohKOgM3Qz9tHtmAXwscaVcqBl0zJe%2B5oydZ%2BrKaWbtcC2%2BsTfzb1QQR6wevBRFJzadIH3IofmGMLyJck%3D'
print requests.post('https://cica.vugk.sk/LV_vyber.aspx', headers=headers, cookies=cookies, data=data).content
这篇文章可以正常使用。它打印出我正在寻找的东西。
我认为这取决于(但可能不仅仅是它们)这三件事:
DropDownList_okres=Martin&DropDownList_ku=Benice&DropDownList_LV=3
当我更改DropDownList_ku
或DropDownList_LV
时,它会返回正确的结果,但如果我尝试更改第一个属性(并正确添加第二个和第三个),则说服务器无法识别请求。我弄清楚,如何解决这个问题。
你可以帮帮我吗?
答案 0 :(得分:0)
data
应该是字典。试试这个:
data = {
"DropDownList_okres":"Martin",
"DropDownList_ku":"Benice",
"DropDownList_LV":"3"
}