add lemencili a Chinese public magnet trawler. resolves #5877

This commit is contained in:
Garfield69 2019-08-19 08:39:15 +12:00
parent d98deb08e3
commit 55f52add97
2 changed files with 74 additions and 0 deletions

View File

@ -55,6 +55,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* KickAssTorrent (KATcr)
* KickAssTorrent (thekat.se clone)
* KikiBT
* LemenCili
* LePorno
* LimeTorrents
* MacTorrents

View File

@ -0,0 +1,73 @@
---
site: lemencili
name: LemenCili
description: "LemenCili is a CHINESE Public Magnet Links search engine"
language: zh-CN
type: public
encoding: UTF-8
links:
- https://lemencili1.xyz/
settings: []
caps:
categories:
1: Other
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
search:
# site has a limit of two pages per session per request. trying for more returns forbidden past the second page.
# site search engine returns any keyword matches, and sorting by date (&s=date) gives worse result than sorting by relevancy (default)
paths:
- path: "search?keyword={{if .Keywords}}{{.Keywords}}{{else}}test{{end}}"
- path: "search?keyword={{if .Keywords}}{{.Keywords}}{{else}}test{{end}}&p=2"
rows:
selector: div.panel-default:has(a[href^="/detail/"])
filters:
- name: andmatch
fields:
title:
selector: a[href^="/detail/"]
category:
text: 1
details:
selector: a[href^="/detail/"]
attribute: href
_magnetfilename:
text: "{{ .Result.title }}"
filters:
- name: validfilename
- name: urlencode
download:
selector: a[href^="/detail/"]
attribute: href
filters:
- name: split
args: ["/", 3]
- name: prepend
args: "magnet:?xt=urn:btih:"
- name: append
args: "&dn={{ .Result._magnetfilename }}.torrent"
- name: append
args: "&tr=udp://tracker.openbittorrent.com:80/announce&tr=udp://tracker.opentrackr.org:1337/announce"
size:
selector: h4 small span:nth-last-child(3)
files:
selector: h4 small span:nth-last-child(2)
date:
selector: h4 small span:nth-last-child(1)
filters:
- name: dateparse
args: "2006-01-02 15:04:05"
seeders:
text: "1"
leechers:
text: "1"
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"