forked from cardigann/cardigann
-
Notifications
You must be signed in to change notification settings - Fork 0
/
funfile.yml
79 lines (73 loc) · 1.8 KB
/
funfile.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
---
site: funfile
name: FunFile
description: "A general tracker"
language: en-us
links:
- https://www.funfile.org/
caps:
categories:
44: TV/Anime # Anime
22: PC # Applications
43: Audio/Audiobook # Audio Books
27: Books # Ebook
4: PC/Games # Games
40: Other/Misc # Miscellaneous
19: Movies # Movies
6: Audio # Music
31: PC/Phone-Other # Portable
7: TV # TV
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: /takelogin.php
method: post
form: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
login: "Login"
error:
- selector: mf_content
test:
path: /my.php
ratio:
path: /browse.php
selector: div:has(div#clock) > b + b+ b > span
search:
path: /browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: 1
showspam: 1
rows:
selector: table[cellpadding="2"] > tbody > tr:has(td.row3)
fields:
title:
selector: a[title][href^="details.php"]
attribute: title
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
comments:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php"]
attribute: href
size:
selector: td:nth-child(8)
seeders:
selector: td:nth-child(10)
leechers:
selector: td:nth-child(11)
date:
selector: td:nth-child(6)
filters:
- name: append
args: " ago"