mirror of
https://github.com/Jackett/Jackett
synced 2024-12-29 11:17:22 +00:00
add anisource a public raws anime site. resolves #8347
This commit is contained in:
parent
f1f6626125
commit
d8fd6f63fa
2 changed files with 92 additions and 0 deletions
|
@ -32,6 +32,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* Anidex
|
||||
* Anime Tosho
|
||||
* AniRena
|
||||
* AniSource
|
||||
* AudioBook Bay (ABB)
|
||||
* Badass Torrents
|
||||
* BigFANGroup
|
||||
|
|
91
src/Jackett.Common/Definitions/anisource.yml
Normal file
91
src/Jackett.Common/Definitions/anisource.yml
Normal file
|
@ -0,0 +1,91 @@
|
|||
---
|
||||
site: anisource
|
||||
name: AniSource
|
||||
description: "AniSource is a Public site for HD Anime raws."
|
||||
language: en-us
|
||||
type: public
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- https://asnet.pw/
|
||||
|
||||
settings: []
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: 1, cat: TV/Anime, desc: "Raw Animes"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: /
|
||||
- path: /
|
||||
inputs:
|
||||
tpage: 2
|
||||
- path: /
|
||||
inputs:
|
||||
tpage: 3
|
||||
- path: /
|
||||
inputs:
|
||||
tpage: 4
|
||||
- path: /
|
||||
inputs:
|
||||
tpage: 5
|
||||
inputs:
|
||||
search: "{{ .Keywords }}"
|
||||
|
||||
rows:
|
||||
selector: div[class^="item"]
|
||||
|
||||
fields:
|
||||
category:
|
||||
text: 1
|
||||
title:
|
||||
selector: a[href*="/showprofile/"]
|
||||
filters:
|
||||
# move group to the end
|
||||
- name: re_replace
|
||||
args: ["^(\\[.+?\\]) (.+?)$", "$2 $1"]
|
||||
details:
|
||||
selector: a[href*="/showprofile/"]
|
||||
attribute: href
|
||||
download:
|
||||
selector: a[href*="/download/"]
|
||||
attribute: href
|
||||
magnet:
|
||||
selector: a[href^="magnet:?xt="]
|
||||
attribute: href
|
||||
date:
|
||||
selector: font[color="Black"]
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "Date: (.+?) Central"
|
||||
- name: replace
|
||||
args: [" at ", " "]
|
||||
- name: append
|
||||
args: " -09:00"
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04 -07:00"
|
||||
size:
|
||||
selector: font[color="Black"]
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "Size: (.+?) \\|"
|
||||
- name: replace
|
||||
args: ["b", "B"]
|
||||
files:
|
||||
selector: font[color="Black"]
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (\d+)$
|
||||
seeders:
|
||||
text: 1
|
||||
leechers:
|
||||
text: 1
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
# engine n/a
|
Loading…
Reference in a new issue