- 首页 > it技术 > >
# _*_ coding:utf-8 -*-# filename:utf-8
import requests
import timedef query_state(counter=0):
post_data = https://www.it610.com/article/{'type':'query_result','idcard': '','phone': ''}
post_data['idcard'] = '身份证后四位'
post_data['phone'] = '1手机号'
r = requests.post('http://m.join.qq.com/query/result',data=https://www.it610.com/article/post_data)
r.encoding ='gb2313'
data = https://www.it610.com/article/r.text
arr = data.split('
')
print(str(counter)+':'+arr[1].split('【利用Python实现腾讯校园招聘状态查询】')[1])
counter = 0while True:
query_state(counter)
counter+=1
time.sleep(10)
推荐阅读