samedi 28 mars 2015

beautifulsoup4 won't parse a working html page


Vote count:

0




BS4 won't parse a page because it says that the html is malformed. This is the bothering part :



</div>
<hr />
<div id='coinadvert'> <script> document.write('<sc'+'ript async="async" type="text/javascript" src="http://ift.tt/1Gzgc0X'+Math.round(Math.random()*100000)+'"></sc'+'ript>'); </script> </div> <div class="row faucet">
<div class="col-md-3">
<h3 class="text-center">Rewards here:</h3>
<hr />


Line 3 : '<sc'+'ript async="asyn


Is there a workaround? after all chrome display correctly the page.


Thanks



asked 41 secs ago







beautifulsoup4 won't parse a working html page

Aucun commentaire:

Enregistrer un commentaire