mirror of
https://github.com/Jackett/Jackett
synced 2025-03-06 19:58:38 +00:00
skytorrentsclone2: convert to categorymappings
code tidy
This commit is contained in:
parent
76b80eb4a7
commit
baac86e376
1 changed files with 16 additions and 16 deletions
|
@ -22,18 +22,18 @@ legacylinks:
|
||||||
- https://www.skytorrents.lol/ # redirects to skytorrents.to
|
- https://www.skytorrents.lol/ # redirects to skytorrents.to
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categories:
|
categorymappings:
|
||||||
other: Other
|
- {id: other, cat: Other, desc: Other}
|
||||||
# category=
|
# category=
|
||||||
album: Audio
|
- {id: album, cat: Audio, desc: Album}
|
||||||
ebook: Books
|
- {id: ebook, cat: Books, desc: Ebook}
|
||||||
movie: Movies
|
- {id: movie, cat: Movies, desc: Movie}
|
||||||
show: TV
|
- {id: show, cat: TV, desc: Show}
|
||||||
# type=
|
# type=
|
||||||
audio: Audio
|
- {id: audio, cat: Audio, desc: Audio}
|
||||||
doc: Books
|
- {id: doc, cat: Books, desc: Doc}
|
||||||
games: PC/Games
|
- {id: games, cat: PC/Games, desc: Games}
|
||||||
software: PC
|
- {id: software, cat: PC, desc: Software}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
@ -64,8 +64,6 @@ search:
|
||||||
selector: tr.result
|
selector: tr.result
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
|
||||||
selector: td a
|
|
||||||
category:
|
category:
|
||||||
text: other
|
text: other
|
||||||
category|noappend:
|
category|noappend:
|
||||||
|
@ -76,6 +74,8 @@ search:
|
||||||
# try type=
|
# try type=
|
||||||
selector: a.label[href*="type="]
|
selector: a.label[href*="type="]
|
||||||
optional: true
|
optional: true
|
||||||
|
title:
|
||||||
|
selector: td a
|
||||||
details:
|
details:
|
||||||
selector: td a
|
selector: td a
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
Loading…
Add table
Reference in a new issue