crawled a string info_content, on the web page but printed it out one by one and found that it contained a character that could not be displayed. What is this character? It doesn"t seem to be that "n"
reported this error when converting with int ()
ValueError: invalid literal for int () with base 10:"n"
print (info_content [1:15])
for i in range (0br 15):
print ("index", I, ":", info_ content [I])
if (info_ content [I] = r "r"):
print ("get")
html file
< div id= "con02-0" class= "tagmain" >
<!--begin-->
<table id="comInfo1" width="100%">
<tbody><tr>
<td class="ct">:</td>
<td colspan="3" class="ccl">()</td>
</tr>
<tr>
<td class="ct">:</td>
<td colspan="3" class="ccl">Nanjing Central Emporium (Group) Stocks Co.,Ltd.</td>
</tr>
<tr>
<td class="ct">:</td>
<td class="cc"></td>
<td class="ct">:</td>
<td class="cc"> <a href="/corp/view/vCI_CorpInfoLink.php?stockid=600280&InMarketDate=200009" target="_blank">2000-09-26</a></td> </tr>