Crawler 017_urllib library_get request quote method_urlencode method_---python work notes 036

Look at the get request method by row

 

such as this address

 

After copying and pasting the address above

You can see that Jay Chou has become a bunch of Unicode codes 

 

 

So at this time we look, we say https here, and use UA to anti-crawl, so here

 

We build a custom Request object, which contains Us

Guess you like

Origin blog.csdn.net/lidew521/article/details/132192130