What is the basic information of a Python crawler? Of course, it is the URL. All the information we need is obtained through the URL.

image.baidu.com/search/index?tn=baiduimage&ct=201326592&lm=-1&cl=2&ie=gb18030&word=%D1%EE%C3%DD&fr=ala&ala=1&alatpl=adre ss&pos=0&hs=2&xthttps=111111

If we change the index to flip, we get a waterfall page:

image.baidu.com/search/flip?tn=baiduimage&ct=201326592&lm=-1&cl=2&ie=gb18030&word=%D1%EE%C3%DD&fr=ala&ala=1&alatpl=adres s&pos=0&hs=2&xthttps=111111

The way a picture is changed to a page number



We found that the URL of the picture is not only the index, and to store some information, the overall parsing the URL, you can see the first half is baidu picture https://image.baidu.com/, while the later is composed of one key/value pair, and between two key/value pairs separated by &, some only key no value to delete Normal indexes are not affected

tn=baiduimage&ct=201326592&lm=-1&cl=2&ie=gb18030&word=%D1%EE%C3%DD&fr=ala&ala=1&alatpl=adress&pos=0&hs=2&xthttps=111111