Python爬蟲實戰一之爬取百度貼吧中圖片

1、首先分析百度貼吧下的url與源碼 例如:https://tieba.baidu.com/p/5185002863?pn=1 url:https://tieba.baidu.com/p/5185002863?pn=1 其中pn=1中的1是一個變量:當前的第幾頁 圖片的源代碼:提前部分,如:src="https://imgsa.baidu.com/forum/w%3D580/sign=5f3f2a
相關文章
相關標籤/搜索