This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
#encoding=utf-8 | |
import urllib | |
import urllib2 | |
import cookielib | |
import json | |
HOME_URL = 'http://www.shanbay.com' | |
USERNAME = 'AAA' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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' |