脱敏html文件文件
去除html文件中的姓名,电话,身份证号
<script language="JavaScript" src="viewctrl.js"></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>个人信用报告</TITLE> <STYLE type=text/css></STYLE> <META content="Microsoft FrontPage 5.0" name=GENERATOR> <meta http-equiv="Content-Type" content="text/html; charset=GBK"> <link rel="stylesheet" href="css/style1.css" type="text/css"> <style type="text/css"> .tdStyle{ border:1px solid; } </style> <style type="text/css"> <!-- .style1 { color: #0066cc; font-weight: bold; } .style4 {color: #0066cc; font-size: 14px; } TD { FONT-FAMILY: 宋体; FONT-SIZE: 9pt } --> </style> <script language="JavaScript"><!-- //屏蔽鼠标右键、Ctrl+N、Shift+F10、F11、F5刷新、退格键 function document.oncontextmenu(){event.returnValue=false;}//屏蔽鼠标右键 function window.onhelp(){return false} //屏蔽F1帮助 function document.onkeydown() { if ((window.event.altKey)&& ((window.event.keyCode==37) || //屏蔽 Alt+ 方向键 ← (window.event.keyCode==39))) //屏蔽 Alt+ 方向键 → { alert("不准你使用ALT+方向键前进或后退网页!"); event.returnValue=false; } /* 注:这还不是真正地屏蔽 Alt+ 方向键, 因为 Alt+ 方向键弹出警告框时,按住 Alt 键不放, 用鼠标点掉警告框,这种屏蔽方法就失效了。以后若 有哪位高手有真正屏蔽 Alt 键的方法,请告知。*/ if ((event.keyCode==8) || //屏蔽退格删除键 (event.keyCode==116) || //屏蔽 F5 刷新键 (event.ctrlKey && event.keyCode==82)){ //Ctrl + R event.keyCode=0; event.returnValue=false; } if (event.keyCode==122){event.keyCode=0;event.returnValue=false;} //屏蔽F11 if (event.ctrlKey && event.keyCode==78) event.returnValue=false; //屏蔽 Ctrl+n if (event.shiftKey && event.keyCode==121)event.returnValue=false; //屏蔽 shift+F10 if (window.event.srcElement.tagName == "A" && window.event.shiftKey) window.event.returnValue = false; //屏蔽 shift 加鼠标左键新开一网页 if ((window.event.altKey)&&(window.event.keyCode==115)) //屏蔽Alt+F4 { window.showModelessDialog("about:blank","","dialogWidth:1px;dialogheight:1px"); return false; } } //--> function msover(){ event.srcElement.style.backgroundColor="#ccffff"; event.srcElement.style.cursor = "hand"; } function msout(){ event.srcElement.style.backgroundColor="#FFF6DC"; event.srcElement.style.cursor = "auto"; } </script> </HEAD> <BODY> <div align="center"> <center> <p></p> </center> </div> <table width="720" cellspacing="0" cellpadding="0" align="center" style="border-collapse:collapse;border:none"> <tr> <td height="117" align="center"> <table height=95 cellspacing=0 cellpadding=0 width=720 align="center" style="border-collapse:collapse;border:none"> <tbody> <tr align="center" valign="middle"> <td height=24 colspan=3 > <div align=center><font color=#0066cc size=6><b><font face="黑体">个人信用报告</font></b></font></div> </td> </tr> <tr align="center" valign="middle"> <td height=24 colspan=3 > <div align=center><font color=#0066cc size=3><b><font face="黑体"> (银行版) </font></b></font></div> <br> </td> </tr> <tr> <td class=high height="40px" class=high valign="bottom" ><span class="style1"><b><font color=#0066cc>报告编号:2019100400008533482040</font></b></td> <td class=high height="40px" class=high valign="bottom" ><div align="center"><span class="style1"><font color=#0066cc><b>查询请求时间:2019.10.04 23:09:41</b></font></div></td> <td height="40px" class=high valign="bottom" > <div align=right><span class="style1"><font color=#0066cc ><b>报告时间:2019.10.04 23:09:41</b></span><b></b></font></div> </td> </tr> </tbody> </table> </td> </tr> </table> <table width="620" align="center" cellspacing=0 cellpadding=0 style="border-collapse: collapse;border:none"> <tbody> <tr> <td> <table cellspacing=0 cellpadding=0 width="620" border="1" align="center" style="border-collapse: collapse;border:none; border-color: black"> <tr height=30 align="center" valign="middle" > <td width="20%" class="tdStyle"> <font color=#0066cc>被查询者姓名</font> </td> <td class="tdStyle" width="20%"> <font color=#0066cc>被查询者证件类型</font> </td> <td class="tdStyle" width="20%"> <font color=#0066cc> 被查询者证件号码</font> </td> <td class="tdStyle" width="20%"> <font color=#0066cc>查询操作员</font> </td> <td class="tdStyle" width="20%"> <font color=#0066cc>查询原因</font> </td> </tr> <tr height=30> <td class="tdStyle" width="20%"> <div class=high align=center><font color=#0066cc><span class=high>*</span></font></div> </td> <td class="tdStyle" width="20%"> <div class=high align=center><font color=#0066cc><span class=high>身份证</span></font></div> </td> <td class="tdStyle" width="20%"> <div class=high align=center><font color=#0066cc><font color=#0066cc>*</font></font></div> </td> <td class="tdStyle" width="20%"> <div class=high align=center><font color=#0066cc><span class=high>*</span></font></div> </td> <td class="tdStyle" width="20%"> <div class=high align=center><font color=#0066cc><span class=high>贷款审批</span></font></div> </td> </tr> </table> </td> </tr> <tr style="line-height:15px"><td> </td></tr> <tr height=40> <td align="center" valign="middle"> <font color=#0066cc style="font-size: 14px"><b>一 个人基本信息</b></font> </td> </tr> <!--A1个人身份信息--> <style type="text/css"> <!-- .tableStyle{ border-collapse:collapse; border:none; border-color:black; } .tdStyle{ border:1px solid; } --> </style> <tr> <td> <div align=center><font color=#0066cc><span class=high><b>身份信息</b></span></font></div> </td> </tr> <tr> <td> <table cellspacing=0 cellpadding=2 width=620 align=center border="1" class="tableStyle"> <tbody> <tr> <td class="tdStyle"> <div align=center><b><font color=#0066cc><span class=high>性别</span></font></b></div> </td> <td class="tdStyle" > <div align=center><b><font color=#0066cc><span class=high>出生日期</span></font></b></div> </td> <td class="tdStyle"> <div align=center><b><font color=#0066cc><span class=high>婚姻状况</span></font></b></div> </td> <td class="tdStyle"> <div align=center><b><font color=#0066cc><span class=high>手机号码</span></font></b></div> </td> <td class="tdStyle"> <div align=center><b><font color=#0066cc><span class=high>单位电话</span></font></b></div> </td> <td class="tdStyle"> <div align=center><b><font color=#0066cc><span class=high>住宅电话</span></font></b></div> </td> <td class="tdStyle" > <div align=center><b><font color=#0066cc><span class=high>学历</span></font></b></div> </td> <td class="tdStyle"> <div align=center><b><font color=#0066cc><span class=high>学位</span></font></b></div> </td> </tr> <tr> <td style="word-break:break-all" class="tdStyle" > <div align=center><font color=#0066cc><span class=high>女性</span></font></div> </td> <td class="tdStyle" style="word-break:break-all"> <div align=center><font color=#0066cc><font color=#0066cc>1979.09.25</font></font></div> </td> <TD class="tdStyle" style="word-break:break-all"> <DIV align=center><FONT color=#0066cc><font color=#0066cc>--</font></FONT></DIV> </TD> <td class="tdStyle" style="word-break:break-all"> <div align=center><font color=#0066cc><span class=high>--</span></font></div> </td> <td class="tdStyle" style="word-break:break-all"> <div align=center><font color=#0066cc><span class=high>--</span></font></div> </td> <td class="tdStyle" style="word-break:break-all"> <div align=center><font color=#0066cc><span class=high>--</span></font></div> </td> <td class="tdStyle" style="word-break:break-all"> <div align=center><font color=#0066cc><span class=high>--</span></font></div> </td> <td class="tdStyle" style="word-break:break-all"> <div align=center><font color=#0066cc><span class=high>--</span></font></div> </td> </tr> <tr> <td class="tdStyle" colspan=3> <div align=center><b><font color=#0066cc><span class=high>通讯地址</span></font></b></div> </td> <td class="tdStyle" colspan=5> <div align=center><b><font color=#0066cc><span class=high>户籍地址</span></font></b></div> </td> </tr> <tr> <td class="tdStyle" style="word-break:break-all" colspan=3> <div align=center><font color=#0066cc><span class=high>--</span></font></div> </td> <td class="tdStyle" style="word-break:break-all" colspan=5> <div align=center><font color=#0066cc><span class=high>--</span></font></div> </td> </tr> </tbody> </table> </td> </tr> <tr height=30 valign="bottom"> <td> <div align=center><font color=#0066cc ><span class=high><b>配偶信息</b></span></font></div> </td> </tr> <tr> <td> <table cellspacing=0 cellpadding=2 width=620 align=center class="tableStyle"> <tbody> <tr> <td class="tdStyle" colspan=2> <div align=center><b><font color=#0066cc><span class=high>姓名</span></font></b></div> </td> <td class="tdStyle" colspan=1> <div align=center><b><font color=#0066cc><span class=high>证件类型</span></font></b></div> </td> <td class="tdStyle" colspan=1> <div align=center><b><font color=#0066cc><span class=high>证件号码</span></font></b></div> </td> <td class="tdStyle" colspan=3> <div align=center><b><font color=#0066cc><span class=high>工作单位</span></font></b></div> </td> <td class="tdStyle" colspan=1> <div align=center><b><font color=#0066cc><span class=high>联系电话</span></font></b></div> </td> </tr> <TR> <TD class="tdStyle" style="word-break:break-all" colspan=2> <DIV align=center><FONT color=#0066cc><SPAN class=high>--</SPAN></FONT></DIV> </TD> <TD class="tdStyle" style="word-break:break-all" colspan=1> <DIV align=center><FONT color=#0066cc><SPAN class=high>--</SPAN></FONT></DIV> </TD> <TD class="tdStyle" style="word-break:break-all" colspan=1> <DIV align=center><FONT color=#0066cc><SPAN class=high>--</SPAN></FONT></DIV> </TD> <TD class="tdStyle" style="word-break:break-all" colspan=3> <DIV align=center><FONT color=#0066cc><SPAN class=high>--</SPAN></FONT></DIV> </TD> <TD class="tdStyle" style="word-break:break-all" colspan=1> <DIV align=center><FONT color=#0066cc><SPAN class=high>--</SPAN></FONT></DIV> </TD> </TR> </tbody> </table> </td> </tr> <!--居住信息--> <!--A3职业信息--> <tr style="line-height:15px"><td> </td></tr> <tr height=40> <td align="center" valign="middle" > <font color=#0066cc style="font-size: 14px"><b>二 信息概要</b></font> </td> </tr> <tr height=30 valign="bottom"> <td align="center" valign="middle" > <font color=#0066cc style="font-size: 12px"><b>(一) 信用提示</b></font> </td> </tr> <style> <!-- .tableStyle{ border-collapse:collapse; border:none; } .tdStyle{ border:1px solid; } --> </style> <tr> <td> <div align=center> <table cellspacing=0 cellpadding=2 width=620 align=center class="tableStyle"> <tbody> <tr> <td width="10%" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>个人住房贷款笔数</span></font></b></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>个人商用房(包括商住两用)贷款笔数</span></font></b></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>其他贷款笔数</span></font></b></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>首笔贷款发放月份</span></font></b></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>贷记卡账户数</span></font></b></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>首张贷记卡发卡月份</span></font></b></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>准贷记卡账户数</b></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>首张准贷记卡发卡月份</span></font></b></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>本人声明数目</span></font></b></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>异议标注数目</span></font></b></div> </td> </tr> <tr> <td width="10%" class="tdStyle"> <div class=high align=center><font color=#0066cc>0</font></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><font color=#0066cc>0</font></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><font color=#0066cc>1</font></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><font color=#0066cc>2017.08</font></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><font color=#0066cc>0</font></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><font color=#0066cc>--</font></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><font color=#0066cc>0</font></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><font color=#0066cc>--</font></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><font color=#0066cc>0</font></div> </td> <td width="10%" class="tdStyle"> <div class=high align=center><font color=#0066cc>0</font></div> </td> </tr> </tbody> </table> </div> </td> </tr> <tr style="line-height:15px"><td> </td></tr> <tr height=10 valign="bottom"> <td align="center" valign="middle" > <font color=#0066cc style="font-size: 12px"><b>(二) 授信及负债信息概要</b></font> </td> </tr> <!-- <tr> <td align="center" valign="middle"> <div class=high align=center><font color=#0066cc><span class=high><b>未结清贷款信息汇总</b></span></font></div> </td> </tr>--> <style type="text/css"> <!-- .tableStyle{ border-collapse:collapse; border:none; border-color:black; } .tdStyle{ border:1px solid; } --> </style> <tr height=20 valign="bottom"> <td align="center"><span class="high"><font color=#0066cc><b>未结清贷款信息汇总</b></font></span></td> </tr> <tr> <td> <table cellspacing=0 cellpadding=2 width=620 align=center border="1" class="tableStyle"> <tbody> <tr> <td class="tdStyle" width=25% align="center"> <div class=high align=center><b><font color=#0066cc>贷款法人机构数</font></b></div> </td> <td class="tdStyle" width=15% align="center"> <div class=high align=center><b><font color=#0066cc>贷款机构数</font></b></div> </td> <td class="tdStyle" width=10% align="center"> <div class=high align=center><b><font color=#0066cc>笔数</font></b></div> </td> <td class="tdStyle" width=15% align="center"> <div class=high align=center><b><font color=#0066cc>合同总额</font></b></div> </td> <td class="tdStyle" width=10% align="center"> <div class=high align=center><b><font color=#0066cc>余额</font></b></div> </td> <td class="tdStyle" width=25% align="center"> <div class=high align=center><b><font color=#0066cc>最近6个月平均应还款</font></b></div> </td> </tr> <tr> <td class="tdStyle" width=25%> <div class=high align=center><font color=#0066cc>1</font></div> </td> <td class="tdStyle" width=15%> <div class=high align=center><font color=#0066cc>1</font></div> </td> <td class="tdStyle" width=10%> <div class=high align=center><font color=#0066cc>1</font></div> </td> <td class="tdStyle" width=15%> <div class=high align=center><font color=#0066cc>16,000</font></div> </td> <td class="tdStyle" width=10%> <div class=high align=center><font color=#0066cc>13,064</font></div> </td> <td class="tdStyle" width=25%> <div class=high align=center><font color=#0066cc>1,196</font></div> </td> </tr> </tbody> </table> <!--信贷信息hasLoanCredit--> <tr style="line-height:15px"><td> </td></tr> <tr height=40> <td align="center" valign="middle"> <font color=#0066cc style="font-size: 14px"><b>三 信贷交易信息明细</b></font> </td> </tr> <!--资产处置信息--> <!--资产处置信息--> <!--贷款明细信息--> <style> <!-- .tableStyle{ border-collapse:collapse; border:none; } .tdStyle{ border:1px solid; } --> </style> <tr height=20 valign="bottom"> <td> <div class=high align=center><font color=#0066cc><span class=high><strong><b>(一)贷款</strong></span></font></div> </td> </tr> <!-- <tr> <td> <div class=high align=center><font color=#0066cc><span class=high><strong><b>未结清呆账贷款明细信息(呆账)</strong></span></font></div> </td> </tr>--> <!--<tr> <td> <div class=high align=center><font color=#0066cc><span class=high><strong><b>未结清呆账贷款明细信息(核销)</strong></span></font></div> </td> </tr>--> <!-- <tr> <td> <div class=high align=center><font color=#0066cc><span class=high><strong><b>贷款明细信息(呆账)(核销)</strong></span></font></div> </td> </tr> <tr> <td > <div class=high align=center><font color=#0066cc><span class=high><strong><b>其他未结清贷款</strong></span></font></div> </td> </tr> --> <tr style="line-height:25px"><td> </td></tr> <tr height=35 style="line-height:25px"> <td align="center" width=620> <div class=high align=left><b><font color=#0066cc><span class=high>1.2017年08月31日小额信贷公司“VJ”发放的16,000元(人民币)个人消费贷款,业务号X,信用/免担保,36期,按月归还,2020年08月28日到期。截至2019年08月31日,</span></font></b></div> </td> </tr> <tr> <td colspan=24> <table cellspacing=0 cellpadding=2 width=620 align=center class="tableStyle"> <tbody> <tr> <!-- <td colspan=2 align="center"> <div class=high align=center><b><font color=#0066cc><span class=high>编号</span></font></b></div> </td>--> <td colspan=3 align="center" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>账户状态</span></font></b></div> </td> <td colspan=3 align="center" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>五级分类</span></font></b></div> </td> <td colspan=3 align="center" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>本金余额</span></font></b></div> </td> <td colspan=3 align="center" class="tdStyle"> <div class=high align=center><b><font color=#0066cc><span class=high>剩余还<br>款期数</span></font></b></div> </td> <td colspan=3 align="center" class="tdStyle"><b><font color=#0066cc><span class=high>本月应还款</span></font></b> </td> <td class="tdStyle" colspan=3 align="center"><b><font color=#0066cc><span class=high>应还款日</span></font></b> </td> <td class="tdStyle" colspan=3 align="center"><b><font color=#0066cc><span class=high>本月实还款</span></font></b> </td> <td class="tdStyle" style=" border-right-width: 1px" colspan=3 align="center"><b><font color=#0066cc><span class=high>最近一次<br>还款日期</span></font></b> </td> </tr> <tr> <td class="tdStyle" colspan=3 style="word-break:break-all"> <div class=high align=center><font color=#0066cc><span class=high>正常</span></font></div> </td> <td class="tdStyle" colspan=3 style="word-break:break-all"> <div class=high align=center><font color=#0066cc><span class=high>正常</span></font></div> </td> <td class="tdStyle" colspan=3 style="word-break:break-all"> <div class=high align=center><font color=#0066cc><span class=high>13,064</span></font></div> </td> <td class="tdStyle" colspan=3 style="word-break:break-all"> <div class=high align=center><font color=#0066cc><span class=high>12</span></font></div> </td> <td class="tdStyle" colspan=3 style="word-break:break-all"> <div class=high align=center><font color=#0066cc><span class=high>1,761</span></font></div> </td> <td class="tdStyle" colspan=3 style="word-break:break-all"> <div class=high align=center><font color=#0066cc><span class=high>2019.08.31</span></font></div> </td> <td class="tdStyle" colspan=3 style="word-break:break-all"> <div class=high align=center><font color=#0066cc><span class=high>1,761</span></font></div> </td> <td class="tdStyle" colspan=3 style="word-break:break-all; border-right-width: 1px"> <div class=high align=center><font color=#0066cc><span class=high>2019.08.28</span></font></div> </td> </tr> <tr> <td class="tdStyle" colspan=4 align="center"> <div class=high align=center><b><font color=#0066cc><span class=high>当前逾期期数</span></font></b></div> </td> <td class="tdStyle" colspan=4 align="center"> <div class=high align=center><b><font color=#0066cc><span class=high>当前逾期金额</span></font></b></div> </td> <td class="tdStyle" colspan=4 align="center"> <div class=high align=center><b><font color=#0066cc><span class=high>逾期31-60天<br>未还本金</span></font></b></div> </td> <td class="tdStyle" colspan=4 align="center"> <div class=high align=center><b><font color=#0066cc><span class=high>逾期61-90天<bt>未还本金</span></font></b></div> </td> <td class="tdStyle" colspan=4 align="center"> <div class=high align=center><b><font color=#0066cc><span class=high>逾期91-180天<br>未还本金</span></font></b></div> </td> <td class="tdStyle" style=" border-right-width: 1px" colspan=4 align="center"> <div class=high align=center><b><font color=#0066cc><span class=high>逾期180天以<br>上未还本金</span></font></b></div> </td> </tr> <tr> <td class="tdStyle" colspan=4> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> <td class="tdStyle" colspan=4> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> <td class="tdStyle" colspan=4> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> <td class="tdStyle" colspan=4> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> <td class="tdStyle" colspan=4> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> <td class="tdStyle" colspan=4 style=" border-right-width:1px"> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> </tr> <tr> <td colspan=24 class="tdStyle" style=" border-right-width: 1px"> <div class=high align=center><font color=#0066cc><strong><b>2017年09月-2019年08月的还款记录</strong></font></div> </td> </tr> <tr> <td class="tdStyle" width=37> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=37> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>#</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>N</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>N</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>N</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>N</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>N</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>N</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>N</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>N</span></font></div> </td> <td class="tdStyle" width=38> <div class=high align=center><font color=#0066cc><span class=high>N</span></font></div> </td> <td class="tdStyle" width=28 style=" border-right-width: 1px"> <div class=high align=center><font color=#0066cc><span class=high>N</span></font></div> </td> </tr> </tbody> </table> </td> </tr> <!--%}%--> <!--<tr height=35> <td > <div class=high align=center><font color=#0066cc><span class=high><strong><b>转出贷款明细信息</strong></span></font></div> </td> </tr>--> <!--<tr height=35> <td > <div class=high align=center><font color=#0066cc><span class=high><strong><b>已结清贷款明细信息</strong></span></font></div> </td> </tr>--> <!--信用卡明细信息--> <!--C为他人担保详细信息--> <!--非银行hasPublic--> <tr style="line-height:15px"><td> </td></tr> <tr height=40> <td align="center" valign="middle"> <font color=#0066cc style="font-size: 14px"><b>四 公共信息明细</b></font> </td> </tr> <!--法院诉讼信息--> <!--法院执行信息--> <style type="text/css"> <!-- .style1 {color: #0066CC} .tableStyle{ border-collapse:collapse; border:none; } .tdStyle{ border:1px solid; } --> </style> <!--公积金--> <!--社保(发放)--> <style> <!-- .tableStyle{ border-collapse:collapse; border:none; border-color:black; } .tdStyle{ border:1px solid; } --> </style> <style type="text/css"> <!-- body,td,th { color: #0066cc; } .style1 { color: #0066cc; font-weight: bold; } .style2 {color: #0066cc} .tableStyle{ border-collapse:collapse; border:none; } .tdStyle{ border:1px solid; } --> </style> <style type="text/css"> <!-- .style1 {color: #0066CC} .tableStyle{ border-collapse:collapse; border:none; } .tdStyle{ border:1px solid; } --> </style> <!--电信缴费--> <!--本人声明--> <!--查询历史 boolean = false;--> <tr style="line-height:15px"><td> </td></tr> <tr height=40> <td align="center" valign="middle"> <font color=#0066cc style="font-size: 14px"><b>五 查询记录</b></font> </td> </tr> <!--查询记录--> <style> <!-- .tableStyle{ border-collapse:collapse; border:none; border-color:black; } .tdStyle{ border:1px solid; } --> </style> <tr> <td align="center" valign="middle"><span class="high"><font color=#0066cc><b>查询记录汇总</b></font></span></td> </tr> <tr> <td> <div align=center> <table cellspacing=0 cellpadding=2 width=620 align=center class="tableStyle"> <tbody> <tr> <td class="tdStyle" colspan=4 > <div class=high align=center><b><font color=#0066cc><span class=high>最近1个月内的查询机构数</span></font></b></div> </td> <td class="tdStyle" colspan=4 > <div class=high align=center><b><font color=#0066cc><span class=high>最近1个月内的查询次数</span></font></b></div> </td> <td class="tdStyle" colspan=4 > <div class=high align=center><b><font color=#0066cc><span class=high>最近2年内的查询次数</span></font></b></div> </td> </tr> <tr> <td class="tdStyle" colspan=2 > <div class=high align=center><b><font color=#0066cc>贷款审批</font></b></div> </td> <td class="tdStyle" colspan=2 > <div class=high align=center><b><font color=#0066cc>信用卡审批</font></b></div> </td> <td class="tdStyle" colspan=1> <div class=high align=center><b><font color=#0066cc>贷款审批</font></b></div> </td> <td class="tdStyle" colspan=2> <div class=high align=center><b><font color=#0066cc>信用卡审批</font></b></div> </td> <td class="tdStyle" colspan=1> <div class=high align=center><b><font color=#0066cc>本人查询</font></b></div> </td> <td class="tdStyle" colspan=1> <div class=high align=center><b><font color=#0066cc>贷后管理</font></b></div> </td> <td class="tdStyle" colspan=1> <div class=high align=center><b><font color=#0066cc>担保资格审查</font></b></div> </td> <td class="tdStyle" colspan=2> <div class=high align=center><b><font color=#0066cc>特约商户实名审查</font></b></div> </td> </tr> <tr> <td class="tdStyle" colspan=2> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> <td class="tdStyle" colspan=2> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> <td class="tdStyle" colspan=1> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> <td class="tdStyle" colspan=2> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> <td class="tdStyle" colspan=1> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> <td class="tdStyle" colspan=1> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> <td class="tdStyle" colspan=1> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> <td class="tdStyle" colspan=2> <div class=high align=center><font color=#0066cc><span class=high>0</span></font></div> </td> </tr> </tbody> </table> </div> </td> </tr> <style> <!-- .tableStyle{ border-collapse:collapse; border:none; border-color:black; } .tdStyle{ border:1px solid; } --> </style> <tr height=30 valign="bottom"> <td> <div class=high align=center><font color=#0066cc><span class=high><b>信贷审批查询记录明细</b></span></font></div> </td> </tr> <tr> <td> <div align=center> <table cellspacing=0 cellpadding=2 width=620 align=center class="tableStyle" border=1> <tbody> <tr> <td class="tdStyle" width="6%"> <div class=high align=center><b><font color=#0066cc>编号</font></b></div></td> <td class="tdStyle" width="32%"> <div class=high align=center><b><font color=#0066cc>查询日期</font></b></div></td> <td class="tdStyle" width="32%"> <div class=high align=center><b><font color=#0066cc>查询操作员</font></b></div></td> <td class="tdStyle" width="30%"> <div class=high align=center><b><font color=#0066cc>查询原因</font></b></div></td> <!-- <td class="tdStyle" width="19%"> <div class=high align=center><b><font color=#0066cc>查询方式</font></b></div></td> --> </tr> <tr> <td class="tdStyle" width="6%" style="word-break:break-all"> <div class=high align=center><font color=#0066cc>1</font></div></td> <td class="tdStyle" width="32%" style="word-break:break-all"> <div class=high align=center><font color=#0066cc>2018.12.17</font></div></td> </font></div></td> <td class="tdStyle" width="32%" style="word-break:break-all"> <div class=high align=center><font color=#0066cc>UF</font></div></td> <td class="tdStyle" width="30%" style="word-break:break-all"> <div class=high align=center><font color=#0066cc>贷款审批</font></div></td> <!--<td class="tdStyle" width="19%" style="word-break:break-all"> <div class=high align=center><font color=#0066cc> 单笔信用报告查询 </font></div> </td>--> </tr> </tbody> </table> </div> </td> </tr> <!--报告说明--> <style> <!-- .tableStyle{ border-collapse:collapse; border:none; } .tdStyle{ border:1px solid; } --> </style> <tr style="line-height:80px"><td> </td></tr> <tr height=70> <td align="center" > <div class=high align=center style2><b><font color=#0066cc style="font-size: 14px"><span class=high>报告说明</span></font></b></div> </td> </tr> <tr> <td align="left" style="line-height:25px" width=620> <div class=high align=left><b><font color=#0066cc> <span class=high> 1.本报告由中国人民银行征信中心出具,依据截至报告时间个人征信系统记录的信息生成。除查询记录外,其他信息均由相关机构提供,征信中心不保证其真实性和准确性,但承诺在信息汇总、加工、整合的全过程中保持客观、中立的地位。 </span></font></b></div> </td> </tr> <tr> <td align="left" style="line-height:25px" width=620> <div class=high align=left><b><font color=#0066cc> <span class=high> 2.本报告中的“数字解读”仅供使用本信用报告的银行等授信机构参考,授信机构应自行承担使用“数字解读”的相关法律责任。 </span></font></b></div> </td> </tr> <tr> <td align="left" style="line-height:25px" width=620> <div class=high align=left><b><font color=#0066cc> <span class=high> 3.“数字解读”是将信用报告内容解读为一个数值,反映了消费者信贷违约的可能性;“相对位置”是消费者的数字解读值在全部人群中的百分比排序位置;“说明”中的“影响因素”是影响消费者获得更高数字解读值的原因。 </span></font></b></div> </td> </tr> <tr> <td align="left" style="line-height:25px" width=620> <div class=high align=left><b><font color=#0066cc> <span class=high> 4.本报告中如果没有"逾期及违约信息概要"信息,说明消费者最近5年内没有连续逾期。 </span></font></b></div> </td> </tr> <tr> <td align="left" style="line-height:25px" width=620> <div class=high align=left><b><font color=#0066cc> <span class=high> 5.本报告中的金额类数据均以人民币计算,精确到元。 </span></font></b></div> </td> </tr> <tr> <td align="left" style="line-height:25px" width=620> <div class=high align=left><b><font color=#0066cc> <span class=high> 6.本报告不展示5年前已经结束的逾期及违约行为,以及5年前的欠税记录、强制执行记录、民事判决记录、行政处罚记录、电信欠费记录。 </span></font></b></div> </td> </tr> <tr> <td align="left" style="line-height:25px" width=620> <div class=high align=left><b><font color=#0066cc> <span class=high> 7.贷款(发卡)机构说明是数据报送机构对具体业务添加的特别说明信息。 </span></font></b></div> </td> </tr> <tr> <td align="left" style="line-height:25px" width=620> <div class=high align=left><b><font color=#0066cc> <span class=high> 8.本人声明是消费者对信用报告中的信息所附注的简要说明,消费者对本人声明的真实性负责。 </span></font></b></div> </td> </tr> <tr> <td align="left" style="line-height:25px" width=620> <div class=high align=left><b><font color=#0066cc> <span class=high> 9.异议标注是征信中心添加的,用于说明消费者对信用报告中的哪些信息有异议,以及商业银行对异议信息的核实情况。 </span></font></b></div> </td> </tr> <tr> <td align="left" style="line-height:25px" width=620> <div class=high align=left><b><font color=#0066cc> <span class=high> 10.本报告内容涉及个人隐私,查询者应依法使用、妥善保管。因使用不当造成个人隐私泄露的,征信中心将不承担相关责任。 </span></font></b></div> </td> </tr> <!--脚本结束--> <!--<tr> <td align="center" valign="middle" bgcolor=#E3E3E3> <div class=high > <div align="center"><span class="style4"><strong>*********************************</strong></span><b><span class="style4">报告结束<strong>*********************************</strong></span></b></div> </div> </td> </tr>--> <tr> <td> <form method="POST" action="--WEBBOT-SELF--"> <p align="center"> <input onMouseOver=msover(); style="border:1px solid #cc9966; FONT-WEIGHT: normal; FONT-SIZE: 10pt; BACKGROUND: #fff6dc; COLOR: #000000; LINE-HEIGHT: normal; FONT-STYLE: normal; HEIGHT: 30; FONT-VARIANT: normal; width:58" onMouseOut=msout(); type="button" name="doPrint" value="打 印" class="button2" onclick="javascript:document.execCommand('print')"> <input onMouseOver=msover(); style="border:1px solid #cc9966; FONT-WEIGHT: normal; FONT-SIZE: 10pt; BACKGROUND: #fff6dc; COLOR: #000000; LINE-HEIGHT: normal; FONT-STYLE: normal; HEIGHT: 30; FONT-VARIANT: normal; width:58" onMouseOut=msout(); type="button" name="goBack" value="关 闭" class="button1" onclick="javascript:window.close()"> </p> </form> </td> </tr> </table> </BODY>
- 处理代码:
from lxml import etree import os def rename_html(file): new_path = os.path.join(os.path.dirname(file), "rename", os.path.basename(file)) print (new_path) print('#################################################') html = "" replace_text = [] with open(file, "r") as f: html = f.read() element = etree.HTML(html) print(element) print('################') font_element = element.xpath("//tbody/tr[1]/td[1]//font") print (font_element) if len(font_element) == 0: print("该文件不需要修改:" + file) find = ['被查询者姓名'] for font in font_element: text = font.xpath(".//text()") print (text) print ('#') if len(text) != 0: if text[0] == '被查询者姓名': name = font.xpath("../../../tr[2]/td[1]/div//text()")[0] print('###################') print(name) number = font.xpath("../../../tr[2]/td[3]/div//text()")[0] print('##########3') print(number) replace_text.append(name) replace_text.append(number) if text[0] == '性别': phone = font.xpath("../../../../../tr[2]/td[4]/div//text()")[0] home_phone = font.xpath("../../../../../tr[2]/td[5]/div//text()")[0] home_phone2 = font.xpath("../../../../../tr[2]/td[6]/div//text()")[0] if phone != "--": replace_text.append(phone) if home_phone != "--": replace_text.append(home_phone) if home_phone2 != "--": replace_text.append(home_phone2) for replace_each in replace_text: html = html.replace(replace_each, "*") with open(new_path, "w") as f: print("文件修改完毕:" + new_path) f.write(html) if __name__ == "__main__": for files in os.listdir(os.path.dirname(__file__)): path = os.path.join(os.path.dirname(__file__), files) if os.path.isfile(path): if files[-5:] == ".html" or files[-4:] == ".htm": rename_html(path)