Compare commits
No commits in common. "2b90a7a5c878b921da8ea1e4b41887fe54328b6d" and "e22b09700d43603ad7b817e0e80c74747c085024" have entirely different histories.
2b90a7a5c8
...
e22b09700d
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.89.1",
|
"version": "1.89.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.89.1",
|
"version": "1.89.0",
|
||||||
"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": {
|
||||||
|
|
|
@ -574,11 +574,6 @@ function getTags(groupsMap) {
|
||||||
alias_for: null,
|
alias_for: null,
|
||||||
group_id: groupsMap.clothing,
|
group_id: groupsMap.clothing,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'live',
|
|
||||||
slug: 'live',
|
|
||||||
alias_for: null,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'maid',
|
name: 'maid',
|
||||||
slug: 'maid',
|
slug: 'maid',
|
||||||
|
|
|
@ -1801,7 +1801,7 @@ const sites = [
|
||||||
slug: 'realtimebondage',
|
slug: 'realtimebondage',
|
||||||
name: 'Real Time Bondage',
|
name: 'Real Time Bondage',
|
||||||
url: 'http://www.realtimebondage.com',
|
url: 'http://www.realtimebondage.com',
|
||||||
tags: ['bdsm', 'live'],
|
tags: ['bdsm'],
|
||||||
network: 'insex',
|
network: 'insex',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,7 +12,7 @@ function scrapeLatest(html, site) {
|
||||||
|
|
||||||
const titleEl = q('.galleryTitleText, .articleTitleText');
|
const titleEl = q('.galleryTitleText, .articleTitleText');
|
||||||
const [title, ...actors] = titleEl.textContent.split('|');
|
const [title, ...actors] = titleEl.textContent.split('|');
|
||||||
const date = qd('.articlePostDateText td', 'MMM D, YYYY');
|
const date = qd('.articlePostDateText', 'MMM D, YYYY');
|
||||||
|
|
||||||
const url = qu(titleEl, 'a');
|
const url = qu(titleEl, 'a');
|
||||||
[release.entryId] = url.split('/').slice(-2);
|
[release.entryId] = url.split('/').slice(-2);
|
||||||
|
@ -22,26 +22,24 @@ function scrapeLatest(html, site) {
|
||||||
release.title = title.trim();
|
release.title = title.trim();
|
||||||
release.date = date;
|
release.date = date;
|
||||||
} else {
|
} else {
|
||||||
// title should contain date instead, not applicable in brief mode
|
// title should contain date instead
|
||||||
release.title = title.slice(title.indexOf(':') + 1).trim();
|
release.title = title.slice(title.indexOf(':') + 1).trim();
|
||||||
release.date = fd(title.slice(0, title.indexOf(':')), 'MMM D, YYYY');
|
release.date = fd(title.slice(0, title.indexOf(':')), 'MMM D, YYYY');
|
||||||
}
|
}
|
||||||
|
|
||||||
release.actors = actors.map(actor => actor.trim());
|
release.actors = actors.map(actor => actor.trim());
|
||||||
|
|
||||||
const description = q('.articleCopyText', true);
|
const description = q('.articleCopyText .articleCopyText', true);
|
||||||
if (description) release.description = description.slice(0, description.lastIndexOf('('));
|
if (description) release.description = description;
|
||||||
|
|
||||||
const duration = ql('.articleCopyText a:nth-child(2)');
|
const duration = ql('.articleCopyText a:nth-child(2)');
|
||||||
if (duration) release.duration = duration;
|
if (duration) release.duration = duration;
|
||||||
|
|
||||||
release.likes = parseInt(q('.articlePostDateText td:nth-child(3)', true), 10);
|
const poster = qi('a img');
|
||||||
|
release.poster = [
|
||||||
const cover = qi('a img');
|
poster.replace('_thumbnail', ''),
|
||||||
release.covers = [[
|
poster,
|
||||||
cover.replace('_thumbnail', ''),
|
];
|
||||||
cover,
|
|
||||||
]];
|
|
||||||
|
|
||||||
return release;
|
return release;
|
||||||
});
|
});
|
||||||
|
@ -77,9 +75,9 @@ function scrapeScene({ q, qd, ql, qu, qis, qp, qt }, site) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function fetchLatest(site, page = 1) {
|
async function fetchLatest(site, page = 1) {
|
||||||
const url = `${site.url}/scripts/switch_tour.php?type=brief&page=${page}`;
|
const url = `${site.url}/scripts/switch_tour.php?page=${page}`;
|
||||||
const res = await bhttp.get(url, {
|
const res = await bhttp.get(url, {
|
||||||
type: 'brief',
|
type: 'gallery',
|
||||||
page,
|
page,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue