mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 04:38:20 +00:00
add legittorrents a public site. resolves #6426
This commit is contained in:
parent
e509cc6784
commit
5b0ba0c53b
2 changed files with 73 additions and 0 deletions
|
@ -58,6 +58,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* iTorrent
|
||||
* KickAssTorrent (KATcr)
|
||||
* KickAssTorrent (kat.li)
|
||||
* Legit Torrents
|
||||
* LePorno
|
||||
* LimeTorrents
|
||||
* MacTorrents
|
||||
|
|
72
src/Jackett.Common/Definitions/legittorrents.yml
Normal file
72
src/Jackett.Common/Definitions/legittorrents.yml
Normal file
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
site: legittorrents
|
||||
name: Legit Torrents
|
||||
description: "Legit Torrents is a Public site for free and legal torrents"
|
||||
language: en-us
|
||||
type: public
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- http://www.legittorrents.info/
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: 1, cat: Movies, desc: "Movies"}
|
||||
- {id: 2, cat: Audio, desc: "Music"}
|
||||
- {id: 3, cat: PC/Games, desc: "Games"}
|
||||
- {id: 4, cat: Other, desc: "Other"}
|
||||
- {id: 5, cat: TV/Anime, desc: "Anime"}
|
||||
- {id: 6, cat: Books, desc: "Books"}
|
||||
- {id: 7, cat: PC/0day, desc: "Apps Win"}
|
||||
- {id: 8, cat: PC, desc: "Apps Linux"}
|
||||
- {id: 9, cat: PC/Mac, desc: "Apps Mac"}
|
||||
- {id: 13, cat: TV, desc: "TV"}
|
||||
- {id: 14, cat: PC, desc: "Linux Distributions"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
|
||||
settings: []
|
||||
|
||||
search:
|
||||
paths:
|
||||
# http://www.legittorrents.info/index.php?page=torrents&search=windows&category=0&active=0
|
||||
- path: index.php
|
||||
inputs:
|
||||
page: "torrents"
|
||||
search: "{{ .Keywords }}"
|
||||
category: "{{range .Categories}}{{.}};{{end}}"
|
||||
# 0 all 1 active 2 deadonly
|
||||
active: 1
|
||||
rows:
|
||||
selector: table table table.lista > tbody > tr:has(a[href^="download.php?id="])
|
||||
fields:
|
||||
category:
|
||||
selector: a[href^="index.php?page=torrents&category="]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: querystring
|
||||
args: category
|
||||
title:
|
||||
selector: a[title][href^="index.php?page=torrent-details&id="]
|
||||
details:
|
||||
selector: a[title][href^="index.php?page=torrent-details&id="]
|
||||
attribute: href
|
||||
download:
|
||||
selector: a[href^="download.php?id="]
|
||||
attribute: href
|
||||
date:
|
||||
selector: td time
|
||||
attribute: datetime
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "2006-01-02"
|
||||
seeders:
|
||||
selector: td:nth-of-type(5)
|
||||
leechers:
|
||||
selector: td:nth-of-type(6)
|
||||
grabs:
|
||||
selector: td:nth-of-type(7)
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
text: 1
|
Loading…
Reference in a new issue