forked from DebaucheryLibrarian/traxxx
Improved scene poster selector in Woodman scraper.
This commit is contained in:
parent
fddbafc2d5
commit
c1124abde0
|
@ -79,7 +79,7 @@ function scrapeScene({ query, html }, url, entity) {
|
||||||
}
|
}
|
||||||
|
|
||||||
release.tags = query.cnts('.tags a:not(.more_tag)');
|
release.tags = query.cnts('.tags a:not(.more_tag)');
|
||||||
release.poster = removeImageBorder(html.match(/image: "(.*)"/)?.[1]);
|
release.poster = removeImageBorder(html.match(/image: "(.*?)"/)?.[1]);
|
||||||
|
|
||||||
release.trailer = html.match(/url: "(.*mp4.*)"/g)?.map(src => ({
|
release.trailer = html.match(/url: "(.*mp4.*)"/g)?.map(src => ({
|
||||||
src: src.match(/"(.*)"/)?.[1],
|
src: src.match(/"(.*)"/)?.[1],
|
||||||
|
|
Loading…
Reference in New Issue