摘要: import requests from bs4 import BeautifulSoup import os class DownLoadImg(object): def __init__(self): self.url = 'http://jandan.net/ooxx/' self.header = { 'User-Agen... 阅读全文
posted @ 2017-08-23 14:18 RoyFans 阅读(412) 评论(0) 推荐(0) 编辑
摘要: #encoding=utf-8 import requests def fanyi(): while True: context = input("请输入翻译的内容(退出q):") if context in ['q','Q']: break else: url = 'http://fan... 阅读全文
posted @ 2017-08-23 14:16 RoyFans 阅读(3886) 评论(4) 推荐(0) 编辑