forked from cardigann/cardigann
-
Notifications
You must be signed in to change notification settings - Fork 0
/
torrentbytes.yml
98 lines (94 loc) · 2.56 KB
/
torrentbytes.yml
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
---
site: torrentbytes
name: TorrentBytes
language: en-us
links:
- http://www.torrentbytes.net/
caps:
categories:
41: TV #TV Pack
33: TV/SD #TV SD
38: TV/HD #TV HD
32: TV/SD #TV/DVDRip
40: Movies #Movies Pack
44: Movies #NonScene/Xvid
44: TV #NonScene/Xvid
19: Movies/SD #Movies/SD
5: Movies/HD #Movies/HD
20: Movies/SD #Movies/DVD-R
12: Movies/BluRay #Movies/Full BluRay
45: TV #NonScene/BRip
45: Movies #NonScene/BRip
43: Audio #Music/Pack
48: Audio/Lossless #Music/Flac
6: Audio/MP3
25: Audio/Video # Music/DVDR
34: Audio/Video # Music/Videos
46: TV #NonScene/x264
46: Movies #NonScene/x264
42: PC/Games # Games/Pack
42: Console # Games/Pack
42: PC/Mac # Games/Pack
4: PC/Games # Games/PC
47: Console/PS3 #Games/PS3
30: Console/Xbox #Games/Xbox
27: Console/Wii #Games/Wii
26: PC/Games #Games/other
26: PC/Mac #Games/other
26: Console #Games/other
21: XXX/Packs #Games/Pack
9: XXX #XXX/SD
39: XXX #XXX/HD
29: XXX #XXX/Web
24: XXX/Imageset #XXX/IMGSE
1: PC
22: PC
23: TV/Anime
28: TV/Foreign
28: Movies/Foreign
31: Other/Misc
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: /login.php
method: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- path: /takelogin.php
message:
selector: td.text
test:
path: /inbox.php
search:
path: /browse.php
inputs:
$raw: "search={{ .Query.Keywords }}"
# $raw: "{{range .Categories}}filter_cat[]={{.}}&{{end}}searchstr={{ .Query.Keywords }}"
rows:
selector: "html body div#innerwrapper div#mainframe div#content div center table tbody tr:not(:first-child)"
fields:
category:
selector: td:nth-child(1) a,td:nth-child(2) a
attribute: href
filters:
- name: regexp
args: "browse\\.php\\?cat=(\\d+)|(.*)"
title:
selector: td:nth-child(2) a:nth-child(2)
details:
selector: td:nth-child(2) a:nth-child(2)
attribute: href
download:
selector: td:nth-child(2) a
attribute: href
size:
selector: td:nth-child(7)
date:
selector: td:nth-child(5)
seeders:
selector: td:nth-child(9)
leechers:
selector: td:nth-child(10)