Skip to content

Instantly share code, notes, and snippets.

View hokwanhung's full-sized avatar
🎯
Focusing

hokwanhung hokwanhung

🎯
Focusing
View GitHub Profile
@MercuryRising
MercuryRising / parserComparison.py
Created November 12, 2012 19:29
Pyquery, lxml, BeautifulSoup comparison
from bs4 import BeautifulSoup as bs
from pyquery import PyQuery as pq
from lxml.html import fromstring
import re
import requests
import time
def Timer():