Comments (4)
Interesting, YouTube must have changed their API. I'll take a look at it.
from ytpriv.
@adsad213 Sorry for the delay, but this is fixed in 1.0.0! https://github.com/terorie/ytwrk/releases/tag/v1.0.0
I've verified that subcomments get scraped with the video you've linked.
I now get 10 pages of sub-comments on the first comment thread (used to be 1).
./ytwrk video comments e9dZQelULDk --sort=top -c1 >/dev/null
INFO[0000] Start video video_id=e9dZQelULDk
INFO[0001] Page index=-1 video_id=e9dZQelULDk
INFO[0001] Page index=0 video_id=e9dZQelULDk
INFO[0001] Sub page index=1 parent_id=Ugx3Zffzf5edwiRain94AaABAg sub_index=0 video_id=e9dZQelULDk
INFO[0002] Sub page index=1 parent_id=Ugx3Zffzf5edwiRain94AaABAg sub_index=1 video_id=e9dZQelULDk
INFO[0002] Sub page index=1 parent_id=Ugx3Zffzf5edwiRain94AaABAg sub_index=2 video_id=e9dZQelULDk
INFO[0003] Sub page index=1 parent_id=Ugx3Zffzf5edwiRain94AaABAg sub_index=3 video_id=e9dZQelULDk
INFO[0004] Sub page index=1 parent_id=Ugx3Zffzf5edwiRain94AaABAg sub_index=4 video_id=e9dZQelULDk
INFO[0004] Sub page index=1 parent_id=Ugx3Zffzf5edwiRain94AaABAg sub_index=5 video_id=e9dZQelULDk
INFO[0005] Sub page index=1 parent_id=Ugx3Zffzf5edwiRain94AaABAg sub_index=6 video_id=e9dZQelULDk
INFO[0005] Sub page index=1 parent_id=Ugx3Zffzf5edwiRain94AaABAg sub_index=7 video_id=e9dZQelULDk
INFO[0006] Sub page index=1 parent_id=Ugx3Zffzf5edwiRain94AaABAg sub_index=8 video_id=e9dZQelULDk
INFO[0006] Sub page index=1 parent_id=Ugx3Zffzf5edwiRain94AaABAg sub_index=9 video_id=e9dZQelULDk
INFO[0007] Sub page index=1 parent_id=Ugx3Zffzf5edwiRain94AaABAg sub_index=10 video_id=e9dZQelULDk
INFO[0007] Sub page index=1 parent_id=Ugx8ndkeMmG8LLc0WKp4AaABAg sub_index=0 video_id=e9dZQelULDk
INFO[0007] Sub page index=1 parent_id=Ugx8ndkeMmG8LLc0WKp4AaABAg sub_index=1 video_id=e9dZQelULDk
from ytpriv.
Are 10 pages the limit? With the API I'm able to get all the sub-comments in a comment thread. Thanks for your effort!
from ytpriv.
@adsad213 The scraper fakes using youtube.com
as on desktop. I am pretty sure you can get more than 10 pages if you click "show more replies" in the app. Thus, I don't think the scraper has a limit of subcomments. It's best to test manually.
from ytpriv.
Related Issues (11)
- Store timestamps as unix time HOT 1
- Redis job queue HOT 2
- Mongo Data store HOT 2
- [Scraping] Super Chats HOT 1
- Shell completions
- Packaging HOT 2
- How to build HOT 1
- Export livechat of past live streams HOT 1
- Community Tab support
- Continuous Testing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ytpriv.