autodl-community / autodl-irssi

A community-driven fork of autodl-irssi
https://autodl-community.github.io/autodl-irssi/
374 stars 73 forks source link

Add hdbits.tracker #206

Open phiend7 opened 4 years ago

phiend7 commented 4 years ago

tested and verified working

Updated Announce Outputs (Just in case): New Torrent: Gilmore Girls: A Year in the Life S01 Hybrid 1080p WEBRip DTS-HD MA 5.1 x264-DEFLATE - Type: TV (H.264, Encode) - Uploaded by: Jijooo

New Torrent: À bout de souffle 1960 2160p EUR UDH Blu-ray HEVC LPCM 2.0-ROCKEFELLER - Type: Movie (HEVC, Blu-ray/HD DVD) - Uploaded by: nelio69 - Size: 49.72 GiB - https://hdbits.org/details.php?id=546574&hit=1

New Torrent: Trespass 1992 1080p USA Blu-ray AVC DTS-HD MA 2.0-OCULAR - Type: Movie (H.264, Blu-ray/HD DVD) - Uploaded by: JoeGoe - Size: 29.87 GiB - https://hdbits.org/details.php?id=546573&hit=1

<?xml version="1.0"?> <trackerinfo type="hdb" shortName="HDB" longName="HDBits" siteName="www.hdbits.org">

<settings>
    <passkey tooltiptext="Copy the passkey from your profile page"/>
</settings>

<servers>
    <server
        network="HDBits"
        serverNames="irc.p2p-network.net:+6697"
        channelNames="#hdbits.announce"
        announcerNames="midgards"
        />
</servers>

<parseinfo>
    <linepatterns>
        <extract>
            <!--New Torrent: Clockers 1995 1080p Blu-ray AVC DTS-HD MA 5.1-AdBlue - Type: Movie (H.264, Blu-ray/HD DVD) - Uploaded by: AdBlue - Size: 37.61 GiB - https://hdbits.org/details.php?id=519778&hit=1-->
            <!--New Torrent: PilotsEYE tv: QUITO 2014 1080p Blu-ray AVC DD 2.0 - Type: Documentary (H.264, Blu-ray/HD DVD) - Uploaded by: HDheater - Size: 23.14 GiB - https://hdbits.org/details.php?id=519777&hit=1-->
            <!--New Torrent: Xiao Q 2019 720p BluRay DD-EX 5.1 x264-LoRD - Type: Movie (H.264, Encode) Internal! - Uploaded by: penguinking6 - Size: 4.54 GiB - https://hdbits.org/details.php?id=519809&hit=1-->
            <regex value="^New\s?Torrent\:\s?(.*)\s?\-\s?Type\:\s?(.*)\s?\((.+)\).*?\-\s?Uploaded\s?by\:\s?(.*)\s?\-\s?Size\:\s?(.+)\s?\-\s?https?\:\/\/.+id=(\d*)"/>
            <vars>
                <var name="torrentName"/>
                <var name="category"/>
                <var name="$releaseTags"/>
                <var name="uploader"/>
                <var name="$torrentSize"/>
                <var name="$torrentId"/>
            </vars>
        </extract>
        <extract>
            <!--New Torrent: The Gentlemen 2019 UHD Blu-ray English TrueHD 7.1 - Type: Audio Track - Uploaded by: lukeinv - Size: 3.19 GiB - https://hdbits.org/details.php?id=519896&hit=1-->
            <regex value="^New\s?Torrent\:\s?(.*)\s?\-\s?Type\:\s?(.*)(.+).*?\-\s?Uploaded\s?by\:\s?(.*)\s?\-\s?Size\:\s?(.+)\s?\-\s?https?\:\/\/.+id=(\d*)"/>
            <vars>
                <var name="torrentName"/>
                <var name="category"/>
                <var name="$releaseTags"/>
                <var name="uploader"/>
                <var name="$torrentSize"/>
                <var name="$torrentId"/>
            </vars>
        </extract>
    </linepatterns>
    <linematched>
        <extracttags srcvar="$releaseTags" split=", ">
            <setvarif varName="encoder" regex="(?i)^(?:XviD|DivX|x264|h\.264|h264|h\.265|h265|hevc|mpeg2|VC\-1|VC1|VP9|WMV)$"/>
            <setvarif varName="source" regex="(?i)^(?:R5|DVDScr|BRRip|CAM|TS|TELESYNC|TC|TELECINE|DSR|PDTV|HDTV|DVDRip|BDRip|DVDR|DVD|BluRay|Blu\-Ray|WEBRip|WEB\-DL|WEB|TVRip|HDDVD|HD\-DVD|Blu\-ray\/HD\s?DVD|Encode)$"/>
        </extracttags>

        <var name="torrentUrl">
            <string value="https://hdbits.org/download.php?id="/>
            <var name="$torrentId"/>
            <string value="&amp;passkey="/>
            <var name="passkey"/>
        </var>
    </linematched>
    <ignore>
        <regex value="^New\s?Offer.*" />
        <regex value="^New\s?Request.*" />
    </ignore>
</parseinfo>