2020-03-03 16:28:26 +00:00
|
|
|
---
|
2020-05-10 20:05:19 +00:00
|
|
|
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/ # site does not support https ERR_CONNECTION_REFUSED
|
2019-11-26 20:14:14 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
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"}
|
2019-11-26 20:14:14 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
modes:
|
|
|
|
search: [q]
|
|
|
|
tv-search: [q]
|
|
|
|
movie-search: [q]
|
|
|
|
music-search: [q]
|
2019-11-26 20:14:14 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
settings:
|
|
|
|
- name: sort
|
|
|
|
type: select
|
|
|
|
label: Sort requested from site
|
|
|
|
default: "3"
|
|
|
|
options:
|
|
|
|
"3": "created"
|
|
|
|
"5": "seeders"
|
|
|
|
"4": "size"
|
|
|
|
"2": "title"
|
|
|
|
- name: type
|
|
|
|
type: select
|
|
|
|
label: Order requested from site
|
|
|
|
default: "2"
|
|
|
|
options:
|
|
|
|
"2": "desc"
|
|
|
|
"1": "asc"
|
2019-12-17 07:46:08 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
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
|
|
|
|
order: "{{ .Config.sort }}"
|
|
|
|
by: "{{ .Config.type }}"
|
2019-12-17 07:46:08 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
rows:
|
|
|
|
selector: table table table.lista > tbody > tr:has(a[href^="download.php?id="])
|
2019-12-17 07:46:08 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
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
|
2020-01-08 21:04:03 +00:00
|
|
|
# xbtit
|