Compare commits
2 Commits
c7cb0e439d
...
b6bf043c48
Author | SHA1 | Date |
---|---|---|
|
b6bf043c48 | |
|
361e8f1bd3 |
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.149.6",
|
"version": "1.149.7",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.149.6",
|
"version": "1.149.7",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -65,7 +65,7 @@ async function scrapeScene({ query, html }, url, baseRelease, channel, session)
|
||||||
const titleString = query.cnt('.card-header.row h4, .trailer-starring span, .level-left .level-item');
|
const titleString = query.cnt('.card-header.row h4, .trailer-starring span, .level-left .level-item');
|
||||||
const episode = titleString?.match(/#\d+$/)?.[0];
|
const episode = titleString?.match(/#\d+$/)?.[0];
|
||||||
|
|
||||||
release.title = query.cnt('.trailer-title') || titleString?.match(/(?:Trailer: )?([\w\s]+) -/)?.[1];
|
release.title = query.cnt('.trailer-title') || titleString?.match(/(?:Trailer: )?(.+) -/)?.[1];
|
||||||
release.channel = slugify(titleString?.match(/([\w\s]+) #\d+$/)?.[1], '');
|
release.channel = slugify(titleString?.match(/([\w\s]+) #\d+$/)?.[1], '');
|
||||||
|
|
||||||
const siteKey = siteMapBySlug[release.channel];
|
const siteKey = siteMapBySlug[release.channel];
|
||||||
|
|
Loading…
Reference in New Issue