docs.rs failed to build yt_info-0.3.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
yt_info
Rust library to fetch YouTube content and retrieve metadata. Fork of rafy-rs
Installation
Put the below in your Cargo.toml
[dependencies]
yt_info = "0.3.1"
Usage Examples
use VideoInfo;
use File;
use io;
For more examples check out the Documentation.
Limitations
-
This library won't be able to fetch
audiostreams
andvideostreams
for unpopular videos, because YouTube does not generate separate streams for unpopular videos. However, it will still be able to fetch normalstreams
. -
Since this library does not depend on youtube-dl, there are some more things (not mentioning here) that we'll be missing out.
Running Tests
$ cargo test
Contributing
All pull requests all welcome
Thanks
The basic method of extracting streams was stolen from rust-youtube-downloader by smoqadam.
License
The MIT License