forked from cardigann/cardigann
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bithdtv.yml
77 lines (70 loc) · 1.53 KB
/
bithdtv.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
---
site: bithdtv
name: BIT-HDTV
description: Home of High Definition TV
language: en-us
links:
- https://www.bit-hdtv.com/
caps:
categories:
1: TV/Anime
2: Movies/BluRay
4: TV/Documentary
5: TV/Sport
6: Audio
7: Movies
8: Audio/Video
10: TV
11: XXX
12: TV # season packs
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: /login.php
form: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- path: /takelogin.php
message:
selector: table.detail .text
remove: style, b
test:
path: /my.php
ratio:
path: /index.php
selector: "#statusbar font:contains('Ratio') + font"
search:
path: torrents.php
inputs:
search: "{{ .Keywords }}"
cat: 0
rows:
selector: table[width='750'] tbody tr:not(tr:nth-child(1))
fields:
category:
selector: td:nth-child(2) a
attribute: href
filters:
- name: querystring
args: cat
title:
selector: td:nth-child(3) a
attribute: title
details:
selector: td:nth-child(3) a
attribute: href
download:
selector: td:nth-child(1) p a
attribute: href
size:
selector: td:nth-child(7)
remove: br
date:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(9)
leechers:
selector: td:nth-child(10)