Jackett/src/Jackett.Common/Definitions/yourbittorrent.yml

107 lines
2.5 KiB
YAML
Raw Normal View History

---
id: yourbittorrent
name: YourBittorrent
description: "YourBittorrent is a Public torrent index"
language: en-us
type: public
encoding: UTF-8
links:
- https://yourbittorrent.com/
- https://yourbittorrent2.com/
legacylinks:
- https://yourbittorrent.host/
caps:
categorymappings:
- {id: anime, cat: TV/Anime, desc: Anime}
- {id: software, cat: PC, desc: Software}
- {id: ebooks, cat: Books, desc: Ebooks}
- {id: adult, cat: XXX, desc: Adult}
- {id: games, cat: PC/Games, desc: Games}
- {id: movies, cat: Movies, desc: Movies}
- {id: music, cat: Audio, desc: Music}
- {id: television, cat: TV, desc: TV}
- {id: other, cat: Other, desc: Other}
- {id: photos, cat: Other, desc: Photos}
- {id: pictures, cat: Other, desc: Pictures}
- {id: unknown, cat: Other, desc: Unknown}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings: []
search:
paths:
- path: /
inputs:
v: ""
c: ""
q: "{{ .Keywords }}"
keywordsfilters:
- name: re_replace
args: ["[\\s]+", "-"]
- name: tolower
rows:
selector: tr.table-default
filters:
- name: andmatch
fields:
category:
selector: td:nth-child(1)
attribute: onclick
filters:
- name: regexp
args: "href='/(.+?).html"
title:
selector: td:nth-child(2) a
details:
selector: td:nth-child(2) a
attribute: href
download:
selector: td:nth-child(2) a
attribute: href
# turn /torrent/25778710/have-i-got-news-for-you-s59e02-720p-britishb00bseztv.html
# into /down/25778710.torrent
filters:
- name: split
args: ["/", 2]
- name: prepend
args: "/down/"
- name: append
args: ".torrent"
size:
selector: td:nth-child(3)
date:
selector: td:nth-child(4):not(:contains("/"))
optional: true
filters:
- name: replace
args: ["Today", "now"]
- name: replace
args: ["Yesterday", "1 day"]
- name: timeago
date:
selector: td:nth-child(4):contains("/")
optional: true
filters:
- name: append
args: " -07:00" # PDT
- name: dateparse
args: "02/01/06 -07:00"
seeders:
selector: td:nth-child(5)
leechers:
selector: td:nth-child(6)
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
2020-02-14 20:48:27 +00:00
# engine n/a