Fixed banner seed.
This commit is contained in:
@@ -24,7 +24,7 @@ function scrapeAll(scenes) {
|
||||
|
||||
const poster = query.img('.thumb img');
|
||||
|
||||
if (poster) {
|
||||
if (poster && /\.\w{3,4}$/.test(poster)) { // missing poster points to https://media.karups.com/thumbs_pg/
|
||||
release.poster = Array.from(new Set([
|
||||
poster.replace('.jpg', '-feat_lg.jpg'),
|
||||
poster,
|
||||
@@ -68,7 +68,7 @@ function scrapeScene({ query }, { url }) {
|
||||
// videos and photos seem to be removed, query educated guess just in case
|
||||
const poster = query.poster('.video-player video') || query.img('.video-poster img');
|
||||
|
||||
if (poster) {
|
||||
if (poster && /\.\w{3,4}$/.test(poster)) { // missing poster points to https://media.karups.com/thumbs_pg/
|
||||
release.poster = Array.from(new Set([
|
||||
poster,
|
||||
poster.replace('-feat_lg', ''),
|
||||
|
||||
Reference in New Issue
Block a user