Fixed Team Skeet channel slug scraper not matching numeric digits, updated Mylf DOM URL.
This commit is contained in:
+1
-4
@@ -8578,12 +8578,9 @@ const sites = [
|
|||||||
{
|
{
|
||||||
slug: 'mylfdom',
|
slug: 'mylfdom',
|
||||||
name: 'MYLF Dom',
|
name: 'MYLF Dom',
|
||||||
url: 'https://www.mylfdom.com',
|
url: 'https://www.mylf.com/series/mylfdom-ts',
|
||||||
tags: ['bdsm', 'milf'],
|
tags: ['bdsm', 'milf'],
|
||||||
parent: 'mylf',
|
parent: 'mylf',
|
||||||
parameters: {
|
|
||||||
endpoint: 'mylf_dom',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
// NAUGHTY AMERICA
|
// NAUGHTY AMERICA
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ function scrapeAll(scenes, channel, parameters) {
|
|||||||
|
|
||||||
async function fetchLatest(channel, page = 1, { parameters }) {
|
async function fetchLatest(channel, page = 1, { parameters }) {
|
||||||
// url: 'https://www.pervz.com/series/pervz-features',
|
// url: 'https://www.pervz.com/series/pervz-features',
|
||||||
const seriesId = parameters.id || new URL(channel.url).pathname.match(/\/series\/([a-z-]+)/)?.[1];
|
const seriesId = parameters.id || new URL(channel.url).pathname.match(/\/series\/([\w-]+)/)?.[1];
|
||||||
|
|
||||||
const url = seriesId
|
const url = seriesId
|
||||||
? `https://tours-store.psmcdn.net/${parameters.endpoint}/_search?q=(site.seo.seoSlug:"${seriesId}" AND type:video)&sort=publishedDate:desc&size=30&from=${(page - 1) * 30}`
|
? `https://tours-store.psmcdn.net/${parameters.endpoint}/_search?q=(site.seo.seoSlug:"${seriesId}" AND type:video)&sort=publishedDate:desc&size=30&from=${(page - 1) * 30}`
|
||||||
|
|||||||
Reference in New Issue
Block a user