Refactored media fetch with undici for http/2 support.
This commit is contained in:
@@ -85,7 +85,7 @@ async function scrapeScene({ query: pageQuery, html }, { url, entity, include })
|
||||
}
|
||||
|
||||
if (include.photos && capsUrl) {
|
||||
release.caps = await fetchCaps(capsUrl);
|
||||
release.caps = await fetchCaps(capsUrl, entity);
|
||||
}
|
||||
|
||||
release.trailer = pageQuery.video('#download_select option[value*=".mp4"]', { attribute: 'value' });
|
||||
|
||||
Reference in New Issue
Block a user