摘要: 1 #!/usr/bin/env python3 2 import requests 3 4 def download(url): 5 try: 6 req = requests.get(url) 7 except requests.exceptions.MissingSchema: 8 print('Invalid URL "{}"'.format(url)) 9 return 10 11 if 阅读全文
posted @ 2019-11-14 16:02 TTTCoder 阅读(619) 评论(0) 推荐(0) 编辑