commit 971e1db036ea21e2b0a7e7a6c8bc93e2ebdd7376 Author: nocode Date: Wed Dec 2 13:35:01 2026 +0100 Initial commit Co-Authored-By: Claude Opus 5.5 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..da9d0ec --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.env +*.log +*.pid +**/cache/ +arr/handbrake/ \ No newline at end of file diff --git a/arr/compose.yml b/arr/compose.yml new file mode 100755 index 0000000..94880d1 --- /dev/null +++ b/arr/compose.yml @@ -0,0 +1,114 @@ +x-common: &common + restart: unless-stopped + environment: + - PUID=1000 + - PGID=1000 + - TZ=Europe/Zurich + +# Ports sur 127.0.0.1 seulement : ces interfaces n'ont pas de mot de passe au premier lancement. +services: + prowlarr: + <<: *common + image: lscr.io/linuxserver/prowlarr:latest + container_name: prowlarr + volumes: + - ./prowlarr:/config + ports: + - 127.0.0.1:9696:9696 + + radarr: + <<: *common + image: lscr.io/linuxserver/radarr:latest + container_name: radarr + volumes: + - ./radarr:/config + - ../jellyfin/media:/data + ports: + - 127.0.0.1:7878:7878 + + sonarr: + <<: *common + image: lscr.io/linuxserver/sonarr:latest + container_name: sonarr + volumes: + - ./sonarr:/config + - ../jellyfin/media:/data + ports: + - 127.0.0.1:8989:8989 + + sabnzbd: + <<: *common + image: lscr.io/linuxserver/sabnzbd:latest + container_name: sabnzbd + volumes: + - ./sabnzbd:/config + - ../jellyfin/media:/data + ports: + - 127.0.0.1:8085:8080 + + spotweb: + image: erikdevries/spotweb:latest + container_name: spotweb + restart: unless-stopped + depends_on: + - spotweb-db + environment: + - TZ=Europe/Zurich + - DB_ENGINE=pdo_mysql + - DB_HOST=spotweb-db + - DB_NAME=spotweb + - DB_USER=spotweb + - DB_PASS=${SPOTWEB_DB_PASS} + - CRON_INTERVAL=*/15 * * * * + volumes: + - ./spotweb/cache:/app/cache + ports: + - 127.0.0.1:8086:80 + + spotweb-db: + image: mariadb:11 + container_name: spotweb-db + restart: unless-stopped + environment: + - MARIADB_DATABASE=spotweb + - MARIADB_USER=spotweb + - MARIADB_PASSWORD=${SPOTWEB_DB_PASS} + - MARIADB_RANDOM_ROOT_PASSWORD=1 + volumes: + - ./spotweb/db:/var/lib/mysql + + # DVD/Blu-ray -> Jellyfin : dépose un .iso ou un dossier contenant VIDEO_TS dans media/rip, + # le film converti arrive dans media/Films. + handbrake: + image: jlesage/handbrake:latest + container_name: handbrake + restart: unless-stopped + environment: + - USER_ID=1000 + - GROUP_ID=1000 + - TZ=Europe/Zurich + - AUTOMATED_CONVERSION_FORMAT=mkv + - AUTOMATED_CONVERSION_SOURCE_MIN_DURATION=1800 # ignore bonus et bandes-annonces (< 30 min) + volumes: + - ./handbrake:/config + - ../jellyfin/media/rip:/watch + - ../jellyfin/media/Films:/output + ports: + - 127.0.0.1:5800:5800 + # Décommente quand un lecteur DVD/Blu-ray est branché (vérifie le nom avec: ls /dev/sr*) + # devices: + # - /dev/sr0:/dev/sr0 + + jellyseerr: + image: seerr/seerr:v3 + init: true + container_name: jellyseerr + restart: unless-stopped + environment: + - TZ=Europe/Zurich + volumes: + - ./jellyseerr:/app/config + ports: + - 127.0.0.1:5055:5055 + extra_hosts: + - host.docker.internal:host-gateway diff --git a/arr/jellyseerr/db/db.sqlite3 b/arr/jellyseerr/db/db.sqlite3 new file mode 100755 index 0000000..3f03792 Binary files /dev/null and b/arr/jellyseerr/db/db.sqlite3 differ diff --git a/arr/jellyseerr/db/db.sqlite3-shm b/arr/jellyseerr/db/db.sqlite3-shm new file mode 100755 index 0000000..2005712 Binary files /dev/null and b/arr/jellyseerr/db/db.sqlite3-shm differ diff --git a/arr/jellyseerr/db/db.sqlite3-wal b/arr/jellyseerr/db/db.sqlite3-wal new file mode 100755 index 0000000..e044378 Binary files /dev/null and b/arr/jellyseerr/db/db.sqlite3-wal differ diff --git a/arr/jellyseerr/logs/.20136e5b8544ec13f7fc29ce3d35150d597108bb-audit.json b/arr/jellyseerr/logs/.20136e5b8544ec13f7fc29ce3d35150d597108bb-audit.json new file mode 100755 index 0000000..7534370 --- /dev/null +++ b/arr/jellyseerr/logs/.20136e5b8544ec13f7fc29ce3d35150d597108bb-audit.json @@ -0,0 +1,15 @@ +{ + "keep": { + "days": true, + "amount": 1 + }, + "auditLog": "/app/config/logs/.20136e5b8544ec13f7fc29ce3d35150d597108bb-audit.json", + "files": [ + { + "date": 1795608509052, + "name": "/app/config/logs/.machinelogs-2026-11-25.json", + "hash": "9beeffd102961084a332bbaeb639876020fb9ca7155d995cc9a6f1fc7198f9ef" + } + ], + "hashType": "sha256" +} \ No newline at end of file diff --git a/arr/jellyseerr/logs/.4295fcfc416647ffc3751a1d488b45a096cf2d4f-audit.json b/arr/jellyseerr/logs/.4295fcfc416647ffc3751a1d488b45a096cf2d4f-audit.json new file mode 100755 index 0000000..2c2d923 --- /dev/null +++ b/arr/jellyseerr/logs/.4295fcfc416647ffc3751a1d488b45a096cf2d4f-audit.json @@ -0,0 +1,35 @@ +{ + "keep": { + "days": true, + "amount": 7 + }, + "auditLog": "/app/config/logs/.4295fcfc416647ffc3751a1d488b45a096cf2d4f-audit.json", + "files": [ + { + "date": 1795010623894, + "name": "/app/config/logs/jellyseerr-2026-11-18.log", + "hash": "ba343785010a3b80becf8cfbf53c85ecfdf797e33bc6c6b55ec1b371979ecc7c" + }, + { + "date": 1795158243669, + "name": "/app/config/logs/jellyseerr-2026-11-20.log", + "hash": "b4522d17f60c497e3e90ffccc595bb3205ff380ebacffd354efa6306abba2e9c" + }, + { + "date": 1795417223534, + "name": "/app/config/logs/jellyseerr-2026-11-23.log", + "hash": "620a8d08b3f84a959d2203ff9b3ba428f97677369e21ec660f395fa1be7f5e75" + }, + { + "date": 1795508068535, + "name": "/app/config/logs/jellyseerr-2026-11-24.log", + "hash": "c4fc4905a56774789f31d53738761826adfb9dc6dd44717768c9b5fa14c1cc2b" + }, + { + "date": 1795608509050, + "name": "/app/config/logs/jellyseerr-2026-11-25.log", + "hash": "0af27b99bb5a0a1c8d0a99fa3ad1b4f849bcb94f8f2a607fc54533f67a1a3079" + } + ], + "hashType": "sha256" +} \ No newline at end of file diff --git a/arr/jellyseerr/logs/.machinelogs-2026-11-25.json b/arr/jellyseerr/logs/.machinelogs-2026-11-25.json new file mode 100755 index 0000000..e808175 --- /dev/null +++ b/arr/jellyseerr/logs/.machinelogs-2026-11-25.json @@ -0,0 +1,30 @@ +{"level":"info","message":"Commit Tag: ad492f41c8f58bd5fb9bd8da964a931f8255cfbc","timestamp":"2026-11-25T12:08:30.223Z"} +{"level":"info","message":"Starting Jellyseerr version 2.7.3-deprecated","timestamp":"2026-11-25T12:08:30.500Z"} +{"label":"Settings Migrator","level":"debug","message":"Checking migration '0001_migrate_hostname.js'...","timestamp":"2026-11-25T12:08:30.970Z"} +{"label":"Settings Migrator","level":"debug","message":"Checking migration '0002_migrate_apitokens.js'...","timestamp":"2026-11-25T12:08:30.971Z"} +{"label":"Settings Migrator","level":"debug","message":"Checking migration '0003_emby_media_server_type.js'...","timestamp":"2026-11-25T12:08:30.972Z"} +{"label":"Settings Migrator","level":"debug","message":"Checking migration '0004_migrate_region_setting.js'...","timestamp":"2026-11-25T12:08:30.972Z"} +{"label":"Settings Migrator","level":"debug","message":"Checking migration '0005_migrate_network_settings.js'...","timestamp":"2026-11-25T12:08:30.973Z"} +{"label":"Settings Migrator","level":"debug","message":"Checking migration '0006_remove_lunasea.js'...","timestamp":"2026-11-25T12:08:30.973Z"} +{"label":"Notifications","level":"info","message":"Registered notification agents","timestamp":"2026-11-25T12:08:30.975Z"} +{"label":"Server","level":"info","message":"Skipping starting the scheduled jobs as we have no Plex/Jellyfin/Emby servers setup yet","timestamp":"2026-11-25T12:08:30.978Z"} +{"label":"Server","level":"info","message":"Server ready on port 5055","timestamp":"2026-11-25T12:08:31.036Z"} +{"ip":"172.23.0.1","label":"Jellyfin API","level":"debug","message":"Failed to authenticate with headers","timestamp":"2026-11-25T13:15:22.012Z"} +{"error":"INVALID_URL","hostname":"http://localhost:8096/localhost:8096","label":"Auth","level":"error","message":"The provided Emby is invalid or the server is not reachable.","status":404,"timestamp":"2026-11-25T13:15:22.012Z"} +{"ip":"172.23.0.1","label":"Jellyfin API","level":"debug","message":"Failed to authenticate with headers","timestamp":"2026-11-25T13:15:29.184Z"} +{"error":"INVALID_URL","hostname":"http://localhost:8096","label":"Auth","level":"error","message":"The provided Emby is invalid or the server is not reachable.","status":404,"timestamp":"2026-11-25T13:15:29.184Z"} +{"ip":"172.23.0.1","label":"Jellyfin API","level":"debug","message":"Failed to authenticate with headers","timestamp":"2026-11-25T13:15:40.532Z"} +{"error":"INVALID_URL","hostname":"http://localhost:8096","label":"Auth","level":"error","message":"The provided Emby is invalid or the server is not reachable.","status":404,"timestamp":"2026-11-25T13:15:40.532Z"} +{"level":"info","message":"Commit Tag: ad492f41c8f58bd5fb9bd8da964a931f8255cfbc","timestamp":"2026-11-25T13:22:26.460Z"} +{"level":"info","message":"Starting Jellyseerr version 2.7.3-deprecated","timestamp":"2026-11-25T13:22:26.699Z"} +{"label":"Settings Migrator","level":"debug","message":"Checking migration '0001_migrate_hostname.js'...","timestamp":"2026-11-25T13:22:27.069Z"} +{"label":"Settings Migrator","level":"debug","message":"Checking migration '0002_migrate_apitokens.js'...","timestamp":"2026-11-25T13:22:27.070Z"} +{"label":"Settings Migrator","level":"debug","message":"Checking migration '0003_emby_media_server_type.js'...","timestamp":"2026-11-25T13:22:27.071Z"} +{"label":"Settings Migrator","level":"debug","message":"Checking migration '0004_migrate_region_setting.js'...","timestamp":"2026-11-25T13:22:27.072Z"} +{"label":"Settings Migrator","level":"debug","message":"Checking migration '0005_migrate_network_settings.js'...","timestamp":"2026-11-25T13:22:27.072Z"} +{"label":"Settings Migrator","level":"debug","message":"Checking migration '0006_remove_lunasea.js'...","timestamp":"2026-11-25T13:22:27.073Z"} +{"label":"Notifications","level":"info","message":"Registered notification agents","timestamp":"2026-11-25T13:22:27.074Z"} +{"label":"Server","level":"info","message":"Skipping starting the scheduled jobs as we have no Plex/Jellyfin/Emby servers setup yet","timestamp":"2026-11-25T13:22:27.076Z"} +{"label":"Server","level":"info","message":"Server ready on port 5055","timestamp":"2026-11-25T13:22:27.130Z"} +{"ip":"172.23.0.1","label":"Jellyfin API","level":"debug","message":"Failed to authenticate with headers","timestamp":"2026-11-25T13:33:47.714Z"} +{"error":"INVALID_URL","hostname":"http://localhost:8096/http/localhost:8096","label":"Auth","level":"error","message":"The provided Emby is invalid or the server is not reachable.","status":404,"timestamp":"2026-11-25T13:33:47.715Z"} diff --git a/arr/jellyseerr/logs/.machinelogs.json b/arr/jellyseerr/logs/.machinelogs.json new file mode 120000 index 0000000..e9b99d0 --- /dev/null +++ b/arr/jellyseerr/logs/.machinelogs.json @@ -0,0 +1 @@ +.machinelogs-2026-11-25.json \ No newline at end of file diff --git a/arr/jellyseerr/settings.json b/arr/jellyseerr/settings.json new file mode 100755 index 0000000..c6bce57 --- /dev/null +++ b/arr/jellyseerr/settings.json @@ -0,0 +1,201 @@ +{ + "clientId": "284d7360-8292-4530-ace0-d71f45b056ad", + "vapidPrivate": "RAogono6kfrQ0dtP-yXwtFfLhPBLuDxolzl9x0oMvYM", + "vapidPublic": "BNcaj25FIiiBSTB97ZRPvDfwyj4QPdq4Pfva066-gzMw9hrLN_aVpoEDdYvOB4VooJk904-nCjXC0zhWebp-6l4", + "main": { + "apiKey": "MTc5NTAxMDYyNjA3OTU1MDExZjRmLTBhNDMtNGI4My04ZDQ3LWFjZWFiOGY2NmQ3Zg==", + "applicationTitle": "Jellyseerr", + "applicationUrl": "", + "cacheImages": false, + "defaultPermissions": 32, + "defaultQuotas": { + "movie": {}, + "tv": {} + }, + "hideAvailable": false, + "hideBlacklisted": false, + "localLogin": true, + "mediaServerLogin": true, + "newPlexLogin": true, + "discoverRegion": "", + "streamingRegion": "", + "originalLanguage": "", + "blacklistedTags": "", + "blacklistedTagsLimit": 50, + "mediaServerType": 4, + "partialRequestsEnabled": true, + "enableSpecialEpisodes": false, + "locale": "en", + "youtubeUrl": "" + }, + "plex": { + "name": "", + "ip": "", + "port": 32400, + "useSsl": false, + "libraries": [] + }, + "jellyfin": { + "name": "", + "ip": "", + "port": 8096, + "useSsl": false, + "urlBase": "", + "externalHostname": "", + "jellyfinForgotPasswordUrl": "", + "libraries": [], + "serverId": "", + "apiKey": "" + }, + "tautulli": {}, + "radarr": [], + "sonarr": [], + "public": { + "initialized": false + }, + "notifications": { + "agents": { + "email": { + "enabled": false, + "options": { + "userEmailRequired": false, + "emailFrom": "", + "smtpHost": "", + "smtpPort": 587, + "secure": false, + "ignoreTls": false, + "requireTls": false, + "allowSelfSigned": false, + "senderName": "Jellyseerr" + } + }, + "discord": { + "enabled": false, + "types": 0, + "options": { + "webhookUrl": "", + "webhookRoleId": "", + "enableMentions": true + } + }, + "slack": { + "enabled": false, + "types": 0, + "options": { + "webhookUrl": "" + } + }, + "telegram": { + "enabled": false, + "types": 0, + "options": { + "botAPI": "", + "chatId": "", + "messageThreadId": "", + "sendSilently": false + } + }, + "pushbullet": { + "enabled": false, + "types": 0, + "options": { + "accessToken": "" + } + }, + "pushover": { + "enabled": false, + "types": 0, + "options": { + "accessToken": "", + "userToken": "", + "sound": "" + } + }, + "webhook": { + "enabled": false, + "types": 0, + "options": { + "webhookUrl": "", + "jsonPayload": "IntcbiAgXCJub3RpZmljYXRpb25fdHlwZVwiOiBcInt7bm90aWZpY2F0aW9uX3R5cGV9fVwiLFxuICBcImV2ZW50XCI6IFwie3tldmVudH19XCIsXG4gIFwic3ViamVjdFwiOiBcInt7c3ViamVjdH19XCIsXG4gIFwibWVzc2FnZVwiOiBcInt7bWVzc2FnZX19XCIsXG4gIFwiaW1hZ2VcIjogXCJ7e2ltYWdlfX1cIixcbiAgXCJ7e21lZGlhfX1cIjoge1xuICAgIFwibWVkaWFfdHlwZVwiOiBcInt7bWVkaWFfdHlwZX19XCIsXG4gICAgXCJ0bWRiSWRcIjogXCJ7e21lZGlhX3RtZGJpZH19XCIsXG4gICAgXCJ0dmRiSWRcIjogXCJ7e21lZGlhX3R2ZGJpZH19XCIsXG4gICAgXCJzdGF0dXNcIjogXCJ7e21lZGlhX3N0YXR1c319XCIsXG4gICAgXCJzdGF0dXM0a1wiOiBcInt7bWVkaWFfc3RhdHVzNGt9fVwiXG4gIH0sXG4gIFwie3tyZXF1ZXN0fX1cIjoge1xuICAgIFwicmVxdWVzdF9pZFwiOiBcInt7cmVxdWVzdF9pZH19XCIsXG4gICAgXCJyZXF1ZXN0ZWRCeV9lbWFpbFwiOiBcInt7cmVxdWVzdGVkQnlfZW1haWx9fVwiLFxuICAgIFwicmVxdWVzdGVkQnlfdXNlcm5hbWVcIjogXCJ7e3JlcXVlc3RlZEJ5X3VzZXJuYW1lfX1cIixcbiAgICBcInJlcXVlc3RlZEJ5X2F2YXRhclwiOiBcInt7cmVxdWVzdGVkQnlfYXZhdGFyfX1cIixcbiAgICBcInJlcXVlc3RlZEJ5X3NldHRpbmdzX2Rpc2NvcmRJZFwiOiBcInt7cmVxdWVzdGVkQnlfc2V0dGluZ3NfZGlzY29yZElkfX1cIixcbiAgICBcInJlcXVlc3RlZEJ5X3NldHRpbmdzX3RlbGVncmFtQ2hhdElkXCI6IFwie3tyZXF1ZXN0ZWRCeV9zZXR0aW5nc190ZWxlZ3JhbUNoYXRJZH19XCJcbiAgfSxcbiAgXCJ7e2lzc3VlfX1cIjoge1xuICAgIFwiaXNzdWVfaWRcIjogXCJ7e2lzc3VlX2lkfX1cIixcbiAgICBcImlzc3VlX3R5cGVcIjogXCJ7e2lzc3VlX3R5cGV9fVwiLFxuICAgIFwiaXNzdWVfc3RhdHVzXCI6IFwie3tpc3N1ZV9zdGF0dXN9fVwiLFxuICAgIFwicmVwb3J0ZWRCeV9lbWFpbFwiOiBcInt7cmVwb3J0ZWRCeV9lbWFpbH19XCIsXG4gICAgXCJyZXBvcnRlZEJ5X3VzZXJuYW1lXCI6IFwie3tyZXBvcnRlZEJ5X3VzZXJuYW1lfX1cIixcbiAgICBcInJlcG9ydGVkQnlfYXZhdGFyXCI6IFwie3tyZXBvcnRlZEJ5X2F2YXRhcn19XCIsXG4gICAgXCJyZXBvcnRlZEJ5X3NldHRpbmdzX2Rpc2NvcmRJZFwiOiBcInt7cmVwb3J0ZWRCeV9zZXR0aW5nc19kaXNjb3JkSWR9fVwiLFxuICAgIFwicmVwb3J0ZWRCeV9zZXR0aW5nc190ZWxlZ3JhbUNoYXRJZFwiOiBcInt7cmVwb3J0ZWRCeV9zZXR0aW5nc190ZWxlZ3JhbUNoYXRJZH19XCJcbiAgfSxcbiAgXCJ7e2NvbW1lbnR9fVwiOiB7XG4gICAgXCJjb21tZW50X21lc3NhZ2VcIjogXCJ7e2NvbW1lbnRfbWVzc2FnZX19XCIsXG4gICAgXCJjb21tZW50ZWRCeV9lbWFpbFwiOiBcInt7Y29tbWVudGVkQnlfZW1haWx9fVwiLFxuICAgIFwiY29tbWVudGVkQnlfdXNlcm5hbWVcIjogXCJ7e2NvbW1lbnRlZEJ5X3VzZXJuYW1lfX1cIixcbiAgICBcImNvbW1lbnRlZEJ5X2F2YXRhclwiOiBcInt7Y29tbWVudGVkQnlfYXZhdGFyfX1cIixcbiAgICBcImNvbW1lbnRlZEJ5X3NldHRpbmdzX2Rpc2NvcmRJZFwiOiBcInt7Y29tbWVudGVkQnlfc2V0dGluZ3NfZGlzY29yZElkfX1cIixcbiAgICBcImNvbW1lbnRlZEJ5X3NldHRpbmdzX3RlbGVncmFtQ2hhdElkXCI6IFwie3tjb21tZW50ZWRCeV9zZXR0aW5nc190ZWxlZ3JhbUNoYXRJZH19XCJcbiAgfSxcbiAgXCJ7e2V4dHJhfX1cIjogW11cbn0i" + } + }, + "webpush": { + "enabled": false, + "options": {} + }, + "gotify": { + "enabled": false, + "types": 0, + "options": { + "url": "", + "token": "", + "priority": 0 + } + }, + "ntfy": { + "enabled": false, + "types": 0, + "options": { + "url": "", + "topic": "" + } + } + } + }, + "jobs": { + "plex-recently-added-scan": { + "schedule": "0 */5 * * * *" + }, + "plex-full-scan": { + "schedule": "0 0 3 * * *" + }, + "plex-watchlist-sync": { + "schedule": "0 */3 * * * *" + }, + "plex-refresh-token": { + "schedule": "0 0 5 * * *" + }, + "radarr-scan": { + "schedule": "0 0 4 * * *" + }, + "sonarr-scan": { + "schedule": "0 30 4 * * *" + }, + "availability-sync": { + "schedule": "0 0 5 * * *" + }, + "download-sync": { + "schedule": "0 * * * * *" + }, + "download-sync-reset": { + "schedule": "0 0 1 * * *" + }, + "jellyfin-recently-added-scan": { + "schedule": "0 */5 * * * *" + }, + "jellyfin-full-scan": { + "schedule": "0 0 3 * * *" + }, + "image-cache-cleanup": { + "schedule": "0 0 5 * * *" + }, + "process-blacklisted-tags": { + "schedule": "0 30 1 */7 * *" + } + }, + "network": { + "csrfProtection": false, + "forceIpv4First": false, + "trustProxy": false, + "proxy": { + "enabled": false, + "hostname": "", + "port": 8080, + "useSsl": false, + "user": "", + "password": "", + "bypassFilter": "", + "bypassLocalAddresses": true + } + } +} \ No newline at end of file diff --git a/arr/jellyseerr/settings.old.json b/arr/jellyseerr/settings.old.json new file mode 100755 index 0000000..c6bce57 --- /dev/null +++ b/arr/jellyseerr/settings.old.json @@ -0,0 +1,201 @@ +{ + "clientId": "284d7360-8292-4530-ace0-d71f45b056ad", + "vapidPrivate": "RAogono6kfrQ0dtP-yXwtFfLhPBLuDxolzl9x0oMvYM", + "vapidPublic": "BNcaj25FIiiBSTB97ZRPvDfwyj4QPdq4Pfva066-gzMw9hrLN_aVpoEDdYvOB4VooJk904-nCjXC0zhWebp-6l4", + "main": { + "apiKey": "MTc5NTAxMDYyNjA3OTU1MDExZjRmLTBhNDMtNGI4My04ZDQ3LWFjZWFiOGY2NmQ3Zg==", + "applicationTitle": "Jellyseerr", + "applicationUrl": "", + "cacheImages": false, + "defaultPermissions": 32, + "defaultQuotas": { + "movie": {}, + "tv": {} + }, + "hideAvailable": false, + "hideBlacklisted": false, + "localLogin": true, + "mediaServerLogin": true, + "newPlexLogin": true, + "discoverRegion": "", + "streamingRegion": "", + "originalLanguage": "", + "blacklistedTags": "", + "blacklistedTagsLimit": 50, + "mediaServerType": 4, + "partialRequestsEnabled": true, + "enableSpecialEpisodes": false, + "locale": "en", + "youtubeUrl": "" + }, + "plex": { + "name": "", + "ip": "", + "port": 32400, + "useSsl": false, + "libraries": [] + }, + "jellyfin": { + "name": "", + "ip": "", + "port": 8096, + "useSsl": false, + "urlBase": "", + "externalHostname": "", + "jellyfinForgotPasswordUrl": "", + "libraries": [], + "serverId": "", + "apiKey": "" + }, + "tautulli": {}, + "radarr": [], + "sonarr": [], + "public": { + "initialized": false + }, + "notifications": { + "agents": { + "email": { + "enabled": false, + "options": { + "userEmailRequired": false, + "emailFrom": "", + "smtpHost": "", + "smtpPort": 587, + "secure": false, + "ignoreTls": false, + "requireTls": false, + "allowSelfSigned": false, + "senderName": "Jellyseerr" + } + }, + "discord": { + "enabled": false, + "types": 0, + "options": { + "webhookUrl": "", + "webhookRoleId": "", + "enableMentions": true + } + }, + "slack": { + "enabled": false, + "types": 0, + "options": { + "webhookUrl": "" + } + }, + "telegram": { + "enabled": false, + "types": 0, + "options": { + "botAPI": "", + "chatId": "", + "messageThreadId": "", + "sendSilently": false + } + }, + "pushbullet": { + "enabled": false, + "types": 0, + "options": { + "accessToken": "" + } + }, + "pushover": { + "enabled": false, + "types": 0, + "options": { + "accessToken": "", + "userToken": "", + "sound": "" + } + }, + "webhook": { + "enabled": false, + "types": 0, + "options": { + "webhookUrl": "", + "jsonPayload": "IntcbiAgXCJub3RpZmljYXRpb25fdHlwZVwiOiBcInt7bm90aWZpY2F0aW9uX3R5cGV9fVwiLFxuICBcImV2ZW50XCI6IFwie3tldmVudH19XCIsXG4gIFwic3ViamVjdFwiOiBcInt7c3ViamVjdH19XCIsXG4gIFwibWVzc2FnZVwiOiBcInt7bWVzc2FnZX19XCIsXG4gIFwiaW1hZ2VcIjogXCJ7e2ltYWdlfX1cIixcbiAgXCJ7e21lZGlhfX1cIjoge1xuICAgIFwibWVkaWFfdHlwZVwiOiBcInt7bWVkaWFfdHlwZX19XCIsXG4gICAgXCJ0bWRiSWRcIjogXCJ7e21lZGlhX3RtZGJpZH19XCIsXG4gICAgXCJ0dmRiSWRcIjogXCJ7e21lZGlhX3R2ZGJpZH19XCIsXG4gICAgXCJzdGF0dXNcIjogXCJ7e21lZGlhX3N0YXR1c319XCIsXG4gICAgXCJzdGF0dXM0a1wiOiBcInt7bWVkaWFfc3RhdHVzNGt9fVwiXG4gIH0sXG4gIFwie3tyZXF1ZXN0fX1cIjoge1xuICAgIFwicmVxdWVzdF9pZFwiOiBcInt7cmVxdWVzdF9pZH19XCIsXG4gICAgXCJyZXF1ZXN0ZWRCeV9lbWFpbFwiOiBcInt7cmVxdWVzdGVkQnlfZW1haWx9fVwiLFxuICAgIFwicmVxdWVzdGVkQnlfdXNlcm5hbWVcIjogXCJ7e3JlcXVlc3RlZEJ5X3VzZXJuYW1lfX1cIixcbiAgICBcInJlcXVlc3RlZEJ5X2F2YXRhclwiOiBcInt7cmVxdWVzdGVkQnlfYXZhdGFyfX1cIixcbiAgICBcInJlcXVlc3RlZEJ5X3NldHRpbmdzX2Rpc2NvcmRJZFwiOiBcInt7cmVxdWVzdGVkQnlfc2V0dGluZ3NfZGlzY29yZElkfX1cIixcbiAgICBcInJlcXVlc3RlZEJ5X3NldHRpbmdzX3RlbGVncmFtQ2hhdElkXCI6IFwie3tyZXF1ZXN0ZWRCeV9zZXR0aW5nc190ZWxlZ3JhbUNoYXRJZH19XCJcbiAgfSxcbiAgXCJ7e2lzc3VlfX1cIjoge1xuICAgIFwiaXNzdWVfaWRcIjogXCJ7e2lzc3VlX2lkfX1cIixcbiAgICBcImlzc3VlX3R5cGVcIjogXCJ7e2lzc3VlX3R5cGV9fVwiLFxuICAgIFwiaXNzdWVfc3RhdHVzXCI6IFwie3tpc3N1ZV9zdGF0dXN9fVwiLFxuICAgIFwicmVwb3J0ZWRCeV9lbWFpbFwiOiBcInt7cmVwb3J0ZWRCeV9lbWFpbH19XCIsXG4gICAgXCJyZXBvcnRlZEJ5X3VzZXJuYW1lXCI6IFwie3tyZXBvcnRlZEJ5X3VzZXJuYW1lfX1cIixcbiAgICBcInJlcG9ydGVkQnlfYXZhdGFyXCI6IFwie3tyZXBvcnRlZEJ5X2F2YXRhcn19XCIsXG4gICAgXCJyZXBvcnRlZEJ5X3NldHRpbmdzX2Rpc2NvcmRJZFwiOiBcInt7cmVwb3J0ZWRCeV9zZXR0aW5nc19kaXNjb3JkSWR9fVwiLFxuICAgIFwicmVwb3J0ZWRCeV9zZXR0aW5nc190ZWxlZ3JhbUNoYXRJZFwiOiBcInt7cmVwb3J0ZWRCeV9zZXR0aW5nc190ZWxlZ3JhbUNoYXRJZH19XCJcbiAgfSxcbiAgXCJ7e2NvbW1lbnR9fVwiOiB7XG4gICAgXCJjb21tZW50X21lc3NhZ2VcIjogXCJ7e2NvbW1lbnRfbWVzc2FnZX19XCIsXG4gICAgXCJjb21tZW50ZWRCeV9lbWFpbFwiOiBcInt7Y29tbWVudGVkQnlfZW1haWx9fVwiLFxuICAgIFwiY29tbWVudGVkQnlfdXNlcm5hbWVcIjogXCJ7e2NvbW1lbnRlZEJ5X3VzZXJuYW1lfX1cIixcbiAgICBcImNvbW1lbnRlZEJ5X2F2YXRhclwiOiBcInt7Y29tbWVudGVkQnlfYXZhdGFyfX1cIixcbiAgICBcImNvbW1lbnRlZEJ5X3NldHRpbmdzX2Rpc2NvcmRJZFwiOiBcInt7Y29tbWVudGVkQnlfc2V0dGluZ3NfZGlzY29yZElkfX1cIixcbiAgICBcImNvbW1lbnRlZEJ5X3NldHRpbmdzX3RlbGVncmFtQ2hhdElkXCI6IFwie3tjb21tZW50ZWRCeV9zZXR0aW5nc190ZWxlZ3JhbUNoYXRJZH19XCJcbiAgfSxcbiAgXCJ7e2V4dHJhfX1cIjogW11cbn0i" + } + }, + "webpush": { + "enabled": false, + "options": {} + }, + "gotify": { + "enabled": false, + "types": 0, + "options": { + "url": "", + "token": "", + "priority": 0 + } + }, + "ntfy": { + "enabled": false, + "types": 0, + "options": { + "url": "", + "topic": "" + } + } + } + }, + "jobs": { + "plex-recently-added-scan": { + "schedule": "0 */5 * * * *" + }, + "plex-full-scan": { + "schedule": "0 0 3 * * *" + }, + "plex-watchlist-sync": { + "schedule": "0 */3 * * * *" + }, + "plex-refresh-token": { + "schedule": "0 0 5 * * *" + }, + "radarr-scan": { + "schedule": "0 0 4 * * *" + }, + "sonarr-scan": { + "schedule": "0 30 4 * * *" + }, + "availability-sync": { + "schedule": "0 0 5 * * *" + }, + "download-sync": { + "schedule": "0 * * * * *" + }, + "download-sync-reset": { + "schedule": "0 0 1 * * *" + }, + "jellyfin-recently-added-scan": { + "schedule": "0 */5 * * * *" + }, + "jellyfin-full-scan": { + "schedule": "0 0 3 * * *" + }, + "image-cache-cleanup": { + "schedule": "0 0 5 * * *" + }, + "process-blacklisted-tags": { + "schedule": "0 30 1 */7 * *" + } + }, + "network": { + "csrfProtection": false, + "forceIpv4First": false, + "trustProxy": false, + "proxy": { + "enabled": false, + "hostname": "", + "port": 8080, + "useSsl": false, + "user": "", + "password": "", + "bypassFilter": "", + "bypassLocalAddresses": true + } + } +} \ No newline at end of file diff --git a/arr/prowlarr/Backups/scheduled/prowlarr_backup_v3.0.2.5780_2026.11.25_15.03.50.zip b/arr/prowlarr/Backups/scheduled/prowlarr_backup_v3.0.2.5780_2026.11.25_15.03.50.zip new file mode 100755 index 0000000..86c09e4 Binary files /dev/null and b/arr/prowlarr/Backups/scheduled/prowlarr_backup_v3.0.2.5780_2026.11.25_15.03.50.zip differ diff --git a/arr/prowlarr/Definitions/0dayfiles-api.yml b/arr/prowlarr/Definitions/0dayfiles-api.yml new file mode 100755 index 0000000..ff83158 --- /dev/null +++ b/arr/prowlarr/Definitions/0dayfiles-api.yml @@ -0,0 +1,223 @@ +--- +id: 0dayfiles-api +name: 0DayFiles (API) +description: "0DayFiles is a Private Torrent Tracker for 0DAY / GENERAL" +language: en-US +type: private +encoding: UTF-8 +links: + - https://0dayfiles.net/ + +caps: + categorymappings: + - {id: 9, cat: Movies/SD, desc: "Movies/480p"} + - {id: 10, cat: Movies/UHD, desc: "Movies/4K"} + - {id: 11, cat: Movies/BluRay, desc: "Movies/Bluray"} + - {id: 12, cat: Movies/BluRay, desc: "Movies/Bluray-Full"} + - {id: 13, cat: Movies/SD, desc: "Movies/Cam"} + - {id: 14, cat: Movies/DVD, desc: "Movies/DVD-R"} + - {id: 17, cat: Movies, desc: "Movies/Packs"} + - {id: 18, cat: Movies/HD, desc: "Movies/x264"} + - {id: 19, cat: Movies/HD, desc: "Movies/x265"} + - {id: 20, cat: Movies/SD, desc: "Movies/XviD"} + - {id: 58, cat: Movies/WEB-DL, desc: "Movies/WEB"} + - {id: 21, cat: TV/SD, desc: "TV/480p"} + - {id: 22, cat: TV/UHD, desc: "TV/4K"} + - {id: 23, cat: TV/HD, desc: "TV/Bluray"} + - {id: 25, cat: TV/SD, desc: "TV/DVD-Rip"} + - {id: 26, cat: TV/Other, desc: "TV/Mobile"} + - {id: 28, cat: TV, desc: "TV/Packs"} + - {id: 30, cat: TV/HD, desc: "TV/x264"} + - {id: 31, cat: TV/HD, desc: "TV/x265"} + - {id: 32, cat: TV/SD, desc: "TV/XviD"} + - {id: 59, cat: TV/WEB-DL, desc: "TV/WEB"} + - {id: 33, cat: Console, desc: "Nintendo"} + - {id: 34, cat: PC/Games, desc: "PC/Games"} + - {id: 43, cat: TV/Anime, desc: "Anime"} + - {id: 61, cat: TV/Anime, desc: "Anime/Packs"} + - {id: 62, cat: Movies, desc: "Anime/Movies"} + - {id: 63, cat: Movies, desc: "Anime/Movie Pack"} + - {id: 38, cat: Audio, desc: "Music/Audio"} + - {id: 39, cat: Audio/Lossless, desc: "Music/Flac"} + - {id: 41, cat: Audio, desc: "Music/Packs"} + - {id: 42, cat: Audio/Video, desc: "Music/Video"} + - {id: 44, cat: Audio/Audiobook, desc: "Audio Books"} + - {id: 46, cat: Books, desc: "Books"} + - {id: 48, cat: TV/Documentary, desc: "Documentary"} + - {id: 49, cat: Other, desc: "Educational"} + - {id: 51, cat: PC/Mac, desc: "Mac"} + - {id: 1, cat: PC/0day, desc: "Software"} + - {id: 54, cat: XXX, desc: "XXX/0Day"} + - {id: 55, cat: XXX/x264, desc: "XXX/Movies"} + - {id: 56, cat: XXX/Pack, desc: "XXX/Packs"} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid, tvdbid, tmdbid] + movie-search: [q, imdbid, tmdbid] + music-search: [q] + book-search: [q] + +settings: + - name: apikey + type: text + label: APIKey + - name: info_key + type: info + label: About your API key + default: "Find or Generate a new API Token by accessing your 0DayFiles account My Settings page and clicking on the API Key tab." + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: single_file_release_use_filename + type: checkbox + label: Use filename as title for single file releases + default: true + - name: sort + type: select + label: Sort requested from site + default: created_at + options: + created_at: created + seeders: seeders + size: size + name: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + +login: + path: api/torrents + method: get + error: + - selector: a[href*="/login"] + message: + text: "The API key was not accepted by {{ .Config.sitelink }}." + - selector: :root:contains("Account is Banned") + +search: + paths: + # https://hdinnovations.github.io/UNIT3D/torrent_api.html + # https://github.com/HDInnovations/UNIT3D/blob/master/app/Http/Controllers/API/TorrentController.php#L657 + - path: api/torrents/filter + response: + type: json + + headers: + Authorization: ["Bearer {{ .Config.apikey }}"] + + inputs: + # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6 + $raw: "{{ range .Categories }}&categories[]={{.}}{{end}}" + name: "{{ .Keywords }}" + seasonNumber: "{{ .Query.Season }}" + episodeNumber: "{{ .Query.Ep }}" + imdbId: "{{ .Query.IMDBIDShort }}" + tmdbId: "{{ .Query.TMDBID }}" + tvdbId: "{{ .Query.TVDBID }}" + "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}" + sortField: "{{ .Config.sort }}" + sortDirection: "{{ .Config.type }}" + perPage: 100 + + keywordsfilters: + - name: re_replace + args: ["\\.", " "] + + rows: + selector: data + attribute: attributes + + fields: + category: + selector: category_id + title_optional: + selector: name + title_filename: + selector: "files[0].name" + optional: true + files: + selector: num_file + title: + text: "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}" + details: + selector: details_link + download: + selector: download_link + poster: + selector: meta.poster + filters: + - name: replace + args: ["https://via.placeholder.com/90x135", ""] + imdbid: + selector: imdb_id + tmdbid: + selector: tmdb_id + tvdbid: + selector: tvdb_id + genre: + selector: meta.genres + filters: + - name: re_replace + args: ["(?i)(Science Fiction)", "Science_Fiction"] + - name: re_replace + args: [" & ", "_&_"] + _internal: + selector: internal + case: + False: "{{ .False }}" + True: "{{ .True }}" + description: + text: "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}" + seeders: + selector: seeders + leechers: + selector: leechers + grabs: + selector: times_completed + date: + # "created_at": "2021-10-18T00:34:50.000000Z" is returned by Newtonsoft.Json.Linq as 18/10/2021 00:34:50 + selector: created_at + filters: + - name: append + args: " +00:00" # GMT + - name: dateparse + args: "MM/dd/yyyy HH:mm:ss zzz" + size: + selector: size + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: + # api returns 0%, 25%, 50%, 75%, 100% + selector: freeleech + case: + 0%: 1 # not free + 25%: 0.75 + 50%: 0.5 + 75%: 0.25 + 100%: 0 # freeleech + "*": 0 # catch errors + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: + # api returns False, True + selector: double_upload + case: + False: 1 # normal + True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" + minimumratio: + text: 1.0 + minimumseedtime: + # 7 days (as seconds = 7 x 24 x 60 x 60) + text: 604800 +# json UNIT3D 9.2.0 diff --git a/arr/prowlarr/Definitions/0daykiev.yml b/arr/prowlarr/Definitions/0daykiev.yml new file mode 100755 index 0000000..8cc88fa --- /dev/null +++ b/arr/prowlarr/Definitions/0daykiev.yml @@ -0,0 +1,218 @@ +--- +id: 0daykiev +name: 0day.kiev +description: "0day.kiev.ua is a UKRAINIAN Private Torrent Tracker for MOVIES / TV / GENERAL" +language: uk-UA +type: private +encoding: windows-1251 +links: + - https://tracker.0day.community/ +legacylinks: + - https://tracker.0day.kiev.ua/ + +caps: + categorymappings: + - {id: 10, cat: Movies, desc: "Фильмы (Movies)"} + - {id: 16, cat: Movies/HD, desc: "HD / Фильмы (HD / Movies)"} + - {id: 30, cat: TV/HD, desc: "HD / Сериалы (HD / TV Shows)"} + - {id: 27, cat: Movies/HD, desc: "HD / Мультфильмы (HD / Cartoons)"} + - {id: 17, cat: PC/Games, desc: "Игры / ПК (Games / PC)"} + - {id: 14, cat: Audio, desc: "Музыка / Аудио (Music / Audio)"} + - {id: 29, cat: TV, desc: "Мультсериалы (TV Series)"} + - {id: 11, cat: Movies, desc: "Мультфильмы (Cartoons)"} + - {id: 28, cat: TV/Documentary, desc: "HD / Документальное (HD / Documentary)"} + - {id: 18, cat: PC/0day, desc: "Софт / Windows (Software / Windows)"} + - {id: 19, cat: TV, desc: "TV / Сериалы (TV shows)"} + - {id: 31, cat: Other, desc: "Прочее (Other)"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: stripcyrillic + type: checkbox + label: Strip Cyrillic Letters + default: true + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: 4 + options: + 4: created + 7: seeders + 5: size + 1: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - name: info_activity + type: info + label: Account Inactivity + default: "The tracker has a system for deleting inactive accounts after 6 months from your last visit to the tracker." + +login: + path: takelogin.php + method: post + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + returnto: "/browse.php" + error: + - selector: div.maintitle:contains("Ошибка") + message: + selector: div.borderwrap table.embedded + test: + path: browse.php + selector: a[href="/logout.php"] + +search: + paths: + # https://tracker.0day.kiev.ua/browse.php?c10=1&c27=1&search=endgame&incldead=1&where=0 + - path: browse.php + inputs: + $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" + search: "{{ .Keywords }}" + # 0 active, 1 incldead, 2 onlydead, 3 gold, 4 noseed, 5 silver + incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}" + # 0 title, 1 title and descr + where: 0 + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" + + keywordsfilters: + - name: diacritics + args: replace + - name: re_replace # S01 to сезон 1 + args: ["(?i)\\bS0*(\\d+)\\b", "сезон $1"] + - name: re_replace # E01 to сері 1 + args: ["(?i)\\bE0*(\\d+)\\b", "сері $1"] + - name: re_replace # S01E01 to сезон 1 сері 1 + args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "сезон $1 сері $2"] + + rows: + selector: table > tbody > tr.rowtorrentinfo + + fields: + category: + selector: a[href^="browse.php?cat="] + attribute: href + filters: + - name: querystring + args: cat + title: + selector: a[href^="details.php?id="] + filters: + # normalize to SXXEYY format + - name: re_replace + args: ["(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)", "S$1E$2 of $3"] + - name: re_replace + args: ["(?i)(\\d+(?:-\\d+)?)\\s*[CС]езони?.+?(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))?", "S$1E$2 of $3"] + - name: re_replace + args: ["(?i)(\\d+(?:-\\d+)?)\\s*[CС]езони?.+?(\\d+(?:-\\d+)?)\\s*(?:[CС]ері[їяй]|Епізоди?)\\s+з\\s*(\\w?)", "S$1E$2 of $3"] + - name: re_replace + args: ["(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))?", "S$1E$2 of $3"] + - name: re_replace + args: ["(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:[CС]ері[їяй]|Епізоди?)\\s+з\\s*(\\w?)", "S$1E$2 of $3"] + - name: re_replace + args: ["(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)", "S$1E$2"] + - name: re_replace + args: ["(?i)(\\d+(?:-\\d+)?)\\s*[CС]езони?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))", "S$1E$2"] + - name: re_replace + args: ["(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))", "S$1E$2"] + - name: re_replace + args: ["(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?)", "S$1"] + - name: re_replace + args: ["(?i)(\\d+(?:-\\d+)?)\\s+[CС]езони?", "S$1"] + - name: re_replace + args: ["(?i)(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)", "E$1 of $2"] + - name: re_replace + args: ["(?i)(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))", "E$1 of $2"] + - name: re_replace + args: ["(?i)(\\d+(?:-\\d+)?)\\s+(?:[CС]ері[їяй]|Епізоди?)\\s+з\\s*(\\w?)", "E$1 of $2"] + - name: re_replace + args: ["(?i)(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)", "E$1"] + - name: re_replace + args: ["(?i)(\\d+(?:-\\d+)?)\\s+(?:[CС]ері[їяй]|Епізоди?)", "E$1"] + - name: re_replace + args: ["(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)", "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"] + - name: re_replace + args: ["(?i)\\bHDTV\\s?Rip\\b", "HDTV"] + - name: re_replace + args: ["(?i)\\bSAT\\s?Rip\\b", "HDTV"] + - name: re_replace + args: ["(?i)\\bWEB\\s?DL\\s?Rip\\b", "WEBDL"] + - name: re_replace + args: ["(?i)\\bWEB Rip\\b", "WEBRip"] + - name: re_replace + args: ["(?i)\\bWEB DL\\b", "WEBDL"] + - name: re_replace + args: ["[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]", ""] + - name: re_replace + args: ["^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+", ""] + - name: re_replace + args: ["(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)", "$2 $1"] + details: + selector: a[href^="details.php?id="] + attribute: href + download: + selector: a[href^="download.php?id="] + attribute: href + date: + selector: td:nth-child(2) i + filters: + - name: append + args: " +02:00" # EET + - name: dateparse + args: "yyyy-MM-dd HH:mm:ss zzz" + size: + selector: td:nth-child(4) + filters: + - name: replace + args: ["ТБ", "TB"] + - name: replace + args: ["ГБ", "GB"] + - name: replace + args: ["МБ", "MB"] + - name: replace + args: ["КБ", "KB"] + grabs: + selector: td:nth-child(5) + seeders: + selector: td:nth-child(6) + filters: + - name: split + args: ["|", 0] + leechers: + selector: td:nth-child(6) + filters: + - name: split + args: ["|", 1] + downloadvolumefactor: + case: + img[src="pic/freedownload.gif"]: 0 + img[src="pic/silverdownload.gif"]: 0.5 + "*": 1 + uploadvolumefactor: + text: 1 + minimumratio: + text: 0.2 + description: + selector: a[href^="details.php?id="] +# engine n/a diff --git a/arr/prowlarr/Definitions/0magnet.yml b/arr/prowlarr/Definitions/0magnet.yml new file mode 100755 index 0000000..28d9eff --- /dev/null +++ b/arr/prowlarr/Definitions/0magnet.yml @@ -0,0 +1,79 @@ +--- +id: 0magnet +name: 0Magnet +description: "ØMagnet is a CHINESE Public tracker for Asian 3X (JAV)" +language: zh-CN +type: public +encoding: UTF-8 +links: + - https://16mag.net/ +legacylinks: + - https://0magnet.com/ + - https://9mag.net/ + - https://0magnet.co/ + - https://13mag.net/ + +caps: + categories: + XXX: XXX + + modes: + search: [q] + +settings: [] + +download: + infohash: + hash: + selector: a[href^="magnet:?xt"] + attribute: href + filters: + - name: regexp + args: ([A-F|a-f|0-9]{40}) + title: + selector: a[href^="magnet:?xt"] + attribute: href + filters: + - name: regexp + args: "&dn=(.+?)&" + - name: validfilename + +search: + paths: + - path: search + inputs: + q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}.{{ end }}" + + rows: + selector: table > tbody > tr:has(td):not(:contains("We couldn't find anything for")) + filters: + - name: andmatch + + fields: + category: + text: XXX + title: + selector: a + remove: p + details: + selector: a + attribute: href + download: + selector: a + attribute: href + date: + selector: div.result-date + filters: + - name: dateparse + args: "yyyy-MM-dd" + size: + selector: td.result-meta > div + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a diff --git a/arr/prowlarr/Definitions/1337x.yml b/arr/prowlarr/Definitions/1337x.yml new file mode 100755 index 0000000..cdc50ae --- /dev/null +++ b/arr/prowlarr/Definitions/1337x.yml @@ -0,0 +1,301 @@ +--- +id: 1337x +name: 1337x +description: "1337x is a Public torrent site that offers verified torrent downloads" +language: en-US +type: public +encoding: UTF-8 +requestDelay: 3 +# get status and news on domains at the official site https://1337x-status.org/ +links: + - https://1337x.to/ + - https://1337x.st/ + - https://x1337x.ws/ + - https://x1337x.eu/ + - https://x1337x.cc/ +legacylinks: + - https://1337x.is/ + - https://1337x.gd/ + - https://1337x.mrunblock.bond/ + - https://1337x.abcproxy.org/ + - https://1337x.so/ + - https://1337x.unblockit.download/ + - https://1337x.unblockninja.com/ # keyword search not working + - https://1337x.ninjaproxy1.com/ # keyword search not working + - https://1337x.proxyninja.org/ # keyword search not working + - https://1337x.proxyninja.net/ # keyword search not working + - https://1337x.torrentbay.st/ # keyword search not working + - https://1337x.torrentsbay.org/ # keyword search not working + - https://x1337x.se/ + +caps: + categorymappings: + # Anime + - {id: 28, cat: TV/Anime, desc: "Anime/Anime"} + - {id: 78, cat: TV/Anime, desc: "Anime/Dual Audio"} + - {id: 79, cat: TV/Anime, desc: "Anime/Dubbed"} + - {id: 80, cat: TV/Anime, desc: "Anime/Subbed"} + - {id: 81, cat: TV/Anime, desc: "Anime/Raw"} + # Audio + - {id: 22, cat: Audio/MP3, desc: "Music/MP3"} + - {id: 23, cat: Audio/Lossless, desc: "Music/Lossless"} + - {id: 24, cat: Audio, desc: "Music/DVD"} + - {id: 25, cat: Audio/Video, desc: "Music/Video"} + - {id: 26, cat: Audio, desc: "Music/Radio"} + - {id: 27, cat: Audio/Other, desc: "Music/Other"} + - {id: 53, cat: Audio, desc: "Music/Album"} + - {id: 58, cat: Audio, desc: "Music/Box set"} + - {id: 59, cat: Audio, desc: "Music/Discography"} + - {id: 60, cat: Audio, desc: "Music/Single"} + - {id: 68, cat: Audio, desc: "Music/Concerts"} + - {id: 69, cat: Audio, desc: "Music/AAC"} + # Movies + - {id: 1, cat: Movies/DVD, desc: "Movies/DVD"} + - {id: 2, cat: Movies/SD, desc: "Movies/Divx/Xvid"} + - {id: 3, cat: Movies, desc: "Movies/SVCD/VCD"} + - {id: 4, cat: Movies/Foreign, desc: "Movies/Dubs/Dual Audio"} + - {id: 42, cat: Movies/HD, desc: "Movies/HD"} + - {id: 54, cat: Movies/HD, desc: "Movies/h.264/x264"} + - {id: 55, cat: Movies, desc: "Movies/Mp4"} + - {id: 66, cat: Movies/3D, desc: "Movies/3D"} + - {id: 70, cat: Movies/HD, desc: "Movies/HEVC/x265"} + - {id: 73, cat: Movies, desc: "Movies/Bollywood"} + - {id: 76, cat: Movies/UHD, desc: "Movies/UHD"} + # TV + - {id: 5, cat: TV, desc: "TV/DVD"} + - {id: 6, cat: TV, desc: "TV/Divx/Xvid"} + - {id: 7, cat: TV, desc: "TV/SVCD/VCD"} + - {id: 41, cat: TV/HD, desc: "TV/HD"} + - {id: 71, cat: TV, desc: "TV/HEVC/x265"} + - {id: 74, cat: TV, desc: "TV/Cartoons"} + - {id: 75, cat: TV/SD, desc: "TV/SD"} + - {id: 9, cat: TV/Documentary, desc: "TV/Documentary"} + # Apps + - {id: 18, cat: PC, desc: "Apps/PC Software"} + - {id: 19, cat: PC/Mac, desc: "Apps/Mac"} + - {id: 20, cat: PC, desc: "Apps/Linux"} + - {id: 21, cat: PC, desc: "Apps/Other"} + - {id: 56, cat: PC/Mobile-Android, desc: "Apps/Android"} + - {id: 57, cat: PC/Mobile-iOS, desc: "Apps/iOS"} + # Games + - {id: 10, cat: PC/Games, desc: "Games/PC Game"} + - {id: 11, cat: Console/PS3, desc: "Games/PS2"} + - {id: 12, cat: Console/PSP, desc: "Games/PSP"} + - {id: 13, cat: Console/XBox, desc: "Games/Xbox"} + - {id: 14, cat: Console/XBox 360, desc: "Games/Xbox360"} + - {id: 15, cat: Console/PS3, desc: "Games/PS1"} + - {id: 16, cat: Console/Other, desc: "Games/Dreamcast"} + - {id: 17, cat: PC/Mobile-Other, desc: "Games/Other"} + - {id: 43, cat: Console/PS3, desc: "Games/PS3"} + - {id: 44, cat: Console/Wii, desc: "Games/Wii"} + - {id: 45, cat: Console/NDS, desc: "Games/DS"} + - {id: 46, cat: Console/Other, desc: "Games/GameCube"} + - {id: 72, cat: Console/3DS, desc: "Games/3DS"} + - {id: 77, cat: Console/PS4, desc: "Games/PS4"} + - {id: 82, cat: Console/Other, desc: "Games/Switch"} + # XXX + - {id: 48, cat: XXX/DVD, desc: "XXX/Video"} + - {id: 49, cat: XXX/ImageSet, desc: "XXX/Picture"} + - {id: 50, cat: XXX, desc: "XXX/Magazine"} + - {id: 51, cat: XXX, desc: "XXX/Hentai"} + - {id: 67, cat: XXX, desc: "XXX/Games"} + # Other + - {id: 33, cat: Other, desc: "Other/Emulation"} + - {id: 34, cat: Books, desc: "Other/Tutorial"} + - {id: 35, cat: Other, desc: "Other/Sounds"} + - {id: 36, cat: Books/EBook, desc: "Other/E-books"} + - {id: 37, cat: Other, desc: "Other/Images"} + - {id: 38, cat: Other, desc: "Other/Mobile Phone"} + - {id: 39, cat: Books/Comics, desc: "Other/Comics"} + - {id: 40, cat: Other/Misc, desc: "Other/Other"} + - {id: 47, cat: Other, desc: "Other/Nulled Script"} + - {id: 52, cat: Audio/Audiobook, desc: "Other/Audiobook"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + allowrawsearch: true + +settings: + - name: uploader + type: text + label: Filter by Uploader + - name: info_uploader + type: info + label: About filtering by Uploader + default: "You can filter by Uploader by entering a Case Sensitive username, or leave empty to get all results.
Note: this is the username of the Uploader and not the Groupname that often show up at the end of 1337x titles, eg -GalaxyRG." + - name: info_flaresolverr + type: info_flaresolverr + - name: primarydownloadlink + type: select + label: Primary Download link + default: "magnet:" + options: + "//itorrents.": iTorrents + "magnet:": magnet + - name: fallbackdownloadlink + type: select + label: Fallback Download link + default: "//itorrents." + options: + "//itorrents.": iTorrents + "magnet:": magnet + - name: info_download + type: info + label: About the Download links + default: As the iTorrents .torrent download link on this site is known to fail from time to time, we suggest using the magnet link as a fallback. The BTCache and Torrage services are not supported because they require additional user interaction (a captcha for BTCache and a download button on Torrage.) + - name: disablesort + type: checkbox + label: Disable sorting - 1337x prevents sorting searches during high server load, which breaks the indexer when performing a keyword search - disable if you get zero results + default: false + - name: sort + type: select + label: Sort requested from site + default: time + options: + time: created + seeders: seeders + size: size + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + +download: + # the .torrent URL and magnet URI are on the details page + selectors: + - selector: ul li a[href*="{{ .Config.primarydownloadlink }}"] + attribute: href + filters: + - name: replace + args: ["http://itorrents.org/", "https://itorrents.net/"] + - selector: ul li a[href*="{{ .Config.fallbackdownloadlink }}"] + attribute: href + filters: + - name: replace + args: ["http://itorrents.org/", "https://itorrents.net/"] + +search: + paths: + # present first page of movies tv and music results if there are no search parms supplied (20 hits per page) + - path: "{{ if and (.Keywords) (eq .Config.disablesort .False) }}sort-{{ else }}{{ end }}{{ if .Keywords }}search/{{ .Keywords }}{{ else }}cat/Movies{{ end }}{{ if and (.Keywords) (eq .Config.disablesort .False) }}/{{ .Config.sort }}/{{ .Config.type }}{{ else }}{{ end }}/1/" + - path: "{{ if and (.Keywords) (eq .Config.disablesort .False) }}sort-{{ else }}{{ end }}{{ if .Keywords }}search/{{ .Keywords }}{{ else }}cat/TV{{ end }}{{ if and (.Keywords) (eq .Config.disablesort .False) }}/{{ .Config.sort }}/{{ .Config.type }}{{ else }}{{ end }}/{{ if .Keywords }}2{{ else }}1{{ end }}/" + - path: "{{ if and (.Keywords) (eq .Config.disablesort .False) }}sort-{{ else }}{{ end }}{{ if .Keywords }}search/{{ .Keywords }}{{ else }}cat/Music{{ end }}{{ if and (.Keywords) (eq .Config.disablesort .False) }}/{{ .Config.sort }}/{{ .Config.type }}{{ else }}{{ end }}/{{ if .Keywords }}3{{ else }}1{{ end }}/" + - path: "{{ if and (.Keywords) (eq .Config.disablesort .False) }}sort-{{ else }}{{ end }}{{ if .Keywords }}search/{{ .Keywords }}{{ else }}cat/Other{{ end }}{{ if and (.Keywords) (eq .Config.disablesort .False) }}/{{ .Config.sort }}/{{ .Config.type }}{{ else }}{{ end }}/{{ if .Keywords }}4{{ else }}1{{ end }}/" + + keywordsfilters: + - name: re_replace # daily standard S2023 > 2023 + args: ["\\bS(20\\d{2})\\b", "$1"] + + rows: + selector: "tr:has(a[href^=\"/torrent/\"]){{ if .Config.uploader }}:has(td[class^=\"coll-5\"]:contains({{ .Config.uploader }})){{ else }}{{ end }}" + + fields: + title_default: + # the movies, tv and music pages abbreviate the title + selector: td[class^="coll-1"] a[href^="/torrent/"] + title_optional: + # the movies, tv and music pages abbreviate the title so we process the href instead. #8137 + optional: true + selector: td[class^="coll-1"] a[href^="/torrent/"]:contains("...") + attribute: href + filters: + - name: urldecode + - name: split + args: ["/", 3] + title: + # title_optional can be empty so use the title_default instead #8586 + text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}" + filters: + - name: re_replace + args: ["-([\\w]+(?:[\\[\\]\\(\\)\\w]+)?)$", "~$1"] + - name: replace + args: ["-", " "] + - name: re_replace + args: ["~([\\w]+(?:[\\[\\]\\(\\)\\w]+)?)$", "-$1"] + - name: replace + args: ["\u000f", ""] # get rid of unwanted character #6582 + # cleanup for Sonarr + - name: re_replace # EP 3 4 to E3-4 + args: ["(?i)\\sEP\\s(\\d{1,2})\\s(E?\\s?\\d{1,2})\\s", " E$1-$2 "] + - name: re_replace # S02E04 05 to S02E04-05 + args: ["(?i)([-_. ])S(\\d{1,2})\\s?E\\s?(\\d{1,2})\\s(E?\\s?\\d{1,2})([-_. ])", "$1S$2E$3-$4$5"] + - name: re_replace + args: ["(?i)AC3\\s?(\\d)\\s(\\d)", "AC3 $1.$2"] + - name: re_replace + args: ["(?i) DD\\s?(\\d)\\s(\\d)", " DD $1.$2"] + - name: re_replace + args: ["(?i) DDP\\s?(\\d)\\s(\\d)", " DDP $1.$2"] + - name: re_replace + args: ["(?i)\\sE\\s?AC3", " EAC3"] + - name: re_replace + args: ["(?i)WEB\\sDL", "WEB-DL"] + - name: re_replace + args: ["(?i)HDTVRIP", "HDTV"] + category_optional: + optional: true + selector: td[class^="coll-1"] a[href^="/sub/"] + attribute: href + filters: + # extract the third part + - name: split + args: ["/", 2] + category: + text: "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}40{{ end }}" + details: + selector: td[class^="coll-1"] a[href^="/torrent/"] + attribute: href + download: + # .torrent link is on the details page + selector: td[class^="coll-1"] a[href^="/torrent/"] + attribute: href + # dates come in three flavours: + date_year: + # (within this year) 7am Sep. 14th + optional: true + selector: td[class^="coll-date"]:not(:contains(":")):not(:contains("'")) + filters: + - name: re_replace + args: ["st|nd|rd|th", ""] + - name: dateparse + args: "htt MMM. d" + date_years: + # (more than a year ago) Apr. 18th '11 + optional: true + selector: td[class^="coll-date"]:contains("'") + filters: + - name: replace + args: ["'", ""] + - name: re_replace + args: ["st|nd|rd|th", ""] + - name: dateparse + args: "MMM. d yy" + date_today: + # (today) 12:25am + optional: true + selector: td[class^="coll-date"]:contains(":") + filters: + - name: fuzzytime + date: + text: "{{ if or .Result.date_year .Result.date_years .Result.date_today }}{{ or .Result.date_year .Result.date_years .Result.date_today }}{{ else }}now{{ end }}" + size: + selector: td[class^="coll-4"] + seeders: + selector: td[class^="coll-2"] + leechers: + selector: td[class^="coll-3"] + _username: + selector: td[class^="coll-5"] + description: + text: "Uploader: {{ .Result._username }}" + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a diff --git a/arr/prowlarr/Definitions/13city-api.yml b/arr/prowlarr/Definitions/13city-api.yml new file mode 100755 index 0000000..f853e49 --- /dev/null +++ b/arr/prowlarr/Definitions/13city-api.yml @@ -0,0 +1,145 @@ +--- +id: 13city-api +name: 13City (API) +description: "13City is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL" +language: zh-CN +type: private +encoding: UTF-8 +links: + - https://13city.org/ + +caps: + categorymappings: + - {id: 401, cat: Movies, desc: "电影/Movies"} + - {id: 402, cat: TV, desc: "电视剧/TVSeries"} + - {id: 403, cat: TV, desc: "综艺/TV Shows"} + - {id: 405, cat: TV/Anime, desc: "动漫/Animations"} + - {id: 406, cat: Audio/Video, desc: "演唱会、MV/Music Videos"} + - {id: 408, cat: Audio, desc: "音乐/Music"} + - {id: 409, cat: Books/EBook, desc: "电子书/E-book"} + - {id: 409, cat: Audio/Audiobook, desc: "有声读物/A-book"} + - {id: 413, cat: TV/Documentary, desc: "纪录片/Documentary"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: + - name: apikey + type: text + label: API Token + - name: info_apikey + type: info + label: About your API Token + default: "Find/Generate an API token from your 13City account control panel." + - name: passkey + type: text + label: Passkey + - name: info_passkey + type: info + label: About your Passkey + default: "Find the Passkey from your account control panel." + - name: freeleech + type: checkbox + label: Filter freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: "-id" + options: + "-id": created + "-seeders": seeders + "-size": size + "-times_completed": grabs + - name: info_activity + type: info + label: Account Inactivity + default: "Account retention rules:
  1. If there is no valid traffic within 7 days of registration (participation in the calculation of sharing rate), the account will be blocked
  2. After the level is reduced to \"Peasant\", if the sharing rate is not improved within 7 days, the account will be blocked
  3. Long-term non-login:
      - UnParked account: 60 consecutive days of non-login → banned
      - Parked account: 180 consecutive days of non-login → banned
      - Nexus Master and above levels are not subject to long-term non-login ban restrictions
" + +login: + path: api/v1/torrents + method: get + inputs: + per_page: 1 + error: + - selector: :root:contains("login.php?returnto") + message: + text: "The API token was not accepted by {{ .Config.sitelink }}." + - selector: :root:contains("Unauthenticated") + message: + text: "The API token was not accepted by {{ .Config.sitelink }}." + +search: + paths: + - path: api/v1/torrents + response: + type: json + + headers: + Authorization: ["Bearer {{ .Config.apikey }}"] + + inputs: + $raw: "{{ range .Categories }}&filter[category][in][]={{.}}{{end}}" + "filter[title]": "{{ .Keywords }}" + sorts: "{{ .Config.sort }}" + per_page: 100 + + keywordsfilters: + # the site stores dotted release names but the title filter matches on words + - name: re_replace + args: ["\\.", " "] + + rows: + selector: "data.data{{ if .Config.freeleech }}:not(promotion_info.down_multiplier:contains(1)):not(promotion_info.down_multiplier:contains(.)){{ else }}{{ end }}" + + fields: + category: + selector: category + _id: + selector: id + title: + selector: name + details: + text: "{{ .Config.sitelink }}details.php?id={{ .Result._id }}&hit=1" + download: + text: "{{ .Config.sitelink }}download.php?id={{ .Result._id }}&passkey={{ .Config.passkey }}" + infohash: + selector: hash + poster: + selector: cover + description: + selector: small_descr + size: + selector: size + files: + selector: numfiles + seeders: + selector: seeders + leechers: + selector: leechers + grabs: + selector: times_completed + date: + # 2026-09-19 16:50 + selector: added + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-dd HH:mm zzz" + downloadvolumefactor: + # promotion_info is the EFFECTIVE promotion and accounts for site-wide freeleech events. + # sp_state is only the stored per-torrent promotion, so it reads 1 on a torrent the site has made free. + selector: promotion_info.down_multiplier + uploadvolumefactor: + selector: promotion_info.up_multiplier + minimumratio: + text: 2.0 + minimumseedtime: + # 1 day (as seconds = 24 x 60 x 60) + text: 86400 +# JSON API NexusPHP v1.9.11 2025-11-02 diff --git a/arr/prowlarr/Definitions/13city.yml b/arr/prowlarr/Definitions/13city.yml new file mode 100755 index 0000000..39baa59 --- /dev/null +++ b/arr/prowlarr/Definitions/13city.yml @@ -0,0 +1,185 @@ +--- +id: 13city +name: 13City +description: "13City is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL" +language: zh-CN +type: private +encoding: UTF-8 +links: + - https://13city.org/ + +caps: + categorymappings: + - {id: 401, cat: Movies, desc: "电影/Movies"} + - {id: 402, cat: TV, desc: "电视剧/TVSeries"} + - {id: 403, cat: TV, desc: "综艺/TV Shows"} + - {id: 405, cat: TV/Anime, desc: "动漫/Animations"} + - {id: 406, cat: Audio/Video, desc: "演唱会、MV/Music Videos"} + - {id: 408, cat: Audio, desc: "音乐/Music"} + - {id: 409, cat: Books/EBook, desc: "电子书/E-book"} + - {id: 409, cat: Audio/Audiobook, desc: "有声读物/A-book"} + - {id: 413, cat: TV/Documentary, desc: "纪录片/Documentary"} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid, doubanid] + movie-search: [q, imdbid, doubanid] + music-search: [q] + book-search: [q] + +settings: + - name: cookie + type: text + label: Cookie + - name: info_cookie + type: info_cookie + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: 4 + options: + 4: created + 7: seeders + 5: size + 1: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - name: info_tpp + type: info + label: Results Per Page + default: For best results, change the Torrents per page: setting to 100 on your account profile. + - name: info_activity + type: info + label: Account Inactivity + default: "Account retention rules:
  1. If there is no valid traffic within 7 days of registration (participation in the calculation of sharing rate), the account will be blocked
  2. After the level is reduced to \"Peasant\", if the sharing rate is not improved within 7 days, the account will be blocked
  3. Long-term non-login:
      - UnParked account: 60 consecutive days of non-login → banned
      - Parked account: 180 consecutive days of non-login → banned
      - Nexus Master and above levels are not subject to long-term non-login ban restrictions
" + +login: + # using cookie method because site does a JS call to API/Challenge via JQuery to load response parm required for takelogin.php + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: index.php + selector: a[href="logout.php"] + +search: + paths: + - path: torrents.php + inputs: + $raw: "{{ range .Categories }}cat{{.}}=1&{{end}}" + search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}" + # 0 incldead, 1 active, 2 dead + incldead: 0 + # 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30% + spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" + # 0 title, 1 descr, 3 uploader, 4 imdburl + search_area: "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}" + # 0 AND, 2 exact + search_mode: 0 + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" + notnewword: 1 + + rows: + selector: table.torrents > tbody > tr:has(a[href^="download.php?id="]) + + fields: + category: + selector: a[href^="?cat="] + attribute: href + filters: + - name: querystring + args: cat + title_default: + selector: a[href^="details.php?id="] + title: + selector: a[title][href^="details.php?id="] + attribute: title + optional: true + default: "{{ .Result.title_default }}" + details: + selector: a[href^="details.php?id="] + attribute: href + download: + selector: a[href^="download.php?id="] + attribute: href + poster: + selector: img[data-src] + attribute: data-src + imdbid: + # site currently only has a badge and rating, the id is not present. just in case a future update. + selector: a[href*="imdb.com/title/tt"] + attribute: href + doubanid: + # site currently only has a badge and rating, the id is not present. just in case a future update. + selector: a[href*="movie.douban.com/subject/"] + attribute: href + date_elapsed: + # time type: time elapsed (default) + selector: td.rowfollow:nth-child(4) > span[title] + attribute: title + optional: true + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-dd HH:mm:ss zzz" + date_added: + # time added + selector: td.rowfollow:nth-child(4):not(:has(span)) + optional: true + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-ddHH:mm:ss zzz" + date: + text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}" + size: + selector: td.rowfollow:nth-child(5) + optional: true + default: 512MB + seeders: + selector: td.rowfollow:nth-child(6) + optional: true + default: 0 + leechers: + selector: td.rowfollow:nth-child(7) + optional: true + default: 0 + grabs: + selector: td.rowfollow:nth-child(8) + optional: true + default: 0 + downloadvolumefactor: + case: + img.pro_free: 0 + img.pro_free2up: 0 + img.pro_50pctdown: 0.5 + img.pro_50pctdown2up: 0.5 + img.pro_30pctdown: 0.3 + "*": 1 + uploadvolumefactor: + case: + img.pro_50pctdown2up: 2 + img.pro_free2up: 2 + img.pro_2up: 2 + "*": 1 + minimumratio: + text: 2.0 + minimumseedtime: + # 1 day (as seconds = 24 x 60 x 60) + text: 86400 + description: + selector: td.rowfollow:nth-child(2) + remove: a, b, font, img, span +# NexusPHP v1.9.11 2025-11-02 diff --git a/arr/prowlarr/Definitions/1ptbar-api.yml b/arr/prowlarr/Definitions/1ptbar-api.yml new file mode 100755 index 0000000..2bfc314 --- /dev/null +++ b/arr/prowlarr/Definitions/1ptbar-api.yml @@ -0,0 +1,163 @@ +--- +id: 1ptbar-api +name: 1ptbar (API) +description: "1ptbar is a CHINESE Private Torrent Tracker for MOVIES / TV / E-LEARNING" +language: zh-CN +type: private +encoding: UTF-8 +links: + - https://1ptba.com/ + +caps: + categorymappings: + - {id: 401, cat: Movies, desc: "Movie(電影)"} + - {id: 402, cat: TV, desc: "TV Series(電視影劇)"} + - {id: 403, cat: TV, desc: "TV Shows(電視綜藝)"} + - {id: 404, cat: TV/Documentary, desc: "Documentaries(紀錄教育)"} + - {id: 405, cat: TV/Anime, desc: "Animations(卡通動漫)"} + - {id: 406, cat: Audio/Video, desc: "Music Videos(音樂短片/演唱會)"} + - {id: 407, cat: TV/Sport, desc: "Sports(體育賽事)"} + - {id: 408, cat: Audio, desc: "HQ Audio(高品质音频)"} + - {id: 410, cat: PC/0day, desc: "Software(軟體)"} + - {id: 411, cat: PC/Games, desc: "Games(電子遊戲)"} + - {id: 412, cat: Books/EBook, desc: "eBook(電子書)"} + - {id: 409, cat: Other, desc: "Misc(其他)"} + - {id: 610, cat: XXX/x264, desc: "AV(有碼)/HD Censored"} + - {id: 611, cat: XXX/x264, desc: "AV(無碼)/HD Uncensored"} + - {id: 612, cat: XXX/SD, desc: "AV(有碼)/SD Censored"} + - {id: 613, cat: XXX/SD, desc: "AV(無碼)/SD Uncensored"} + - {id: 614, cat: XXX/DVD, desc: "AV(無碼)/DVDiSo Uncensored"} + - {id: 615, cat: XXX/DVD, desc: "AV(有碼)/DVDiSo Censored"} + - {id: 616, cat: XXX/UHD, desc: "AV(有碼)/Blu-Ray Censored"} + - {id: 617, cat: XXX/UHD, desc: "AV(無碼)/Blu-Ray Uncensored"} + - {id: 618, cat: XXX/Pack, desc: "AV(網站)/0Day"} + - {id: 619, cat: XXX/Pack, desc: "IV(寫真影集)/Video Collection"} + - {id: 620, cat: XXX/ImageSet, desc: "IV(寫真圖集)/Picture Collection"} + - {id: 621, cat: XXX/Other, desc: "H-Game(遊戲)"} + - {id: 622, cat: XXX/Other, desc: "H-Anime(動畫)"} + - {id: 623, cat: XXX/Other, desc: "H-Comic(漫畫)"} + - {id: 624, cat: XXX/Other, desc: "Adult film(成人電影)"} + - {id: 625, cat: XXX/Other, desc: "AV(Gay)/HD"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: + - name: apikey + type: text + label: API Token + - name: info_apikey + type: info + label: About your API Token + default: "Find/Generate an API token from your 1ptbar account control panel." + - name: passkey + type: text + label: Passkey + - name: info_passkey + type: info + label: About your Passkey + default: "Find the Passkey from your account control panel." + - name: freeleech + type: checkbox + label: Filter freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: "-id" + options: + "-id": created + "-seeders": seeders + "-size": size + "-times_completed": grabs + - name: info_activity + type: info + label: Account Inactivity + default: "Cherish your user account. Inactive accounts would be deleted based on the following rules:
  1. Veteran User or above would never be deleted.
  2. Elite User or above would never be deleted if parked (at User CP).
  3. Parked accounts would be deleted if users have not logged in for more than 400 days in a row.
  4. Unparked accounts would be deleted if users have not logged in for more than 150 days in a row.
  5. Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.
" + - name: info_special + type: info + label: Special Categories + default: "Only Power User or above can view Special section. Searching for XXX categories by users below this class will result in search errors." + +login: + path: api/v1/torrents + method: get + inputs: + per_page: 1 + error: + - selector: :root:contains("login.php?returnto") + message: + text: "The API token was not accepted by {{ .Config.sitelink }}." + - selector: :root:contains("Unauthenticated") + message: + text: "The API token was not accepted by {{ .Config.sitelink }}." + +search: + paths: + - path: api/v1/torrents + response: + type: json + + headers: + Authorization: ["Bearer {{ .Config.apikey }}"] + + inputs: + $raw: "{{ range .Categories }}&filter[category][in][]={{.}}{{end}}" + "filter[title]": "{{ .Keywords }}" + sorts: "{{ .Config.sort }}" + per_page: 100 + + keywordsfilters: + # the site stores dotted release names but the title filter matches on words + - name: re_replace + args: ["\\.", " "] + + rows: + selector: "data.data{{ if .Config.freeleech }}:not(promotion_info.down_multiplier:contains(1)):not(promotion_info.down_multiplier:contains(.)){{ else }}{{ end }}" + + fields: + category: + selector: category + _id: + selector: id + title: + selector: name + details: + text: "{{ .Config.sitelink }}details.php?id={{ .Result._id }}&hit=1" + download: + text: "{{ .Config.sitelink }}download.php?id={{ .Result._id }}&passkey={{ .Config.passkey }}" + infohash: + selector: hash + poster: + selector: cover + description: + selector: small_descr + size: + selector: size + files: + selector: numfiles + seeders: + selector: seeders + leechers: + selector: leechers + grabs: + selector: times_completed + date: + # 2026-09-19 16:50 + selector: added + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-dd HH:mm zzz" + downloadvolumefactor: + # promotion_info is the EFFECTIVE promotion and accounts for site-wide freeleech events. + # sp_state is only the stored per-torrent promotion, so it reads 1 on a torrent the site has made free. + selector: promotion_info.down_multiplier + uploadvolumefactor: + selector: promotion_info.up_multiplier +# JSON API NexusPHP v1.10.1 2026-02-17 diff --git a/arr/prowlarr/Definitions/1ptbar.yml b/arr/prowlarr/Definitions/1ptbar.yml new file mode 100755 index 0000000..1ca749b --- /dev/null +++ b/arr/prowlarr/Definitions/1ptbar.yml @@ -0,0 +1,210 @@ +--- +id: 1ptbar +name: 1ptbar +description: "1ptbar is a CHINESE Private Torrent Tracker for MOVIES / TV / E-LEARNING" +language: zh-CN +type: private +encoding: UTF-8 +requestDelay: 2 +links: + - https://1ptba.com/ + +caps: + # dont forget to update the path categories in the search block + categorymappings: + - {id: 401, cat: Movies, desc: "Movie(電影)", default: true} + - {id: 402, cat: TV, desc: "TV Series(電視影劇)", default: true} + - {id: 403, cat: TV, desc: "TV Shows(電視綜藝)", default: true} + - {id: 404, cat: TV/Documentary, desc: "Documentaries(紀錄教育)", default: true} + - {id: 405, cat: TV/Anime, desc: "Animations(卡通動漫)", default: true} + - {id: 406, cat: Audio/Video, desc: "Music Videos(音樂短片/演唱會)", default: true} + - {id: 407, cat: TV/Sport, desc: "Sports(體育賽事)", default: true} + - {id: 408, cat: Audio, desc: "HQ Audio(高品质音频)", default: true} + - {id: 410, cat: PC/0day, desc: "Software(軟體)", default: true} + - {id: 411, cat: PC/Games, desc: "Games(電子遊戲)", default: true} + - {id: 412, cat: Books/EBook, desc: "eBook(電子書)", default: true} + - {id: 409, cat: Other, desc: "Misc(其他)", default: true} + - {id: 610, cat: XXX/x264, desc: "AV(有碼)/HD Censored", default: false} + - {id: 611, cat: XXX/x264, desc: "AV(無碼)/HD Uncensored", default: false} + - {id: 612, cat: XXX/SD, desc: "AV(有碼)/SD Censored", default: false} + - {id: 613, cat: XXX/SD, desc: "AV(無碼)/SD Uncensored", default: false} + - {id: 614, cat: XXX/DVD, desc: "AV(無碼)/DVDiSo Uncensored", default: false} + - {id: 615, cat: XXX/DVD, desc: "AV(有碼)/DVDiSo Censored", default: false} + - {id: 616, cat: XXX/UHD, desc: "AV(有碼)/Blu-Ray Censored", default: false} + - {id: 617, cat: XXX/UHD, desc: "AV(無碼)/Blu-Ray Uncensored", default: false} + - {id: 618, cat: XXX/Pack, desc: "AV(網站)/0Day", default: false} + - {id: 619, cat: XXX/Pack, desc: "IV(寫真影集)/Video Collection", default: false} + - {id: 620, cat: XXX/ImageSet, desc: "IV(寫真圖集)/Picture Collection", default: false} + - {id: 621, cat: XXX/Other, desc: "H-Game(遊戲)", default: false} + - {id: 622, cat: XXX/Other, desc: "H-Anime(動畫)", default: false} + - {id: 623, cat: XXX/Other, desc: "H-Comic(漫畫)", default: false} + - {id: 624, cat: XXX/Other, desc: "Adult film(成人電影)", default: false} + - {id: 625, cat: XXX/Other, desc: "AV(Gay)/HD", default: false} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid, doubanid] + movie-search: [q, imdbid, doubanid] + music-search: [q] + book-search: [q] + +settings: + - name: cookie + type: text + label: Cookie + - name: info_cookie + type: info_cookie + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: 4 + options: + 4: created + 7: seeders + 5: size + 1: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - name: info_flaresolverr + type: info_flaresolverr + - name: info_tpp + type: info + label: Results Per Page + default: For best results, change the Torrents per page: setting to 100 on your account profile. + - name: info_activity + type: info + label: Account Inactivity + default: "Cherish your user account. Inactive accounts would be deleted based on the following rules:
  1. Veteran User or above would never be deleted.
  2. Elite User or above would never be deleted if parked (at User CP).
  3. Parked accounts would be deleted if users have not logged in for more than 400 days in a row.
  4. Unparked accounts would be deleted if users have not logged in for more than 150 days in a row.
  5. Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.
" + - name: info_special + type: info + label: Special Categories + default: "Only Power User or above can view Special section. Searching for XXX categories by users below this class will result in search errors." + +login: + # using cookie method because site does a JS call to API/Challenge via JQuery to load response parm required for takelogin.php + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: index.php + selector: a[href="logout.php"] + +search: + paths: + - path: torrents.php + categories: [401, 402, 403, 404, 405, 406, 407, 408, 410, 411, 412, 409] + - path: special.php + categories: [610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625] + inputs: + $raw: "{{ range .Categories }}cat{{.}}=1&{{end}}" + search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}" + # 0 incldead, 1 active, 2 dead + incldead: 0 + # 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30% + spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" + # 0 title, 1 descr, 3 uploader, 4 imdburl + search_area: "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}" + # 0 AND, 2 exact + search_mode: 0 + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" + notnewword: 1 + + rows: + selector: table.torrents > tbody > tr:has(table.torrentname) + + fields: + category: + selector: a[href^="?cat="] + attribute: href + filters: + - name: querystring + args: cat + title_default: + selector: a[href^="details.php?id="] + title: + selector: a[title][href^="details.php?id="] + attribute: title + optional: true + default: "{{ .Result.title_default }}" + details: + selector: a[href^="details.php?id="] + attribute: href + download: + selector: a[href^="download.php?id="] + attribute: href + poster: + selector: img[data-src] + attribute: data-src + imdbid: + # site currently only has a badge and rating, the id is not present. just in case a future update. + selector: a[href*="imdb.com/title/tt"] + attribute: href + doubanid: + # site currently only has a badge and rating, the id is not present. just in case a future update. + selector: a[href*="movie.douban.com/subject/"] + attribute: href + date_elapsed: + # time type: time elapsed (default) + selector: td.rowfollow:nth-last-of-type(6) > span[title] + attribute: title + optional: true + filters: + - name: append + args: " +08:00" + - name: dateparse + args: "yyyy-MM-dd HH:mm:ss zzz" + date_added: + # time added + selector: td.rowfollow:nth-last-of-type(6):not(:has(span)) + optional: true + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-ddHH:mm:ss zzz" + date: + text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}" + size: + selector: td.rowfollow:nth-last-of-type(5) + optional: true + default: 512MB + seeders: + selector: td.rowfollow:nth-last-of-type(4) + optional: true + default: 0 + leechers: + selector: td.rowfollow:nth-last-of-type(3) + optional: true + default: 0 + grabs: + selector: td.rowfollow:nth-last-of-type(2) + optional: true + default: 0 + downloadvolumefactor: + case: + img.pro_free: 0 + img.pro_free2up: 0 + img.pro_50pctdown: 0.5 + img.pro_50pctdown2up: 0.5 + img.pro_30pctdown: 0.3 + "*": 1 + uploadvolumefactor: + case: + img.pro_50pctdown2up: 2 + img.pro_free2up: 2 + img.pro_2up: 2 + "*": 1 + description: + selector: td:nth-child(2) + remove: a, b, font, img, span +# NexusPHP v1.10.1 2026-02-17 diff --git a/arr/prowlarr/Definitions/3dtorrents.yml b/arr/prowlarr/Definitions/3dtorrents.yml new file mode 100755 index 0000000..dd56e76 --- /dev/null +++ b/arr/prowlarr/Definitions/3dtorrents.yml @@ -0,0 +1,170 @@ +--- +id: 3dtorrents +name: 3D Torrents +description: "3D Torrents (3DT) is a Private Torrent Tracker for 3D HD / BLURAY MOVIES" +language: en-US +type: private +encoding: UTF-8 +links: + - http://www.3dtorrents.org/ # site does not support https ERR_CONNECTION_CLOSED + +caps: + categorymappings: + - {id: 14, cat: Movies/SD, desc: "Movies XviD"} + - {id: 15, cat: Movies/DVD, desc: "Movies DVD-R"} + - {id: 11, cat: Movies/HD, desc: "Movies 720p"} + - {id: 13, cat: Movies/HD, desc: "Movies 1080p"} + - {id: 16, cat: Movies/3D, desc: "Movies 3DTV"} + - {id: 17, cat: Movies/BluRay, desc: "Movies Blu-ray"} + - {id: 27, cat: Movies/BluRay, desc: "Movies BD25 Encode"} + - {id: 33, cat: Movies/BluRay, desc: "Movies BD9 AVCHD"} + - {id: 22, cat: Movies, desc: "Movies Home Conversions"} + - {id: 32, cat: Movies, desc: "Movies Bluray MKV Remux"} + - {id: 38, cat: Movies, desc: "Movies Studio Conversion"} + - {id: 39, cat: Movies/3D, desc: "Movies VR 360"} + - {id: 23, cat: Movies/3D, desc: "Movies Evo 3D"} + - {id: 36, cat: Movies/UHD, desc: "Movies 4K UHD Bluray"} + - {id: 37, cat: Movies/UHD, desc: "Movies 4K UHD Encode"} + - {id: 21, cat: PC, desc: "3D Software"} + - {id: 28, cat: XXX, desc: "Adult 720p"} + - {id: 29, cat: XXX, desc: "Adult 1080p"} + - {id: 30, cat: XXX, desc: "Adult Blu-ray"} + - {id: 31, cat: Other, desc: "Misc"} + - {id: 19, cat: Audio, desc: "Audio Packs"} + + modes: + search: [q] + movie-search: [q] + music-search: [q] + +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: freeleech + type: checkbox + label: Filter freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: 3 + options: + 3: created + 5: seeders + 2: title + - name: type + type: select + label: Order requested from site + default: 2 + options: + 1: desc + 2: asc + - name: info + type: info + label: Results Per Page + default: For best results, change the Torrents per page: setting to 100 on your account profile. + - name: info_activity + type: info + label: Account Inactivity + default: "Inactivity grace period is three months which means that if you do not log in to the 3Dtorrents web site for 90 days, your account will be deleted. If you are VIP your will stay until the VIP period is over." + - name: info_captcha + type: info + label: About Captcha + default: "Note that the captcha on the 3Dtorrents login page is Case Sensitive." + +login: + path: index.php?page=login + method: form + form: form + inputs: + uid: "{{ .Config.username }}" + pwd: "{{ .Config.password }}" + captcha: + type: image + selector: img.captcha + input: private_key + error: + - selector: span.errormsg + test: + path: index.php + selector: a[href="logout.php"] + +search: + paths: + - path: index.php + inputs: + $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" + search: "{{ .Keywords }}" + page: torrents + category: 0 + # 0 all, 1 Anaglyph 3D, 2 Side by Side,3 Over Under + 3dformat: 0 + # 0 all, 1 active only, 2 dead only + active: 0 + order: "{{ .Config.sort }}" + by: "{{ .Config.type }}" + + rows: + selector: "table[cellspacing!=\"1\"].lista > tbody > tr:has(a[href^=\"index.php?page=torrents&category=\"]){{ if .Config.freeleech }}:has(img[src=\"images/sign_free.png\"]){{ else }}{{ end }}" + + fields: + category: + selector: a[href^="index.php?page=torrents&category="] + attribute: href + filters: + - name: querystring + args: category + - name: re_replace + args: ["(\\b0\\b)", "31"] + title: + selector: a[href^="index.php?page=torrent-details&id="] + details: + selector: a[href^="index.php?page=torrent-details&id="] + attribute: href + download: + selector: a[href^="index.php?page=torrent-details&id="] + attribute: href + filters: + - name: replace + args: ["index.php?page=torrent-details&id=", "download.php?id="] + poster: + selector: a[href^="index.php?page=torrent-details&id="] + attribute: onmouseover + filters: + - name: regexp + args: ",\\'(.+?)\\'" + genre: + selector: td:nth-child(2) span + description: + text: "{{ .Result.genre }}" + date: + selector: td:nth-last-child(5) + filters: + - name: append + args: " -07:00" # PDT + - name: dateparse + args: "dd/MM/yyyy zzz" + size: + selector: td:nth-last-child(4) + seeders: + selector: a[href^="index.php?page=peers"] + leechers: + selector: td:has(a[href^="index.php?page=peers"]) + td + grabs: + selector: a[href^="index.php?page=torrent_history"] + optional: true + default: 0 + downloadvolumefactor: + case: + img[src="images/sign_free.png"]: 0 + img[src="images/50off.png"]: 0.5 + "*": 1 + uploadvolumefactor: + text: 1 + minimumratio: + text: 1.0 +# xbtit diff --git a/arr/prowlarr/Definitions/3dvault-api.yml b/arr/prowlarr/Definitions/3dvault-api.yml new file mode 100755 index 0000000..d1db16f --- /dev/null +++ b/arr/prowlarr/Definitions/3dvault-api.yml @@ -0,0 +1,183 @@ +--- +id: 3dvault-api +name: 3D Vault (API) +description: "3D Vault is a Private Torrent Tracker for 3D MOVIES" +language: en-US +type: private +encoding: UTF-8 +links: + - https://3dvault.org/ + +caps: + categorymappings: + - {id: 1, cat: Movies, desc: "Movie"} + - {id: 2, cat: TV, desc: "TV Show"} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid, tvdbid, tmdbid] + movie-search: [q, imdbid, tmdbid] + +settings: + - name: apikey + type: text + label: APIKey + - name: info_key + type: info + label: About your API key + default: "Find or Generate a new API Token by accessing your 3D Vault account My Settings page and clicking on the API Key tab." + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: single_file_release_use_filename + type: checkbox + label: Use filename as title for single file releases + default: true + - name: sort + type: select + label: Sort requested from site + default: created_at + options: + created_at: created + seeders: seeders + size: size + name: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + +login: + path: api/torrents + method: get + error: + - selector: a[href*="/login"] + message: + text: "The API key was not accepted by {{ .Config.sitelink }}." + - selector: :root:contains("Account is Banned") + +search: + paths: + # https://hdinnovations.github.io/UNIT3D/torrent_api.html + # https://github.com/HDInnovations/UNIT3D/blob/master/app/Http/Controllers/API/TorrentController.php#L657 + - path: api/torrents/filter + response: + type: json + + headers: + Authorization: ["Bearer {{ .Config.apikey }}"] + + inputs: + # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6 + $raw: "{{ range .Categories }}&categories[]={{.}}{{end}}" + name: "{{ .Keywords }}" + seasonNumber: "{{ .Query.Season }}" + episodeNumber: "{{ .Query.Ep }}" + imdbId: "{{ .Query.IMDBIDShort }}" + tmdbId: "{{ .Query.TMDBID }}" + tvdbId: "{{ .Query.TVDBID }}" + "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}" + sortField: "{{ .Config.sort }}" + sortDirection: "{{ .Config.type }}" + perPage: 100 + + keywordsfilters: + - name: re_replace + args: ["\\.", " "] + + rows: + selector: data + attribute: attributes + + fields: + category: + selector: category_id + title_optional: + selector: name + title_filename: + selector: "files[0].name" + optional: true + files: + selector: num_file + title: + text: "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}" + details: + selector: details_link + download: + selector: download_link + poster: + selector: meta.poster + filters: + - name: replace + args: ["https://via.placeholder.com/90x135", ""] + imdbid: + selector: imdb_id + tmdbid: + selector: tmdb_id + tvdbid: + selector: tvdb_id + genre: + selector: meta.genres + filters: + - name: re_replace + args: ["(?i)(Science Fiction)", "Science_Fiction"] + - name: re_replace + args: [" & ", "_&_"] + _internal: + selector: internal + case: + False: "{{ .False }}" + True: "{{ .True }}" + description: + text: "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}" + seeders: + selector: seeders + leechers: + selector: leechers + grabs: + selector: times_completed + date: + # "created_at": "2021-10-18T00:34:50.000000Z" is returned by Newtonsoft.Json.Linq as 18/10/2021 00:34:50 + selector: created_at + filters: + - name: append + args: " +00:00" # GMT + - name: dateparse + args: "MM/dd/yyyy HH:mm:ss zzz" + size: + selector: size + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: + # api returns 0%, 25%, 50%, 75%, 100% + selector: freeleech + case: + 0%: 1 # not free + 25%: 0.75 + 50%: 0.5 + 75%: 0.25 + 100%: 0 # freeleech + "*": 0 # catch errors + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: + # api returns False, True + selector: double_upload + case: + False: 1 # normal + True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" + minimumratio: + text: 1.0 + minimumseedtime: + # 2 days (as seconds = 2 x 24 x 60 x 60) + text: 172800 +# json UNIT3D 9.2.0 diff --git a/arr/prowlarr/Definitions/4thd.yml b/arr/prowlarr/Definitions/4thd.yml new file mode 100755 index 0000000..aaa1801 --- /dev/null +++ b/arr/prowlarr/Definitions/4thd.yml @@ -0,0 +1,149 @@ +--- +id: 4thd +name: 4thD +description: "4th Dimension is a Private Torrent Tracker for MOVIES / TV / GENERAL" +language: en-US +encoding: UTF-8 +type: private +links: + - https://4thd.xyz/ + +caps: + categorymappings: + - {id: 38, cat: Movies, desc: "Movie Pack"} + - {id: 36, cat: Movies, desc: "Movies/Classic Films"} + - {id: 13, cat: Movies, desc: "Movies/Documentary"} + - {id: 21, cat: Movies/Foreign, desc: "Movies/Foreign"} + - {id: 27, cat: Movies/HD, desc: "MoviesHD"} + - {id: 29, cat: Movies/SD, desc: "Movies/SD"} + - {id: 26, cat: Movies/SD, desc: "Movies/XviD"} + - {id: 45, cat: Movies, desc: "Movies/Kids"} + - {id: 41, cat: TV/Foreign, desc: "Foreign tv"} + - {id: 40, cat: TV, desc: "Mini-Series"} + - {id: 43, cat: TV/HD, desc: "TV H265"} + - {id: 42, cat: TV, desc: "TV Movie"} + - {id: 4, cat: TV/HD, desc: "TV/HD-x720"} + - {id: 14, cat: TV, desc: "TV/Packs"} + - {id: 2, cat: TV/SD, desc: "TV/SD MP4/mkv"} + - {id: 31, cat: TV/SD, desc: "TV/XviD"} + - {id: 18, cat: PC/Games, desc: "Games/PC"} + - {id: 44, cat: Audio, desc: "Music/Pack"} + - {id: 12, cat: Audio/Lossless, desc: "Music/FLAC"} + - {id: 15, cat: Audio/MP3, desc: "Music/MP3"} + - {id: 37, cat: Audio, desc: "Radio"} + - {id: 9, cat: PC/0day, desc: "Apps/PC"} + - {id: 34, cat: Audio/Audiobook, desc: "Audiobooks"} + - {id: 25, cat: Books/EBook, desc: "eBooks"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: time + options: + time: created + seeders: seeders + size: size + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + +login: + path: login.php + method: form + form: form#loginform + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + keeplogged: 1 + error: + - selector: form#loginform .warning + test: + path: index.php + selector: a[href^="logout.php?auth="] + +search: + paths: + # https://4thd.xyz/torrents.php?order_by=time&order_way=desc&filter_freeleech=1&title=twilight+zone&search_type=1&taglist=&tags_type=0 + - path: torrents.php + inputs: + $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" + order_by: "{{ .Config.sort }}" + order_way: "{{ .Config.type }}" + # 0 all, 1 onlyfree + filter_freeleech: "{{ if .Config.freeleech }}1{{ else }}0{{ end }}" + title: "{{ .Keywords }}" + search_type: 1 + taglist: "" + tags_type: 0 + + rows: + selector: table#torrent_table > tbody > tr.torrent:has(a[href^="torrents.php?action=download&id="]) + + fields: + category: + selector: td.cats_col div a + attribute: href + filters: + - name: regexp + args: \[(\d+)\] + title: + selector: a[href^="torrents.php?id="] + details: + selector: a[href^="torrents.php?id="] + attribute: href + download: + selector: a[href^="torrents.php?action=download&id="] + attribute: href + description: + selector: div.tags + poster: + selector: td:nth-child(2) script + filters: + - name: regexp + args: "src=(.*?)>" + - name: re_replace + args: ["\\\\", ""] + files: + selector: td:nth-child(3) + date: + selector: td:nth-child(5) + filters: + - name: replace + args: ["Never", "99 years ago"] + size: + selector: td:nth-child(6) + grabs: + selector: td:nth-child(7) + seeders: + selector: td:nth-child(8) + leechers: + selector: td:nth-child(9) + downloadvolumefactor: + case: + img[src$="/freedownload.gif"]: 0 + "*": 1 + uploadvolumefactor: + text: 1 +# Engine n/a diff --git a/arr/prowlarr/Definitions/52bt.yml b/arr/prowlarr/Definitions/52bt.yml new file mode 100755 index 0000000..539d07b --- /dev/null +++ b/arr/prowlarr/Definitions/52bt.yml @@ -0,0 +1,131 @@ +--- +id: 52bt +name: 52BT +description: "52BT is a Public tracker for MOVIES / TV / MUSIC / GENERAL" +language: en-US +type: public +encoding: UTF-8 +requestDelay: 2 +links: + # Send any content to 52btbtbt@gmail.com to get the latest address. or visit https://www.52btbt.icu/ + - https://71zlavfb.529075.xyz/ + - https://ft28p1q8.529076.xyz/ +legacylinks: + - https://www.52btbt.icu/ # latest address page + - https://q0nw83uf.529075.xyz/ + - https://ifz487ay.529076.xyz/ + - https://0uymtmbw.529075.xyz/ + - https://sftmtj84.529076.xyz/ + - https://df1vkh27.529075.xyz/ + - https://uld0z50p.529076.xyz/ + - https://efn74pwm.529075.xyz/ + - https://l5vuntoi.529076.xyz/ + - https://jsrtlgzx.529075.xyz/ + - https://4iua2ymm.529076.xyz/ + - https://6yxm6rs4.529075.xyz/ + - https://acjpmc4q.529076.xyz/ + - https://b66htcsm.529075.xyz/ + - https://2qvpkvjj.529076.xyz/ + - https://kniqgmy2.529075.xyz/ + - https://h38jny4v.529076.xyz/ + - https://0i8durjc.529075.xyz/ + - https://ytow713o.529076.xyz/ + - https://wk98up47.529075.xyz/ + - https://8nxcbp6u.529076.xyz/ + +caps: + categorymappings: + - {id: Video, cat: TV, desc: Video} + - {id: Video, cat: Movies, desc: Video} + - {id: Music, cat: Audio, desc: Music} + - {id: Images, cat: Other, desc: Images} + - {id: Documents, cat: Books, desc: Documents} + - {id: Archives, cat: Other, desc: Archives} + - {id: Apps, cat: PC, desc: Apps} + - {id: Other, cat: Other, desc: Other} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: + - name: cat-id + type: select + label: Category + default: 0 + options: + 0: All categories + 1: Film and Television + 2: Music + 3: Images + 4: Books + 5: Zip Files + 6: Software + 7: Other + - name: sort + type: select + label: Sort requested from site + default: 2 + options: + 2: created + 1: size + 0: relevance + - name: info_flaresolverr + type: info_flaresolverr + +search: + paths: + - path: "search-{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}-{{ .Config.cat-id }}-{{ .Config.sort }}-1.html?lang=en" + - path: "search-{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}-{{ .Config.cat-id }}-{{ .Config.sort }}-2.html?lang=en" + error: + - selector: :root:contains("Internal Server Error") + + rows: + selector: article.resource-card + + fields: + categorydesc: + selector: a[href^="/hash/"] span + filters: + - name: replace + args: ["【", ""] + - name: replace + args: ["】", ""] + title: + selector: a[href^="/hash/"] + remove: span + details: + selector: a[href^="/hash/"] + attribute: href + infohash: + selector: a[href^="/hash/"] + attribute: href + filters: + - name: regexp + args: ([A-F|a-f|0-9]{40}) + date: + selector: div.meta span:nth-child(1) + filters: + - name: replace + args: ["Added:", ""] + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-dd zzz" + size: + selector: div.meta span:nth-child(2) + filters: + - name: replace + args: ["Size:", ""] + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a diff --git a/arr/prowlarr/Definitions/52pt.yml b/arr/prowlarr/Definitions/52pt.yml new file mode 100755 index 0000000..ba8aa4d --- /dev/null +++ b/arr/prowlarr/Definitions/52pt.yml @@ -0,0 +1,181 @@ +--- +id: 52pt +name: 52PT +description: "52PT is a CHINESE Private Torrent Tracker for HD MOVIES / TV" +language: zh-CN +type: private +encoding: UTF-8 +links: + - https://52pt.site/ + +caps: + categorymappings: + - {id: 401, cat: Movies, desc: "Movies/电影"} + - {id: 404, cat: TV/Documentary, desc: "Documentaries/纪录片"} + - {id: 405, cat: TV/Anime, desc: "Animations/动漫"} + - {id: 402, cat: TV, desc: "TV Series/剧集"} + - {id: 403, cat: TV, desc: "TV Shows/综艺"} + - {id: 406, cat: Audio/Video, desc: "MusicVideo/音乐MV"} + - {id: 407, cat: TV/Sport, desc: "Sports/运体"} + - {id: 409, cat: Other, desc: "Misc/其他"} + - {id: 410, cat: Other, desc: "Opera/戏曲 曲艺"} + - {id: 408, cat: Audio, desc: "HQ Audio/无损音乐"} + - {id: 411, cat: XXX, desc: "Erotic/情色"} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid, doubanid] + movie-search: [q, imdbid, doubanid] + music-search: [q] + +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: 4 + options: + 4: created + 7: seeders + 5: size + 1: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - name: info_tpp + type: info + label: Results Per Page + default: For best results, change the Torrents per page: setting to 100 on your account profile. + - name: info_activity + type: info + label: Account Inactivity + default: "Account retention rules:
  1. Veteran User (junior college) and above will be retained forever
  2. Elite User (junior high school) and above will not be deleted after parking (in the control panel)
  3. Users with a parked account who do not log in for 400 consecutive days will be deleted
  4. Users with non-parked account will be deleted if they do not log in for 150 consecutive days
  5. Users with no traffic (that is, upload/download data are both 0) will be deleted if they do not log in for 15 consecutive days, or if the registration time reaches 60 days.
" + +login: + path: login.php + method: form + form: form[action="takelogin.php"] + captcha: + type: image + selector: img[alt="CAPTCHA"] + input: imagestring + inputs: + secret: "" + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + logout: "" + securelogin: "" + ssl: yes + trackerssl: yes + error: + - selector: td.embedded:has(h2:contains("失败")) + test: + path: index.php + selector: a[href="usercp.php"] + +search: + paths: + - path: torrents.php + inputs: + $raw: "{{ range .Categories }}cat{{.}}=1&{{end}}" + # currently supports only one query id at one time. + search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}" + # 0 incldead, 1 active, 2 dead + incldead: 0 + # 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30% + spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" + # 0 title, 1 descr, 3 uploader, 4 imdburl + search_area: "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}" + # 0 AND, 1 OR, 2 exact + search_mode: 0 + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" + notnewword: 1 + # does not return imdb or doubanid in results + + rows: + selector: table.torrents > tbody > tr:has(a[href^="download.php?id="]) + + fields: + category: + selector: a[href^="?cat="] + attribute: href + filters: + - name: querystring + args: cat + title_default: + selector: a[href^="details.php?id="] + title: + selector: a[title][href^="details.php?id="] + attribute: title + optional: true + default: "{{ .Result.title_default }}" + details: + selector: a[href^="details.php?id="] + attribute: href + download: + selector: a[href^="download.php?id="] + attribute: href + date_elapsed: + # time type: time elapsed (default) + selector: td:nth-child(4) > span[title] + attribute: title + optional: true + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-dd HH:mm:ss zzz" + date_added: + # time added + selector: td:nth-child(4):not(:has(span)) + optional: true + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-ddHH:mm:ss zzz" + date: + text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}" + size: + selector: td:nth-child(5) + seeders: + selector: td:nth-child(6) + leechers: + selector: td:nth-child(7) + grabs: + selector: td:nth-child(8) + downloadvolumefactor: + case: + img.pro_free: 0 + img.pro_free2up: 0 + img.pro_50pctdown: 0.5 + img.pro_50pctdown2up: 0.5 + img.pro_30pctdown: 0.3 + "*": 1 + uploadvolumefactor: + case: + img.pro_50pctdown2up: 2 + img.pro_free2up: 2 + img.pro_2up: 2 + "*": 1 + minimumseedtime: + # 1 day (as seconds = 24 x 60 x 60) + 1 + text: 86401 + description: + selector: td:nth-child(2) + remove: a, b, font, img, span +# NexusPHP Standard v1.5 Beta 4 diff --git a/arr/prowlarr/Definitions/Bittorrentfiles.yml b/arr/prowlarr/Definitions/Bittorrentfiles.yml new file mode 100755 index 0000000..e32f12f --- /dev/null +++ b/arr/prowlarr/Definitions/Bittorrentfiles.yml @@ -0,0 +1,241 @@ +--- +id: Bittorrentfiles +name: Bittorrentfiles +description: "Bittorrentfiles is a Private GERMAN Torrent Tracker for MOVIES / TV / GENERAL" +language: de-DE +type: private +encoding: UTF-8 +links: + - https://bittorrentfiles.me/ +legacylinks: + - https://www.Bittorrentfiles.me/ + +caps: + categorymappings: + # Movie + - {id: 48, cat: Movies/HD, desc: "Movie 1080p"} + - {id: 31, cat: Movies/3D, desc: "Movie 3D"} + - {id: 21, cat: Movies/HD, desc: "Movie 720p"} + - {id: 28, cat: Movies/SD, desc: "Movie AVI"} + - {id: 20, cat: Movies/DVD, desc: "Movie DVD-R"} + - {id: 40, cat: Movies/HD, desc: Movie "h264/x264"} + - {id: 30, cat: Movies/HD, desc: "Movie HD/BD"} + - {id: 49, cat: Movies/Foreign, desc: "Movie International"} + - {id: 78, cat: Movies/UHD, desc: "Movie UHD"} + - {id: 85, cat: Movies/HD, desc: "Movie x265"} + # Serien + - {id: 79, cat: TV/HD, desc: "Staffeln HD"} + - {id: 56, cat: TV/SD, desc: "Staffeln SD"} + - {id: 88, cat: TV/UHD, desc: "Staffeln UHD"} + - {id: 86, cat: TV/UHD, desc: "Folgen UHD"} + - {id: 54, cat: TV/HD, desc: "Folgen HD"} + - {id: 80, cat: TV/HD, desc: "Folgen HD/BD"} + - {id: 7, cat: TV/SD, desc: "Folgen SD"} + - {id: 55, cat: TV/Foreign, desc: "Folgen International"} + # Doku + - {id: 91, cat: TV/Documentary, desc: "Doku UHD"} + - {id: 64, cat: TV/Documentary, desc: "Doku HD"} + - {id: 36, cat: TV/Documentary, desc: "Doku SD"} + - {id: 81, cat: TV/Documentary, desc: "Doku 3D"} + - {id: 82, cat: TV/Documentary, desc: "Doku Packs"} + # Spiele + - {id: 4, cat: PC/Games, desc: "Spiele Windows"} + - {id: 92, cat: PC/Mac, desc: "Spiele Mac"} + - {id: 93, cat: PC, desc: "Spiele Linux"} + - {id: 97, cat: Console/XBox, desc: "Spiele XBOX"} + - {id: 94, cat: PC/Mobile-Other, desc: "Spiele Mobile"} + - {id: 95, cat: Console/NDS, desc: "Spiele Nintendo"} + - {id: 96, cat: Console/PSP, desc: "Spiele Playstation"} + - {id: 42, cat: Console/Other, desc: "Spiele Andere"} + # Musik + - {id: 66, cat: Audio, desc: "Musik Alben"} + - {id: 75, cat: Audio, desc: "Musik Singles"} + - {id: 50, cat: Audio, desc: "Musik Charts"} + - {id: 52, cat: Audio, desc: "Musik Packs"} + - {id: 53, cat: Audio/Video, desc: "Musik Video"} + - {id: 61, cat: Audio/Video, desc: "Musik DVD-R"} + - {id: 83, cat: Audio/Lossless, desc: "Musik Flac"} + - {id: 68, cat: Audio, desc: "Musik Live"} + - {id: 6, cat: Audio, desc: "Musik Misc"} + - {id: 51, cat: Audio, desc: "Musik OST"} + - {id: 67, cat: Audio, desc: "Musik Sampler"} + # App + - {id: 98, cat: PC/0day, desc: "App Windows"} + - {id: 62, cat: PC/Mac, desc: "App Mac OS"} + - {id: 63, cat: PC/0day, desc: "App Linux"} + - {id: 34, cat: PC, desc: "App Andere"} + # Sport + - {id: 74, cat: TV/Sport, desc: "Sport HD"} + - {id: 39, cat: TV/Sport, desc: "Sport SD"} + # Sonstiges + - {id: 41, cat: Audio/Audiobook, desc: "Sonstiges A-Book"} + - {id: 33, cat: TV/Anime, desc: "Sonstiges Anime"} + - {id: 35, cat: Books/EBook, desc: "Sonstiges e-Book-DE"} + - {id: 90, cat: Books/EBook, desc: "Sonstiges e-Book-INT"} + - {id: 65, cat: Other, desc: "Sonstiges E-Learning"} + - {id: 37, cat: PC, desc: "Sonstiges Mobile"} + - {id: 87, cat: Books/Mags, desc: "Sonstiges E-Paper"} + - {id: 38, cat: Other, desc: "Sonstiges Kids"} + - {id: 47, cat: Other, desc: "Sonstiges Line"} + - {id: 9, cat: Other, desc: "Sonstiges Andere"} + # XXX + - {id: 58, cat: XXX/x264, desc: "XXX HD"} + - {id: 46, cat: XXX, desc: "XXX Hentai"} + - {id: 59, cat: XXX/Pack, desc: "XXX Pack"} + - {id: 27, cat: XXX/SD, desc: "XXX SD"} + - {id: 76, cat: XXX, desc: "XXX Andere"} + - {id: 100, cat: XXX/UHD, desc: "XXX UHD"} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid] + movie-search: [q, imdbid] + music-search: [q] + book-search: [q] + +settings: + - name: user + type: text + label: Username + - name: pass + type: password + label: Password + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: added + options: + added: created + seeds: seeders + size: size + name: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - name: info_account + type: info + label: Account Settings + default: In order to see the correct date and size in the torrent rows, change the Torrentliste: setting to Modern on your account profile. + - name: info_tpp + type: info + label: Results Per Page + default: For best results, change the Torrents per page: setting to 100 on your account profile. + - name: info_activity + type: info + label: Account Inactivity + default: "Inactive accounts of users, power users and mega users will be permanently deleted from the database after 125 days! Torrents in your share don't count as activity - only logging in again counts! You can extend this period to 250 days by setting your account to parking. You can find the option to do this under Edit Profile." + +login: + path: signin.php + method: post + inputs: + user: "{{ .Config.user }}" + pass: "{{ .Config.pass }}" + returnto: "%2Fbrowse.php" + error: + - selector: .error + test: + path: index.php + selector: a[href^="/logout.php?c="] + +search: + path: browse.php + inputs: + $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" + search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" + # 0=title, 1=descr, 2=nfo, 3=all, 4=imdb + search_where: "{{ if .Query.IMDBID }}3{{ else }}0{{ end }}" + # 0=active, 1=all, 2=onlydead, 4=only upload, 5=doubleup, 6=halfdown, 7=highlight, 8=request + status: "{{ if .Config.freeleech }}4{{ else }}1{{ end }}" + orderby: "{{ .Config.sort }}" + sort: "{{ .Config.type }}" + + rows: + selector: table.tableinborder > tbody > tr:has(a[href^="/download.php"]) + + fields: + category: + selector: a[href^="/browse.php?cat="] + attribute: href + filters: + - name: querystring + args: cat + title: + selector: a[href^="details.php"] + attribute: title + details: + selector: a[href^="details.php"] + attribute: href + download: + selector: a[href^="/download.php"] + attribute: href + grabs: + selector: a[title="Snatcher"] + optional: true + default: 0 + files: + selector: a[title="Files"] + optional: true + default: 0 + size: + selector: td:nth-child(6) + seeders: + selector: a[title="Seeder"] + optional: true + default: 0 + leechers: + selector: a[title="Leecher"] + optional: true + default: 0 + # 2 flavours of dates + date_day: + # Heute 13:30:04 + # Gestern 09:10:10 + selector: td:nth-child(10):contains("Heute"), td:nth-child(10):contains("Gestern") + optional: true + filters: + - name: split + args: ["b", 0] + - name: replace + args: ["Heute", "Today"] + - name: replace + args: ["Gestern", "Yesterday"] + - name: append + args: "+01:00" # CET + date_year: + # 30.02.2018 23:12:50 + selector: td:nth-child(10):contains("."):contains(":") + optional: true + filters: + - name: split + args: ["b", 0] + - name: append + args: "+01:00" # CET + - name: dateparse + args: "dd.MM.yyyy HH:mm:ss zzz" + date: + text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}" + downloadvolumefactor: + case: + img[alt="OU"]: 0 + img[alt="D/2"]: 0.5 + img[alt="D / 2"]: 0.5 + "*": 1 + uploadvolumefactor: + case: + img[alt="2xU"]: 2 + "*": 1 + minimumratio: + text: 0.8 + minimumseedtime: + # 60 hours (as seconds = 60 x 60 x 60) + text: 216000 +# engine n/a diff --git a/arr/prowlarr/Definitions/abnormal-api.yml b/arr/prowlarr/Definitions/abnormal-api.yml new file mode 100755 index 0000000..a6e3fa2 --- /dev/null +++ b/arr/prowlarr/Definitions/abnormal-api.yml @@ -0,0 +1,175 @@ +--- +id: abnormal-api +name: Abnormal (API) +description: "ABNormal (ABN) is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL" +language: fr-FR +type: private +encoding: UTF-8 +requestDelay: 2.1 +links: + - https://abn.lol/ +legacylinks: + - https://abnormal.ws + +caps: + categorymappings: + - {id: 1, cat: TV, desc: "Series"} + - {id: 2, cat: Movies, desc: "Movies"} + - {id: 3, cat: TV/Documentary, desc: "Documentaries"} + - {id: 4, cat: TV/Anime, desc: "Anime"} + - {id: 5, cat: PC/Games, desc: "Games"} + - {id: 6, cat: PC, desc: "Applications"} + - {id: 7, cat: Books/EBook, desc: "Ebooks"} + - {id: 9, cat: TV, desc: "Emissions"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + book-search: [q] + +settings: + - name: apikey + type: text + label: APIKey + - name: info_key + type: info + label: About your API key + default: "Find your API key on your Parameters page. The API key is read-only and never expires." + - name: apiurl + label: API URL + type: text + default: api.abn.lol + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: multilang + type: checkbox + label: Replace MULTi by another language in release name + default: false + - name: multilanguage + type: select + label: Replace MULTi by this language + default: FRENCH + options: + FRENCH: FRENCH + MULTi.FRENCH: MULTi.FRENCH + ENGLISH: ENGLISH + MULTi.ENGLISH: MULTi.ENGLISH + VOSTFR: VOSTFR + MULTi.VOSTFR: MULTi.VOSTFR + - name: vostfr + type: checkbox + label: Replace VOSTFR and SUBFRENCH with ENGLISH + default: false + - name: sort + type: select + label: Sort requested from site + default: Created + options: + Created: created + Seeders: seeders + Size: size + ReleaseName: title + - name: type + type: select + label: Order requested from site + default: DESC + options: + DESC: desc + ASC: asc + - name: info_activity + type: info + label: Account Inactivity + default: "Accounts are automatically deactivated after 4 months of inactivity (no connection to the site)." + +login: + path: "https://{{ .Config.apiurl }}/api/Release/Search?name=test&resultByPage=1" + method: get + error: + - selector: :root:contains("Unauthorized") + message: + text: "The API key was not accepted by {{ .Config.sitelink }}." + +search: + paths: + - path: "https://{{ .Config.apiurl }}/api/Release/Search" + response: + type: json + + headers: + Authorization: ["Bearer {{ .Config.apikey }}"] + + inputs: + $raw: "{{ range .Categories }}categoryId={{.}}&{{end}}" + name: "{{ .Keywords }}" + resultByPage: 100 + sort: "{{ .Config.sort }}" + sortDirection: "{{ .Config.type }}" + freeleech: "{{ if .Config.freeleech }}true{{ else }}{{ end }}" + + keywordsfilters: + - name: re_replace + args: ["\\.", " "] + + rows: + selector: $ + + fields: + category: + selector: categoryId + title_phase1: + selector: name + title_vostfr: + text: "{{ .Result.title_phase1 }}" + filters: + - name: re_replace + args: ["(?i)\\b(vostfr|subfrench)\\b", "ENGLISH"] + title_phase2: + text: "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}" + title_multilang: + text: "{{ .Result.title_phase2 }}" + filters: + - name: re_replace + args: ["(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b", "{{ .Config.multilanguage }}"] + title: + text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}" + _id: + selector: id + details: + # api returns https://api.abn.lol/api/Release/671444 which is not valid for browsing + text: "{{ .Config.sitelink }}Torrent/Details?ReleaseId={{ .Result._id }}" + download: + selector: downloadUrl + infohash: + selector: infoHash + date: + # created": "2026-03-07T06:59:22.137408" is returned by Newtonsoft.Json.Linq as 03/07/2026 06:59:22 + selector: created + filters: + - name: append + args: " +01:00" # CET + - name: dateparse + args: "MM/dd/yyyy HH:mm:ss zzz" + size: + selector: size + seeders: + selector: seeders + leechers: + selector: leechers + grabs: + selector: completed + downloadvolumefactor: + selector: freeleech + case: + False: 1 # not free + True: 0 # freeleech + uploadvolumefactor: + text: 1 + minimumratio: + text: 1.0 + minimumseedtime: + # 4 days (as seconds = 4 x 24 x 60 x 60) + text: 345600 +# JSON diff --git a/arr/prowlarr/Definitions/abtorrents.yml b/arr/prowlarr/Definitions/abtorrents.yml new file mode 100755 index 0000000..6b61bee --- /dev/null +++ b/arr/prowlarr/Definitions/abtorrents.yml @@ -0,0 +1,194 @@ +--- +id: abtorrents +replaces: + - audiobooktorrents +name: ABtorrents +description: "ABtorrents (ABT) is a Private Torrent Tracker for AUDIOBOOKS" +language: en-US +type: private +encoding: UTF-8 +links: + - https://usefultrash.net/ +legacylinks: + - https://abtorrents.me/ + - https://abtorrents.xyz/ + +caps: + categorymappings: + - {id: 10, cat: Audio/Audiobook, desc: "Action & Adventure"} + - {id: 80, cat: Audio/Audiobook, desc: "Adult & Erotica"} + - {id: 20, cat: Audio/Audiobook, desc: "Biography & Memoirs"} + - {id: 30, cat: Audio/Audiobook, desc: "Business"} + - {id: 40, cat: Audio/Audiobook, desc: "Childrens"} + - {id: 70, cat: Audio/Audiobook, desc: "Computers"} + - {id: 260, cat: Audio/Audiobook, desc: "Crime & Thriller"} + - {id: 90, cat: Audio/Audiobook, desc: "Fantasy-General"} + - {id: 100, cat: Audio/Audiobook, desc: "Fantasy-Youth"} + - {id: 130, cat: Audio/Audiobook, desc: "General Fiction"} + - {id: 140, cat: Audio/Audiobook, desc: "Historical Fiction"} + - {id: 150, cat: Audio/Audiobook, desc: "History"} + - {id: 160, cat: Audio/Audiobook, desc: "Horror"} + - {id: 50, cat: Audio/Audiobook, desc: "Humor (Comedy)"} + - {id: 170, cat: Audio/Audiobook, desc: "Literature"} + - {id: 175, cat: Audio/Audiobook, desc: "LitRPG"} + - {id: 180, cat: Audio/Audiobook, desc: "Mystery"} + - {id: 190, cat: Audio/Audiobook, desc: "Nonfiction"} + - {id: 215, cat: Audio/Audiobook, desc: "Paranormal Romance"} + - {id: 200, cat: Audio/Audiobook, desc: "Radio Drama"} + - {id: 205, cat: Audio/Audiobook, desc: "Reference & Educational"} + - {id: 207, cat: Audio/Audiobook, desc: "Religion & Spirituality"} + - {id: 210, cat: Audio/Audiobook, desc: "Romance"} + - {id: 240, cat: Audio/Audiobook, desc: "Sci-Fi Apocalypse"} + - {id: 220, cat: Audio/Audiobook, desc: "Science"} + - {id: 230, cat: Audio/Audiobook, desc: "Science Fiction"} + - {id: 250, cat: Audio/Audiobook, desc: "Self Improvement"} + - {id: 265, cat: Audio/Audiobook, desc: "Sports & Fitness"} + - {id: 270, cat: Audio/Audiobook, desc: "Suspense"} + - {id: 280, cat: Audio/Audiobook, desc: "Talk Radio"} + - {id: 285, cat: Audio/Audiobook, desc: "Travel"} + - {id: 290, cat: Audio/Audiobook, desc: "Urban Fantasy & Paranormal"} + - {id: 300, cat: Audio/Audiobook, desc: "Western"} + - {id: 310, cat: Audio/Audiobook, desc: "Young Adult"} + - {id: 400, cat: Books/EBook, desc: "[E] Action & Adventure"} + - {id: 410, cat: Books/EBook, desc: "[E] Adult & Erotica"} + - {id: 420, cat: Books/EBook, desc: "[E] Arts & Crafts (Hobbies)"} + - {id: 430, cat: Books/EBook, desc: "[E] Biography & Memoirs"} + - {id: 435, cat: Books/EBook, desc: "[E] Business"} + - {id: 720, cat: Books/EBook, desc: "[E] Childrens"} + - {id: 450, cat: Books/EBook, desc: "[E] Computer Learning"} + - {id: 460, cat: Books/EBook, desc: "[E] Cookery"} + - {id: 470, cat: Books/EBook, desc: "[E] Crime & Thriller"} + - {id: 480, cat: Books/EBook, desc: "[E] Fantasy"} + - {id: 490, cat: Books/EBook, desc: "[E] Fantasy-Youth"} + - {id: 500, cat: Books/EBook, desc: "[E] General Fiction"} + - {id: 510, cat: Books/EBook, desc: "[E] Historical Fiction"} + - {id: 520, cat: Books/EBook, desc: "[E] History & Documentary"} + - {id: 530, cat: Books/EBook, desc: "[E] Horror"} + - {id: 540, cat: Books/EBook, desc: "[E] Humor (Comedy)"} + - {id: 560, cat: Books/EBook, desc: "[E] Literary Fiction"} + - {id: 565, cat: Books/EBook, desc: "[E] LitRPG"} + - {id: 570, cat: Books/EBook, desc: "[E] Mystery"} + - {id: 580, cat: Books/EBook, desc: "[E] Nonfiction"} + - {id: 590, cat: Books/EBook, desc: "[E] Paranormal Romance"} + - {id: 600, cat: Books/EBook, desc: "[E] Reference & Educational"} + - {id: 610, cat: Books/EBook, desc: "[E] Religion & Spirituality"} + - {id: 620, cat: Books/EBook, desc: "[E] Romance"} + - {id: 630, cat: Books/EBook, desc: "[E] Sci-Fi"} + - {id: 640, cat: Books/EBook, desc: "[E] Sci-Fi & Apocalyptic"} + - {id: 645, cat: Books/EBook, desc: "[E] Science"} + - {id: 650, cat: Books/EBook, desc: "[E] Self-Help"} + - {id: 660, cat: Books/EBook, desc: "[E] Sports & Fitness"} + - {id: 665, cat: Books/EBook, desc: "[E] Suspense"} + - {id: 670, cat: Books/EBook, desc: "[E] Travel"} + - {id: 690, cat: Books/EBook, desc: "[E] Urban Fantasy & Paranormal"} + - {id: 700, cat: Books/EBook, desc: "[E] Western"} + - {id: 710, cat: Books/EBook, desc: "[E] Young Adult"} + + modes: + search: [q] + book-search: [q] + +settings: + - name: cookie + type: text + label: Cookie + - name: info_cookie + type: info_cookie + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: info_results + type: info + label: Search results + default: "If you are getting the error Login Failed, got redirected then access the site with your browser and mark as read all PMs." + - name: info_activity + type: info + label: Account Inactivity + default: "Account retention rules:
  1. Any account that has unread PMs older than 14 days or has not logged in for 30 days will be suspended
  2. Any account that has not been logged into for 90 days is deemed inactive and will thus be purged
  3. Any account that has not been logged into for 30 days is deemed inactive and will be put on suspension until User logs in again
  4. User’s stats, points, and history are irrevocably lost when purged
  5. Logging into the site is the ONLY way to keep an account active
  6. SEEDING ONLY does NOT constitute site activity.
" + +login: + # using cookie method because login page simplecaptcha generates Exception: Cannot access child value on Newtonsoft.Json.Linq.JValue. + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: index.php + selector: a[href*="logout.php?hash_please="] + +search: + paths: + - path: browse.php + inputs: + $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" + search: "{{ .Keywords }}" + # title, descr, series, additional_info, author, author, uploader + searchin: title + # 0 active, 1 incldead, 2 onlydead, 3 My Unsatisfied Torrents, 4 My Watch List, 5 My Uploads + incldead: 1 + # 0 All Torrents, 1 Only Free Torrents + only_free: "{{ if .Config.freeleech }}1{{ else }}0{{ end }}" + + rows: + selector: table.browse.table.striped > tbody > tr:has(a[href^="download.php?torrent="]) + + fields: # some users (rank specific?) have an extra column (td:nth-child(4)) with bookmark features + category: + selector: a[href^="browse.php?cat="] + attribute: href + filters: + - name: querystring + args: cat + title: + selector: a[href^="details.php?id="] + remove: span.has-text-red + details: + selector: a[href^="details.php?id="] + attribute: href + download: + selector: a[href^="download.php?torrent="] + attribute: href + poster: + selector: img[src^="/img.php?"] + attribute: src + files: + selector: a[href^="filelist.php?id="] + date_day: + # auto adjusted by site account profile + # Yesterday 6:00 AM + selector: td:nth-last-child(2) > div:contains("day") + optional: true + filters: + - name: fuzzytime + date_year: + # auto adjusted by site account profile + # Aug 6 2021 7:25 PM + selector: td:nth-last-child(2) > div:not(:contains("day")) + optional: true + filters: + - name: dateparse + args: "MMM d yyyyh:mm tt" + date: + text: "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}" + size: + selector: td:nth-last-child(4) div[title^="Size"] + grabs: + selector: a[href^="snatches.php?id="] + seeders: + selector: a[title$="Seeders"] + optional: true + default: 0 + leechers: + selector: a[title$="Leechers"] + optional: true + default: 0 + downloadvolumefactor: + case: + tr.freeleech_color: 0 + "*": 1 + uploadvolumefactor: + text: 1 + minimumseedtime: + # 14 days (as seconds = 14 x 24 x 60 x 60) + text: 1209600 +# U-232 V4.5 diff --git a/arr/prowlarr/Definitions/acgrip.yml b/arr/prowlarr/Definitions/acgrip.yml new file mode 100755 index 0000000..78ea2eb --- /dev/null +++ b/arr/prowlarr/Definitions/acgrip.yml @@ -0,0 +1,56 @@ +--- +id: acgrip +name: ACG.RIP +description: "ACG.RIP is a CHINESE Public torrent tracker for the latest anime and Japanese related torrents" +language: zh-CN +type: public +followredirect: true +encoding: UTF-8 +links: + - https://acg.rip/ + +caps: + categories: + 1: TV + + modes: + search: [q] + tv-search: [q, season, ep] + +settings: [] + +search: + paths: + - path: / + inputs: + term: "{{ .Keywords }}" + + rows: + selector: tbody tr + + fields: + category: + text: 1 + title: + selector: td.title > span.title a + details: + selector: td.title > span.title a + attribute: href + download: + selector: td.action a + attribute: href + size: + selector: td.size + seeders: + text: 1 + leechers: + text: 1 + date: + # unix + selector: td.date time + attribute: datetime + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a diff --git a/arr/prowlarr/Definitions/acrossthetasman.yml b/arr/prowlarr/Definitions/acrossthetasman.yml new file mode 100755 index 0000000..7dfb83f --- /dev/null +++ b/arr/prowlarr/Definitions/acrossthetasman.yml @@ -0,0 +1,92 @@ +--- +id: acrossthetasman +name: Across The Tasman +description: "ATT is a Private torrent site for Rugby and other sports played in Australia" +language: en-AU +type: private +encoding: UTF-8 +links: + - https://acrossthetasman.com/ + +caps: + categories: + 1: TV/Sport + + modes: + search: [q] + +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: sort + type: select + label: Sort requested from site + default: date + options: + date: created + filename: title + size: size + seeders: seeders + - name: order + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + +login: + method: post + path: login.php + inputs: + vb_login_username: "{{ .Config.username }}" + vb_login_password: "{{ .Config.password }}" + cookieuser: 1 + do: login + error: + - selector: div.restore:contains("invalid username or password") + test: + path: torrents.php + selector: a[href*="login.php?do=logout"] + +search: + paths: + - path: torrents.php + inputs: + sort: "{{ .Config.sort }}" + order: "{{ .Config.order }}" + query: "{{ .Keywords }}" + + rows: + selector: table[width='100%'][align='center']:not([class]) > tbody > tr + + fields: + category: + text: 1 + date: + # Feb 12, 2021 + selector: td:nth-child(1) + filters: + - name: dateparse + args: "MMM dd, yyyy" + title: + selector: td:nth-child(4) > span:nth-child(1) + filters: + - name: re_replace + args: ["[\\s]+Uploaded.*", ""] + download: + selector: a[href*="attachment.php?attachmentid="] + attribute: href + seeders: + selector: td:nth-child(5) + leechers: + selector: td:nth-child(6) + grabs: + selector: td:nth-child(7) + size: + selector: td:nth-child(10) +# engine n/a diff --git a/arr/prowlarr/Definitions/aftershock.yml b/arr/prowlarr/Definitions/aftershock.yml new file mode 100755 index 0000000..4e93c67 --- /dev/null +++ b/arr/prowlarr/Definitions/aftershock.yml @@ -0,0 +1,191 @@ +--- +id: aftershock +name: Aftershock +description: "Aftershock is a HUNGARIAN Private Torrent Tracker for MOVIES / GENERAL" +language: hu-HU +type: private +encoding: iso-8859-1 +links: + - https://aftershock.hu/ +legacylinks: + - https://aftershock-tracker.eu/ + - https://aftershock-tracker.net/ + +caps: + categorymappings: + - {id: 7, cat: Movies/SD, desc: "XvidEng"} + - {id: 2, cat: Movies, desc: "AfterShock Release"} + - {id: 190, cat: Movies/DVD, desc: "DVD-9Eng"} + - {id: 191, cat: Movies/DVD, desc: "DVD-9Hun"} + - {id: 1, cat: Movies/DVD, desc: "DVDEng"} + - {id: 4, cat: Movies/DVD, desc: "DVDHun"} + - {id: 23, cat: Books/EBook, desc: "E-Book"} + - {id: 3, cat: Movies, desc: "Film Pack"} + - {id: 185, cat: Audio/Lossless, desc: "FLACeng"} + - {id: 188, cat: Audio/Lossless, desc: "FLAChu"} + - {id: 173, cat: Audio/Audiobook, desc: "Hangoskönyv"} + - {id: 34, cat: Movies/HD, desc: "HDEng"} + - {id: 33, cat: Movies/HD, desc: "HDHun"} + - {id: 182, cat: XXX/x264, desc: "HDXXX"} + - {id: 12, cat: PC/Games, desc: "JátékIso"} + - {id: 130, cat: Console, desc: "JátékKonzol"} + - {id: 38, cat: Console/PSP, desc: "JátékPS2"} + - {id: 44, cat: Console, desc: "Jatekrip"} + - {id: 131, cat: Console/XBox, desc: "JátékX-box"} + - {id: 140, cat: Other, desc: "Képek"} + - {id: 141, cat: Other, desc: "Klipek"} + - {id: 154, cat: Other, desc: "MeseEng"} + - {id: 155, cat: Other, desc: "MeseHun"} + - {id: 176, cat: Other, desc: "Mikro HDEng"} + - {id: 174, cat: Other, desc: "Mikro HDHun"} + - {id: 37, cat: PC/Mobile-Other, desc: "MobilPDA"} + - {id: 35, cat: PC, desc: "ProgramEgyéb"} + - {id: 170, cat: PC/ISO, desc: "ProgramIso"} + - {id: 24, cat: TV, desc: "Sorozat Eng"} + - {id: 25, cat: TV, desc: "Sorozat Hun"} + - {id: 167, cat: Movies/SD, desc: "Xvid CamEng"} + - {id: 166, cat: Movies/SD, desc: "Xvid CamHun"} + - {id: 9, cat: Movies/SD, desc: "XvidHun"} + - {id: 169, cat: XXX/ImageSet, desc: "XXX Képek"} + - {id: 39, cat: XXX, desc: "XXXFilm"} + - {id: 28, cat: Audio, desc: "ZeneEng"} + - {id: 29, cat: Audio, desc: "ZeneHun"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: + - name: cookie + type: text + label: Cookie + - name: info_cookie + type: info_cookie + - name: useragent + type: text + label: User-Agent + - name: info_useragent + type: info_useragent + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: 0 + options: + 0: created + 6: seeders + 4: size + 1: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - name: info_activity + type: info + label: Account Inactivity + default: "You will be immediately banned if you have not logged in for more than 6 weeks." + +login: + # using cookie method because login page has embedded Cloudflare turnstile + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: / + selector: a[href*="/logout.php"] + +search: + paths: + - path: browse.php + inputs: + $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" + search: "{{ .Keywords }}" + # 0 active, 1 incldead, 2 onlydead, 3 freeleech, 4 2x, 5 server + incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}" + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" + + rows: + selector: table tbody#torrent_background tr:has(a.index):has(span.icon_check_alt) + filters: + - name: andmatch + + headers: + User-Agent: ["{{ .Config.useragent }}"] + + fields: + category: + selector: a[href*="/browse.php?cat="] + attribute: href + filters: + - name: querystring + args: cat + title: + selector: a.index + attribute: href + filters: + - name: querystring + args: name + - name: urldecode + details: + selector: a[href*="/details.php?id="] + attribute: href + download: + selector: a.index + attribute: href + filters: + - name: urldecode + poster: + selector: a[onmouseover] + attribute: onmouseover + filters: + - name: regexp + args: src=([^\s]+) + - name: replace + args: ["\"", ""] + imdbid: + selector: a[href*="imdb.com/title/tt"] + attribute: href + genre: + selector: span.box + description: + text: "{{ .Result.genre }}" + files: + selector: td:nth-last-child(6) + size: + selector: td:nth-last-child(5) + seeders: + selector: td:nth-last-child(4) + leechers: + selector: td:nth-last-child(3) + grabs: + selector: td:nth-last-child(2) + date: + selector: td font + filters: + - name: re_replace + args: ["\\s", " "] + - name: append + args: " +01:00" # CET + - name: dateparse + args: "yyyy-MM-dd HH:mm:ss zzz" + downloadvolumefactor: + case: + span.icon_gift: 0 + "*": 1 + uploadvolumefactor: + case: + span.icon_upload: 2 + "*": 1 + minimumratio: + text: 0.31 +# XBT v3 diff --git a/arr/prowlarr/Definitions/agsvpt.yml b/arr/prowlarr/Definitions/agsvpt.yml new file mode 100755 index 0000000..bb08409 --- /dev/null +++ b/arr/prowlarr/Definitions/agsvpt.yml @@ -0,0 +1,200 @@ +--- +id: agsvpt +name: AGSVPT +description: "AGSVPT (Arctic Global Seed Vault) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL" +language: zh-CN +type: private +encoding: UTF-8 +requestDelay: 2 +links: + - https://www.agsvpt.com/ +legacylinks: + - https://abroad.agsvpt.com/ + - https://pt.agsvpt.cn/ + +caps: + # dont forget to update the path categories in the search block + categorymappings: + - {id: 401, cat: Movies, desc: "Movie(电影)", default: true} + - {id: 402, cat: TV, desc: "TV Series(电视剧)", default: true} + - {id: 403, cat: TV, desc: "TV Shows(综艺)", default: true} + - {id: 405, cat: TV/Anime, desc: "Anime(动漫)", default: true} + - {id: 404, cat: TV/Documentary, desc: "Documentaries(纪录片)", default: true} + - {id: 419, cat: TV, desc: "Playlet(短剧)", default: true} + - {id: 411, cat: Audio, desc: "Music(音乐))", default: true} + - {id: 406, cat: Audio/Video, desc: "MV(演唱", default: true} + - {id: 407, cat: TV/Sport, desc: "Sports(体育)", default: true} + - {id: 408, cat: Audio/Audiobook, desc: "Audio(音频)", default: true} + - {id: 413, cat: PC/Games, desc: "Game(游戏)", default: false} + - {id: 416, cat: Books/Comics, desc: "Comic(漫画)", default: false} + - {id: 412, cat: PC/0day, desc: "Software(软件)", default: false} + - {id: 418, cat: Other, desc: "Picture(图片)", default: false} + - {id: 415, cat: Books/EBook, desc: "E-Book(电子书/有声书)", default: false} + - {id: 417, cat: Other, desc: "Education(学习资料)", default: false} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid, doubanid] + movie-search: [q, imdbid, doubanid] + music-search: [q] + book-search: [q] + +settings: + - name: cookie + type: text + label: Cookie + - name: info_cookie + type: info_cookie + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: 4 + options: + 4: created + 7: seeders + 5: size + 1: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - name: info_tpp + type: info + label: Results Per Page + default: For best results, change the 每页种子数:每页显示(Torrents per page:) setting to 100 on your account profile. + - name: info_activity + type: info + label: Account Inactivity + default: "Account retention rules:
  1. Elite User and above will not have their account deleted after parking (in the Control Panel)
  2. Users who do not log in for 400 consecutive days will be disabled.
  3. Users with a parked account will be disabled if they do not log in for 150 consecutive days
  4. Users who have no traffic (i.e., uploading/downloading data is 0) within 7 days of new registration will be disabled
  5. Users with no traffic (i.e. both upload/download data is 0) who do not log in for 30 consecutive days will be disabled.
" + +login: + # using cookie method because site regularly disables login page and goes into silent mode during the year + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: index.php + selector: a[href="logout.php"] + +search: + paths: + - path: torrents.php + categories: [401, 402, 403, 405, 404, 419, 411, 406, 407, 408] + - path: special.php + categories: [413, 416, 412, 418, 415, 417] + inputs: + $raw: "{{ range .Categories }}cat{{.}}=1&{{end}}" + search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}" + # 0 incldead, 1 active, 2 dead + incldead: 0 + # 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30% + spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" + # 0 title, 1 descr, 3 uploader, 4 imdburl + search_area: "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}" + # 0 AND, 2 exact + search_mode: 0 + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" + notnewword: 1 + + rows: + selector: table.torrents > tbody > tr:has(table.torrentname) + + fields: + category: + selector: a[href^="?cat="] + attribute: href + filters: + - name: querystring + args: cat + title_default: + selector: a[href^="details.php?id="] + title: + selector: a[title][href^="details.php?id="] + attribute: title + optional: true + default: "{{ .Result.title_default }}" + details: + selector: a[href^="details.php?id="] + attribute: href + download: + selector: a[href^="download.php?id="] + attribute: href + poster: + selector: img[data-src] + attribute: data-src + date_elapsed: + # time type: time elapsed (default) + selector: td.rowfollow:nth-child(4) > span[title] + attribute: title + optional: true + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-dd HH:mm:ss zzz" + date_added: + # time added + selector: td.rowfollow:nth-child(4):not(:has(span)) + optional: true + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-ddHH:mm:ss zzz" + date: + text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}" + size: + selector: td.rowfollow:nth-child(5) + optional: true + default: 512MB + seeders: + selector: td.rowfollow:nth-child(6) + optional: true + default: 0 + leechers: + selector: td.rowfollow:nth-child(7) + optional: true + default: 0 + grabs: + selector: td.rowfollow:nth-child(8) + optional: true + default: 0 + downloadvolumefactor: + case: + img.pro_free: 0 + img.pro_free2up: 0 + img.pro_50pctdown: 0.5 + img.pro_50pctdown2up: 0.5 + img.pro_30pctdown: 0.3 + "*": 1 + uploadvolumefactor: + case: + img.pro_50pctdown2up: 2 + img.pro_free2up: 2 + img.pro_2up: 2 + "*": 1 + minimumratio: + text: 1.0 + minimumseedtime: + # 3 days (as seconds = 3 x 24 x 60 x 60) + text: 259200 + description_verified: + case: + span[title="通过"]: "Verified:" + span[title="未审"]: "Unverified:" + span[title="拒绝"]: "Banned:" + description: + selector: td.rowfollow:nth-child(2) + remove: a, b, font, img, span + filters: + - name: prepend + args: "{{ .Result.description_verified }} " +# NexusPHP v1.8.12 2024-04-05 diff --git a/arr/prowlarr/Definitions/aidoruonline.yml b/arr/prowlarr/Definitions/aidoruonline.yml new file mode 100755 index 0000000..4640789 --- /dev/null +++ b/arr/prowlarr/Definitions/aidoruonline.yml @@ -0,0 +1,136 @@ +--- +id: aidoruonline +name: Aidoru!Online +description: "Aidoru!Online is a JAPANESE Private Torrent Tracker for Female Japanese Idol related files" +language: en-US +type: private +encoding: UTF-8 +links: + - https://aidoru-online.me/ +legacylinks: + - https://aidoru-online.org/ + +caps: + categorymappings: + - {id: 1, cat: Movies, desc: "BD/DVDISO"} + - {id: 2, cat: Movies, desc: "BD/DVD-RIP"} + - {id: 3, cat: TV, desc: "TV"} + - {id: 4, cat: TV, desc: "Perf"} + - {id: 5, cat: TV, desc: "PV"} + - {id: 6, cat: TV, desc: "Webstream"} + - {id: 7, cat: Other, desc: "Image"} + - {id: 8, cat: Audio, desc: "Audio"} + - {id: 9, cat: Audio, desc: "Album"} + - {id: 10, cat: Audio, desc: "Single"} + - {id: 11, cat: Audio, desc: "Radio"} + - {id: 12, cat: Other, desc: "Misc"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + +settings: + - name: cookie + type: text + label: Cookie + - name: info_cookie + type: info_cookie + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: id + options: + id: created + seeders: seeders + size: size + name: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - name: info_results + type: info + label: Search results + default: "If you are getting the error Found no results while trying to browse this tracker then first access the site with your browser and check that your ratio is not below 0.8, otherwise the site will not return download links to the indexer. This does not apply to freeleech torrents." + +login: + # using cookie method because login page returns 0 bytes with a cookie flog=6 + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: / + selector: a[href^="torrents-details.php?id="] + +search: + paths: + # https://aidoru-online.me/get_ttable.php?pcat=Show+All&scat=3%2C4%2C5%2C6&subbed=&fl=&resd=&p=0&searchstr=peace&deadlive=0&sortcol=id&sortorder=desc&startdt=&enddt= + - path: get_ttable.php + inputs: + pcat: "Show+All" + scat: "{{ join .Categories \",\" }}" + subbed: "" + fl: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" + resd: "" + p: 0 + searchstr: "{{ .Keywords }}" + deadlive: 1 + sortcol: "{{ .Config.sort }}" + sortorder: "{{ .Config.type }}" + startdt: "" + enddt: "" + # does not support imdbid search and does not return imdb link in results + + rows: + selector: table.ttable_headinner tr.t-row:has(a[href^="download.php?id="]) + + fields: + categorydesc: + selector: a.category-link + filters: + - name: split + args: [" ", 1] + title: + selector: a[href^="torrents-details.php?id="] + attribute: title + details: + selector: a[href^="torrents-details.php?id="] + attribute: href + download: + selector: a[href^="download.php?id="] + attribute: href + size: + selector: td.ttable_size + seeders: + selector: td:nth-last-child(4) + leechers: + selector: td:nth-last-child(3) + grabs: + selector: td:nth-last-child(2) + date: + selector: td:last-child + # auto adjusted by site account profile + filters: + - name: dateparse + args: "yyMMdd HH:mm:ss" + downloadvolumefactor: + case: + img[src="images/freeleech.png"]: 0 # dl not counted + img[src="images/freeleech2.png"]: 0 # dl not counted & upload 2x + "*": 1 + uploadvolumefactor: + case: + img[src="images/freeleech2.png"]: 2 + "*": 1 + minimumratio: + text: 0.8 +# TorrentTrader v2-svn diff --git a/arr/prowlarr/Definitions/aither-api.yml b/arr/prowlarr/Definitions/aither-api.yml new file mode 100755 index 0000000..442dbaa --- /dev/null +++ b/arr/prowlarr/Definitions/aither-api.yml @@ -0,0 +1,194 @@ +--- +id: aither-api +name: Aither (API) +description: "Aither is a Private Torrent Tracker for HD MOVIES / TV" +language: en-US +type: private +encoding: UTF-8 +# status https://status.aither.cc/ +links: + - https://aither.cc/ + +caps: + categorymappings: + - {id: 1, cat: Movies, desc: "Movie"} + - {id: 9, cat: TV/Sport, desc: "Sport"} + - {id: 2, cat: TV, desc: "TV"} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid, tvdbid, tmdbid] + movie-search: [q, imdbid, tmdbid] + allowtvsearchimdb: true + +settings: + - name: apikey + type: text + label: APIKey + - name: info_key + type: info + label: About your API key + default: "Find or Generate a new API Token by accessing your Aither account My Settings page and clicking on the API Key tab." + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: single_file_release_use_filename + type: checkbox + label: Use filename as title for single file releases + default: true + - name: sort + type: select + label: Sort requested from site + default: created_at + options: + created_at: created + seeders: seeders + size: size + name: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - name: info_activity + type: info + label: Account Inactivity + default: "You must log in to the Aither web site with your browser once every90 days to prevent your account from getting disabled." + +login: + path: api/torrents + method: get + inputs: {} # TODO: remove in v10 + error: + - selector: a[href*="/login"] + message: + text: "The API key was not accepted by {{ .Config.sitelink }}." + - selector: :root:contains("Account is Banned") + +search: + paths: + # https://hdinnovations.github.io/UNIT3D/torrent_api.html + # https://github.com/HDInnovations/UNIT3D/blob/master/app/Http/Controllers/API/TorrentController.php#L657 + - path: api/torrents/filter + response: + type: json + + headers: + Authorization: ["Bearer {{ .Config.apikey }}"] + + inputs: + # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6 + $raw: "{{ range .Categories }}&categories[]={{.}}{{end}}" + name: "{{ .Keywords }}" + seasonNumber: "{{ .Query.Season }}" + episodeNumber: "{{ .Query.Ep }}" + imdbId: "{{ .Query.IMDBIDShort }}" + tmdbId: "{{ .Query.TMDBID }}" + tvdbId: "{{ .Query.TVDBID }}" + "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}" + sortField: "{{ .Config.sort }}" + sortDirection: "{{ .Config.type }}" + perPage: 100 + + keywordsfilters: + - name: re_replace + args: ["\\.", " "] + + rows: + selector: data + attribute: attributes + + fields: + category: + selector: category_id + title_optional: + selector: name + title_filename: + selector: "files[0].name" + optional: true + files: + selector: num_file + title: + text: "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}" + details: + selector: details_link + download: + selector: download_link + poster: + selector: meta.poster + filters: + - name: replace + args: ["https://via.placeholder.com/90x135", ""] + imdbid: + selector: imdb_id + tmdbid: + selector: tmdb_id + tvdbid: + selector: tvdb_id + genre: + selector: meta.genres + filters: + - name: re_replace + args: ["(?i)(Science Fiction)", "Science_Fiction"] + - name: re_replace + args: ["(?i)(TV Movie)", "TV_Movie"] + - name: replace + args: [" & ", "_&_"] + _internal: + selector: internal + case: + False: "{{ .False }}" + True: "{{ .True }}" + description: + text: "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}" + seeders: + selector: seeders + leechers: + selector: leechers + grabs: + selector: times_completed + date: + # "created_at": "2021-10-18T00:34:50.000000Z" is returned by Newtonsoft.Json.Linq as 18/10/2021 00:34:50 + selector: created_at + filters: + - name: append + args: " +00:00" # GMT + - name: dateparse + args: "MM/dd/yyyy HH:mm:ss zzz" + size: + selector: size + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: + # api returns 0%, 25%, 50%, 75%, 100% + selector: freeleech + case: + 0%: 1 # not free + 25%: 0.75 + 50%: 0.5 + 75%: 0.25 + 100%: 0 # freeleech + "*": 0 # catch errors + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: + # api returns False, True + selector: double_upload + case: + False: 1 # normal + True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" +# global MR is 0.4 but torrents must be seeded for 5 days regardless of ratio +# minimumratio: +# text: 0.4 + minimumseedtime: + # 5 days (as seconds = 5 x 24 x 60 x 60) + text: 432000 +# json UNIT3D 9.2.0 diff --git a/arr/prowlarr/Definitions/alabala-api.yml b/arr/prowlarr/Definitions/alabala-api.yml new file mode 100755 index 0000000..f876d42 --- /dev/null +++ b/arr/prowlarr/Definitions/alabala-api.yml @@ -0,0 +1,141 @@ +--- +id: alabala-api +replaces: + - alabala +name: AlaBala (API) +description: "AlaBala is a BULGARIAN Private Torrent Tracker for MOVIES / TV / GENERAL" +language: bg-BG +type: private +encoding: UTF-8 +links: + - https://alabala.net/ + +caps: + categorymappings: + - {id: 9, cat: TV/Anime, desc: "Anime"} + - {id: 26, cat: PC, desc: "Apps"} + - {id: 27, cat: TV/Documentary, desc: "Documentaries"} + - {id: 28, cat: Books, desc: "Ebooks"} + - {id: 2, cat: PC/Games, desc: "Games/PC ISO"} + - {id: 12, cat: Console/PS3, desc: "Games/PS"} + - {id: 24, cat: Movies, desc: "Movies BG Audio"} + - {id: 25, cat: Movies, desc: "Movies Boxset"} + - {id: 14, cat: Movies/UHD, desc: "Movies/4k"} + - {id: 10, cat: Movies/BluRay, desc: "Movies/Bluray"} + - {id: 11, cat: Movies/DVD, desc: "Movies/DVD-R"} + - {id: 15, cat: Movies/HD, desc: "Movies/HD"} + - {id: 16, cat: Movies/SD, desc: "Movies/SD"} + - {id: 23, cat: Audio/Lossless, desc: "Music HD"} + - {id: 4, cat: Audio/MP3, desc: "Music MP3"} + - {id: 17, cat: TV/UHD, desc: "TV 4k"} + - {id: 18, cat: TV/HD, desc: "TV HD"} + - {id: 19, cat: TV/SD, desc: "TV SD"} + - {id: 20, cat: TV/UHD, desc: "TVBoxset 4k"} + - {id: 21, cat: TV/HD, desc: "TVBoxset HD"} + - {id: 22, cat: TV/SD, desc: "TVBoxset SD"} + - {id: 6, cat: XXX, desc: "XXX"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-search: [q] + +settings: + - name: apikey + type: text + label: API Token + - name: info_apikey + type: info + label: About your API Key + default: "Generate a new API key from the AlaBala API Key page." + - name: sort + type: select + label: Sort requested from site + default: added + options: + added: created + seeders: seeders + size: size + name: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + +login: + # returns "401 Unauthorized, check your credentials" if apikey is invalid + path: api.php + method: get + inputs: + action: user + +search: + paths: + - path: api.php + response: + type: json + inputs: + action: torrents + q: "{{ .Keywords }}" + cat: "{{ range .Categories }}{{.}},{{end}}" + sort: "{{ .Config.sort }}" + dir: "{{ .Config.type }}" + per_page: 100 + + headers: + Authorization: ["Bearer {{ .Config.apikey }}"] + + rows: + selector: data + + fields: + category: + selector: category.id + _bg: + selector: bg_audio + case: + False: "{{ .False }}" + True: "{{ .True }}" + title: + selector: name + filters: + - name: append + args: "{{ if .Result._bg }} (BG audio){{ else }}{{ end }}" + details: + selector: details_url + download: + selector: download_url + infohash: + selector: info_hash + poster: + selector: poster + date: + selector: added + files: + selector: files + size: + selector: size + seeders: + selector: seeders + leechers: + selector: leechers + grabs: + selector: times_completed + downloadvolumefactor: + selector: freeleech + case: + True: 0 + False: 1 + uploadvolumefactor: + text: 1 + minimumseedtime: + # 3 days (as seconds = 3 x 24 x 60 x 60) + text: 259200 + description: + selector: name_bg +# json api diff --git a/arr/prowlarr/Definitions/alingpt-api.yml b/arr/prowlarr/Definitions/alingpt-api.yml new file mode 100755 index 0000000..f2235a8 --- /dev/null +++ b/arr/prowlarr/Definitions/alingpt-api.yml @@ -0,0 +1,138 @@ +--- +id: alingpt-api +name: alingPT (API) +description: "alingPT is a CHINESE Private Torrent Tracker for MOVIES / TV" +language: zh-CN +type: private +encoding: UTF-8 +links: + - https://pt.aling.de/ + +caps: + categorymappings: + - {id: 405, cat: TV/Anime, desc: "Animations/动画"} + - {id: 402, cat: TV, desc: "TV Series/电视剧"} + - {id: 401, cat: Movies, desc: "Movies/电影"} + - {id: 404, cat: TV/Documentary, desc: "Documentary/纪录片"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + +settings: + - name: apikey + type: text + label: API Token + - name: info_apikey + type: info + label: About your API Token + default: "Find/Generate an API token from your alingPT account control panel." + - name: passkey + type: text + label: Passkey + - name: info_passkey + type: info + label: About your Passkey + default: "Find the Passkey from your account control panel." + - name: freeleech + type: checkbox + label: Filter freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: "-id" + options: + "-id": created + "-seeders": seeders + "-size": size + "-times_completed": grabs + - name: info_activity + type: info + label: Account Inactivity + default: "Account retention rules:
  1. Veteran User and above will be retained forever
  2. Accounts parked will not be deleted
  3. Users with a parked account will be deleted if they do not log in for 400 consecutive days
  4. Users with a non-parked account will be deleted if they do not log in for 200 consecutive days
  5. Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 60 consecutive days.
" + +login: + path: api/v1/torrents + method: get + inputs: + per_page: 1 + error: + - selector: :root:contains("login.php?returnto") + message: + text: "The API token was not accepted by {{ .Config.sitelink }}." + - selector: :root:contains("Unauthenticated") + message: + text: "The API token was not accepted by {{ .Config.sitelink }}." + +search: + paths: + - path: api/v1/torrents + response: + type: json + + headers: + Authorization: ["Bearer {{ .Config.apikey }}"] + + inputs: + $raw: "{{ range .Categories }}&filter[category][in][]={{.}}{{end}}" + "filter[title]": "{{ .Keywords }}" + sorts: "{{ .Config.sort }}" + per_page: 100 + + keywordsfilters: + # the site stores dotted release names but the title filter matches on words + - name: re_replace + args: ["\\.", " "] + + rows: + selector: "data.data{{ if .Config.freeleech }}:not(promotion_info.down_multiplier:contains(1)):not(promotion_info.down_multiplier:contains(.)){{ else }}{{ end }}" + + fields: + category: + selector: category + _id: + selector: id + title: + selector: name + details: + text: "{{ .Config.sitelink }}details.php?id={{ .Result._id }}&hit=1" + download: + text: "{{ .Config.sitelink }}download.php?id={{ .Result._id }}&passkey={{ .Config.passkey }}" + infohash: + selector: hash + poster: + selector: cover + description: + selector: small_descr + size: + selector: size + files: + selector: numfiles + seeders: + selector: seeders + leechers: + selector: leechers + grabs: + selector: times_completed + date: + # 2026-09-19 16:50 + selector: added + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-dd HH:mm zzz" + downloadvolumefactor: + # promotion_info is the EFFECTIVE promotion and accounts for site-wide freeleech events. + # sp_state is only the stored per-torrent promotion, so it reads 1 on a torrent the site has made free. + selector: promotion_info.down_multiplier + uploadvolumefactor: + selector: promotion_info.up_multiplier + minimumratio: + text: 2.0 + minimumseedtime: + # 2 days (as seconds = 2 x 24 x 60 x 60) + text: 172800 +# JSON API NexusPHP v1.10.1 2026-02-17 diff --git a/arr/prowlarr/Definitions/alingpt.yml b/arr/prowlarr/Definitions/alingpt.yml new file mode 100755 index 0000000..5605155 --- /dev/null +++ b/arr/prowlarr/Definitions/alingpt.yml @@ -0,0 +1,178 @@ +--- +id: alingpt +name: alingPT +description: "alingPT is a CHINESE Private Torrent Tracker for MOVIES / TV" +language: zh-CN +type: private +encoding: UTF-8 +links: + - https://pt.aling.de/ + +caps: + categorymappings: + - {id: 405, cat: TV/Anime, desc: "Animations/动画"} + - {id: 402, cat: TV, desc: "TV Series/电视剧"} + - {id: 401, cat: Movies, desc: "Movies/电影"} + - {id: 404, cat: TV/Documentary, desc: "Documentary/纪录片"} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid, doubanid] + movie-search: [q, imdbid, doubanid] + +settings: + - name: cookie + type: text + label: Cookie + - name: info_cookie + type: info_cookie + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: 4 + options: + 4: created + 7: seeders + 5: size + 1: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - name: info_tpp + type: info + label: Results Per Page + default: For best results, change the Torrents per page: setting to 100 on your account profile. + - name: info_activity + type: info + label: Account Inactivity + default: "Account retention rules:
  1. Veteran User and above will be retained forever
  2. Accounts parked will not be deleted
  3. Users with a parked account will be deleted if they do not log in for 400 consecutive days
  4. Users with a non-parked account will be deleted if they do not log in for 200 consecutive days
  5. Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 60 consecutive days.
" + +login: + # using cookie method because site does a JS call to API/Challenge via JQuery to load response parm required for takelogin.php + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: index.php + selector: a[href="logout.php"] + +search: + paths: + - path: torrents.php + inputs: + $raw: "{{ range .Categories }}cat{{.}}=1&{{end}}" + search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}" + # 0 incldead, 1 active, 2 dead + incldead: 0 + # 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30% + spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" + # 0 title, 1 descr, 3 uploader, 4 imdburl + search_area: "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}" + # 0 AND, 2 exact + search_mode: 0 + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" + notnewword: 1 + + rows: + selector: table.torrents > tbody > tr:has(table.torrentname) + + fields: + category: + selector: a[href^="?cat="] + attribute: href + filters: + - name: querystring + args: cat + title_default: + selector: a[href^="details.php?id="] + title: + selector: a[title][href^="details.php?id="] + attribute: title + optional: true + default: "{{ .Result.title_default }}" + details: + selector: a[href^="details.php?id="] + attribute: href + download: + selector: a[href^="download.php?id="] + attribute: href + poster: + selector: img[data-src] + attribute: data-src + imdbid: + # site currently only has a badge and rating, the id is not present. just in case a future update. + selector: a[href*="imdb.com/title/tt"] + attribute: href + doubanid: + # site currently only has a badge and rating, the id is not present. just in case a future update. + selector: a[href*="movie.douban.com/subject/"] + attribute: href + date_elapsed: + # time type: time elapsed (default) + selector: td.rowfollow:nth-child(4) > span[title] + attribute: title + optional: true + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-dd HH:mm:ss zzz" + date_added: + # time added + selector: td.rowfollow:nth-child(4):not(:has(span)) + optional: true + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "yyyy-MM-ddHH:mm:ss zzz" + date: + text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}" + size: + selector: td.rowfollow:nth-child(5) + optional: true + default: 512MB + seeders: + selector: td.rowfollow:nth-child(6) + optional: true + default: 0 + leechers: + selector: td.rowfollow:nth-child(7) + optional: true + default: 0 + grabs: + selector: td.rowfollow:nth-child(8) + optional: true + default: 0 + downloadvolumefactor: + case: + img.pro_free: 0 + img.pro_free2up: 0 + img.pro_50pctdown: 0.5 + img.pro_50pctdown2up: 0.5 + img.pro_30pctdown: 0.3 + "*": 1 + uploadvolumefactor: + case: + img.pro_50pctdown2up: 2 + img.pro_free2up: 2 + img.pro_2up: 2 + "*": 1 + minimumratio: + text: 2.0 + minimumseedtime: + # 2 days (as seconds = 2 x 24 x 60 x 60) + text: 172800 + description: + selector: td.rowfollow:nth-child(2) + remove: a, b, font, img, span +# NexusPHP v1.10.1 2026-02-17 diff --git a/arr/prowlarr/Definitions/amigosshare.yml b/arr/prowlarr/Definitions/amigosshare.yml new file mode 100755 index 0000000..29f97ef --- /dev/null +++ b/arr/prowlarr/Definitions/amigosshare.yml @@ -0,0 +1,296 @@ +--- +id: amigosshare +name: Amigos Share Club +description: "Amigos Share Club (ASC) is a BRAZILIAN Private Torrent Tracker for MOVIES / TV / GENERAL" +language: pt-BR +type: private +encoding: UTF-8 +requestDelay: 2 +links: + - https://amigos-share.club/ +legacylinks: + - http://amigos-share.club/ + - https://cliente.amigos-share.club/ + +caps: + categorymappings: + - {id: 2, cat: XXX, desc: "Adultos"} + - {id: 23, cat: XXX, desc: "Adultos: Gay"} + - {id: 48, cat: XXX, desc: "Adultos: Hentai"} + - {id: 18, cat: XXX, desc: "Adultos: OnlyFans"} + - {id: 21, cat: XXX, desc: "Adultos: Transex/Female"} + - {id: 42, cat: XXX, desc: "Adultos: XXX"} + - {id: 11, cat: TV/Anime, desc: "Anime"} + - {id: 60, cat: TV/Anime, desc: "Anime: Anime"} + - {id: 59, cat: TV/Anime, desc: "Anime: Filmes"} + - {id: 61, cat: TV/Anime, desc: "Anime: Séries"} + - {id: 6, cat: PC, desc: "Aplicativos"} + - {id: 26, cat: PC/Mobile-Android, desc: "Aplicativos: Android"} + - {id: 29, cat: PC/Mobile-iOS, desc: "Aplicativos: iPad"} + - {id: 28, cat: PC/Mobile-iOS, desc: "Aplicativos: iPhone"} + - {id: 30, cat: PC/Mobile-iOS, desc: "Aplicativos: iPod"} + - {id: 27, cat: PC, desc: "Aplicativos: Linux"} + - {id: 25, cat: PC/Mac, desc: "Aplicativos: Mac"} + - {id: 24, cat: PC/0day, desc: "Aplicativos: Windows"} + - {id: 8, cat: Other, desc: "Cursos"} + - {id: 54, cat: Other, desc: "Cursos: Apostila"} + - {id: 44, cat: Other, desc: "Cursos: Cursos"} + - {id: 47, cat: Other, desc: "Cursos: Video Aula"} + - {id: 5, cat: Books, desc: "Ebook"} + - {id: 56, cat: Audio/Audiobook, desc: "Ebook: Audio-book"} + - {id: 20, cat: Books/Comics, desc: "Ebook: HQs"} + - {id: 58, cat: Books/EBook, desc: "Ebook: Livros"} + - {id: 57, cat: Books/Comics, desc: "Ebook: Mangas"} + - {id: 62, cat: Books/Mags, desc: "Ebook: Revistas"} + - {id: 4, cat: Movies, desc: "Filmes"} + - {id: 10, cat: XXX, desc: "Fotos"} + - {id: 55, cat: XXX, desc: "Fotos: Revistas, Livros e Fotos"} + - {id: 7, cat: Console, desc: "Jogos"} + - {id: 49, cat: Console, desc: "Jogos: Android"} + - {id: 40, cat: Console, desc: "Jogos: Dreamcast"} + - {id: 31, cat: Console, desc: "Jogos: Emulação"} + - {id: 35, cat: Console, desc: "Jogos: Emuladores e Roms"} + - {id: 36, cat: PC/Mac, desc: "Jogos: Mac"} + - {id: 46, cat: Console/NDS, desc: "Jogos: Nintendo DS"} + - {id: 32, cat: Console, desc: "Jogos: Nintendo Switch"} + - {id: 65, cat: Console, desc: "Jogos: Nintendo Switch2"} + - {id: 34, cat: PC/Games, desc: "Jogos: PC"} + - {id: 37, cat: Console, desc: "Jogos: PS1"} + - {id: 38, cat: Console, desc: "Jogos: PS2"} + - {id: 39, cat: Console/PS3, desc: "Jogos: PS3"} + - {id: 33, cat: Console/PS4, desc: "Jogos: PS4"} + - {id: 64, cat: Console, desc: "Jogos: PS5"} + - {id: 50, cat: Console/PSP, desc: "Jogos: PSP"} + - {id: 45, cat: Console/Wii, desc: "Jogos: Wii"} + - {id: 41, cat: Console/XBox 360, desc: "Jogos: X360"} + - {id: 43, cat: Console/XBox, desc: "Jogos: Xbox"} + - {id: 53, cat: Console/XBox One, desc: "Jogos: Xbox One"} + - {id: 1, cat: Other, desc: "Outros"} + - {id: 14, cat: Other, desc: "Outros: Add-ons"} + - {id: 19, cat: Other, desc: "Outros: Extensões"} + - {id: 16, cat: Other, desc: "Outros: Fonts"} + - {id: 17, cat: Other, desc: "Outros: MOD"} + - {id: 13, cat: Other, desc: "Outros: Pack de Imagens"} + - {id: 15, cat: Other, desc: "Outros: Plug-ins"} + - {id: 12, cat: Other, desc: "Outros: Scripts"} + - {id: 22, cat: Other, desc: "Outros: Vetores"} + - {id: 3, cat: TV, desc: "Series"} + - {id: 9, cat: TV, desc: "Tv"} + - {id: 51, cat: TV, desc: "Tv: Aberta"} + - {id: 52, cat: TV/Sport, desc: "Tv: Esportes"} + - {id: 63, cat: TV, desc: "Tv: Fechada"} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid] + movie-search: [q, imdbid] + book-search: [q] + allowrawsearch: true + +settings: + - name: cookie + type: text + label: Cookie + - name: info_cookie + type: info_cookie + - name: info_login + type: info + label: About the Cookie + default: "Remeber to tick Lembrar-me when logging in so the cookie will lasts longer." + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: released_at + options: + released_at: created + seeders: seeders + times_completed: grabs + size: size + name: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - name: info_activity + type: info + label: Account Inactivity + default: "Inactive accounts, that is, without access for 90 days (3 months), will be automatically deleted by the system; with no possibility of reactivation." + +login: + # the site is Laravel + Inertia: POST /login needs an X-XSRF-TOKEN header copied from a cookie, which Cardigann cannot do + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: dashboard + selector: script[data-page="app"]:contains('"user":{"id":') + +search: + paths: + # https://amigos-share.club/torrents?q=&sort=released_at&direction=desc&per_page=96 + - path: torrents + + inputs: + # site search matches all words and also accepts imdb ids (tt1234567) + q: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" + # note: site supports a single category only, and a parent includes its children + freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" + sort: "{{ .Config.sort }}" + direction: "{{ .Config.type }}" + # max allowed + per_page: 96 + + keywordsfilters: + - name: re_replace + args: ["(\\s+:\\s+)", " "] # replace " : " with " " since site does not support colon in search and it is commonly used in titles to separate title from year or season/episode info + # drop the year from searches since the site returns no results when it is included + - name: re_replace + args: ["(\\s*\\b((19|20)\\d{2})\\b)", ""] + + # the page is rendered client side by Inertia: results are only available as JSON in