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