摘要: import reimport urllibimport uuidfrom urllib.parse import urljoinimport requestsimport osheaders = {'Accept': 'text/html,application/xhtml+xml,applica 阅读全文
posted @ 2018-01-16 23:14 公众号python学习开发 阅读(379) 评论(0) 推荐(0) 编辑
摘要: C# string pattern1 = @"(?is)]*?src=(['""\s]?)(?[^'""\s]*)\1[^>]*?>"; string pattern2 = @"(?is)]*?href=(['""\s]?)(?[^'""\s]*)\1[^>]*?>"; python: pattern1 =r"(?<=href=\").+?(?=\")|(?<=href=\ 阅读全文
posted @ 2018-01-16 22:41 公众号python学习开发 阅读(327) 评论(0) 推荐(0) 编辑