forked from DebaucheryLibrarian/traxxx
Fixed CzechAV to accomodate teasers instead of photos. Fixed error trying to flush non-existent media file.
This commit is contained in:
@@ -12,7 +12,8 @@ function scrapeAll(scenes, channel) {
|
||||
release.title = query.cnt('.nice-title');
|
||||
|
||||
release.poster = query.img('img.poster');
|
||||
release.photos = query.q('img.poster', 'data-urls').split(' ');
|
||||
release.photos = query.q('img.poster', 'data-urls')?.split(' ');
|
||||
release.teaser = query.video('img.poster', 'data-thumbnail');
|
||||
|
||||
if (query.exists('.info')) {
|
||||
release.date = query.date('.updated', 'MM/DD/YYYY');
|
||||
|
||||
Reference in New Issue
Block a user