Fixed Mike Adriano dates for scene pages.

This commit is contained in:
DebaucheryLibrarian 2020-12-27 23:36:15 +01:00
parent 31af1ca9e6
commit 9c926a1d81
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ async function scrapeAll(scenes) {
release.title = query.cnt('h3.title a, .content-title-wrap a'); release.title = query.cnt('h3.title a, .content-title-wrap a');
release.url = query.url('h3.title a, .content-title-wrap a'); release.url = query.url('h3.title a, .content-title-wrap a');
release.entryId = new URL(release.url).pathname.match(/\/view\/(\d+)/)[1]; release.entryId = new URL(release.url).pathname.match(/\/view\/(\d+)/)[1];
release.description = query.cnt('.desc, .content-description'); release.description = query.cnt('.desc, .content-description');
@ -39,7 +40,7 @@ function scrapeScene({ query }, url) {
release.title = query.cnt('.content-page-info .title'); release.title = query.cnt('.content-page-info .title');
release.description = query.cnt('.content-page-info .desc'); release.description = query.cnt('.content-page-info .desc');
release.date = query.date('.content-page-info .date, .content-page-info .hide', 'Do MMM YYYY'); release.date = query.date('.content-page-info .date, .content-page-info .hide, .post-date', 'Do MMM YYYY');
release.actors = query.cnts('.content-page-info .models a'); release.actors = query.cnts('.content-page-info .models a');
release.duration = query.dur('.content-page-info .total-time:last-child'); release.duration = query.dur('.content-page-info .total-time:last-child');