Compare commits
2 Commits
3a3403bb1f
...
062dc0e75e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
062dc0e75e | ||
|
|
42effd53fc |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.250.23",
|
"version": "1.250.24",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.250.23",
|
"version": "1.250.24",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-sdk/client-s3": "^3.458.0",
|
"@aws-sdk/client-s3": "^3.458.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.250.23",
|
"version": "1.250.24",
|
||||||
"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": {
|
||||||
|
|||||||
@@ -555,6 +555,11 @@ const affiliates = [
|
|||||||
url: 'https://www.g2fame.com/chaosmen/go.php?pr=8&su=2&si=608&ad=277470&pa=index&ar=&buffer=',
|
url: 'https://www.g2fame.com/chaosmen/go.php?pr=8&su=2&si=608&ad=277470&pa=index&ar=&buffer=',
|
||||||
comment: 'per signup',
|
comment: 'per signup',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
channel: 'diabolic',
|
||||||
|
url: 'https://www.g2fame.com/diabolic/go.php?pr=8&su=2&si=523&ad=277470&pa=index&ar=&buffer=',
|
||||||
|
comment: 'per signup',
|
||||||
|
},
|
||||||
// kelly madison / 8k
|
// kelly madison / 8k
|
||||||
{
|
{
|
||||||
network: 'kellymadison',
|
network: 'kellymadison',
|
||||||
|
|||||||
@@ -92,7 +92,8 @@ async function init() {
|
|||||||
const fileTags = tags.slice(0, 4).join('_');
|
const fileTags = tags.slice(0, 4).join('_');
|
||||||
const fileActors = banner.SceneActors?.slice(0, 2).map((actor) => slugify(actor, '_')).join('_');
|
const fileActors = banner.SceneActors?.slice(0, 2).map((actor) => slugify(actor, '_')).join('_');
|
||||||
|
|
||||||
const filename = `${channel}_${banner.Width}_${banner.Height}_${fileActors || banner.MediaID}${fileTags ? `-${fileTags}` : ''}.${banner.MediaExt}`;
|
// actors and tags are unreliable and describe entire scene, not banner, don't include by default
|
||||||
|
const filename = `${channel}_${banner.Width}_${banner.Height}_${fileActors && argv.actors ? fileActors : banner.MediaID}${fileTags && argv.tags ? `-${fileTags}` : ''}.${banner.MediaExt}`;
|
||||||
const filepath = `/tmp/gamma/${channel}/${filename}`;
|
const filepath = `/tmp/gamma/${channel}/${filename}`;
|
||||||
|
|
||||||
if (argv.inspect) {
|
if (argv.inspect) {
|
||||||
@@ -114,7 +115,7 @@ async function init() {
|
|||||||
|
|
||||||
await pipeline(Readable.fromWeb(res.body), writer);
|
await pipeline(Readable.fromWeb(res.body), writer);
|
||||||
|
|
||||||
console.log(`Saved ${url} to ${filepath}`);
|
console.log(`Saved ${url} to ${filepath}, actors ${banner.SceneActors?.join(', ') || ''}`);
|
||||||
} else {
|
} else {
|
||||||
console.log(`Failed to fetch ${url} (${res.status})`);
|
console.log(`Failed to fetch ${url} (${res.status})`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user