爬蟲——requests雜記

利用 pip 安裝: pip install requests 基本用法 !!!注意:requests得到的網頁要加個  .text  才能看見源碼。 requests上傳數據是用post方法: 對於 POST 請求來說,我們一般需要爲它增加一些參數。那麼最基本的傳參方法可以利用 data 這個參數。 post上傳 requests上傳url參數是get: get上傳url參數 結果是:   'h
相關文章
相關標籤/搜索