lemon-412 / auto-selfreport Goto Github PK
View Code? Open in Web Editor NEWncov每日一报自动打卡 A tiny self-use Python web crawler.[体力活,懒得更了]
ncov每日一报自动打卡 A tiny self-use Python web crawler.[体力活,懒得更了]
resp.text内容
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>
</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<link type="text/css" rel="stylesheet" href="/res.axd?css=F.css&t=637139914728626500"/>
<link type="text/css" rel="stylesheet" href="/res/themes/Bootstrap_Pure/theme.css?v6.1.1"/>
<style>
.mycheckbox .f-field-checkbox-switch .f-field-checkbox-switch-text {
min-width: 40px;
}
</style>
<script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=TU4BZ-SBPC6-ET3S3-E6OGV-3O7OK-CGFUL"></script>
<script type="text/javascript" src="https://3gimg.qq.com/lightmap/components/geolocation/geolocation.min.js"></script>
</head>
<body>
<form method="post" action="./DayReport.aspx" id="form1">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="zwCPX7lSx/j/bE0z/9LXsIrRX2bhk39shGHU86IT2ZMWCepfMSmF5YijZ7+hUJutBfbs8p6eznyXEdU71gYXeqxEWOwneivpskNAjLo/oItRf8M9uNYAC29Hfofdd4ceyCYP2JZtgQw7U1s/64/9pxVrfjU6yoXsc66ULzPawyt/JsT2FmuSSAbd9keCBIU4WZmUAlJJCugic8ktphjSFQLS6MGkzymfS1xlP3SuXx94uz6hzEt2324MfPU8fqL9S68e6GxPLLN3+R127EsbtNij6kNrukp0D9ibVto8dQbOZEGqOy/s2a8AuNfsHh2d+G/rR/lbWNpXvEY10ARAtpRrJsKur4SWeOGbtK4O9d0fTJVPsEJskgXNjh3PaqM6gTawRs+1n7zbEimnD2CujOevYZKffHU5VX/1243iVmFR5y1j0Hf/oXa4Jyrg3WJlNxOFco+d8p9v0QcmhMthBRk5jERs3JOg8Ui2Ku+zU8QBiZ48cLgueeU8BKkIphQd7xJ9hr0iLfFKsulyo51Z11GiceFPLeIjTJmYyi6Qc0a5Y+S6fDad9SrCCyxZskfZ/n7snLL/KXG2IdRaG5r5Az9XHt+2WLPRiRVMlm7JXz/82XTmKyI6lffUxAjzr/WPLzMcPn97dE5QvQbomY/mHSSjbvr8AMswKLf/btZMeJE8o7VpsskgibrvUARdxbtVMKPjoTn/3r6MMUoI64E5ywZblblt9LtTYhZlF/ICgFy0JT+fNn1Zq6LOBReG55b9VPQWjVqbFKXBVgyaDWqzdtjjHocL2CF5EQvIVrSdMxnYxDLCBEEevveoNddMjDg+fnOl4n2avYu7Ei8D12bcYyiakHTocXvb/51ZkJwa1eCWJlMJowlRqHwaUruosBRBDYL6/O+u6rqUahjMid2yd1xMAP6zrGEIbmg9LKy2nTIUP5NqWJ55qYYJ+RFGHmhF+CFDGkS4nc9QfqKfv1NqGQ==" />
<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="7AD7E509" />
<div id="f_loading_mask" class="f-loading-mask f-widget f-widget-content"></div><div id="f_loading" class="f-loading"><div class="f-loading-img"><img src="/res.axd?img=images.loading._3.ffffff_444444.gif&t=635987008530000000"/></div></div><i class="f-icon f-iconfont" id="f_ui_icon"></i>
<div id="p1_wrapper"><div id="p1_BanCSM_Content" style="display:none;">
<div>关于班车的详细信息请查看上海大学主页的通知公告,或者<a href="http://www.shu.edu.cn/info/1051/69046.htm" style="color: red;">点击这里</a></div>
</div><div id="p1_GeLSM_Content" style="display:none;">
<div>集中隔离:在政府指定的场所(医院、酒店等)集中隔离观察</div>
<div>居家隔离:应当地政府或社区管理部门要求,强制规定居住在家满一定天数,不得外出</div>
</div></div>
<script type="text/javascript" src="/res.axd?js=F.js&t=637139923539711138"></script>
<script type="text/javascript" src="/res.axd?js=lang.zh_CN.js&t=637139914827523089"></script>
<script type="text/javascript">
//<![CDATA[
F.load(function(){F.f_init({theme:'Bootstrap_Pure',loadingImage:'/res.axd?img=images.loading._3.ffffff_444444.gif&t=635987008530000000',baseUrl:'/',displayMode:'normal',_product:'FineUIPro',_version:'6.1.1',_customId:'111O01'});F.f_pagemanager=new F.Component({f_state:{},id:'PageManager1',name:'PageManager1',hidden:true});var f2=new F.CheckBox({f_state:{},id:'p1_ChengNuo',name:'p1$ChengNuo',style:'color:red;',checked:false,inputLabel:'我承诺,以下报送内容真实有效!'
...
会导致msg = msg_pattern.findall(resp.text)[0]
报错IndexError: list index out of range
,查了一圈好像并没有找到什么大问题,除了少了一个字段'p1$GeLDZ':''
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.