Skip to content

Instantly share code, notes, and snippets.

@chuanwang66
Created January 30, 2015 11:06
Show Gist options
  • Save chuanwang66/aec98db8e90367254873 to your computer and use it in GitHub Desktop.
Save chuanwang66/aec98db8e90367254873 to your computer and use it in GitHub Desktop.
自动请求http://www.qcrl.jl.cn/jiabin.aspx网页,抓取指定女嘉宾
# -*- coding: utf-8 -*-
import urllib
import urllib2
import re
def post(url, data):
req = urllib2.Request(url)
data = urllib.urlencode(data)
#enable cookie
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor())
response = opener.open(req, data)
return response.read()
def main():
posturl = "http://www.xiami.com/member/login"
data = {'email':'myemail', 'password':'mypass', 'autologin':'1', 'submit':'login', 'type':''}
print post(posturl, data)
key1 = "/wEPDwUKLTg1MzgwOTIwOQ9kFgICAQ9kFggCAQ8WAh4LXyFJdGVtQ291bnQC3AEWuANmD2QWAgIBDw8WBh4PQ29tbWFuZEFyZ3VtZW50BQYxMzcwNTEeCENzc0NsYXNzBQJvbh4EXyFTQgICZBYCZg8VAQgyMDE1MDExOWQCAQ9kFgICAQ8PFgIfAQUGMTM3MDQ5ZBYCZg8VAQgyMDE1MDExMWQCAg9kFgICAQ8PFgIfAQUGMTM3MDQ3ZBYCZg8VAQgyMDE1MDEwNGQCAw9kFgICAQ8PFgIfAQUGMTM3MDQ2ZBYCZg8VAQgyMDE0MTIyOGQCBA9kFgICAQ8PFgIfAQUGMTM3MDQ0ZBYCZg8VAQgyMDE0MTIyMWQCBQ9kFgICAQ8PFgIfAQUGMTM3MDQzZBYCZg8VAQgyMDE0MTIxNGQCBg9kFgICAQ8PFgIfAQUGMTM3MDQyZBYCZg8VAQgyMDE0MTIwN2QCBw9kFgICAQ8PFgIfAQUGMTM3MDQxZBYCZg8VAQgyMDE0MTEzMGQCCA9kFgICAQ8PFgIfAQUGMTM3MDQwZBYCZg8VAQgyMDE0MTEyM2QCCQ9kFgICAQ8PFgIfAQUGMTM3MDM5ZBYCZg8VAQgyMDE0MTExNmQCCg9kFgIC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AICwaeBnAIC9KqBnAICk6mBnAIC+ZX21QYCmJT21QYC05X21QYC2pX21QYC/ZT21QYCnJP21QYCt5T21QYC3pT21QYCkZj21QYCsJb21QYC+ZWSmgkCmJSSmgkC05WSmgkC2pWSmgkC/ZSSmgkCnJOSmgkCt5SSmgkC3pSSmgkCkZiSmgkCsJaSmgkC1On4iQMCjpPOzQMC2PC0twwb9qeCrv0XRRJgWloBQGMmX2euDg=="
def fetch(name):
data = {}
data['__EVENTTARGET'] = name
data['__EVENTARGUMENT'] = ''
data['__VIEWSTATE'] = key1
data['__EVENTVALIDATION'] = key2
return post('http://www.qcrl.jl.cn/jiabin.aspx', data).decode('utf-8')
if __name__ == '__main__':
import sys
reload(sys)
sys.setdefaultencoding( "utf-8" )
with open("rec.txt", "w+") as f:
for i in xrange(0,220):
d = fetch('repeaterFD$ctl%d$lblFD'%(i))
#m = re.match(r"号女嘉宾-(.*)a", d)
#print m.group(1)
f.write(d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment