From df2bdafc9a23d6f9b16f5f6658d1fbff1efd0360 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 22 Jul 2019 17:26:14 +1200 Subject: [PATCH] add theaudioscene a private site. resolves #5669 --- README.md | 1 + .../Definitions/theaudioscene.yml | 111 ++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 src/Jackett.Common/Definitions/theaudioscene.yml diff --git a/README.md b/README.md index db0a964d2..2e63c3f1e 100644 --- a/README.md +++ b/README.md @@ -350,6 +350,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * TeamOS * TellyTorrent * TenYardTorrents (TYT) + * TheAudioScene * TheEmpire (TE) * The Geeks * The Horror Charnel (THC) diff --git a/src/Jackett.Common/Definitions/theaudioscene.yml b/src/Jackett.Common/Definitions/theaudioscene.yml new file mode 100644 index 000000000..99518e0c5 --- /dev/null +++ b/src/Jackett.Common/Definitions/theaudioscene.yml @@ -0,0 +1,111 @@ +--- + site: theaudioscene + name: TheAudioScene + description: "TheAudioScene is a Private Torrent Tracker for AUDIO SOFTWARE / SAMPLES / ETC" + language: en-us + type: private + encoding: UTF-8 + links: + - https://theaudioscene.net/ + + caps: + categorymappings: + - {id: 1, cat: PC, desc: "Tutorial"} + - {id: 2, cat: PC, desc: "Addon"} + - {id: 3, cat: PC, desc: "Hybrid Update"} + - {id: 4, cat: PC, desc: "Hybrid Win/Mac"} + - {id: 5, cat: PC/Mac, desc: "Mac App"} + - {id: 6, cat: PC/Mac, desc: "Mac Update"} + - {id: 7, cat: PC/Mac, desc: "Mac VST"} + - {id: 8, cat: PC/Mac, desc: "Mac VSTi"} + - {id: 9, cat: Other, desc: "Unknown"} + - {id: 10, cat: Audio, desc: "SampleCD"} + - {id: 11, cat: PC/0day, desc: "Win App"} + - {id: 12, cat: PC/0day, desc: "Win Update"} + - {id: 13, cat: PC/0day, desc: "Win VST"} + - {id: 14, cat: PC/0day, desc: "Win VSTi"} + - {id: 15, cat: PC/Phone-Other, desc: "Handheld App"} + + modes: + search: [q] + + settings: + - name: cookie + type: text + label: Cookie + - name: info + type: info + label: How to get the Cookie + default: "
  1. Login to this tracker with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button
  5. Refresh the page by pressing F5
  6. Select the Headers tab
  7. Find 'cookie:' in the Request Headers section
  8. Copy & paste the whole cookie string to here.
" + + login: + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: usersettings/usermessages.php?mailbox=new + + search: + paths: + # https://theaudioscene.net/torrentsettings/torrentbrowse.php?SrcCat=0&SrcDat=0&SrcEnd=0&search= + - path: torrentsettings/torrentbrowse.php + inputs: + # catalog 0 all + SrcCat: 0 + # sort 0 added 1 name 2 size 3 added 4 rated 5 seeders 6 leechers 7 grabs + SrcDat: 0 + # 0 new&old 1 new only 2 old only + SrcEnd: 0 + search: "{{ .Keywords }}" + + rows: + selector: table.tablewidthfixed tbody tr table:has(tr[onMouseOver]) + dateheaders: + selector: td:contains("Added On ") + filters: + - name: replace + args: ["Added On ", ""] + - name: re_replace + args: ["(th|st|nd|rd)", ""] + - name: dateparse + args: "Jan 02 2006" + fields: + title: + selector: td[id$="_1"] a + attribute: title + details: + selector: td[id$="_1"] a + attribute: href + download: + selector: td[id$="_2"] a + attribute: href + category: + selector: img[src^="/images/categories/"] + case: + img[title="Tutorial"]: "1" + img[title="Addon"]: "2" + img[title="Hybrid Update"]: "3" + img[title="Hybrid Win/Mac"]: "4" + img[title="Mac App"]: "5" + img[title="Mac Update"]: "6" + img[title="Mac VST"]: "7" + img[title="Mac VSTi"]: "8" + img[title="Unknown"]: "9" + img[title="SampleCD"]: "10" + img[title="Win App"]: "11" + img[title="Win Update"]: "12" + img[title="Win VST"]: "13" + img[title="Win VSTi"]: "14" + img[title="Handheld App"]: "15" + size: + selector: td[id$="_6"] + seeders: + selector: td[id$="_10"] + leechers: + selector: td[id$="_11"] + grabs: + selector: td[id$="_12"] + downloadvolumefactor: + text: "1" + uploadvolumefactor: + text: "1"