mirror of
https://github.com/Jackett/Jackett
synced 2025-02-24 15:21:06 +00:00
Add AlphaReign tracker (#729)
This commit is contained in:
parent
23c13969ae
commit
e16454f30c
4 changed files with 88 additions and 0 deletions
|
@ -16,6 +16,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
#### Supported Private Trackers
|
||||
* Abnormal
|
||||
* AlphaRatio
|
||||
* AlphaReign
|
||||
* Andraste
|
||||
* AnimeBytes
|
||||
* AnimeTorrents
|
||||
|
|
BIN
src/Jackett/Content/logos/alphareign.png
Normal file
BIN
src/Jackett/Content/logos/alphareign.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
81
src/Jackett/Definitions/alphareign.yml
Normal file
81
src/Jackett/Definitions/alphareign.yml
Normal file
|
@ -0,0 +1,81 @@
|
|||
---
|
||||
site: alphareign
|
||||
name: AlphaReign
|
||||
description: "A DHT only tracker"
|
||||
language: en-us
|
||||
|
||||
links:
|
||||
- https://alphareign.se
|
||||
|
||||
caps:
|
||||
categories:
|
||||
Movies: Movies
|
||||
Movies/HD: Movies/HD
|
||||
Movies/SD: Movies/SD
|
||||
TV: TV
|
||||
TV/HD: TV/HD
|
||||
TV/SD: TV/SD
|
||||
Other: Other
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
login:
|
||||
path: /login
|
||||
method: form
|
||||
form: form[action^="/login"]
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
error:
|
||||
- path: /login
|
||||
selector: div.auth-form > div > div.alert-danger
|
||||
|
||||
test:
|
||||
path: settings
|
||||
|
||||
ratio:
|
||||
text: "∞"
|
||||
|
||||
search:
|
||||
path: /
|
||||
method: get
|
||||
inputs:
|
||||
query: "{{ .Keywords }}"
|
||||
rows:
|
||||
selector: .result
|
||||
fields:
|
||||
title:
|
||||
attribute: data-name
|
||||
details:
|
||||
selector: a[href^="/torrent"]
|
||||
attribute: href
|
||||
download:
|
||||
selector: a[href^="magnet:"]
|
||||
attribute: href
|
||||
date:
|
||||
attribute: data-added
|
||||
size:
|
||||
attribute: data-size
|
||||
seeders:
|
||||
attribute: data-seeders
|
||||
leechers:
|
||||
attribute: data-leechers
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
"*": "1"
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"*": "1"
|
||||
category:
|
||||
case:
|
||||
"span[class=\"label label-primary\"]:contains(\"video\") + span[class=\"label label-success\"]:contains(\"movie\") + span[class=\"label label-info\"]:contains(\"HD\")": "Movies/HD"
|
||||
"span[class=\"label label-primary\"]:contains(\"video\") + span[class=\"label label-success\"]:contains(\"movie\") + span[class=\"label label-info\"]:contains(\"720p\")": "Movies/HD"
|
||||
"span[class=\"label label-primary\"]:contains(\"video\") + span[class=\"label label-success\"]:contains(\"movie\") + span[class=\"label label-info\"]:contains(\"1080p\")": "Movies/HD"
|
||||
"span[class=\"label label-primary\"]:contains(\"video\") + span[class=\"label label-success\"]:contains(\"movie\") + span[class=\"label label-info\"]:contains(\"SD\")": "Movies/SD"
|
||||
"span[class=\"label label-primary\"]:contains(\"video\") + span[class=\"label label-success\"]:contains(\"movie\")": "Movies"
|
||||
"span[class=\"label label-primary\"]:contains(\"video\") + span[class=\"label label-success\"]:contains(\"show\") + span[class=\"label label-info\"]:contains(\"HD\")": "TV/HD"
|
||||
"span[class=\"label label-primary\"]:contains(\"video\") + span[class=\"label label-success\"]:contains(\"show\") + span[class=\"label label-info\"]:contains(\"SD\")": "TV/SD"
|
||||
"span[class=\"label label-primary\"]:contains(\"video\") + span[class=\"label label-success\"]:contains(\"show\")": "TV"
|
||||
"*": "Other"
|
|
@ -374,6 +374,9 @@
|
|||
<None Include="CurlSharp.dll.config">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<Content Include="Content\logos\alphareign.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Content\logos\animetorrents.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
@ -443,6 +446,9 @@
|
|||
<Content Include="Definitions\ethor.yml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Definitions\alphareign.yml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<None Include="packages.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
|
|
Loading…
Reference in a new issue