All Projects → ritiek → rafy-rs

ritiek / rafy-rs

Licence: MIT license
Rust library to download YouTube content and retrieve metadata

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to rafy-rs

Patreondownloader
Powerful tool for downloading content posted by creators on patreon.com. Supports content hosted on patreon itself as well as external sites (additional plugins might be required).
Stars: ✭ 89 (+93.48%)
Mutual labels:  content, downloader
unfurl
Extract rich metadata from URLs
Stars: ✭ 41 (-10.87%)
Mutual labels:  metadata, content
Moodle Downloader 2
A Moodle downloader that downloads course content fast from Moodle (eg. lecture pdfs)
Stars: ✭ 118 (+156.52%)
Mutual labels:  content, downloader
nts
NTS Radio downloader and metadata parser
Stars: ✭ 58 (+26.09%)
Mutual labels:  metadata, downloader
YouTube-MA
💾 YouTube video metadata archiver written in Golang
Stars: ✭ 17 (-63.04%)
Mutual labels:  metadata, downloader
Irs
🎸 🎶 A music downloader that understands your metadata needs.
Stars: ✭ 268 (+482.61%)
Mutual labels:  metadata, downloader
qobuz-dl
A complete Lossless and Hi-Res music downloader for Qobuz
Stars: ✭ 531 (+1054.35%)
Mutual labels:  downloader
EFDownloader
DEPRECATED
Stars: ✭ 11 (-76.09%)
Mutual labels:  downloader
proteomics-metadata-standard
The Proteomics Experimental Design file format: Standard for experimental design annotation
Stars: ✭ 49 (+6.52%)
Mutual labels:  metadata
content defender
Define allowed or denied content element types in your backend layouts
Stars: ✭ 63 (+36.96%)
Mutual labels:  content
ArchiverForGooglePhotos
A tool to maintain an archive/mirror of your Google Photos library for backup purposes.
Stars: ✭ 104 (+126.09%)
Mutual labels:  downloader
cloud-detect
Module that determines a host's cloud provider.
Stars: ✭ 28 (-39.13%)
Mutual labels:  metadata
node-tumblr-downloader
A reliable Tumblr download tool.
Stars: ✭ 52 (+13.04%)
Mutual labels:  downloader
8tracks-downloader
🎼 Bash script to download playlists from 8tracks
Stars: ✭ 45 (-2.17%)
Mutual labels:  downloader
TSdownloader
Template for downloading segmented video (.m3u8/.ts) from streaming websites
Stars: ✭ 17 (-63.04%)
Mutual labels:  downloader
habbo-downloader
⚡A tiny script to download various files directly from Habbo.
Stars: ✭ 47 (+2.17%)
Mutual labels:  downloader
bcdhub
Better Call Dev backend
Stars: ✭ 30 (-34.78%)
Mutual labels:  metadata
vsco-scraper
Easily allows for scraping a VSCO
Stars: ✭ 106 (+130.43%)
Mutual labels:  downloader
datacatalog
Data Catalog is a service for indexing parameterized, strongly-typed data artifacts across revisions. It also powers Flytes memoization system
Stars: ✭ 52 (+13.04%)
Mutual labels:  metadata
Twitch-Clips-Compilation-Generator-TCCG-
A system of 3 programs that collects clips automatically from Twitch, lets you edit videos and combine clips, and puts them together into a compilation video ready to be uploaded straight to any social media platform. Full VPS support is provided, along with an accounts system so multiple users can use the bot at once.
Stars: ✭ 67 (+45.65%)
Mutual labels:  downloader

rafy

Rust Toolchain Crates.io Docs.rs Build Status

Rust library to fetch YouTube content and retrieve metadata. An attempt to mimic pafy but in Rust.

Installation

Put the below in your Cargo.toml

[dependencies]

rafy = "0.2"

Usage Examples

extern crate rafy;
use rafy::Rafy;

fn main() {
    let content = Rafy::new("https://www.youtube.com/watch?v=DjMkfARvGE8").unwrap();
    println!("{}", content.videoid);
    println!("{}", content.title);
    println!("{}", content.rating);
    println!("{}", content.viewcount);
}

For more examples check out the Documentation.

Limitations

  • This library won't be able to fetch audiostreams and videostreams for unpopular videos, because YouTube does not generate separate streams for unpopular videos. However, it will still be able to fetch normal streams.

  • 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

  • Rust is still new to me. If there is anything that can be improved, please open an issue or even better, send a PR! 😄

  • Documentation improvements are also most welcome!

Thanks

The basic method of extracting streams was stolen from rust-youtube-downloader by smoqadam.

License

The MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].