Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python2.7
#encoding=utf-8
import urllib
import urllib2
import cookielib
import json
HOME_URL = 'http://www.shanbay.com'
USERNAME = 'AAA'
@Miyayx
Miyayx / choose_course.py
Last active December 23, 2015 12:09
To choose course quickly in tsinghua
#!/usr/bin/env python2.7
#encoding=utf-8
import md5
import time
import urllib
import urllib2
import cookielib
from bs4 import BeautifulSoup
host = 'zhjwxk.cic.tsinghua.edu.cn'