Coder Social home page Coder Social logo

Add Abnormal about autodl-trackers HOT 2 OPEN

kaypoush avatar kaypoush commented on July 21, 2024
Add Abnormal

from autodl-trackers.

Comments (2)

Lorenz1508 avatar Lorenz1508 commented on July 21, 2024

@kaypoush this error message occurs each time when i save this file in the folder ~/.irssi/scripts/AutodlIrssi/trackers/

Tracker with type 'flr' has already been added. | 10:28:30 -!- Irssi: Successfully loaded tracker files | 10:50:23 -!- Irssi: ERROR: Could not parse '/home/lorenz/.irssi/scripts/AutodlIrssi/trackers/ABNormal.tracker': Error: Error parsing /home/lorenz/.irssi/scripts/AutodlIrssi/trackers/ABNormal.tracker: | /home/lorenz/.irssi/scripts/AutodlIrssi/trackers/ABNormal.tracker:81: parser error : xmlParseEntityRef: no name | 10:50:23 -!- Irssi: pasteRegex="[\?&]UserId=(\d+)" | 10:50:23 -!- Irssi: ^ | 10:50:23 -!- Irssi: /home/lorenz/.irssi/scripts/AutodlIrssi/trackers/ABNormal.tracker:91: parser error : xmlParseEntityRef: no name | 10:50:23 -!- Irssi: pasteRegex="[\?&]TorrentKey=([\da-z]{32})" | 10:50:23 -!- Irssi: ^ | 10:50:23 -!- Irssi: /home/lorenz/.irssi/scripts/AutodlIrssi/trackers/ABNormal.tracker:125: parser error : xmlParseEntityRef: no name | 10:50:23 -!- Irssi: <regex value="^\s*\|.+\|\s*\|https?\:\/\/([^\/]+\/).*[& | 10:50:23 -!- Irssi: ^ | 10:50:23 -!- Irssi: /home/lorenz/.irssi/scripts/AutodlIrssi/trackers/ABNormal.tracker:155: parser error : EntityRef: expecting ';' | 10:50:23 -!- Irssi: <string value="&TorrentKey="/> | 10:50:23 -!- Irssi: ^ | 10:50:23 -!- Irssi: /home/lorenz/.irssi/scripts/AutodlIrssi/trackers/ABNormal.tracker:159: parser error : EntityRef: expecting ';' | 10:50:23 -!- Irssi: <string value="&ReleaseId="/> | 10:50:23 -!- Irssi: ^ | 10:50:23 -!- Irssi:

from autodl-trackers.

kaypoush avatar kaypoush commented on July 21, 2024

@Lorenz1508 Probably some formatting issue try this instead:

<?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="abn"
        shortName="ABN"
        longName="Abnormal"
        siteName="abn.lol">

        <settings>
                <!--https://abn.lol/Feed/Subscriptions?UserId=XXXXX&TorrentKey=XXXXXXXXXX-->
                <description text="Paste (Ctrl+V) any Abnormal torrent direct download (RSS) link into any one of the two text boxes below to automatically extract TorrentKey and UserId."/>
                <textbox
                        name="uid"
                        text="uid"
                        accesskey="i"
                        tooltiptext="The UserId in any Abnormal torrent direct download (RSS) link."
                        pasteGroup="uid,passkey"
                        pasteRegex="[\?&amp;]UserId=(\d+)"
                />
                <passkey
                        tooltiptext="The TorrentKey in any Abnormal torrent direct download (RSS) link."
                        pasteGroup="uid,passkey"
                        pasteRegex="[\?&amp;]TorrentKey=([\da-z]{32})"
                />
        </settings>

        <servers>
                <server
                        network="Abnormal"
                        serverNames="irc.abn.lol"
                        channelNames="#announce"
                        announcerNames="ABN_BOT"
                        />
        </servers>

        <parseinfo>
                <linepatterns>
                        <extract>
                                <!--|2021/06/20 22:38:52| |https://abn.lol/Torrent/Details?ReleaseId=240502| : |Law.and.Order.True.Crime.S01E02.MULTi.1080p.WEB.H264-FREAMON|-->
                                <regex value="^\s*\|.+\|\s*\|https?\:\/\/([^\/]+\/).*[&amp;\?]ReleaseId\=(\d+)\|[\s:]+\|([^|]+)\|\s*$"/>
                                <vars>
                                        <var name="$baseUrl"/>
                                        <var name="$torrentId"/>
                                        <var name="torrentName"/>
                                </vars>
                        </extract>
                </linepatterns>
                <linematched>
                        <var name="torrentUrl">
                                <!--https://abn.lol/Feed/Download?UserId=XXXXX&TorrentKey=XXXXXXXXXXXX&ReleaseId=XXXXXX-->
                                <string value="https://"/>
                                <var name="$baseUrl"/>
                                <string value="Feed/Download?UserID="/>
                                <var name="uid"/>
                                <string value="&amp;TorrentKey="/>
                                <var name="passkey"/>
                                <string value="&amp;ReleaseId="/>
                                <var name="$torrentId"/>
                        </var>
                </linematched>
                <ignore>
                </ignore>
        </parseinfo>
</trackerinfo>

from autodl-trackers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.