会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
秋华
博客园
首页
新随笔
管理
2017年12月27日
爬虫python3:TypeError: cannot use a string pattern on a bytes-like object
摘要: import re from common_p3 import download def crawl_sitemap(url): sitemap = download(url) links = re.findall('(.*?)',sitemap) print('links=',links) for link in links: print('l...
阅读全文
posted @ 2017-12-27 11:44 秋华
阅读(603)
评论(0)
推荐(0)
编辑
公告