Fixed Gamma scraper breaking when scene has no movie. Improved missing thumbnail presentation on mobile scene tiles.
This commit is contained in:
@@ -304,10 +304,9 @@ async function scrapeScene(html, url, site, baseRelease, mobileHtml) {
|
||||
];
|
||||
|
||||
const movie = $('.dvdLink');
|
||||
const movieUrl = qu.prefixUrl(movie.attr('href'), site.url);
|
||||
|
||||
if (movie) {
|
||||
const movieUrl = qu.prefixUrl(movie.attr('href'), site.url);
|
||||
|
||||
if (movieUrl) {
|
||||
release.movie = {
|
||||
url: movieUrl,
|
||||
title: movie.attr('title'),
|
||||
|
||||
Reference in New Issue
Block a user