1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-23 14:51:01 +00:00

sportscult: update download, add new categories. resolves #5378

This commit is contained in:
Garfield69 2019-06-01 07:12:19 +12:00
parent a16a0ff73c
commit 771e2ea2be

View file

@ -13,11 +13,13 @@
- {id: 47, cat: TV/Sport, desc: "EPL"}
- {id: 41, cat: TV/Sport, desc: "American Football"}
- {id: 17, cat: TV/Sport, desc: "Athletics"}
- {id: 51, cat: TV/Sport, desc: "Baseball"}
- {id: 34, cat: TV/Sport, desc: "Bodybuilding/Fitness"}
- {id: 50, cat: TV/Sport, desc: "Golf"}
- {id: 29, cat: TV/Sport, desc: "Boxing"}
- {id: 19, cat: TV/Sport, desc: "BrainGames"}
- {id: 36, cat: TV/Sport, desc: "BreakDance"}
- {id: 40, cat: TV/Sport, desc: "Cricet/Golf/Baseball"}
- {id: 40, cat: TV/Sport, desc: "Golf"}
- {id: 23, cat: TV/Sport, desc: "Cycling"}
- {id: 31, cat: TV/Sport, desc: "Documentary"}
- {id: 1, cat: TV/Sport, desc: "European Basketball"}
@ -55,6 +57,7 @@
- {id: 16, cat: TV/Sport, desc: "WinterSport"}
- {id: 33, cat: TV/Sport, desc: "Wrestling/Grapling"}
- {id: 48, cat: TV/Sport, desc: "Uncategorised"}
- {id: 53, cat: TV/Sport, desc: "Cricket"}
modes:
search: [q]
@ -71,9 +74,6 @@
test:
path: index.php
download:
selector: a[href^="download.php?id="]
search:
paths:
- path: index.php
@ -96,11 +96,8 @@
remove: span
selector: td:nth-child(2)
download:
selector: a[href^="index.php?page=torrent-details&id="]
selector: a[href^="download.php?id="]
attribute: href
filters:
- name: replace
args: ["index.php?page=torrent-details&id=", "download.php?id="]
details:
selector: a[href^="index.php?page=torrent-details&id="]
attribute: href