← back to Pattern Vault

wpb-uploaders/platforms/society6.js

15 lines

/* Society6 uploader — brand: Wallpaper's Back · DISARMED. POD; AI-hostile → anti-bot critical.
 * Account is 'pending' (awaiting confirmation) — cannot arm until account is live. */
const path = require('path'), os = require('os');
module.exports = {
  key: 'society6', name: 'Society6', brand: "Wallpaper's Back",
  sessionFile: path.join(os.homedir(), 'Projects/pattern-vault/wpb-uploaders/sessions/society6-state.json'),
  healthUrl: 'https://society6.com/artist-studio',
  uploadUrl: 'https://society6.com/artist-studio/new',
  async uploadFn(pg, d, { rnd, sleep }) {
    await pg.goto(this.uploadUrl, { waitUntil: 'domcontentloaded', timeout: 45000 }).catch(() => {});
    await sleep(rnd(3000, 6000));
    return { reason: 'society6 uploadFn not yet calibrated — DISARMED stub (account pending; needs live DOM + Steve arm)' };
  },
};