摘要:
# -*- coding: utf-8 -*- #coding=utf-8 import urllib import urllib2 import re import thread import time class QSBK: def __init__(self): self.pageIndex=1 self.user_agent = 'Mozill... 阅读全文
摘要:
先获得cookie到文件 从文件取出cookie 阅读全文
摘要:
# -*- coding: utf-8 -*-#coding=utf-8 在开头加这个 阅读全文
摘要:
import urllib2 try: response = urllib2.urlopen('http://www.baidu.com') except urllib2.URLError, e: print e.reason print response.read() 阅读全文
摘要:
http://blog.csdn.net/github_35160620/article/details/52486986 阅读全文