animetime: add public anime tracker (#14577)

Co-authored-by: Garfield69 <garfield69@outlook.com>
This commit is contained in:
Bogdan 2023-07-23 09:46:41 +03:00 committed by GitHub
parent 674cf8eba4
commit b648f95d53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 70 additions and 0 deletions

View File

@ -30,6 +30,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* ACG.RIP
* Anidex
* AniLibria
* Anime Time
* Anime Tosho
* AniRena
* AniSource

View File

@ -0,0 +1,69 @@
---
id: animetime
name: Anime Time
description: "Anime Time is a PUBLIC torrent tracker for anime"
language: en-US
type: public
encoding: UTF-8
requestDelay: 2
links:
- https://animetime.cc/
caps:
categories:
Anime: TV/Anime
modes:
search: [q]
tv-search: [q, season, ep]
settings: []
search:
paths:
# https://animetime.cc/search?query=
- path: "{{ if .Keywords }}search{{ else }}{{ end }}"
inputs:
query: "{{ .Keywords }}"
keywordsfilters:
- name: trim
- name: re_replace
args: ["\\W+", "%"]
rows:
selector: div.flow-root > div.divide-y > div.p-2.space-y-2
fields:
category:
text: Anime
title:
selector: div.flex.flex-wrap ~ p
details:
text: "{{ .Config.sitelink }}search?query={{ .Result.title }}"
download:
selector: a[href*="/download/"]
attribute: href
magnet:
selector: a[href^="magnet:?xt="]
attribute: href
date:
selector: span[data-tip]
attribute: data-tip
filters:
- name: append
args: " +02:00" # EET
- name: dateparse
args: "yyyy-MM-dd HH:mm:ss zzz"
size:
selector: span.badge.badge-ghost
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a