diff --git a/.gitignore b/.gitignore index 5bf9171..81444f9 100644 --- a/.gitignore +++ b/.gitignore @@ -15,11 +15,5 @@ Cargo.lock # MSVC Windows builds of rustc generate these, which store debugging information *.pdb -# RustRover -# JetBrains specific template is maintained in a separate JetBrains.gitignore that can -# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore -# and can be added to the global gitignore or merged into this file. For a more nuclear -# option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ -hottub.db +*.db migrations/.keep diff --git a/src/providers/hentaihaven.rs b/src/providers/hentaihaven.rs index 2fa283e..3b563ef 100644 --- a/src/providers/hentaihaven.rs +++ b/src/providers/hentaihaven.rs @@ -458,7 +458,7 @@ impl HentaihavenProvider { } let video_item = - VideoItem::new(id, title, video_url.clone(), "hentaihaven".into(), thumb, 0) + VideoItem::new(id, title, formats.last().unwrap().clone().url, "hentaihaven".into(), thumb, 0) .formats(formats) .tags(tags) .views(views);