Skip to content

Instantly share code, notes, and snippets.

View liuguojun's full-sized avatar

Guojun Liu liuguojun

View GitHub Profile
@cuimuxi
cuimuxi / gist:3719516
Created September 14, 2012 02:50
gevent crawler
import gevent
from gevent import monkey, queue
monkey.patch_all()
import urllib2
from time import sleep
import traceback
import logging