mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
yggtorrent: add all cats, fix rss, plus more. fix #2066
This commit is contained in:
@@ -1,42 +1,73 @@
|
|||||||
---
|
---
|
||||||
site: yggtorrent
|
site: yggtorrent
|
||||||
name: YGGtorrent
|
name: YGGtorrent
|
||||||
description: "YGGTorrent is a FRENCH Private Torrent Tracker for 0DAY / GENERAL"
|
description: "YGGTorrent is a FRENCH Semi-Private Torrent Tracker for 0DAY / GENERAL"
|
||||||
language: fr-fr
|
language: fr-fr
|
||||||
type: semi-private
|
type: semi-private
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
- https://yggtorrent.com
|
- https://yggtorrent.com/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
# Film/Video for search results
|
- {id: 2145, cat: TV, desc: "Film/Vidéo"}
|
||||||
- {id: 2145, cat: Other, desc: "Movies & TV"}
|
- {id: 2178, cat: TV, desc: "Film/Vidéo : Animation"}
|
||||||
- {id: 2178, cat: Movies, desc: "Anim Movies"}
|
- {id: 2179, cat: TV, desc: "Film/Vidéo : Animation Série"}
|
||||||
- {id: 2179, cat: TV/Anime, desc: "Anim TV"}
|
- {id: 2180, cat: TV, desc: "Film/Vidéo : Concert"}
|
||||||
- {id: 2180, cat: Other, desc: "Concerts"}
|
- {id: 2181, cat: TV, desc: "Film/Vidéo : Documentaire"}
|
||||||
- {id: 2181, cat: TV/Documentary, desc: "Documentary"}
|
- {id: 2182, cat: TV, desc: "Film/Vidéo : Emission TV"}
|
||||||
- {id: 2182, cat: TV, desc: "TV Shows"}
|
- {id: 2183, cat: TV, desc: "Film/Vidéo : Film"}
|
||||||
- {id: 2183, cat: Movies, desc: "Movies"}
|
- {id: 2184, cat: TV, desc: "Film/Vidéo : Série TV"}
|
||||||
- {id: 2184, cat: TV, desc: "TV"}
|
- {id: 2185, cat: TV, desc: "Film/Vidéo : Spectacle"}
|
||||||
- {id: 2185, cat: TV/Other, desc: "Shows"}
|
- {id: 2186, cat: TV, desc: "Film/Vidéo : Sport"}
|
||||||
- {id: 2186, cat: TV/Sport, desc: "Sport"}
|
- {id: 2187, cat: TV, desc: "Film/Vidéo : Vidéo-clips"}
|
||||||
- {id: 2187, cat: TV/Other, desc: "Clips"}
|
- {id: 2139, cat: Audio, desc: "Audio"}
|
||||||
# Film/Video for blank search
|
- {id: 2147, cat: Audio, desc: "Audio : Karaoké"}
|
||||||
- {id: "Tous les torrents", cat: Other, desc: "Movies & TV"}
|
- {id: 2148, cat: Audio, desc: "Audio : Musique"}
|
||||||
- {id: "Animation", cat: Movies, desc: "Anim Movies"}
|
- {id: 2150, cat: Audio, desc: "Audio : Podcast Radio"}
|
||||||
- {id: "Animation Série", cat: TV/Anime, desc: "Anim TV"}
|
- {id: 2149, cat: Audio, desc: "Audio : Samples"}
|
||||||
- {id: "Concert", cat: Other, desc: "Concerts"}
|
- {id: 2144, cat: PC, desc: "Application"}
|
||||||
- {id: "Documentaire", cat: TV/Documentary, desc: "Documentary"}
|
- {id: 2177, cat: PC, desc: "Application : Autre"}
|
||||||
- {id: "Emission TV", cat: TV, desc: "TV Shows"}
|
- {id: 2176, cat: PC, desc: "Application : Formation"}
|
||||||
- {id: "Film", cat: Movies, desc: "Movies"}
|
- {id: 2171, cat: PC, desc: "Application : Linux"}
|
||||||
- {id: "Série TV", cat: TV, desc: "TV"}
|
- {id: 2172, cat: PC, desc: "Application : MacOS"}
|
||||||
- {id: "Spectacle", cat: TV/Other, desc: "Shows"}
|
- {id: 2174, cat: PC, desc: "Application : Smartphone"}
|
||||||
- {id: "Sport", cat: TV/Sport, desc: "Sport"}
|
- {id: 2175, cat: PC, desc: "Application : Tablette"}
|
||||||
- {id: "Vidéo-clips", cat: TV/Other, desc: "Clips"}
|
- {id: 2173, cat: PC, desc: "Application : Windows"}
|
||||||
|
- {id: 2142, cat: PC/Games, desc: "Jeu vidéo"}
|
||||||
|
- {id: 2167, cat: PC/Games, desc: "Jeu vidéo : Autre"}
|
||||||
|
- {id: 2159, cat: PC/Games, desc: "Jeu vidéo : Linux"}
|
||||||
|
- {id: 2160, cat: PC/Games, desc: "Jeu vidéo : MacOS"}
|
||||||
|
- {id: 2162, cat: PC/Games, desc: "Jeu vidéo : Microsoft"}
|
||||||
|
- {id: 2163, cat: PC/Games, desc: "Jeu vidéo : Nintendo"}
|
||||||
|
- {id: 2165, cat: PC/Games, desc: "Jeu vidéo : Smartphone"}
|
||||||
|
- {id: 2164, cat: PC/Games, desc: "Jeu vidéo : Sony"}
|
||||||
|
- {id: 2166, cat: PC/Games, desc: "Jeu vidéo : Tablette"}
|
||||||
|
- {id: 2161, cat: PC/Games, desc: "Jeu vidéo : Windows"}
|
||||||
|
- {id: 2140, cat: Books, desc: "eBook"}
|
||||||
|
- {id: 2151, cat: Books, desc: "eBook : Audio"}
|
||||||
|
- {id: 2152, cat: Books, desc: "eBook : Bds"}
|
||||||
|
- {id: 2153, cat: Books, desc: "eBook : Comics"}
|
||||||
|
- {id: 2154, cat: Books, desc: "eBook : Livres"}
|
||||||
|
- {id: 2155, cat: Books, desc: "eBook : Mangas"}
|
||||||
|
- {id: 2156, cat: Books, desc: "eBook : Presse"}
|
||||||
|
- {id: 2141, cat: Other, desc: "Emulation"}
|
||||||
|
- {id: 2157, cat: Other, desc: "Emulation : Emulateurs"}
|
||||||
|
- {id: 2158, cat: Other, desc: "Emulation : Roms"}
|
||||||
|
- {id: 2143, cat: Other, desc: "GPS"}
|
||||||
|
- {id: 2168, cat: Other, desc: "GPS : Applications"}
|
||||||
|
- {id: 2169, cat: Other, desc: "GPS : Cartes"}
|
||||||
|
- {id: 2170, cat: Other, desc: "GPS : Divers"}
|
||||||
|
- {id: 2188, cat: XXX, desc: "XXX"}
|
||||||
|
- {id: 2189, cat: XXX, desc: "XXX : Films"}
|
||||||
|
- {id: 2190, cat: XXX, desc: "XXX : Hentai"}
|
||||||
|
- {id: 2191, cat: XXX, desc: "XXX : Images"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
#tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
|
movie-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: username
|
- name: username
|
||||||
type: text
|
type: text
|
||||||
@@ -44,10 +75,25 @@
|
|||||||
- name: password
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
|
- name: category
|
||||||
|
type: select
|
||||||
|
label: Catégorie
|
||||||
|
default: all
|
||||||
|
options:
|
||||||
|
all : "Tous"
|
||||||
|
2145 : "Film/Vidéo"
|
||||||
|
2139 : "Audio"
|
||||||
|
2144 : "Application"
|
||||||
|
2142 : "Jeu vidéo"
|
||||||
|
2140 : "eBook"
|
||||||
|
2141 : "Emulation"
|
||||||
|
2143 : "GPS"
|
||||||
|
2188 : "XXX"
|
||||||
- name: filter_title
|
- name: filter_title
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Try to normalize releases names by moving year after the title
|
label: Try to normalize releases names by moving year after the title
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: "/user/login"
|
path: "/user/login"
|
||||||
method: post
|
method: post
|
||||||
@@ -65,15 +111,91 @@
|
|||||||
test:
|
test:
|
||||||
path: "/"
|
path: "/"
|
||||||
selector: "a[href=\"https://yggtorrent.com/user/logout\"]"
|
selector: "a[href=\"https://yggtorrent.com/user/logout\"]"
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: "{{if .Keywords}}/engine/search?q={{ .Keywords}}{{else}}/torrents/popular{{end}}"
|
- path: "{{ if .Keywords }}/engine/search?category={{ .Config.category }}&q={{ .Keywords }}{{else}}/torrents/today?category=2145{{end}}"
|
||||||
- path: "{{if .Keywords}}/engine/search?q={{ .Keywords}}&page=15{{else}}/torrents/popular?page=25{{end}}"
|
- path: "{{ if .Keywords }}/engine/search?category={{ .Config.category }}&q={{ .Keywords }}&page=25{{else}}/torrents/today?category=2145&page=25{{end}}"
|
||||||
- path: "{{if .Keywords}}/engine/search?q={{ .Keywords}}&page=30{{else}}/torrents/popular?page=50{{end}}"
|
- path: "{{ if .Keywords }}/engine/search?category={{ .Config.category }}&q={{ .Keywords }}&page=50{{else}}/torrents/today?category=2145&page=50{{end}}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: "table.table.table-striped > tbody > tr"
|
selector: "table.table.table-striped > tbody > tr"
|
||||||
fields:
|
fields:
|
||||||
site_date:
|
title_normal:
|
||||||
|
selector: "a.torrent-name"
|
||||||
|
title_filtered:
|
||||||
|
selector: "a.torrent-name"
|
||||||
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)^(?:(.+?)((?:[\\.\\-\\s_\\[]+(?:imax|(?:dvd|bd|tv)(?:rip|scr)|bluray(?:\\-?rip)?|720\\s*p?|1080\\s*p?|vof?|vost(?:fr)?|multi|vf(?:f|q)?[1-3]?|(?:true)?french|eng?)[\\.\\-\\s_\\]]*)*)([\\(\\[]?(?:20|1[7-9])\\d{2}[\\)\\]]?)(.*)$|(.*))$", "$1 $3 $2 $4 $5"]
|
||||||
|
- name: replace
|
||||||
|
args: [".", " "]
|
||||||
|
- name: trim
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)\\s(mkv|avi|divx|xvid|mp4)$", ""]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(\\s{2,5})", " "]
|
||||||
|
- name: trim
|
||||||
|
title:
|
||||||
|
text: "{{if .Config.filter_title }}{{ .Result.title_filtered }}{{else}}{{ .Result.title_normal }}{{end}}"
|
||||||
|
details:
|
||||||
|
selector: "a.torrent-name"
|
||||||
|
attribute: href
|
||||||
|
category:
|
||||||
|
selector: "a.torrent-name"
|
||||||
|
case:
|
||||||
|
"a[href*=\"/filmvidéo/animation/\"]" : 2178
|
||||||
|
"a[href*=\"/filmvidéo/animation-série/\"]" : 2179
|
||||||
|
"a[href*=\"/filmvidéo/concert/\"]" : 2180
|
||||||
|
"a[href*=\"/filmvidéo/documentaire/\"]" : 2181
|
||||||
|
"a[href*=\"/filmvidéo/emission-tv/\"]" : 2182
|
||||||
|
"a[href*=\"/filmvidéo/film/\"]" : 2183
|
||||||
|
"a[href*=\"/filmvidéo/série-tv/\"]" : 2184
|
||||||
|
"a[href*=\"/filmvidéo/spectacle/\"]" : 2185
|
||||||
|
"a[href*=\"/filmvidéo/sport/\"]" : 2186
|
||||||
|
"a[href*=\"/filmvidéo/vidéo-clips/\"]" : 2187
|
||||||
|
"a[href*=\"/audio/karaoké/\"]" : 2147
|
||||||
|
"a[href*=\"/audio/musique/\"]" : 2148
|
||||||
|
"a[href*=\"/audio/podcast-radio/\"]" : 2150
|
||||||
|
"a[href*=\"/audio/samples/\"]" : 2149
|
||||||
|
"a[href*=\"/application/autre/\"]" : 2177
|
||||||
|
"a[href*=\"/application/formation/\"]" : 2176
|
||||||
|
"a[href*=\"/application/linux/\"]" : 2171
|
||||||
|
"a[href*=\"/application/macos/\"]" : 2172
|
||||||
|
"a[href*=\"/application/smartphone/\"]" : 2174
|
||||||
|
"a[href*=\"/application/tablette/\"]" : 2175
|
||||||
|
"a[href*=\"/application/windows/\"]" : 2173
|
||||||
|
"a[href*=\"/jeu-vidéo/autre/\"]" : 2167
|
||||||
|
"a[href*=\"/jeu-vidéo/linux/\"]" : 2159
|
||||||
|
"a[href*=\"/jeu-vidéo/macos/\"]" : 2160
|
||||||
|
"a[href*=\"/jeu-vidéo/microsoft/\"]" : 2162
|
||||||
|
"a[href*=\"/jeu-vidéo/nintendo/\"]" : 2163
|
||||||
|
"a[href*=\"/jeu-vidéo/smartphone/\"]" : 2165
|
||||||
|
"a[href*=\"/jeu-vidéo/sony/\"]" : 2164
|
||||||
|
"a[href*=\"/jeu-vidéo/tablette/\"]" : 2166
|
||||||
|
"a[href*=\"/jeu-vidéo/windows/\"]" : 2161
|
||||||
|
"a[href*=\"/ebook/audio/\"]" : 2151
|
||||||
|
"a[href*=\"/ebook/bds/\"]" : 2152
|
||||||
|
"a[href*=\"/ebook/comics/\"]" : 2153
|
||||||
|
"a[href*=\"/ebook/livres/\"]" : 2154
|
||||||
|
"a[href*=\"/ebook/mangas/\"]" : 2155
|
||||||
|
"a[href*=\"/ebook/presse/\"]" : 2156
|
||||||
|
"a[href*=\"/emulation/emulateurs/\"]" : 2157
|
||||||
|
"a[href*=\"/emulation/roms/\"]" : 2158
|
||||||
|
"a[href*=\"/gps/applications/\"]" : 2168
|
||||||
|
"a[href*=\"/gps/cartes/\"]" : 2169
|
||||||
|
"a[href*=\"/gps/divers/\"]" : 2170
|
||||||
|
"a[href*=\"/xxx/films/\"]" : 2189
|
||||||
|
"a[href*=\"/xxx/hentai/\"]" : 2190
|
||||||
|
"a[href*=\"/xxx/images/\"]" : 2191
|
||||||
|
comments:
|
||||||
|
optional: true
|
||||||
|
selector: "td:nth-child(1) > a[href$=\"#comments\"]"
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: "td:nth-child(1) > a[href*=\"/engine/download_torrent?id=\"]"
|
||||||
|
attribute: href
|
||||||
|
date:
|
||||||
selector: "td:nth-child(3)"
|
selector: "td:nth-child(3)"
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
@@ -98,56 +220,8 @@
|
|||||||
args: [ " an", " year"]
|
args: [ " an", " year"]
|
||||||
- name: append
|
- name: append
|
||||||
args: " ago"
|
args: " ago"
|
||||||
title_normal:
|
|
||||||
selector: "a.torrent-name"
|
|
||||||
title_filtered:
|
|
||||||
selector: "a.torrent-name"
|
|
||||||
filters:
|
|
||||||
- name: re_replace
|
|
||||||
args: ["(?i)^(?:(.+?)((?:[\\.\\-\\s_\\[]+(?:imax|(?:dvd|bd|tv)(?:rip|scr)|bluray(?:\\-?rip)?|720\\s*p?|1080\\s*p?|vof?|vost(?:fr)?|multi|vf(?:f|q)?[1-3]?|(?:true)?french|eng?)[\\.\\-\\s_\\]]*)*)([\\(\\[]?(?:20|1[7-9])\\d{2}[\\)\\]]?)(.*)$|(.*))$", "$1 $3 $2 $4 $5"]
|
|
||||||
- name: replace
|
|
||||||
args: [".", " "]
|
|
||||||
- name: trim
|
|
||||||
- name: re_replace
|
|
||||||
args: ["(?i)\\s(mkv|avi|divx|xvid|mp4)$", ""]
|
|
||||||
- name: re_replace
|
|
||||||
args: ["(\\s{2,5})", " "]
|
|
||||||
- name: trim
|
|
||||||
title:
|
|
||||||
text: "{{if .Config.filter_title }}{{ .Result.title_filtered }}{{else}}{{ .Result.title_normal }}{{end}}"
|
|
||||||
details:
|
|
||||||
selector: "a.torrent-name"
|
|
||||||
attribute: href
|
|
||||||
category:
|
|
||||||
selector: "td:nth-child(1) > span > i:last-child > a"
|
|
||||||
comments:
|
|
||||||
optional: true
|
|
||||||
selector: "td:nth-child(1) > a[href$=\"#comments\"]"
|
|
||||||
attribute: href
|
|
||||||
download:
|
|
||||||
selector: "td:nth-child(1) > a[href^=\"https://yggtorrent.com/engine/download_torrent?id=\"]"
|
|
||||||
attribute: href
|
|
||||||
size:
|
size:
|
||||||
selector: "td:nth-child(4)"
|
selector: "td:nth-child(4)"
|
||||||
filters:
|
|
||||||
- name: re_replace
|
|
||||||
args: [ "\\.(\\d) KB", "$1X00"]
|
|
||||||
- name: re_replace
|
|
||||||
args: [ " KB", "000"]
|
|
||||||
- name: re_replace
|
|
||||||
args: [ "\\.(\\d) MB", "$1X00000"]
|
|
||||||
- name: re_replace
|
|
||||||
args: [ " MB", "000000"]
|
|
||||||
- name: re_replace
|
|
||||||
args: [ "\\.(\\d) GB", "$1X00000000"]
|
|
||||||
- name: re_replace
|
|
||||||
args: [ " GB", "000000000"]
|
|
||||||
- name: re_replace
|
|
||||||
args: [ "\\.(\\d) TB", "$1X00000000000"]
|
|
||||||
- name: re_replace
|
|
||||||
args: [ " TB", "000000000000"]
|
|
||||||
- name: replace
|
|
||||||
args: [ "X", "" ]
|
|
||||||
seeders:
|
seeders:
|
||||||
text: 0
|
text: 0
|
||||||
seeders:
|
seeders:
|
||||||
@@ -158,8 +232,6 @@
|
|||||||
leechers:
|
leechers:
|
||||||
selector: "td:nth-child(6)"
|
selector: "td:nth-child(6)"
|
||||||
optional: true
|
optional: true
|
||||||
date:
|
|
||||||
text: "{{ .Result.site_date }}"
|
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "1"
|
text: "1"
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
|
Reference in New Issue
Block a user