forked from cardigann/cardigann
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitmetv.yml
77 lines (71 loc) · 1.58 KB
/
bitmetv.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
---
site: bitmetv
name: BitMeTV
language: en-us
links:
- http://www.bitmetv.org/
settings:
- name: cookie
type: text
label: Cookie
caps:
categories:
1: TV
modes:
search: [q]
tv-search: [q, season, ep]
login:
method: cookie
inputs:
cookie: "{{ .Config.cookie }}"
test:
path: https://www.bitmetv.org/messages.php
ratio:
path: https://www.bitmetv.org/browse.php
selector: span.smallfont > font[color="1900D1"] + font
search:
path: https://www.bitmetv.org/browse.php
inputs:
search: "{{ .Keywords }}"
incldead: "1"
rows:
selector: table[cellpadding="5"] > tbody > tr:has(td.latest)
fields:
category:
text: 1
title:
selector: td:nth-child(2) > a
attribute: title
details:
selector: td:nth-child(2) > a
attribute: href
download:
selector: td:nth-child(3) > a
attribute: href
size:
selector: td:nth-child(7)
remove: br
date:
selector: td:nth-child(2) > font[size="1"]
remove: br
ffilters:
- name: split
args: [ "|", 1 ]
- name: trim
args: "."
seeders:
selector: td:nth-child(9)
leechers:
selector: td:nth-child(10)
files:
selector: td:nth-child(4)
grabs:
selector: td:nth-child(8)
filters:
- name: regexp
args: "(\\d+)"
downloadvolumefactor:
case:
"*": "1"
uploadvolumefactor:
text: "1"