摘要:
def ConnectTest(url): try: response = requests.get(url) return response.status_code except requests.exceptions.ConnectionError: ... 阅读全文
posted @ 2014-04-26 23:14
r3call
阅读(328)
评论(0)
推荐(0)
摘要:
#!/usr/bin/python# coding:utf-8import reimport urlparse# 解析urldef ParseUrl(url): if not re.search(r"^http[s]?://",url): if ":443" in url: ... 阅读全文
posted @ 2014-04-26 23:00
r3call
阅读(204)
评论(0)
推荐(0)

浙公网安备 33010602011771号