摘要:
import requestsimport osurl = input("Please input URL\n")root = "D://pics//" kv = { "User-agent":"Mozilla/5.0" }path = root + url.sp... 阅读全文
摘要:
import requestsurl = "http://m.ip138.com/ip.asp?ip="IpAddress = input("Please input the ip address\n")try: r = requests.get(url+IpAddr... 阅读全文
摘要:
import requestsimport oskv = { "User-agent":"Mozilla/5.0"#模拟浏览器 } def getHtmlText(url): try: r = requests.get(url,timeout = 30,head... 阅读全文