diff --git a/README.md b/README.md index e2438ae7e..685b2e029 100644 --- a/README.md +++ b/README.md @@ -476,6 +476,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Speedmaster HD * SpeedTorrent Reloaded * Spirit of Revolution + * SportHD * SportsCult * SpringSunday * Superbits (SBS) diff --git a/src/Jackett.Common/Definitions/sporthd.yml b/src/Jackett.Common/Definitions/sporthd.yml new file mode 100644 index 000000000..dc2a515b6 --- /dev/null +++ b/src/Jackett.Common/Definitions/sporthd.yml @@ -0,0 +1,214 @@ +--- +id: sporthd +name: SportHD +description: "SportHD is a Private Torrent Tracker for HD SPORTS" +language: en-us +type: private +encoding: UTF-8 +links: + - http://sporthd.org/ # site does not support https ERR_CONNECTION_REFUSED + +caps: + categorymappings: + - {id: 83, cat: TV/Sport, desc: "AFC Champions League"} + - {id: 50, cat: TV/Sport, desc: "Australian Open"} + - {id: 32, cat: TV/Sport, desc: "Basketball"} + - {id: 85, cat: TV/Sport, desc: "Basketball Champions League"} + - {id: 87, cat: TV/Sport, desc: "Basketball Eurocup"} + - {id: 88, cat: TV/Sport, desc: "Basketball Pro A"} + - {id: 80, cat: TV/Sport, desc: "Belgian ProLeague"} + - {id: 22, cat: TV/Sport, desc: "Boxing"} + - {id: 23, cat: TV/Sport, desc: "Brasilareo Seria A"} + - {id: 54, cat: TV/Sport, desc: "Brazil League"} + - {id: 11, cat: TV/Sport, desc: "BundesLiga"} + - {id: 90, cat: TV/Sport, desc: "Bundesliga 2"} + - {id: 45, cat: TV/Sport, desc: "CAF"} + - {id: 78, cat: TV/Sport, desc: "Canadian Football League"} + - {id: 37, cat: TV/Sport, desc: "Champions Hockey League"} + - {id: 77, cat: TV/Sport, desc: "Chinese Super League"} + - {id: 74, cat: TV/Sport, desc: "CONCACAF"} + - {id: 70, cat: TV/Sport, desc: "Confederation CUP"} + - {id: 76, cat: TV/Sport, desc: "CONMEBOL"} + - {id: 46, cat: TV/Sport, desc: "Copa Americana"} + - {id: 41, cat: TV/Sport, desc: "Copa Del Rey"} + - {id: 42, cat: TV/Sport, desc: "Copa do Brasil"} + - {id: 43, cat: TV/Sport, desc: "Copa Libertadores"} + - {id: 73, cat: TV/Sport, desc: "Copa MX"} + - {id: 40, cat: TV/Sport, desc: "Coppa Italia"} + - {id: 51, cat: TV/Sport, desc: "Coupe de France"} + - {id: 79, cat: TV/Sport, desc: "cyclisme"} + - {id: 39, cat: TV/Sport, desc: "DFB Pokal"} + - {id: 72, cat: TV/Sport, desc: "EFL"} + - {id: 49, cat: TV/Sport, desc: "English League Cup"} + - {id: 8, cat: TV/Sport, desc: "EPL"} + - {id: 13, cat: TV/Sport, desc: "Eredivisie"} + - {id: 2, cat: TV/Sport, desc: "EURO Cup"} + - {id: 6, cat: TV/Sport, desc: "EURO Cup Qualification"} + - {id: 66, cat: TV/Sport, desc: "Eurobasket"} + - {id: 53, cat: TV/Sport, desc: "Euroleague ULEB"} + - {id: 86, cat: TV/Sport, desc: "Europe Cup FIBA"} + - {id: 38, cat: TV/Sport, desc: "FA Cup"} + - {id: 59, cat: TV/Sport, desc: "FIFA U-20 World Cup"} + - {id: 69, cat: TV/Sport, desc: "FIFA World Clup Cup"} + - {id: 19, cat: TV/Sport, desc: "Football League Championship"} + - {id: 18, cat: TV/Sport, desc: "Formula 1"} + - {id: 81, cat: TV/Sport, desc: "France Ligue 2"} + - {id: 7, cat: TV/Sport, desc: "Friendly matches"} + - {id: 91, cat: TV/Sport, desc: "Greece Basket"} + - {id: 30, cat: TV/Sport, desc: "Handball"} + - {id: 31, cat: TV/Sport, desc: "IIHF"} + - {id: 15, cat: TV/Sport, desc: "IndyCar"} + - {id: 20, cat: TV/Sport, desc: "KHL"} + - {id: 10, cat: TV/Sport, desc: "La Liga"} + - {id: 89, cat: TV/Sport, desc: "liga Endesa"} + - {id: 84, cat: TV/Sport, desc: "Liga Sudamericana"} + - {id: 12, cat: TV/Sport, desc: "Ligue 1"} + - {id: 21, cat: TV/Sport, desc: "Major League Soccer"} + - {id: 67, cat: TV/Sport, desc: "MLB"} + - {id: 63, cat: TV/Sport, desc: "MMA"} + - {id: 58, cat: TV/Sport, desc: "MotoGP"} + - {id: 16, cat: TV/Sport, desc: "NBA"} + - {id: 57, cat: TV/Sport, desc: "NBA Playoffs"} + - {id: 14, cat: TV/Sport, desc: "NCAA"} + - {id: 34, cat: TV/Sport, desc: "NFL"} + - {id: 17, cat: TV/Sport, desc: "NHL"} + - {id: 36, cat: TV/Sport, desc: "Old classic games"} + - {id: 68, cat: TV/Sport, desc: "Olympic Games 2016"} + - {id: 28, cat: TV/Sport, desc: "Other domestic leagues"} + - {id: 55, cat: TV/Sport, desc: "Paulista A1"} + - {id: 26, cat: TV/Sport, desc: "Portuguese League"} + - {id: 65, cat: TV/Sport, desc: "ROH"} + - {id: 61, cat: TV/Sport, desc: "Rollan Garros"} + - {id: 29, cat: TV/Sport, desc: "Rugby"} + - {id: 82, cat: TV/Sport, desc: "Scotland Premiership"} + - {id: 9, cat: TV/Sport, desc: "Serie A"} + - {id: 33, cat: TV/Sport, desc: "SHL"} + - {id: 47, cat: TV/Sport, desc: "Ski Jumping"} + - {id: 71, cat: TV/Sport, desc: "Snooker"} + - {id: 25, cat: TV/Sport, desc: "Sport video"} + - {id: 44, cat: TV/Sport, desc: "Sudamericana"} + - {id: 52, cat: TV/Sport, desc: "Taca Da Liga"} + - {id: 24, cat: TV/Sport, desc: "Tennis"} + - {id: 64, cat: TV/Sport, desc: "TNA"} + - {id: 56, cat: TV/Sport, desc: "Torneo Premiera A"} + - {id: 75, cat: TV/Sport, desc: "Turkish Super Lig"} + - {id: 3, cat: TV/Sport, desc: "UCL"} + - {id: 4, cat: TV/Sport, desc: "UEL"} + - {id: 60, cat: TV/Sport, desc: "UFC"} + - {id: 35, cat: TV/Sport, desc: "Volleyball"} + - {id: 5, cat: TV/Sport, desc: "WC Qualification"} + - {id: 1, cat: TV/Sport, desc: "World Cup"} + - {id: 27, cat: TV/Sport, desc: "World Cup 2014"} + - {id: 48, cat: TV/Sport, desc: "WWE"} + + modes: + search: [q] + tv-search: [q] + +settings: + - name: cookie + type: text + label: Cookie + - name: info_cookie + type: info + label: How to get the Cookie + default: "
  1. Login to this tracker with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button (Chrome Browser) or HTML button (FireFox)
  5. Refresh the page by pressing F5
  6. Click on the first row entry
  7. Select the Headers tab on the Right panel
  8. Find 'cookie:' in the Request Headers section
  9. Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
" + + - name: sort + type: select + label: Sort requested from site + default: "2" + options: + "2": "created" + "4": "seeders" + "3": "size" + "1": "title" + - name: type + type: select + label: Order requested from site + default: "desc" + options: + "desc": "desc" + "asc": "asc" + - name: info_results + type: info + label: Results Per Page + default: For best results, change the Torrents per page: setting to 100 on your account profile. + +login: + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: index.php + +download: + selector: a[href^="download.php?id="] + attribute: href + +search: + paths: + # http://sporthd.org/browse.php?cat=0&incldead=1&sort=2&type=desc&s=0&stype=0&search= + - path: browse.php + inputs: + $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" + search: "{{ .Keywords }}" + # 1 active 2 dead 3 free + incldead: 1 + # 0 match again 1 match like + s: 0 + # 0 name 1 description + stype: 0 + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" + + rows: + selector: table.embedded > tbody > tr:has(a[href^="browse.php?cat="]) + + fields: + category: + selector: a[href^="browse.php?cat="] + attribute: href + filters: + - name: querystring + args: cat + title: + selector: a[href^="details.php?id="] + details: + selector: a[href^="details.php?id="] + attribute: href + download: + selector: a[href^="details.php?id="] + attribute: href + filters: + - name: replace + args: ["details.php?id=", "download.php?id="] + size: + selector: td:nth-last-child(4) + seeders: + selector: td:nth-last-child(3) + filters: + - name: split + args: ["|", 0] + leechers: + selector: td:nth-last-child(3) + filters: + - name: split + args: ["|", 0] + date: + selector: td:nth-last-child(1) + filters: + - name: regexp + args: "^(.+?)\\d{4}" + - name: timeago + description: + optional: true + selector: img[src="/pic/vipbig.gif"] + attribute: title + downloadvolumefactor: + case: + img[src="/pic/freedownload.gif"]: 0 + "*": 1 + uploadvolumefactor: + text: 1 +# engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 96b7ec25e..200e68050 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -373,7 +373,6 @@ namespace Jackett.Updater "Definitions/solidtorrents.yml", // migrated to C# "Definitions/soundpark.yml", // to be migrated to C# "Definitions/speed-share.yml", - "Definitions/sporthd.yml", "Definitions/t411.yml", "Definitions/t411v2.yml", "Definitions/tazmaniaden.yml",