Skip to content

Instantly share code, notes, and snippets.

@ahhn
ahhn / scraper.py
Last active August 29, 2015 14:10 — forked from cornchz/scraper.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from gevent import monkey; monkey.patch_all()
import re
from urlparse import urljoin
from gevent.pool import Pool
import requests