fbvideo

Crates.iofbvideo
lib.rsfbvideo
version0.4.1
sourcesrc
created_at2019-03-15 06:36:13.915421
updated_at2021-02-21 05:41:43.89519
descriptionAsync crate to get video URLs from Facebook
homepage
repositoryhttps://github.com/lzutao/fburl-rs/tree/master/fbvideo
max_upload_size
id120926
size7,337
(tesuji)

documentation

README

fbvideo

Library to get video URLs from Facebook.

Documentation Crates.io

Examples

use fbvideo::{FbVideo, Quality};
#[tokio::main]
async fn main() {
    let mut fb = FbVideo::new(
        "https://www.facebook.com/817131355292571/videos/2101344733268123/",
        Quality::Hd,
    );
    match fb.get_video_url().await {
        Ok(url) => println!("{:?}", url),
        Err(e) => panic!("{:?}", e),
    }
}
Commit count: 0

cargo fmt