mirror of
https://github.com/Jackett/Jackett
synced 2024-12-29 11:17:22 +00:00
add sexypics a 3x magnet site. resolves #8353
This commit is contained in:
parent
4f708bb58f
commit
877af5c3c8
2 changed files with 86 additions and 0 deletions
|
@ -111,6 +111,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* Rus-media
|
||||
* RuTor
|
||||
* RuTracker.RU
|
||||
* Sexy-Pics
|
||||
* shokweb
|
||||
* ShowRSS
|
||||
* SkyTorrentsClone
|
||||
|
|
85
src/Jackett.Common/Definitions/sexypics.yml
Normal file
85
src/Jackett.Common/Definitions/sexypics.yml
Normal file
|
@ -0,0 +1,85 @@
|
|||
---
|
||||
site: 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
|
Loading…
Reference in a new issue