#!/usr/bin/python
#coding=utf-8
#urllib2是python自带的模块,在python3.x中被改为urllib.request
import urllib.request
import re
webs = ['https://www.baidu.com/','http://www.xxx.com/']
def get_title(url):
try:
page
python获取网站标题-教程-代码-python web
最新推荐文章于 2024-08-20 13:04:52 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)