Removed some obsolete client components. Added ASG Max with affiliates.
This commit is contained in:
@@ -42,7 +42,7 @@ function getAvatarFallback(url) {
|
||||
`${origin}${pathname}`,
|
||||
url,
|
||||
];
|
||||
} catch (error) {
|
||||
} catch (_error) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -122,11 +122,11 @@ async function scrapeScene({ query }, { url, entity }) {
|
||||
|
||||
release.poster = data?.thumbnailUrl || query.attribute('meta[property="og:image"]', 'content');
|
||||
release.teaser = (sourcesData && [
|
||||
sourcesData.mp4_large,
|
||||
sourcesData.webm_large,
|
||||
sourcesData.mp4,
|
||||
sourcesData.webm,
|
||||
])
|
||||
sourcesData.mp4_large,
|
||||
sourcesData.webm_large,
|
||||
sourcesData.mp4,
|
||||
sourcesData.webm,
|
||||
])
|
||||
|| data?.contentUrl
|
||||
|| query.attribute('meta[property="og:video"]')
|
||||
|| query.video('video[data-videocontainer-target] source');
|
||||
|
||||
Reference in New Issue
Block a user