python爬取頁面上的鏈接

python爬取豆瓣網上的鏈接 import urllib from bs4 import BeautifulSoup response = urllib.urlopen('https://www.douban.com/') bsObj = BeautifulSoup(response, 'html.parser') a = bsObj.find_all('a') for b in a:
相關文章
相關標籤/搜索