The first formhash 的获取,再搜索之前,事先访问一下http://s.pinggu.org/search.php this connection, at this time, the formhash field will be generated. Another field has garbled characters. I guess the reason is that this web page uses gbk encoding, so when you pass the value, you can also change the encoding.
srchtxt As the name suggests, you can guess why the search_text search keyword appears "unable to decode" on chrome. It is probably because the url cannot be displayed after being translated into Chinese. This does not affect it. You submit it according to your text when submitting the form. That’s it, the url will be converted automatically
formhash When you get this page, you already have the value of the input. Get this value first, and then construct the form submission url
The first
formhash
的获取,再搜索之前,事先访问一下http://s.pinggu.org/search.php
this connection, at this time, the formhash field will be generated. Another field has garbled characters. I guess the reason is that this web page uses gbk encoding, so when you pass the value, you can also change the encoding.Forformhash, just visit it twice as mentioned above
srchtxt. . . When crawling by yourself, you must write the keywords yourself. . . Why not climb?
srchtxt As the name suggests, you can guess why the search_text search keyword appears "unable to decode" on chrome. It is probably because the url cannot be displayed after being translated into Chinese. This does not affect it. You submit it according to your text when submitting the form. That’s it, the url will be converted automatically
formhash When you get this page, you already have the value of the input. Get this value first, and then construct the form submission url
To summarize: