Skip to content

Commit

Permalink
Add Asgaard [#250]
Browse files Browse the repository at this point in the history
  • Loading branch information
thebigmunch committed Jul 22, 2019
1 parent c89a3f1 commit d798ae9
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions trackers/Asgaard.tracker
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?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):
-
- ***** END LICENSE BLOCK ***** -->

<trackerinfo
type="AG"
shortName="AG"
longName="ASGAARD"
siteName="https://asgrd.org">

<settings>
<description text="Paste (Ctrl+V) any asgrd.org torrent direct download (RSS) link into the text box below to automatically extract passkey."/>
<passkey pasteRegex="[&amp;]torrent_pass=([\da-fA-F]{32})" tooltiptext="Paste your Asgaard RSS link here."/>
</settings>

<servers>
<server
network="Asgaard"
serverNames="irc.asgrd.org"
channelNames="#announce"
announcerNames="Freya"
/>
</servers>

<parseinfo>
<linepatterns>
<extract>
<!-- Nyt Upload: Valhalla.1986.NORDiC.ENG.1080p.WEB-DL.H.264-AGKiDZ .:. Kategori: Kidz::Movies .:. Size: 2.59 GB .:. https://asgrd.org/details.php?id=827 -->
<regex value="Nyt Upload: (.*) .:. Kategori: (.*) .:. Size: (.*) .:. https?\:\/\/([^\/]+\/).*[&amp;\?]id=(\d+)"/>
<vars>
<var name="torrentName"/>
<var name="category"/>
<var name="$torrentSize"/>
<var name="$baseUrl"/>
<var name="$torrentId"/>
</vars>
</extract>
</linepatterns>
<linematched>
<var name="torrentUrl">
<string value="http://"/>
<var name="$baseUrl"/>
<string value="download.php?torrent="/>
<var name="$torrentId"/>
<string value="&amp;torrent_pass="/>
<var name="passkey"/>
</var>
</linematched>
<ignore>
</ignore>
</parseinfo>
</trackerinfo>

0 comments on commit d798ae9

Please sign in to comment.