Skip to content

Instantly share code, notes, and snippets.

View hangchow's full-sized avatar
🏠
Working from home

sean hangchow

🏠
Working from home
View GitHub Profile
@hangchow
hangchow / monitorjiaoliu.py
Last active September 28, 2015 19:28
华邮网抢东西脚本
#coding=utf8
import sgmllib,urllib,time
import webbrowser
class MyParser(sgmllib.SGMLParser):
"A simple parser class."
def parse(self, s):
"Parse the given string 's'."
self.feed(s)
self.close()
def __init__(self, verbose=0):