安裝外部模塊 Beautiful Soup and requests

一、在cmd控制檯中操作如下:   二、再繼續回到pycharm,按常規操作此模塊 import requestsimport urllibimport urllib.requestfrom bs4 import BeautifulSoupurl = 'https://www.qidian.com/rank/hotsales?page=1'r = requests.get(url)print(r.
相關文章
相關標籤/搜索