problem description
the website crawled is http://www.hljcredit.gov.cn/W.
.Source
<a href="WebCreditQueryService.do?sxbzxrQgDetail&dsname=hlj&dt=1&icautiouid=1230610007039893636&srandRe=J7137HK1408EJB2JQ9P05UF3949HWD" style="text-decoration: underline;" target="_blank" title="" style="">
How is the url of generated? After refreshing the page, the srandRe after this url will change randomly. If you want to access the WebCreditQueryService.do?sxbzxrQgDetail&dsname=hlj&dt=1&icautiouid=1230610007039893636&srandRe=J7137HK1408EJB2JQ9P05UF3949HWD connection, you need to take that random parameter with you, and I wonder how this random number is generated?
because the url is pulled down when the crawler is crawled, but the connection will expire in about 1 minute and cannot be accessed. So I think this random number is used to control your browsing buffer time.
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)