Compare commits

...

2 Commits

Author SHA1 Message Date
ThePendulum 6be065c0cb 1.107.3 2020-03-06 19:44:22 +01:00
ThePendulum 5d468b58fd Enabled mobile album fetching for Pure Taboo and Fantasy Massage. 2020-03-06 19:44:20 +01:00
5 changed files with 12 additions and 16 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.107.2", "version": "1.107.3",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.107.2", "version": "1.107.3",
"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": {

View File

@ -145,6 +145,9 @@ const networks = [
slug: 'fantasymassage', slug: 'fantasymassage',
name: 'Fantasy Massage', name: 'Fantasy Massage',
url: 'https://www.fantasymassage.com', url: 'https://www.fantasymassage.com',
parameters: {
mobile: 'https://m.dpfanatics.com/en/video',
},
parent: 'gamma', parent: 'gamma',
}, },
{ {

View File

@ -1811,7 +1811,6 @@ const sites = [
parameters: { parameters: {
latest: 'https://www.fantasymassage.com/en/allvideos/allgirlmassage/AllCategories/0/AllPornstars/0/updates/', latest: 'https://www.fantasymassage.com/en/allvideos/allgirlmassage/AllCategories/0/AllPornstars/0/updates/',
upcoming: 'https://www.fantasymassage.com/en/allvideos/allgirlmassage/AllCategories/0/Actor/0/upcoming/', upcoming: 'https://www.fantasymassage.com/en/allvideos/allgirlmassage/AllCategories/0/Actor/0/upcoming/',
deep: 'network',
photos: 'https://www.fantasymassage.com/en/photo', photos: 'https://www.fantasymassage.com/en/photo',
}, },
}, },
@ -1823,7 +1822,6 @@ const sites = [
parameters: { parameters: {
latest: 'https://www.fantasymassage.com/en/allvideos/nurumassage/AllCategories/0/AllPornstars/0/updates/', latest: 'https://www.fantasymassage.com/en/allvideos/nurumassage/AllCategories/0/AllPornstars/0/updates/',
upcoming: 'https://www.fantasymassage.com/en/allvideos/nurumassage/AllCategories/0/Actor/0/upcoming/', upcoming: 'https://www.fantasymassage.com/en/allvideos/nurumassage/AllCategories/0/Actor/0/upcoming/',
deep: 'network',
photos: 'https://www.fantasymassage.com/en/photo', photos: 'https://www.fantasymassage.com/en/photo',
}, },
}, },
@ -1835,7 +1833,6 @@ const sites = [
parameters: { parameters: {
latest: 'https://www.fantasymassage.com/en/allvideos/trickyspa/AllCategories/0/AllPornstars/0/updates/', latest: 'https://www.fantasymassage.com/en/allvideos/trickyspa/AllCategories/0/AllPornstars/0/updates/',
upcoming: 'https://www.fantasymassage.com/en/allvideos/trickyspa/AllCategories/0/Actor/0/upcoming/', upcoming: 'https://www.fantasymassage.com/en/allvideos/trickyspa/AllCategories/0/Actor/0/upcoming/',
deep: 'network',
photos: 'https://www.fantasymassage.com/en/photo', photos: 'https://www.fantasymassage.com/en/photo',
}, },
}, },
@ -1847,7 +1844,6 @@ const sites = [
parameters: { parameters: {
latest: 'https://www.fantasymassage.com/en/allvideos/soapymassage/AllCategories/0/AllPornstars/0/updates/', latest: 'https://www.fantasymassage.com/en/allvideos/soapymassage/AllCategories/0/AllPornstars/0/updates/',
upcoming: 'https://www.fantasymassage.com/en/allvideos/soapymassage/AllCategories/0/Actor/0/upcoming/', upcoming: 'https://www.fantasymassage.com/en/allvideos/soapymassage/AllCategories/0/Actor/0/upcoming/',
deep: 'network',
photos: 'https://www.fantasymassage.com/en/photo', photos: 'https://www.fantasymassage.com/en/photo',
}, },
}, },
@ -1859,7 +1855,6 @@ const sites = [
parameters: { parameters: {
latest: 'https://www.fantasymassage.com/en/allvideos/milkingtable/AllCategories/0/AllPornstars/0/updates/', latest: 'https://www.fantasymassage.com/en/allvideos/milkingtable/AllCategories/0/AllPornstars/0/updates/',
upcoming: 'https://www.fantasymassage.com/en/allvideos/milkingtable/AllCategories/0/Actor/0/upcoming/', upcoming: 'https://www.fantasymassage.com/en/allvideos/milkingtable/AllCategories/0/Actor/0/upcoming/',
deep: 'network',
photos: 'https://www.fantasymassage.com/en/photo', photos: 'https://www.fantasymassage.com/en/photo',
}, },
}, },
@ -1871,7 +1866,6 @@ const sites = [
parameters: { parameters: {
latest: 'https://www.fantasymassage.com/en/allvideos/massage-parlor/AllCategories/0/AllPornstars/0/updates/', latest: 'https://www.fantasymassage.com/en/allvideos/massage-parlor/AllCategories/0/AllPornstars/0/updates/',
upcoming: 'https://www.fantasymassage.com/en/allvideos/massage-parlor/AllCategories/0/Actor/0/upcoming/', upcoming: 'https://www.fantasymassage.com/en/allvideos/massage-parlor/AllCategories/0/Actor/0/upcoming/',
deep: 'network',
photos: 'https://www.fantasymassage.com/en/photo', photos: 'https://www.fantasymassage.com/en/photo',
}, },
}, },
@ -4139,7 +4133,10 @@ const sites = [
description: 'PureTaboo.com is the ultimate site for family taboo porn, featuring submissive teens & virgins in rough sex videos in ultra 4k HD.', description: 'PureTaboo.com is the ultimate site for family taboo porn, featuring submissive teens & virgins in rough sex videos in ultra 4k HD.',
network: 'puretaboo', network: 'puretaboo',
priority: 1, priority: 1,
parameters: { independent: true }, parameters: {
independent: true,
mobile: 'https://m.dpfanatics.com/en/video',
},
}, },
{ {
name: 'Pretty Dirty', name: 'Pretty Dirty',

View File

@ -468,18 +468,14 @@ async function fetchUpcoming(site) {
} }
function getDeepUrl(url, site, release, mobile) { function getDeepUrl(url, site, release, mobile) {
const pathname = release?.path || new URL(url).pathname; const pathname = release?.path || new URL(url).pathname.replace('/en/video', '');
if (mobile) { if (mobile) {
return `${mobile}${pathname.replace('/en/video', '')}`; return `${mobile}${pathname}`;
}
if (site.parameters?.deep === 'network') {
return `${site.network.url}${pathname}`;
} }
if (site.parameters?.deep) { if (site.parameters?.deep) {
return `${site.parameters.deep}${pathname.replace('/en/video', '')}`; return `${site.parameters.deep}${pathname}`;
} }
return url; return url;