Skip to content

Instantly share code, notes, and snippets.

@jaeinkim
jaeinkim / scraper.py
Last active August 29, 2015 14:28 — forked from cornchz/scraper.py
[PyConKR 2014] 30분만에 따라하는 동시성 스크래퍼
# -*- 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