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