forked from DebaucheryLibrarian/traxxx
Fixed Naughty America scene title selector.
This commit is contained in:
parent
c9442fff45
commit
ca4e0e0f32
|
|
@ -70,7 +70,8 @@ function scrapeScene({ query }, { url }) {
|
|||
|
||||
release.entryId = new URL(url).pathname.match(/-(\d+)$/)?.[1];
|
||||
|
||||
release.title = query.content('.breadcrumb-item.active') || query.content('.scene-title, .grey-title'); // main title has performer name instead of scene title in live scenes
|
||||
// release.title = query.content('.breadcrumb-item.active') || query.content('.scene-title, .grey-title'); // main title has performer name instead of scene title in live scenes
|
||||
release.title = query.content('.scene-title, .grey-title'); // breadcrumb as used before often doesn't have title
|
||||
release.description = query.text('.synopsis, .scene-description');
|
||||
|
||||
release.date = query.date('.entry-date, .released-date', ['MMM D, YYYY', 'MM/DD/YY']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue