人民日报爬虫

This commit is contained in:
2025-11-10 15:22:44 +08:00
parent 08df5f1e8a
commit e8b76278e9
36 changed files with 4241 additions and 0 deletions

View File

@@ -0,0 +1,162 @@
<!-- saved from url=(0041)http://www.people.com.cn/GB/59476/review/ -->
<html data-eusoft-scrollable-element="1"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>人民网</title>
<style type="text/css">
<!--
td {
font-size: 12px;
color: #426BA4
}
a:link {
color: #E1ECFA;
line-height: 140%;
text-decoration: none
}
a:visited {
color: #E1ECFA;
line-height: 140%;
text-decoration: none
}
a:hover {
color: #FFE371;
line-height: 140%;
text-decoration: underline
}
.t12blue9 {
font-size: 12px;
line-height: 140%;
color: #B9E4FF
}
-->
</style>
<script language="JavaScript">
var today = new Date("2025-11-10");//获取当前时间
var realYear = today.getFullYear();//获取当前的年份
var realMonth = today.getMonth() + 1;//获取当前月
var realDay = today.getDate();//获取当前天
var startlimit = 20070530;
var days = new Array();
for (var i = 0; i < 42; i++) {
days[i] = "";
}
var firstIndex = new Date(realYear, realMonth - 1, 1).getDay();
var maxIndex = new Date(realYear, realMonth, 0).getDate();
console.log("first:" + firstIndex);
console.log("last:" + maxIndex);
for (var i = 0; i < maxIndex; i++) {
days[firstIndex + i] = i + 1;
}
function fsubmit() {
tf = document.dateform;
var vy = tf.syear.options[tf.syear.selectedIndex].value;
var vm = tf.smonth.options[tf.smonth.selectedIndex].value;
var vnow = vy + vm;
if (vnow >= 200709) {
location = vnow + ".html";
}
}
window.onload = function () {
var defaultVal = realMonth > 9 ? "" + realMonth : "0" + realMonth;
var selectMonth = document.getElementById("smonth").options;
for (i = 0; i < selectMonth.length; i++) {
if (selectMonth[i].value == defaultVal)
selectMonth[i].selected = true;
}
var selectYear = document.getElementById("syear");
for (var i = 2007; i <= realYear; i++) {
var option = document.createElement("option");
option.setAttribute("value", i);
option.text = i;
if (i == realYear)
option.selected = true;
selectYear.appendChild(option);
}
}
</script>
<style>.eudic-tippy-content-container[_ngcontent-ng-c2787122990]{max-width:250px!important}.eusoft-chrome-extension-popup-menu[_ngcontent-ng-c2787122990]{position:fixed;z-index:2147483647;top:50%}.eusoft-chrome-extension-popup-menu.eusoft-chrome-extension-popup-menu-left[_ngcontent-ng-c2787122990]{left:4px}.eusoft-chrome-extension-popup-menu.eusoft-chrome-extension-popup-menu-right[_ngcontent-ng-c2787122990]{right:4px}.eusoft-chrome-extension-mask-container[_ngcontent-ng-c2787122990]{background-color:transparent;position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483646}</style><style>.eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{position:fixed!important;bottom:50px!important;right:50px!important;border-radius:5px!important;box-shadow:0 6px 24px #00000014!important;z-index:2147483647!important}.eusoft-eudic-translate-failed-content-script[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.light-en [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.light-fr [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.light-de [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.light-es [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.dark-en [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #595959!important;background-color:#212125!important}html.dark-fr [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #595959!important;background-color:#212125!important}html.dark-de [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #595959!important;background-color:#212125!important}html.dark-es [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #595959!important;background-color:#212125!important}html.sepia-en [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.sepia-fr [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.sepia-de [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.sepia-es [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.green-en [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.green-fr [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.green-de [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.green-es [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}</style></head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" data-eusoft-scrollable-element="1">
<form name="dateform" method="post" data-eusoft-scrollable-element="1">
<table width="189" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tbody><tr>
<td align="center">
<table width="178" height="48" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tbody><tr>
<td align="center" bgcolor="#FFFFFF">
<select id="smonth" onchange="fsubmit();return false" size="1" style="background-color:#BEDDF1">
<option value="01">一月</option>
<option value="02">二月</option>
<option value="03">三月</option>
<option value="04">四月</option>
<option value="05">五月</option>
<option value="06">六月</option>
<option value="07">七月</option>
<option value="08">八月</option>
<option value="09">九月</option>
<option value="10">十月</option>
<option value="11">十一月</option>
<option value="12">十二月</option>
</select>
<select id="syear" onchange="return fsubmit()" size="1" style="background-color:#BEDDF1">
<option value="2007">2007</option><option value="2008">2008</option><option value="2009">2009</option><option value="2010">2010</option><option value="2011">2011</option><option value="2012">2012</option><option value="2013">2013</option><option value="2014">2014</option><option value="2015">2015</option><option value="2016">2016</option><option value="2017">2017</option><option value="2018">2018</option><option value="2019">2019</option><option value="2020">2020</option><option value="2021">2021</option><option value="2022">2022</option><option value="2023">2023</option><option value="2024">2024</option><option value="2025">2025</option></select></td>
</tr>
</tbody></table>
<table width="178" border="0" cellspacing="1" cellpadding="0" class="table03">
<tbody><tr align="center" bgcolor="#E4E4E4">
<td width="24" height="19"><strong></strong></td>
<td width="24"><strong></strong></td>
<td width="24"><strong></strong></td>
<td width="24"><strong></strong></td>
<td width="24"><strong></strong></td>
<td width="24"><strong></strong></td>
<td width="26"><strong></strong></td>
</tr>
</tbody></table>
<table width="178" border="0" cellspacing="1" cellpadding="0" class="table02">
<script>
var result = "";
for (var j = 0; j < 6; j++) {
result = result + "<tr align='center'>";
for (var i = j * 7; i < (j + 1) * 7; i++) {
if (days[i].length < 1) {
result = result + "<td width='22' bgcolor='#F1E9DC' class='t12blue9'>&nbsp;</td>";
} else {
var _month = realMonth > 9 ? (realMonth + "") : ("0" + realMonth);
var _day = parseInt(days[i]) > 9 ? days[i] : ("0" + days[i]);
var key = realYear + _month + _day;
if (i >= firstIndex + realDay || realYear * 10000 + realMonth * 100 + i - 1 < startlimit) {
result = result + "<td bgcolor='#F1E9DC'>" + days[i] + "</td>";
} else {
result = result + "<TD bgColor='#F1E9DC'><A href='" + key + ".html'" + " target=_blank><font color='#FF0000'>" + days[i] + "</font></A></TD>";
}
}
}
result = result + "</tr>";
}
document.write(result);
</script><tbody><tr align="center"><td width="22" bgcolor="#F1E9DC" class="t12blue9">&nbsp;</td><td width="22" bgcolor="#F1E9DC" class="t12blue9">&nbsp;</td><td width="22" bgcolor="#F1E9DC" class="t12blue9">&nbsp;</td><td width="22" bgcolor="#F1E9DC" class="t12blue9">&nbsp;</td><td width="22" bgcolor="#F1E9DC" class="t12blue9">&nbsp;</td><td width="22" bgcolor="#F1E9DC" class="t12blue9">&nbsp;</td><td bgcolor="#F1E9DC"><a href="http://www.people.com.cn/GB/59476/review/20251101.html" target="_blank"><font color="#FF0000">1</font></a></td></tr><tr align="center"><td bgcolor="#F1E9DC"><a href="http://www.people.com.cn/GB/59476/review/20251102.html" target="_blank"><font color="#FF0000">2</font></a></td><td bgcolor="#F1E9DC"><a href="http://www.people.com.cn/GB/59476/review/20251103.html" target="_blank"><font color="#FF0000">3</font></a></td><td bgcolor="#F1E9DC"><a href="http://www.people.com.cn/GB/59476/review/20251104.html" target="_blank"><font color="#FF0000">4</font></a></td><td bgcolor="#F1E9DC"><a href="http://www.people.com.cn/GB/59476/review/20251105.html" target="_blank"><font color="#FF0000">5</font></a></td><td bgcolor="#F1E9DC"><a href="http://www.people.com.cn/GB/59476/review/20251106.html" target="_blank"><font color="#FF0000">6</font></a></td><td bgcolor="#F1E9DC"><a href="http://www.people.com.cn/GB/59476/review/20251107.html" target="_blank"><font color="#FF0000">7</font></a></td><td bgcolor="#F1E9DC"><a href="http://www.people.com.cn/GB/59476/review/20251108.html" target="_blank"><font color="#FF0000">8</font></a></td></tr><tr align="center"><td bgcolor="#F1E9DC"><a href="http://www.people.com.cn/GB/59476/review/20251109.html" target="_blank"><font color="#FF0000">9</font></a></td><td bgcolor="#F1E9DC"><a href="http://www.people.com.cn/GB/59476/review/20251110.html" target="_blank"><font color="#FF0000">10</font></a></td><td bgcolor="#F1E9DC">11</td><td bgcolor="#F1E9DC">12</td><td bgcolor="#F1E9DC">13</td><td bgcolor="#F1E9DC">14</td><td bgcolor="#F1E9DC">15</td></tr><tr align="center"><td bgcolor="#F1E9DC">16</td><td bgcolor="#F1E9DC">17</td><td bgcolor="#F1E9DC">18</td><td bgcolor="#F1E9DC">19</td><td bgcolor="#F1E9DC">20</td><td bgcolor="#F1E9DC">21</td><td bgcolor="#F1E9DC">22</td></tr><tr align="center"><td bgcolor="#F1E9DC">23</td><td bgcolor="#F1E9DC">24</td><td bgcolor="#F1E9DC">25</td><td bgcolor="#F1E9DC">26</td><td bgcolor="#F1E9DC">27</td><td bgcolor="#F1E9DC">28</td><td bgcolor="#F1E9DC">29</td></tr><tr align="center"><td bgcolor="#F1E9DC">30</td><td width="22" bgcolor="#F1E9DC" class="t12blue9">&nbsp;</td><td width="22" bgcolor="#F1E9DC" class="t12blue9">&nbsp;</td><td width="22" bgcolor="#F1E9DC" class="t12blue9">&nbsp;</td><td width="22" bgcolor="#F1E9DC" class="t12blue9">&nbsp;</td><td width="22" bgcolor="#F1E9DC" class="t12blue9">&nbsp;</td><td width="22" bgcolor="#F1E9DC" class="t12blue9">&nbsp;</td></tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</form>
</body><eusoft-chrome-extension-root-en id="eusoft-chrome-extension-id-en" _nghost-ng-c2787122990="" ng-version="18.2.13"><template _ngcontent-ng-c2787122990=""></template><!----><!----><!----><app-word-hint-render _ngcontent-ng-c2787122990="" _nghost-ng-c3386348173=""><template _ngcontent-ng-c3386348173=""></template><!----><!----></app-word-hint-render><app-translate-render _ngcontent-ng-c2787122990="" _nghost-ng-c749930229=""><template _ngcontent-ng-c749930229=""></template><!----></app-translate-render><app-capture-word _ngcontent-ng-c2787122990="" class="eusoft-chrome-extension-capture-word-container ng-tns-c4033922151-0 ng-star-inserted"><template shadowrootmode="open"><style>.eudic-tippy-content-container[_ngcontent-ng-c2787122990]{max-width:250px!important}.eusoft-chrome-extension-popup-menu[_ngcontent-ng-c2787122990]{position:fixed;z-index:2147483647;top:50%}.eusoft-chrome-extension-popup-menu.eusoft-chrome-extension-popup-menu-left[_ngcontent-ng-c2787122990]{left:4px}.eusoft-chrome-extension-popup-menu.eusoft-chrome-extension-popup-menu-right[_ngcontent-ng-c2787122990]{right:4px}.eusoft-chrome-extension-mask-container[_ngcontent-ng-c2787122990]{background-color:transparent;position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483646}</style><style>.eusoft-eudic-chrome-extension-explain-icon-class{position:fixed!important;visibility:visible!important;z-index:2147483646!important}.eusoft-eudic-chrome-extension-explain-popover-container-class{position:relative!important}.eusoft-eudic-chrome-extension-explain-container-class{position:fixed!important;visibility:visible!important;min-width:100px;height:auto!important;z-index:2147483646!important}.eudic-explain-content-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2147483647}.eusoft-eudic-chrome-extension-explain-container-border-radius-class{box-shadow:0 2px 5px 1px #403c4329!important;border-radius:10px!important;overflow:hidden!important;background-color:#fff!important;box-sizing:border-box}.eudic-explain-resizer{z-index:2147483646!important;opacity:1;width:16px;height:16px;position:absolute}.eudic-explain-resizer-right{top:0;right:-8px;width:8px;height:100%;cursor:ew-resize}.eudic-explain-resizer-bottom{bottom:-8px;left:0;width:100%;cursor:ns-resize}.eudic-explain-resizer-top{top:-8px;left:0;width:100%;cursor:ns-resize}.eudic-explain-resizer-left{top:0;left:-8px;height:100%;cursor:ew-resize}.eudic-explain-resizer-bottom-right{right:-8px;bottom:-8px;cursor:nwse-resize}.eudic-explain-resizer-bottom-left{left:-8px;bottom:-8px;cursor:nesw-resize}.eudic-explain-content-inner{position:relative}.eudic-toolbar-container{cursor:move;display:flex;flex-direction:row;align-items:center;padding-left:12px;padding-right:12px;justify-content:space-between}.eudic-toolbar-left-actions,.eudic-toolbar-right-actions{display:flex;flex-direction:row;align-items:center}.eudic-toolbar-container-title{font-size:14px;font-family:Helvetica;-webkit-user-select:none;user-select:none;line-height:1;word-break:break-word}.eudic-toolbar-container-title-icon{width:16px;height:16px;margin-right:8px}.eudic-toolbar-right-expand-button,.eudic-toolbar-right-lock-button{margin-right:16px;cursor:pointer;width:16px;height:16px;display:flex;align-items:center}.eudic-toolbar-right-close-button{cursor:pointer;width:16px;height:16px;display:flex;align-items:center}.eudic-toolbar-inner-icon{width:16px;height:16px;display:flex}.eusoft-eudic-chrome-extension-explain-popover-container-class[data-content-script-theme=light] .eusoft-eudic-chrome-extension-explain-container-border-radius-class,.eusoft-eudic-chrome-extension-explain-popover-container-class[data-content-script-theme=light] .eudic-toolbar-container{background-color:#f7f9fc}.eusoft-eudic-chrome-extension-explain-popover-container-class[data-content-script-theme=light] .eudic-toolbar-container-title{color:#202124}.eusoft-eudic-chrome-extension-explain-popover-container-class[data-content-script-theme=dark] .eusoft-eudic-chrome-extension-explain-container-border-radius-class,.eusoft-eudic-chrome-extension-explain-popover-container-class[data-content-script-theme=dark] .eudic-toolbar-container{background-color:#141414}.eusoft-eudic-chrome-extension-explain-popover-container-class[data-content-script-theme=dark] .eudic-toolbar-container-title{color:#e6e6e6}
</style><style>.eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{position:fixed!important;bottom:50px!important;right:50px!important;border-radius:5px!important;box-shadow:0 6px 24px #00000014!important;z-index:2147483647!important}.eusoft-eudic-translate-failed-content-script[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.light-en [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.light-fr [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.light-de [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.light-es [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.dark-en [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #595959!important;background-color:#212125!important}html.dark-fr [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #595959!important;background-color:#212125!important}html.dark-de [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #595959!important;background-color:#212125!important}html.dark-es [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #595959!important;background-color:#212125!important}html.sepia-en [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.sepia-fr [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.sepia-de [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.sepia-es [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.green-en [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.green-fr [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.green-de [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}html.green-es [_nghost-ng-c3081775404] .eusoft-eudic-translate-failed-container[_ngcontent-ng-c3081775404]{border:1px solid #E8E8E8!important;background-color:#f8fafe!important}</style><!----><!----><div class="eusoft-eudic-chrome-extension-explain-popover-container-class ng-tns-c4033922151-0" data-content-script-theme="light"><!----></div></template></app-capture-word><app-translate-failed-retry _ngcontent-ng-c2787122990="" _nghost-ng-c3081775404=""><!----></app-translate-failed-retry><!----><!----></eusoft-chrome-extension-root-en></html>