1---
2id: catorrent
3name: Catorrent
4description: "Catorrent is a RUSSIAN Semi-Private Torrent Tracker for GAMES"
5language: ru-ru
6type: semi-private
7encoding: UTF-8
8links:
9  - https://catorrent.org/
10
11caps:
12  categorymappings:
13    - {id: PC, cat: PC/Games, desc: "PC"}
14    - {id: PS1, cat: Console/Other, desc: "Playstation 1"}
15    - {id: PS2, cat: Console/Other, desc: "Playstation 2"}
16    - {id: PS3, cat: Console/PS3, desc: "Playstation 3"}
17    - {id: PS4, cat: Console/PS4, desc: "Playstation 4"}
18    - {id: SWITCH, cat: Console/Other, desc: "Nintendo Switch"}
19    - {id: PSP, cat: Console/PSP, desc: "Playstation (portable) PSP"}
20    - {id: PSVITA, cat: Console/PS Vita, desc: "Playstation Vita"}
21    - {id: XONE, cat: Console/XBox One, desc: "Xbox ONE"}
22    - {id: X360, cat: Console/XBox 360, desc: "Xbox 360"}
23    - {id: WIIU, cat: Console/WiiU, desc: "Nintendo WIIU"}
24    - {id: WII, cat: Console/Wii, desc: "Nintendo WII"}
25    - {id: 3DS, cat: Console/3DS, desc: "Nintendo 3DS"}
26    - {id: NDS, cat: Console/NDS, desc: "Nintendo DS"}
27    - {id: N64, cat: Console/Other, desc: "Nintendo 64"}
28    - {id: NGC, cat: Console/Other, desc: "Nintendo Game Cube"}
29    - {id: DREAMCAST, cat: Console/Other, desc: "Dreamcast"}
30    - {id: SAT, cat: Console/Other, desc: "Sega Saturn"}
31
32  modes:
33    search: [q]
34
35settings:
36  - name: username
37    type: text
38    label: Username
39  - name: password
40    type: password
41    label: Password
42
43login:
44  path: index.php
45  method: form
46  form: form[action=""]
47  inputs:
48    login_name: "{{ .Config.username }}"
49    login_password: "{{ .Config.password }}"
50    login_not_save: ""
51    login: submit
52  error:
53    - selector: div.berrors
54  test:
55    path: /
56    selector: a[href$="/index.php?action=logout"]
57
58download:
59  selector: a[href*="/index.php?do=download&id="]
60  attribute: href
61
62search:
63  # https://catorrent.org/index.php?do=search&subaction=search&story=lovelot
64  paths:
65    - path: index.php
66  inputs:
67    do: search
68    subaction: search
69    search_start: 0
70    result_from: 1
71    story: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
72
73  rows:
74    selector: div.short_game_search
75
76  fields:
77    category:
78      selector: div.icon_default
79    title:
80      selector: div.short_game_title
81    details:
82      selector: a[href$=".html"]
83      attribute: href
84    download:
85      selector: a[href$=".html"]
86      attribute: href
87    poster:
88      selector: img
89      attribute: src
90    description:
91      selector: div.short_game_genre
92      optional: true
93    date:
94      text: now
95    seeders:
96      text: 1
97    leechers:
98      text: 1
99    size:
100      text: "512 MB"
101    downloadvolumefactor:
102      text: 0
103    uploadvolumefactor:
104      text: 1
105# engine n/a
106