fix(route): video previews for JAVLibrary (#9182)
This commit is contained in:
@@ -77,7 +77,7 @@ module.exports = {
|
||||
thumbs: content('.previewthumbs img')
|
||||
.toArray()
|
||||
.map((img) => content(img).attr('src').replace(/-/g, 'jp-')),
|
||||
videos: [...new Set(detailResponse.data.match(/(http[\w\d:/]+\.mp4)/g))],
|
||||
videos: [...new Set(detailResponse.data.match(/(http[^[\]"]+\.mp4)/g))],
|
||||
});
|
||||
item.pubDate = item.pubDate.toString() === 'Invalid Date' ? parseDate(content('#video_date').find('.text').text()) : item.pubDate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user