Added movie URL file support. Fixed Gamma movie API scraper movie URL.

This commit is contained in:
DebaucheryLibrarian
2022-02-03 00:04:48 +01:00
parent 1dc38ffacc
commit 3d80e9d77b
4 changed files with 15 additions and 3 deletions

View File

@@ -448,8 +448,8 @@ async function scrapeReleaseApi(data, site, options) {
if (data.cover_path) {
release.covers = [
getImageSources(`/${data.cover_path}_front_400x625.jpg?width=450&height=636&format=webp`),
getImageSources(`/${data.cover_path}_back_400x625.jpg?width=450&height=636&format=webp`),
getImageSources(`${data.cover_path}_front_400x625.jpg?width=450&height=636&format=webp`),
getImageSources(`${data.cover_path}_back_400x625.jpg?width=450&height=636&format=webp`),
];
}