I often visit the site to look at things. I thought to myself: โHold on, I can program. Why do I go to this site manually when I can write a piece of software that does this for me?โ
And so I started. I use C #, so I found WebClient and Uri.
I managed to get the source code for the site, but there was a problem that the specific data I'm looking for is generated through AJAX after loading the source code.
So my problem. How can I get this code if I need to request it first through an AJAX call?
:
HTML , , .
# 1 , , , , :
(, , ). , , " " . CTRL + F , , , "autodecode" , , , .
, Fiddler "" . . , . , , . , " Fiddler" . . , , . , , - , . , .
. Host:, . Cookie: CookieContainer. (, UserAgent:, Accept: .. .
Host:
Cookie:
CookieContainer
Source: https://habr.com/ru/post/1747997/More articles:How to make "Select an account ..." using symfony and propel? - propelspaces in python - pythonPinax: ะฝะฐัััะพะธัั ััะตั ะธ ะฟัะพัะธะปั - djangoMemory management and viewDidUnload? - objective-cHow to efficiently send large files from a database to a browser? - c #C # WebClient - View source question - c #CruiseControl.NET Build Tag Problem - .netEnable Grizzly to make a simple JaaS HTTP request - javaCombining EditText and Button? - androidHow can I bind WPF TreeView data to lazy and asynchronous? - asynchronousAll Articles