Home > other >  Python scrapy crawler label value problem, can be found in the body
Python scrapy crawler label value problem, can be found in the body

Time:12-29

The body of the tag
The 2020-12-23 20:54:07 & lt;/span>
<script SRC="https://bbs.csdn.net/e/public/ViewClick/? Every 2 & amp; Id=168513 & amp; Addclick=1 "& gt; </script> Reading (17) & lt;/span>


But using scrapy framework couldn't always take the "reading (17) the inside of the parentheses" values, to remove becomes "[' reading (', ') ']"

For each great god answer why number have no?






CodePudding user response:

You look at the source code, this value is js set dynamically
  • Related