Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- site: hdcenter
- name: HD-Center
- description: German HD Tracker
- language: de-de
- links:
- - https://hdcenter.cc/
- caps:
- categorymappings:
- - {id: 1, cat: Movies, desc: "Movies HD"}
- - {id: 2, cat: Movies, desc: "Movies 3D"}
- - {id: 3, cat: TV, desc: "TV HD"}
- - {id: 9, cat: Movies, desc: "Movies HD HDC"}
- - {id: 10, cat: TV, desc: "TV HD TvR"}
- - {id: 11, cat: Movies, desc "Movies HD 10 Bit"}
- - {id: 13, cat: TV, desc: "TV HD NERDS"}
- modes:
- search: [q]
- tv-search: [q, season, ep]
- login:
- path: /login.php
- method: form
- form: form
- inputs:
- username: "{{ .Config.username }}"
- password: "{{ .Config.password }}"
- error:
- - selector: "#error-text"
- test:
- path: /index.php
- ratio:
- path: /index.php
- selector: "#stats_ratio .stat > span"
- search:
- path: /torrents.php
- inputs:
- $raw: "searchstr={{ .Query.Keywords }}&freetorrent=&order_by=time&order_way=desc"
- rows:
- selector: table#torrent_table tr.torrent
- fields:
- category:
- selector: td.cats_col a
- attribute: href
- filters:
- - name: regexp
- args: \[([^]]+)\]
- title:
- selector: td.title_col .torrent_title_div a.torrent_link_title
- download:
- selector: td.title_col .tools a[title="download"]
- attribute: href
- size:
- selector: td.size_col
- date:
- selector: td.time_col > .time
- attribute: title # this contains the time since upload
- seeders:
- selector: td.seeder_col
- leechers:
- selector: td.leecher_col
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement