Compare commits
2 Commits
a99cee38a0
...
f7708e0740
Author | SHA1 | Date |
---|---|---|
|
f7708e0740 | |
|
e36ba59d27 |
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.226.10",
|
||||
"version": "1.226.11",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "traxxx",
|
||||
"version": "1.226.10",
|
||||
"version": "1.226.11",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@casl/ability": "^5.2.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.226.10",
|
||||
"version": "1.226.11",
|
||||
"description": "All the latest porn releases in one place",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -163,6 +163,13 @@ function toBaseSource(rawSource) {
|
|||
return null;
|
||||
}
|
||||
|
||||
if (rawSource.match(/.m3u8$/)) {
|
||||
return {
|
||||
src: rawSource,
|
||||
stream: rawSource,
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
src: rawSource,
|
||||
};
|
||||
|
|
|
@ -129,7 +129,7 @@ function scrapeScene(html, url, _site) {
|
|||
const { query } = qu.ex(html, '.playerSection');
|
||||
const release = {};
|
||||
|
||||
const { pathname, hostname } = new URL(url);
|
||||
const { pathname } = new URL(url);
|
||||
|
||||
[release.shootId] = query.cnt('.vdoTags + .vdoCast')?.match(/\w+$/) || [];
|
||||
release.entryId = pathname.match(/video(\d+)/)?.[1];
|
||||
|
@ -146,12 +146,15 @@ function scrapeScene(html, url, _site) {
|
|||
|
||||
if (poster) {
|
||||
release.poster = [
|
||||
poster,
|
||||
poster.replace('/big_trailer', '/members/450x340'), // load error fallback
|
||||
poster.replace('//big_trailer', '/big_trailer'),
|
||||
poster.replace(/\/?\/big_trailer/, '/members/450x340'), // load error fallback
|
||||
];
|
||||
}
|
||||
|
||||
release.trailer = query.trailer() || qu.prefixUrl(html.match(/'(\/\/trailers.*mp4)'/)?.[1], hostname);
|
||||
release.trailer = [
|
||||
query.video('video source[type="video/mp4"]'),
|
||||
query.video('video source[type="application/x-mpegURL"]'),
|
||||
];
|
||||
|
||||
// all scenes seem to have 12 album photos available, not always included on the page
|
||||
const firstPhotoUrl = qu.ex(html).query.img('img[data-slider-index="1"]');
|
||||
|
|
Loading…
Reference in New Issue