-
-
Save subzero79/2bc64de4dd8bac939f5dafcb38fb094b to your computer and use it in GitHub Desktop.
An indexer definition for speed.cd for cardigann
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
site: speedcd | |
name: Speed.CD | |
language: en-us | |
links: | |
- https://??? | |
caps: | |
categories: | |
52: TV/HD #TV/B-Ray | |
51: TV/SD #TV/DVD-R | |
2: TV/SD #TV/Episodes | |
49: TV/HD #TV/HD | |
55: TV/Other #TV/Kids | |
41: TV/Other #TV/Packs | |
50: TV/Sport #TV/Sports | |
modes: | |
tv-search: [q, season, ep] | |
login: | |
path: /login.php | |
form: form | |
inputs: | |
username: "{{ .Config.username }}" | |
password: "{{ .Config.password }}" | |
# error: | |
# - selector: h1:contains("Error:") | |
# message: | |
# selector: "#login p" | |
# remove: style, b | |
test: | |
path: /profile.php | |
search: | |
path: /browse.php | |
inputs: | |
search: "{{ .Query.Keywords }}" | |
rows: | |
selector: "#torrentTable .boxContent > table tbody tr" | |
fields: | |
category: | |
selector: td:nth-child(1) > a:nth-child(1) | |
attribute: href | |
filters: | |
- name: querystring | |
args: cat | |
# title: | |
# selector: a.torrent_name_link | |
# attribute: title | |
# details: | |
# selector: a.torrent_name_link | |
# attribute: href | |
# comments: | |
# selector: a.torrent_name_link | |
# attribute: href | |
# download: | |
# selector: td.table_links a:nth-child(1) | |
# attribute: href | |
# size: | |
# selector: td.table_size | |
# remove: br | |
# date: | |
# selector: td.table_added | |
# remove: br | |
# filters: | |
# - name: reltime | |
# args: 02-Jan-2006 | |
# - name: dateparse | |
# args: 02-Jan-2006 15:04:05 | |
# seeders: | |
# selector: td.table_seeders a span | |
# leechers: | |
# selector: td.table_leechers a | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment