直接上代码 import urllib.request import re webs = ['https://www.网址.cn/','http://www.网址.com/'] def get_title(url): try: page = urllib.request.urlopen(url