File: rutor.org.xml

package info (click to toggle)
twatch 0.0.7-1.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 232 kB
  • sloc: perl: 1,203; xml: 354; makefile: 69; sh: 30
file content (57 lines) | stat: -rw-r--r-- 2,391 bytes parent folder | download | duplicates (2)
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
<?xml version='1.0' standalone='yes'?>
<project>
    <name>RuTor</name>
    <url>http://rutor.org</url>
    <order>1</order>
    <watches>
        <watch>
            <name>The Big Bang Theory</name>
            <url>http://rutor.org/search/0/0/000/0/Теория большого взрыва</url>
            <order>1</order>
            <xpath>
                <link>   <![CDATA[//div[@id='index']//a[@class='downgif']/@href]]></link>
                <season> <![CDATA[//div[@id='index']//a[starts-with(@href,'/torrent/')]/text()]]></season>
                <series> <![CDATA[//div[@id='index']//a[starts-with(@href,'/torrent/')]/text()]]></series>
                <quality> <![CDATA[//div[@id='index']//a[starts-with(@href,'/torrent/')]/text()]]></quality>
            </xpath>
            <reg>
                <season><![CDATA[\[(\d+)[xх]\d+\]]]></season>
                <series><![CDATA[\[\d+[xх](\d+)\]]]></series>
                <quality><![CDATA[(HDTVRip)]]></quality>
            </reg>
            <filters>
                <filter>
                    <name>season</name>
                    <value>3</value>
                    <method><![CDATA[>=]]></method>
                </filter>
                <filter>
                    <name>quality</name>
                    <value>HDTVRip</value>
                    <method><![CDATA[eq]]></method>
                </filter>
            </filters>
        </watch>
        <watch>
            <name>How I Met Your Mother</name>
            <url>http://rutor.org/search/Как я встретил вашу маму</url>
            <order>2</order>
            <xpath>
                <link>   <![CDATA[//div[@id='index']//a[@class='downgif']/@href]]></link>
                <season> <![CDATA[//div[@id='index']//a[starts-with(@href,'/torrent/')]/text()]]></season>
                <series> <![CDATA[//div[@id='index']//a[starts-with(@href,'/torrent/')]/text()]]></series>
            </xpath>
            <reg>
                <season><![CDATA[\[(\d+)[xх]\d+\]]]></season>
                <series><![CDATA[\[\d+[xх](\d+)\]]]></series>
            </reg>
            <filters>
                <filter>
                    <name>season</name>
                    <value>5</value>
                    <method><![CDATA[>=]]></method>
                </filter>
            </filters>
        </watch>
    </watches>
</project>