Jackett/src/Jackett.Common/Definitions/tokyotosho.yml

107 lines
2.5 KiB
YAML
Raw Normal View History

---
id: tokyotosho
name: Tokyo Toshokan
description: "A BitTorrent Library for Japanese Media"
language: en-us
type: public
encoding: UTF-8
links:
- https://www.tokyotosho.info/
- https://tokyotosho.unblocked.rest/
2020-05-12 19:15:11 +00:00
legacylinks:
- https://tokyotosho.black-mirror.xyz/
- https://tokyotosho.unblocked.casa/
- https://tokyotosho.proxyportal.fun/
- https://tokyotosho.uk-unblock.xyz/
- https://tokyotosho.ind-unblock.xyz/
- https://tokyotosho.unblocked.bar/
- https://tokyotosho.proxyportal.pw/
- https://tokyotosho.uk-unblock.pro/
settings:
- name: type-id
type: text
label: Type Id
caps:
categories:
1: TV/Anime # Anime
10: TV/Anime # Non-English Anime
3: Books # Manga
8: TV/Anime # Drama
2: Audio # Anime Music
9: TV/Anime # Anime Music Videos
7: TV/Anime # Raw Anime
4: XXX # Hentai
12: XXX # Hentai (Anime)
13: XXX # Hentai (Manga)
14: XXX # Hentai (Games)
11: TV/Anime # Batch
15: XXX # JAV
5: Other # Other
modes:
search: [q]
tv-search: [q, season, ep]
search:
paths:
- path: "{{ if .Keywords }}search.php{{else}}index.php{{end}}"
inputs:
terms: "{{ .Keywords }}"
type: "{{ .Config.type-id }}"
cat: "{{ .Config.type-id }}"
rows:
selector: "table.listing tr.category_0"
after: 1
filters:
- name: andmatch
2020-01-21 06:00:36 +00:00
fields:
category:
selector: a[href*="?cat="]
attribute: href
filters:
- name: regexp
args: (\d+)
title:
selector: td.desc-top a[type="application/x-bittorrent"]
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: td.desc-top a[type="application/x-bittorrent"]
attribute: href
magnet:
selector: a[href^="magnet:?xt="]
attribute: href
optional: true
size:
selector: td.desc-bot
filters:
- name: split
args: ["|", 1]
- name: regexp
args: "Size: (.+?) ?$"
date:
selector: td.desc-bot
filters:
- name: split
args: ["|", 2]
- name: regexp
args: "Date: (.+?) ?$"
- name: replace
2020-05-13 00:17:16 +00:00
args: ["UTC", "-00"]
- name: dateparse
args: "2006-01-02 15:04 -07"
seeders:
selector: td.stats > span:nth-child(1)
leechers:
selector: td.stats > span:nth-child(2)
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
2020-01-21 06:00:36 +00:00
# Engine n/a