Home  >  Q&A  >  body text

python - The number of Douyu followers is shown as a loading picture. How to crawl the number of followers?

Crawling the number of Douyu followers and displaying it

<span data-anchor-info="nic">
<img src="https://shark.douyucdn.cn/app/douyu/res/page/room-normal/loading.gif"/>
</span>

Wait until the website is loaded and displayed

<p class="r-num fl">
<span data-anchor-info="nic">196723</span>
<!-- <i class="nic"></i> -->
</p>

How should we crawl this kind of data?

巴扎黑巴扎黑2662 days ago947

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-07-05 10:36:08

    Just extract the interface to get the number of followers

    reply
    0
  • Cancelreply