- 博客(1)
- 收藏
- 关注
原创 python爬虫基础教程115_Python解析网页源代码中的115网盘链接实例
本文实例讲述了python解析网页源代码中的115网盘链接的方法。分享给大家供大家参考。具体方法分析如下:其中的1.txt,是网页http://bbs.pediy.com/showthread.php?t=144788另存为1.txt具体代码如下:import reif __name__ == "__main__":fp = open("c:\\1.txt")https = re.compile(r"(http://u.*)")for url in https.findall(f
2021-08-18 02:32:32
578
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人