Files
Eric Rollei 033f73d66c Add ModelMayhem, Wix, Portfolio handlers; fix Reddit video extraction; update dependencies
New Features:
- Add ModelMayhem handler with username-to-ID resolution and worksafe mode handling
- Add Wix handler for Wix-hosted websites
- Add Portfolio handler for generic portfolio sites
- Add persistent settings utility for saving node preferences

Reddit Improvements:
- Fix API credential loading in prefers_api() method
- Add external video host resolution (RedGifs, Gfycat, Imgur) using yt-dlp
- Add v.redd.it video URL resolution

Gallery-dl Config:
- Add RedGifs, Gfycat, Imgur format preferences
- Enable Reddit video downloads with comments=0, videos=true

Dependencies:
- Add asyncpraw for Reddit API
- Add atproto for Bluesky
- Add instaloader for Instagram
- Add aiohttp for async HTTP
- Add Pillow explicitly

Other:
- Update .gitignore to exclude node_settings.json
- Update example configs with new settings
2026-01-17 19:08:01 -08:00

53 lines
1.4 KiB
JSON

{
"version": "1.0",
"sites": {
"reddit.com": {
"auth_type": "api_client",
"domain": "reddit.com",
"client_id": "YOUR_REDDIT_CLIENT_ID",
"client_secret": "YOUR_REDDIT_CLIENT_SECRET",
"user_agent": "YourAppName (by /u/YourUsername)",
"username": "YOUR_REDDIT_USERNAME",
"password": "YOUR_REDDIT_PASSWORD"
},
"artsy.net": {
"auth_type": "api_client",
"domain": "artsy.net",
"client_id": "YOUR_ARTSY_CLIENT_ID",
"client_secret": "YOUR_ARTSY_CLIENT_SECRET",
"user_agent": "YourAppName",
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD"
},
"cosmos.so": {
"auth_type": "login",
"domain": "cosmos.so",
"username": "YOUR_EMAIL",
"password": "YOUR_PASSWORD"
},
"500px.com": {
"auth_type": "cookie",
"domain": "500px.com",
"cookies": {
"x-500px-token": "YOUR_500PX_TOKEN",
"x-csrf-token": "YOUR_CSRF_TOKEN"
}
},
"example.com": {
"auth_type": "basic",
"domain": "example.com",
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD"
},
"modelmayhem.com": {
"auth_type": "form",
"domain": "modelmayhem.com",
"username": "YOUR_EMAIL",
"password": "YOUR_PASSWORD",
"timeout": 30000,
"scroll_delay_ms": 1500,
"max_scroll_count": 15,
"note": "Login credentials for ModelMayhem portfolio access"
}
}
}