forked from autodl-community/autodl-trackers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTuneTraxx.tracker
126 lines (115 loc) · 4.14 KB
/
TuneTraxx.tracker
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?xml version="1.0"?>
<!-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1
-
- The contents of this file are subject to the Mozilla Public License Version
- 1.1 (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS" basis,
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- for the specific language governing rights and limitations under the
- License.
-
- The Original Code is IRC Auto Downloader.
-
- The Initial Developer of the Original Code is
- David Nilsson.
- Portions created by the Initial Developer are Copyright (C) 2010, 2011
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
- THEGURUDK
- ***** END LICENSE BLOCK ***** -->
<trackerinfo
type="ttx"
shortName="TT"
longName="TuneTraxx"
siteName="tunetraxx.org">
<settings>
<description text="Paste (Ctrl+V) any TuneTraxx RSS link into the box below to automatically extract the passkey"/>
<passkey pasteRegex=".*[&]pk=([\da-zA-Z]{40})" />
</settings>
<servers>
<server
network="TuneTraxx.org"
serverNames="irc.tunetraxx.org"
channelNames="#announce"
announcerNames="TTBot"
/>
</servers>
<parseinfo>
<linepatterns>
<extract>
<!--NY TORRENT: Dance Single Croatia_Squad_-_Touch_Me-(ETR236)-WEB-2014-XDS 41.62MB (http://tunetraxx.org/?p=torrents&pid=10&action=details&tid=1972)-->
<!--NY TORRENT: Dance Album David_Guetta-Listen-2CD-2014-VOiCE 116.67MB (http://tunetraxx.org/?p=torrents&pid=10&action=details&tid=1973)-->
<!--NY TORRENT: Club Single DJ_EBO_-_Triple_Jump_98-Vinyl-1998-iDC 33.98MB (http://tunetraxx.org/?p=torrents&pid=10&action=details&tid=1974)-->
<!--NY TORRENT: House Single Gorgon_City_Feat._Jennifer_Hudson_-_Go_All_Night-(00602547135087)-WEB-2014-XDS 87.62MB (http://tunetraxx.org/?p=torrents&pid=10&action=details&tid=1975)-->
<!--NY TORRENT: R&B Album John_Legend-Love_In_The_Future-Special_Edition-2014-DeBT 127.1MB (http://tunetraxx.org/?p=torrents&pid=10&action=details&tid=1976)-->
<!--NY TORRENT: House Single Liz_ft._Tyga_-_Dont_Say-(Beshken_Remix)-WEB-2014-FFM 7.97MB (http://tunetraxx.org/?p=torrents&pid=10&action=details&tid=1977)-->
<regex value="NY TORRENT: (.*(?:Single|Album)) (.*) (.*) \((.*)\/.*id=(\d+)\)$"/>
<vars>
<var name="category"/>
<var name="torrentName"/>
<var name="torrentSize"/>
<var name="$baseUrl"/>
<var name="$torrentId"/>
</vars>
</extract>
</linepatterns>
<linematched>
<var name="scene">
<string value="false"/>
</var>
<var name="log">
<string value="false"/>
</var>
<var name="cue">
<string value="false"/>
</var>
<var name="freeleech">
<string value="false"/>
</var>
<var name="bitrate">
<string value="false"/>
</var>
<var name="media">
<string value="false"/>
</var>
<!-- Extract Artists from torrent name -->
<varreplace name="simpleName" srcvar="torrentName" regex="[_]" replace=" "/>
<extract srcvar="simpleName" optional="true">
<regex value="^(?!VA)([\w\&\. ]+[-]?\w)(?:_-_|–|-| -)"/>
<vars>
<var name="name1"/>
</vars>
</extract>
<!-- Extract Albums from torrent name; if various artists (VA) is the artist-->
<varreplace name="simpleName" srcvar="torrentName" regex="[_]" replace=" "/>
<extract srcvar="simpleName" optional="true">
<regex value="^VA(?: -|-)\s?([\w\&\. ]+[-]?\w)"/>
<vars>
<var name="name2"/>
</vars>
</extract>
<!-- Extract releaseType from category -->
<extract srcvar="category" optional="true">
<regex value="(\w+)$"/>
<vars>
<var name="releaseType"/>
</vars>
</extract>
<!-- http://tunetraxx.org/?p=rss&action=download&tid=1736&pk= -->
<var name="torrentUrl">
<var name="$baseUrl"/>
<string value="/?p=rss&action=download&tid="/>
<var name="$torrentId"/>
<string value="&pk="/>
<var name="passkey"/>
</var>
</linematched>
<ignore>
</ignore>
</parseinfo>
</trackerinfo>