Fixed Gamma movie scene query. Added tag photos.
After Width: | Height: | Size: 2.5 MiB |
After Width: | Height: | Size: 3.1 MiB |
After Width: | Height: | Size: 3.2 MiB |
After Width: | Height: | Size: 2.5 MiB |
After Width: | Height: | Size: 4.3 MiB |
After Width: | Height: | Size: 2.2 MiB |
After Width: | Height: | Size: 3.4 MiB |
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 3.6 MiB |
After Width: | Height: | Size: 2.4 MiB |
After Width: | Height: | Size: 3.2 MiB |
After Width: | Height: | Size: 2.2 MiB |
After Width: | Height: | Size: 3.8 MiB |
After Width: | Height: | Size: 2.2 MiB |
After Width: | Height: | Size: 3.5 MiB |
After Width: | Height: | Size: 2.0 MiB |
After Width: | Height: | Size: 8.1 KiB |
After Width: | Height: | Size: 8.1 KiB |
After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 9.5 KiB |
After Width: | Height: | Size: 8.5 KiB |
After Width: | Height: | Size: 9.1 KiB |
After Width: | Height: | Size: 8.5 KiB |
After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 7.7 KiB |
After Width: | Height: | Size: 8.3 KiB |
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 8.7 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 9.7 KiB |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 42 KiB |
|
@ -664,6 +664,7 @@ const tagMedia = [
|
|||
['blonde', 3, 'Kylie Page in "A Juicy Afternoon Delight"', 'newsensations'],
|
||||
['blonde', 'shawna_lenee_sunrisekings', 'Shawna Lenee', 'sunrisekings'],
|
||||
['blonde', 2, 'Isabelle Deltore', 'herlimit'],
|
||||
['blowbang', 'cory_chase_interracialblowbang_4', 'Cory Chase', 'interracialblowbang'],
|
||||
['blowbang', 'ana_foxxx_hardx', 'Ana Foxxx in "Facialized Vol. 4"', 'hardx'],
|
||||
['blowbang', 'lisey_sweet_legalporno', 'Lisey Sweet in GIO816', 'legalporno'],
|
||||
['blowbang', 'angela_white_julesjordan', 'Angela White in "Her Biggest Gangbang Ever"', 'julesjordan'],
|
||||
|
|
|
@ -448,12 +448,10 @@ async function fetchMovieTrailer(release) {
|
|||
return null;
|
||||
}
|
||||
|
||||
async function scrapeMovie({ query, html }, window, url, entity, options) {
|
||||
async function scrapeMovie({ query, el }, window, url, entity, options) {
|
||||
const release = {};
|
||||
const data = window.dataLayer[0]?.dvdDetails;
|
||||
|
||||
// const options = html.match(/options = {.*};/);
|
||||
|
||||
release.entryId = new URL(url).pathname.match(/\/(\d+)(\/|$)/)?.[1];
|
||||
|
||||
release.covers = [
|
||||
|
@ -468,7 +466,7 @@ async function scrapeMovie({ query, html }, window, url, entity, options) {
|
|||
release.actors = data.dvdActors.map((actor) => ({ name: actor.actorName, entryId: actor.actorId }));
|
||||
release.tags = query.cnts('.dvdCol a');
|
||||
|
||||
release.scenes = scrapeAll(html, entity, entity.url);
|
||||
release.scenes = scrapeAll(qu.initAll(el, 'div[data-itemtype*=scene], li[data-itemtype*=scene]'), entity, entity.url);
|
||||
|
||||
if (options.includeTrailers) {
|
||||
release.trailer = await fetchMovieTrailer(release);
|
||||
|
@ -661,7 +659,7 @@ function getUpcomingUrl(site) {
|
|||
|
||||
async function fetchLatest(site, page = 1) {
|
||||
const url = getLatestUrl(site, page);
|
||||
const res = await qu.getAll(url, 'li[data-itemtype=scene], div[data-itemtype=scenes]');
|
||||
const res = await qu.getAll(url, 'li[data-itemtype=scene], div[data-itemtype*=scene], div[]');
|
||||
|
||||
if (res.ok) {
|
||||
return scrapeAll(res.items, site);
|
||||
|
@ -672,7 +670,7 @@ async function fetchLatest(site, page = 1) {
|
|||
|
||||
async function fetchUpcoming(site) {
|
||||
const url = getUpcomingUrl(site);
|
||||
const res = await qu.getAll(url, 'li[data-itemtype=scene], div[data-itemtype=scenes]');
|
||||
const res = await qu.getAll(url, 'li[data-itemtype=scene], div[data-itemtype*=scene]');
|
||||
|
||||
if (res.ok) {
|
||||
return scrapeAll(res.items, site, null, false);
|
||||
|
|