douyu | Get danmu of douyutv | Video Sharing library
kandi X-RAY | douyu Summary
kandi X-RAY | douyu Summary
Get danmu of douyutv
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of douyu
douyu Key Features
douyu Examples and Code Snippets
Community Discussions
Trending Discussions on douyu
QUESTION
I am using a python version of Selenium to capture comments on a Chinese website.
The website is https://v.douyu.com/show/kDe0W2q5bB2MA4Bz
I want to find this span element. In Chinese, this is called "弹幕列表".
I tried the absolute path like:
...ANSWER
Answered 2020-Dec-24 at 13:50I guess you use Selenium
because requests
can't capture the value.
If it's not what you want to do, don’t read my answer.
Because you are requests.get(url='https://v.douyu.com/show/kDe0W2q5bB2MA4Bz')
You need to find the source of the data ApiUrl
on F12 Network
.
In fact, his source of information is
https://v.douyu.com/wgapi/vod/center/getBarrageListByPage
+ parameter
↓
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install douyu
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page