media-server-docker-compose/config/prowlarr/Definitions/sexypics.yml
Braden Jageman fd77c332fb new stuff
2024-04-07 00:37:31 -04:00

85 lines
1.9 KiB
YAML

---
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
requestDelay: 2
links:
- https://www.sexy-pics.us/
caps:
categories:
XXX: XXX
modes:
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/browse/all/age/desc/2/
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{ else }}browse/all/{{ end }}{{ .Config.sort }}/{{ .Config.type }}/"
- path: "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{ else }}browse/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