Jackett/src/Jackett.Common/Definitions/sexypics.yml

86 lines
2.0 KiB
YAML
Raw Normal View History

---
id: sexypics
name: Sexy-Pics
description: "Sexy-Pics is a Public Magnet Links site for 3X MP4"
language: en-us
type: public
encoding: UTF-8
followredirect: true
links:
- https://www.sexy-pics.us/
caps:
categories:
XXX: XXX
modes:
search: [q]
tv-search: [q]
movie-search: [q]
settings:
- name: sort
type: select
label: Sort requested from site
default: "age"
options:
"age": "created"
"se": "seeders"
"size": "size"
- name: type
type: select
label: Order requested from site
default: "desc"
options:
"desc": "desc"
"asc": "asc"
search:
headers:
# prevent redirect
Accept: ["text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"]
keywordsfilters:
# replace space between keywords with - to prevent 404 Not Found
- name: re_replace
args: [" ", "-"]
- name: tolower
paths:
# return results for 'of' if there are no search parms supplied (for use with the TEST button)
# https://www.sexy-pics.us/h/hegre-1080p/age/desc/
# https://www.sexy-pics.us/mp4/all/age/desc/2/
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}mp4/all/{{end}}{{ .Config.sort }}/{{ .Config.type }}/"
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}mp4/all/{{end}}{{ .Config.sort }}/{{ .Config.type }}/2/"
rows:
selector: tr:has(td.m)
fields:
category:
text: XXX
title:
selector: td.n a
attribute: title
details:
selector: td.n a
attribute: href
magnet:
selector: td.m a
attribute: href
date:
selector: td:nth-child(3)
filters:
- name: timeago
files:
selector: td:nth-child(5)
size:
selector: td:nth-child(6)
seeders:
selector: td.s
leechers:
selector: td.l
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a