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: "
- Login to this tracker with your browser
- Open the DevTools panel by pressing F12
- Select the Network tab
- Click on the Doc button
- Refresh the page by pressing F5
- Select the Headers tab
- Find 'cookie:' in the Request Headers section
- 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"