Refactored clips into chapters.
This commit is contained in:
@@ -172,7 +172,7 @@ async function scrapeScene({ query, html }, url, channel) {
|
||||
|
||||
release.poster = qu.prefixUrl(html.match(/background-image: url\('(.*)'\)/)?.[1], channel.url);
|
||||
|
||||
release.clips = query.all('.ClipOuter').map((el) => {
|
||||
release.chapters = query.all('.ClipOuter').map((el) => {
|
||||
const chapter = {};
|
||||
|
||||
chapter.title = query.text(el, 'h4');
|
||||
|
||||
Reference in New Issue
Block a user