1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-30 11:47:28 +00:00

topnow: yml removed. awating C# replacement. #8199

This commit is contained in:
Garfield69 2020-10-27 16:13:40 +13:00
parent b3dabad82e
commit 04fc90e85e
3 changed files with 1 additions and 82 deletions

View file

@ -124,7 +124,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* sukebei.Nyaa.si
* The Pirate Bay (TPB)
* Tokyo Tosho
* TopNow
* Torlock
* TOROS
* Torrent Bomb (토렌트봄)

View file

@ -1,81 +0,0 @@
---
id: topnow
name: TopNow
description: "TopNow is a Public torrent site for TV / MOVIES"
language: en-us
type: public
encoding: UTF-8
links:
- https://topnow.se/
legacylinks:
- http://topnow.se/
caps:
categories:
tv: TV
movies: Movies
other: Other
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: category-id
type: select
label: The TopNow web site does not provide categories. Select the category you want Jackett to set on all results returned.
default: other
options:
tv: TV
movies: Movies
other: Other
search:
paths:
# https://topnow.se/index.php?search=
- path: "index.php{{if .Keywords}}?search={{ .Keywords }}{{else}}{{end}}"
keywordsfilters:
# the site uses % for wildcard
- name: re_replace
args: ["[^a-zA-Z0-9]+", "%"]
rows:
# old cards do not have a download link
selector: div.grid-item:has(a[href^="/download.php?torrent="])
filters:
- name: andmatch
fields:
category:
text: "{{ .Config.category-id }}"
title:
selector: h2.titles
details:
# new cards do not have details page links
text: /
download:
selector: a[href^="/download.php?torrent="]
attribute: href
banner:
selector: img
attribute: src
optional: true
description:
selector: .card_overlay
filters:
- name: regexp
args: "Quality: (.+?)$"
date:
text: now
size:
text: "512 MB"
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# Engine n/a

View file

@ -390,6 +390,7 @@ namespace Jackett.Updater
"Definitions/thepiratebay.yml", // migrated to c#
"Definitions/tigers-dl.yml",
"Definitions/tntvillage.yml",
"Definitions/topnow.yml",
"Definitions/torrentcouch.yml",
"Definitions/torrenthane.yml",
"Definitions/torrentkim.yml",