animeworld: update to new source (#11852)

Co-authored-by: garfield69 <garfieldsixtynine@gmail.com>
Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:
Pfuenzle 2021-06-02 00:53:45 +02:00 committed by GitHub
parent 1f1f42cf59
commit 87dacdeae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 143 additions and 87 deletions

View File

@ -245,7 +245,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* anasch.cc * anasch.cc
* AnimeBytes (AB) * AnimeBytes (AB)
* AnimeTorrents (AnT) * AnimeTorrents (AnT)
* AnimeWorld (AST4u) [![(invite needed)][inviteneeded]](#) * AnimeWorld [![(invite needed)][inviteneeded]](#)
* Anthelion * Anthelion
* Araba Fenice (Phoenix) [![(invite needed)][inviteneeded]](#) * Araba Fenice (Phoenix) [![(invite needed)][inviteneeded]](#)
* ArabP2P * ArabP2P

View File

@ -1,47 +1,32 @@
--- ---
id: animeworld id: animeworld
name: AnimeWorld name: AnimeWorld
description: "AnimeWorld (AST4u) is a GERMAN Private site for TV / MOVIES / ANIME / HENTAI" description: "AnimeWorld (AW) is a GERMAN Private site for ANIME / MANGA / HENTAI"
language: de-de language: de-de
type: private type: private
encoding: iso-8859-1 encoding: UTF-8
links: links:
- https://animeworld.cx/ - https://animeworld.cx/
legacylinks:
- https://www.ast4u.me/
caps: caps:
categorymappings: categorymappings:
- {id: 35, cat: TV/Anime, desc: "Anime Movie"} - {id: 1, cat: Movies/Other, desc: "Anime Movie"}
- {id: 36, cat: TV/Anime, desc: "Anime Serie"} - {id: 2, cat: TV/Anime, desc: "Anime Serie"}
- {id: 37, cat: Audio/Foreign, desc: "Anime Musik"} - {id: 3, cat: Audio, desc: "Anime Musik/OST"}
- {id: 41, cat: Books, desc: "Anime Pic & Manga"} - {id: 4, cat: PC/Games, desc: "Anime Spiele"}
- {id: 42, cat: XXX, desc: "Hentai Movie & OVA"} - {id: 5, cat: XXX, desc: "Hentai"}
- {id: 43, cat: XXX, desc: "Hentai Serie"} - {id: 6, cat: PC, desc: "Spiele Linux"}
- {id: 44, cat: PC, desc: "Hentai Game"} - {id: 7, cat: Other, desc: "Sonstiges"}
- {id: 45, cat: Movies, desc: "Cartoon Movie"} - {id: 8, cat: Movies, desc: "Filme"}
- {id: 46, cat: TV, desc: "Cartoon Serie"} - {id: 9, cat: TV, desc: "Serien"}
- {id: 47, cat: TV, desc: "TV-Serie"} - {id: 10, cat: PC/Games, desc: "Spiele"}
- {id: 49, cat: TV/Documentary, desc: "Sonstiges Doku"} - {id: 11, cat: Audio, desc: "Musik"}
- {id: 50, cat: Audio, desc: "Sonstiges Soundtrack"} - {id: 12, cat: Books, desc: "Mangas"}
- {id: 52, cat: Movies/HD, desc: "Movie HD"}
- {id: 53, cat: Other, desc: "Sonstiges"}
- {id: 55, cat: Movies/Foreign, desc: "Movie Asia & MartialArts"}
- {id: 56, cat: TV/Anime, desc: "Anime OVA"}
- {id: 58, cat: Movies, desc: "Movie"}
- {id: 59, cat: Audio/Audiobook, desc: "Sonstiges Hoerspiele"}
- {id: 62, cat: Console, desc: "Sonstiges Game"}
- {id: 65, cat: Movies/BluRay, desc: "Movie BluRay"}
- {id: 66, cat: TV, desc: "TV-Serie BluRay"}
- {id: 67, cat: TV/HD, desc: "TV-Serie HD"}
- {id: 68, cat: TV/Anime, desc: "Anime Movie HD & BD"}
- {id: 69, cat: TV/Anime, desc: "Anime OVA HD & BD"}
- {id: 70, cat: TV/Anime, desc: "Anime Serie HD & BD"}
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q] movie-search: [q, imdbid, tmdbid]
music-search: [q] music-search: [q]
book-search: [q] book-search: [q]
@ -52,83 +37,155 @@ settings:
- name: password - name: password
type: password type: password
label: Password label: Password
- name: info - name: freeleech
type: info type: checkbox
label: Results Per Page label: Search freeleech only
default: For best results, change the <b>Torrentliste</b> setting to <i>Platzsparendes Layout mit PopUp für zusätzliche Informationen</i> in your profile. default: false
- name: sort
type: select
label: Sort requested from site
default: created_at
options:
created_at: created
seeders: seeders
size: size
name: title
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
login: login:
path: takelogin.php path: login
method: post method: form
form: form[action$="/login"]
inputs: inputs:
username: "{{ .Config.username }}" username: "{{ .Config.username }}"
password: "{{ .Config.password }}" password: "{{ .Config.password }}"
returnto: "/index.php" remember: on
test: selectorinputs:
path: browse.php _token:
selector: input[name="_token"]
attribute: value
error:
- selector: div#ERROR_COPY
# test:
# path: /
# selector: a[href$="/logout"]
search: search:
paths: paths:
- path: browse.php - path: torrents
inputs: inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}" $raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
search: "{{ .Keywords }}" name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search
incldead: 0 description: ""
orderby: added mediainfo: ""
sort: desc keywords: ""
uploader: ""
tmdbId: "{{ .Query.TMDBID }}"
imdbId: "{{ .Query.IMDBIDShort }}"
tvdbId: "{{ .Query.TVDBID }}"
malId: ""
startYear: ""
endYear: ""
sortField: "{{ .Config.sort }}"
sortDirection: "{{ .Config.type }}"
perPage: 100
page: 1
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
selector: table.tableinborder > tbody > tr:has(a[href^="details.php"]) selector: table > tbody > tr
fields: # note: two alternative layouts available fields:
title:
selector: a[href^="details.php"]
title:
optional: true
selector: a[href^="details.php"][title]
attribute: title
category: category:
selector: a[href^="browse.php?cat="] selector: a[href*="/categories/"]
attribute: href attribute: href
filters: filters:
- name: querystring - name: regexp
args: cat args: "/categories/(\\d+)"
details: title:
selector: a[href^="details.php"] selector: a.view-torrent
attribute: href
download: download:
selector: a[href^=" /gettorrent/"] selector: a[href*="/download/"]
attribute: href attribute: href
files: details:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(2), a[href*="&filelist=1"] selector: a.view-torrent
grabs: attribute: href
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(3) > b:nth-child(1), a[href*="&tosnatchers=1"] poster:
selector: div.torrent-poster img
attribute: src
filters:
- name: replace
args: ["https://via.placeholder.com/90x135", ""]
size: size:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(1), td:nth-child(7):has(br) selector: td:nth-last-child(5)
filters:
- name: replace
args: [".", ""]
- name: replace
args: [",", "."]
seeders: seeders:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(2) > b:nth-child(1), a[href*="&toseeders=1"] selector: td:nth-last-child(4)
leechers: leechers:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(2) > b:nth-child(3), a[href*="&todlers=1"] selector: td:nth-last-child(3)
grabs:
selector: td:nth-last-child(2)
date: date:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(5), td:nth-child(5):has(br) selector: td:nth-last-child(1)
filters: filters:
- name: replace # translations for Turkish|Estonian|Danish|Italian|Polish|Norwegian|Portuguese|Czech|Russian|Romanian|Spanish|French|German|Bulgarian|Dutch|Chinese|Japanese|Swedish
args: [" ", ""] - name: re_replace
- name: append args: ["(?i)(önce|tagasi|geleden|fa|temu|siden|há|atrás|nazpět|назад|acum|în urmă|hace|il y a|vor|преди|前|sedan)", " ago"]
args: " +2:00" # EET - name: re_replace
- name: replace args: ["(?i)(saniye|sekundit|sekunder|secondi|sekund|segundos|sekundami|секунд|secunde|secondes|Sekunden|секунди|seconden|秒前)", "seconds"]
args: ["\xA0", ""] - name: re_replace
- name: dateparse args: ["(?i)(minutit|minutter|minuti|minuty|minutos|минуты|минут|Minuten|минути|minuten|minuter)", "minutes"]
args: "02.01.200615:04:05 -07:00" - name: re_replace
args: ["(?i)(dakika|minut|minuto|minuta|minutt|минута|Minute|minuut|分钟|分)", " minute"]
- name: re_replace
args: ["(?i)(tundi|timer|ore|godziny|horas|hodiny|hoden|часа|часов|ore|heures|Stunden|timmar)", "hours"]
- name: re_replace
args: ["(?i)(saat|tund|time|ora|godzina|hora|hodina|час|oră|heure|Stunde|uur|小时|時間|timme)", " hour"]
- name: re_replace
args: ["(?i)(päeva|dage|giorni|dni|dias|dny|дня|дней|zile|días|jours|Tagen|дни|dagen|dagar)", "days"]
- name: re_replace
args: ["(?i)(gün|päev|dag|giorno|dzień|dia|den|день|zi|día|jour|Tag|ден|天|日)", " day"]
- name: re_replace
args: ["(?i)(nädalat|uger|settimane|tygodnie|uker|semanas|týdny|недели|недель|săptămâni|semaines|Wochen|седмици|weken|veckor)", "weeks"]
- name: re_replace
args: ["(?i)(hafta|nädal|uge|settimana|tydzień|uke|semana|týden|неделю|săptămână|semaine|Woche|седмица|周|週間|vecka)", " week"]
- name: re_replace
args: ["(?i) (ay)", "month"]
- name: re_replace
args: ["(?i)(kuud|måneder|mesi|miesiące|meses|měsíce|месяца|месяцев|luni|meses|mois|Monaten|месеца|maanden|månader)", "months"]
- name: re_replace
args: ["(?i)(kuu|måned|mese|miesiąc|mês|měsíc|месяц|lună|mes|Monat|месец|maand|个月|ヶ月|månad)", " month"]
- name: re_replace
args: ["(?i)(aastat|anni|lata|anos|roky|года|ani|años|ans|Jahren|години)", " years"]
- name: re_replace
args: ["(?i)(yil|aasta|år|anno|rok|ano|год|año|Jahr|година|jaar|年)", " year"]
- name: re_replace
args: ["(?i) (an)", "year"]
- name: re_replace
args: ["(?i)(För |und)", ""] # Misc removals
- name: timeago
downloadvolumefactor: downloadvolumefactor:
case: case:
img[src="/pic/free.gif"]: 0 i[class*="fa-id-badge text-orange"]: 0 # 24 Hour FreeLeech From BON Store
i[class*="fa-trophy text-purple"]: 0 # Special FreeLeech For Certain User Groups
i[class*="fa-star text-bold"]: 0 # Freeleech From Token
i[class*="fa-coins text-bold"]: 0 # Freeleech From Token
i[class*="fa-globe text-blue"]: 0 # Global Freeleech
i[class*="fa-star text-gold"]: 0 # Freeleech
i[class*="fa-certificate text-pink"]: 0 # Featured Torrent
"*": 1 "*": 1
uploadvolumefactor: uploadvolumefactor:
text: 1 case:
# engine tbd i[class*="fa-gem text-green"]: 2 # Single Torrent Double Upload
i[class*="fa-globe text-green"]: 2 # Global Double Upload
i[class*="fa-certificate text-pink"]: 2 # Featured Torrent
"*": 1
minimumseedtime:
# 7 day (as seconds = 7 x 24 x 60 x 60)
text: 604800
# UNIT3D 5.3.0

View File

@ -40,7 +40,6 @@ namespace Jackett.Common.Services
// use: {"<old id>", "<new id>"} // use: {"<old id>", "<new id>"}
private readonly Dictionary<string, string> renamedIndexers = new Dictionary<string, string> private readonly Dictionary<string, string> renamedIndexers = new Dictionary<string, string>
{ {
{"ast4u", "animeworld"},
{"audiobooktorrents", "abtorrents"}, {"audiobooktorrents", "abtorrents"},
{"broadcastthenet", "broadcasthenet"}, {"broadcastthenet", "broadcasthenet"},
{"cili180", "cilipro"}, {"cili180", "cilipro"},