Python:Requests抓取网页

 

先import进来

以抓取csdn首页为例,代码如下:

 

posted @ 2021-04-07 21:34  挖掘机斯基  阅读(55)  评论(0)    收藏  举报