Added Diabolic affiliate. Disabled filename actors and tags in Gamma banner tool, unreliable.
This commit is contained in:
@@ -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=',
|
||||
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
|
||||
{
|
||||
network: 'kellymadison',
|
||||
|
||||
@@ -92,7 +92,8 @@ async function init() {
|
||||
const fileTags = tags.slice(0, 4).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}`;
|
||||
|
||||
if (argv.inspect) {
|
||||
@@ -114,7 +115,7 @@ async function init() {
|
||||
|
||||
await pipeline(Readable.fromWeb(res.body), writer);
|
||||
|
||||
console.log(`Saved ${url} to ${filepath}`);
|
||||
console.log(`Saved ${url} to ${filepath}, actors ${banner.SceneActors?.join(', ') || ''}`);
|
||||
} else {
|
||||
console.log(`Failed to fetch ${url} (${res.status})`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user