摘要: 方式一:正则 import requests import re contents = requests.get('http://www.sohu.com') links = re.findall('href="(.*?)"', contents.text) vaild_link = [] for 阅读全文
posted @ 2020-04-05 12:24 海澜时见鲸 阅读(155) 评论(0) 推荐(0)