摘要: #coding=utf-8 import re import urllib import urllib2 url_google = 'http://translate.google.cn' reg_text = re.compile(r'(?<=TRANSLATED_TEXT=).*?;') user_agent = r'Mozilla/5.0 (Windows NT 6.1; WOW64)... 阅读全文
posted @ 2018-08-14 15:09 右介 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 好东西啊!!! Python 2 name Python 3 name urllib.urlretrieve() urllib.request.urlretrieve() urllib.urlcleanup() urllib.request.urlcleanup() urllib.quote() u 阅读全文
posted @ 2018-08-14 11:19 右介 阅读(187) 评论(0) 推荐(0) 编辑