spedrickson / ytchat-ingest Goto Github PK
View Code? Open in Web Editor NEWIngest messages from YouTube live chat to MongoDB
License: MIT License
Ingest messages from YouTube live chat to MongoDB
License: MIT License
Now that YouTube supports @handles
for accounts, it would be valuable for the ytchat-ingest tool to support them as well.
Current impact of using a handle with the tool:
Currently the only downside of launching the tool with a @handle
instead of a channelID is messages will be put in a collection named after the handle rather than the channelID.
Workaround:
Just launch the tool with a channelID (UC...
) instead of a @handle
Long-term fix:
For consistency, the tool should resolve @handles
into channelIDs on launch, and use that as the collection name. This should also be more stable against end-user changes like new handles, since channelIDs are unchangeable.
Currently the ingest tool checks if a channel is live by going to
https://youtube.com/CHANNEL_ID/live
with a Playwright instance.
This is very inefficient, and can be done with a simple GET
request, then checking the href
attribute of the <link rel="canonical" />
tag.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.