ytextract - A library for getting YouTube metadata
This includes:
- Videos
- Streams (e.g. downloading of videos)
- Playlists
- Channels
- Community Posts
- Comments
- Closed Captions
- Search
- Live Streams
Basic Example
async
More examples can be found here: examples
Notes
-
Compiler support
This library always expects to be used with the latest version of rust. It may run on older rust versions, but not guarantee is made, that it won't break between versions.
-
Subscriber count
All functions that return subscriber counts only return 3-digit precision values as that is all that YouTube returns. That means if channel has exactly
164_583
subscribers, this library will return164_000
. -
Panic behavior
This library should never panic. If it does, it should be reported as a bug. Panics mostly mean, that YouTube changed something that this library could not deal with.