2019-01-24 09:15:18 +00:00
---
2017-07-09 16:24:00 +00:00
site : yggtorrent
name : YGGtorrent
2017-11-07 04:21:13 +00:00
description : "YGGTorrent is a FRENCH Semi-Private Torrent Tracker for 0DAY / GENERAL"
2017-07-09 16:24:00 +00:00
language : fr-fr
2017-07-14 05:42:40 +00:00
type : semi-private
2017-07-09 16:24:00 +00:00
encoding : UTF-8
2018-11-19 13:10:12 +00:00
followredirect : true
2017-07-09 16:24:00 +00:00
links :
2019-12-03 03:11:26 +00:00
- https://yggtorrent.ws/
2019-09-25 01:04:13 +00:00
# don't forget to also change bellow in settings !
2017-12-15 18:40:54 +00:00
legacylinks :
2018-04-03 20:58:57 +00:00
- https://yggtorrent.com/
2017-12-15 18:40:54 +00:00
- https://ww1.yggtorrent.com/
2018-11-27 20:03:58 +00:00
- https://yggtorrent.is/
2018-09-15 09:19:13 +00:00
- https://www.yggtorrent.is/
2018-07-21 11:47:45 +00:00
- https://ww1.yggtorrent.is/
2018-08-03 04:15:08 +00:00
- https://ww2.yggtorrent.is/
2018-08-17 11:58:11 +00:00
- https://ww3.yggtorrent.is/
2018-08-23 01:05:09 +00:00
- https://ww4.yggtorrent.is/
2018-10-08 07:59:52 +00:00
- https://yggtorrent.to/
2018-10-19 17:34:38 +00:00
- https://www3.yggtorrent.to/
2018-11-03 20:04:07 +00:00
- https://www6.yggtorrent.to/
2018-11-27 20:03:58 +00:00
- https://www8.yggtorrent.to/
2018-11-14 23:59:17 +00:00
- https://www9.yggtorrent.to/
2018-12-02 12:38:08 +00:00
- https://ygg.to/
2018-11-30 02:12:36 +00:00
- https://www.ygg.to/
2018-12-16 18:37:04 +00:00
- https://ww3.yggtorrent.gg/
2019-03-24 02:55:38 +00:00
- http://www2.yggtorrent.gg/
2019-05-05 21:19:00 +00:00
- https://www.yggtorrent.gg/
2019-09-25 01:04:13 +00:00
- https://www.yggtorrent.ch/
2019-10-07 06:56:42 +00:00
- https://www.yggtorrent.pe/
2019-11-13 07:05:12 +00:00
- https://www3.yggtorrent.pe/
2019-12-03 03:11:26 +00:00
- https://www5.yggtorrent.pe/
2019-03-24 02:55:38 +00:00
2017-07-09 16:24:00 +00:00
caps :
categorymappings :
2017-11-07 04:21:13 +00:00
- {id: 2145, cat: TV, desc : "Film/Vidéo" }
2018-08-25 18:09:16 +00:00
- {id: 2178, cat: Movies, desc : "Film/Vidéo : Animation" } # changed to movies, see #3553
2018-02-20 18:57:36 +00:00
- {id: 2179, cat: TV/Anime, desc : "Film/Vidéo : Animation Série" }
2017-11-07 04:21:13 +00:00
- {id: 2180, cat: TV, desc : "Film/Vidéo : Concert" }
- {id: 2181, cat: TV, desc : "Film/Vidéo : Documentaire" }
- {id: 2182, cat: TV, desc : "Film/Vidéo : Emission TV" }
2017-11-17 13:14:40 +00:00
- {id: 2183, cat: Movies, desc : "Film/Vidéo : Film" }
2017-11-07 04:21:13 +00:00
- {id: 2184, cat: TV, desc : "Film/Vidéo : Série TV" }
- {id: 2185, cat: TV, desc : "Film/Vidéo : Spectacle" }
- {id: 2186, cat: TV, desc : "Film/Vidéo : Sport" }
- {id: 2187, cat: TV, desc : "Film/Vidéo : Vidéo-clips" }
- {id: 2139, cat: Audio, desc : "Audio" }
- {id: 2147, cat: Audio, desc : "Audio : Karaoké" }
- {id: 2148, cat: Audio, desc : "Audio : Musique" }
- {id: 2150, cat: Audio, desc : "Audio : Podcast Radio" }
- {id: 2149, cat: Audio, desc : "Audio : Samples" }
- {id: 2144, cat: PC, desc : "Application" }
- {id: 2177, cat: PC, desc : "Application : Autre" }
- {id: 2176, cat: PC, desc : "Application : Formation" }
- {id: 2171, cat: PC, desc : "Application : Linux" }
- {id: 2172, cat: PC, desc : "Application : MacOS" }
- {id: 2174, cat: PC, desc : "Application : Smartphone" }
- {id: 2175, cat: PC, desc : "Application : Tablette" }
- {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" }
2017-07-09 16:24:00 +00:00
modes :
search : [ q]
2017-11-07 04:21:13 +00:00
tv-search : [ q, season, ep]
movie-search : [ q]
2017-07-09 16:24:00 +00:00
settings :
2019-02-13 22:34:44 +00:00
- name : searchanddlurl
label : Search and download URL
type : text
2019-12-03 03:11:26 +00:00
default : www2.yggtorrent.ws
2017-07-09 16:24:00 +00:00
- name : username
type : text
2017-12-04 18:29:14 +00:00
label : Username
2017-07-09 16:24:00 +00:00
- name : password
type : password
label : Password
2017-11-07 04:21:13 +00:00
- 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"
2017-08-22 15:31:13 +00:00
- name : filter_title
type : checkbox
label : Try to normalize releases names by moving year after the title
default : false
2018-05-22 16:07:15 +00:00
- name : multilang
type : checkbox
2018-05-23 12:11:22 +00:00
label : Replace MULTI by another language in release name
2018-05-22 16:07:15 +00:00
default : false
2018-05-23 12:11:22 +00:00
- name : multilanguage
type : select
label : Replace MULTI by this language
default : FRENCH
options :
FRENCH : "FRENCH"
MULTI.FRENCH : "MULTI.FRENCH"
ENGLISH : "ENGLISH"
2018-09-27 01:24:03 +00:00
MULTI.ENGLISH : "MULTI.ENGLISH"
2018-10-29 20:14:21 +00:00
VOSTFR : "VOSTFR"
MULTI.VOSTFR : "MULTI.VOSTFR"
2018-10-18 19:37:52 +00:00
- name : vostfr
type : checkbox
label : Replace VOSTFR with ENGLISH
default : false
2019-01-18 10:04:06 +00:00
- name : enhancedAnime
type : checkbox
label : Enhance sonarr compatibility with anime by renaming episode (xxx to exxx). Works only if episode is at the end of the query. Can disturb movies search. (back to the future 3 -> back to the future e3)
default : false
2019-06-14 19:33:59 +00:00
# NEW SEARCH ENGINE MIGH BE BETTER THAN THAT
# - name: sonarrv3hack
# type: checkbox
# label: "REMOVED"
# default: false
- name : betasearchengine
2019-04-01 22:21:49 +00:00
type : checkbox
2019-06-14 19:33:59 +00:00
label : "Use Beta Search engine URL (Less restrictive) / SonarrV3 Full Series Search NEW"
default : false
2019-02-13 22:34:44 +00:00
2017-07-09 16:24:00 +00:00
login :
2018-04-05 20:20:46 +00:00
method : form
path : /
2018-09-15 20:20:24 +00:00
form : "#user-login"
2017-07-09 16:24:00 +00:00
inputs :
id : "{{ .Config.username }}"
pass : "{{ .Config.password }}"
submit : ""
error :
2018-04-03 20:58:57 +00:00
- selector : "#login_msg_pass[style=\"\"][style] > center"
2019-05-17 20:16:40 +00:00
- selector : "#ban_msg_login[style=\"\"][style] > center"
- selector : "#login_msg_mail[style=\"\"][style] > center"
- selector : a[href$="/user/disabled"]
message :
# Compte Inactif
selector : a[href$="/user/disabled"] strong
filters :
- name : append
args : " - Dès que vous passez en dessous d'un ratio inférieur à 1, Votre compte devient inactif et le site vous coupe les téléchargements."
2017-07-09 16:24:00 +00:00
test :
2018-04-05 20:20:46 +00:00
path : /
2019-01-24 09:15:18 +00:00
selector : div#top_panel:contains("Déconnexion")
2017-11-07 04:21:13 +00:00
2017-07-09 16:24:00 +00:00
search :
2019-01-24 09:15:18 +00:00
followredirect : true
2019-02-19 02:28:07 +00:00
keywordsfilters :
2019-09-09 03:47:50 +00:00
# Hack For anime Search ! example : replace sonarr search of
# One Punch Man S2 10 OR One Punch Man S2 2
# BY
# One Punch Man S02E10 OR One Punch Man S02E02
- name : re_replace #S 1-9 & EP >= 10
args : [ "(.*)[sS]([1-9])\\s(\\d{2,3})$" , "$1 S0$2E$3" ]
- name : re_replace #S 1-9 & EP 1-9
args : [ "(.*)[sS]([1-9])\\s(\\d{1})$" , "$1 S0$2E0$3" ]
- name : re_replace #S >= 10 & EP >= 10
args : [ "(.*)[sS]([1-9][0-9])\\s(\\d{2,3})$" , "$1 S0$2E$3" ]
- name : re_replace #S >= 10 & EP 1-9
args : [ "(.*)[sS]([1-9][0-9])\\s(\\d{1})$" , "$1 S0$2E0$3" ]
- name : re_replace #Full season S 1-9
args : [ "(.*)[sS]([1-9])$" , "$1 S0$2" ]
- name : re_replace #Full season S >= 10
2019-10-18 03:56:56 +00:00
args : [ "(.*)[sS]([1-9][0-9])$" , "$1 S$2" ]
2019-09-09 03:47:50 +00:00
# END ANIME HACK
2019-02-19 02:28:07 +00:00
- name : replace
args : [ "\"" , "" ]
2019-02-28 09:06:40 +00:00
- name : trim
2017-08-10 06:21:12 +00:00
paths :
2019-09-09 03:47:50 +00:00
- path : "https://{{ .Config.searchanddlurl }}/{{if .Config.betasearchengine}}new_search{{else}}engine{{end}}/search?category={{ .Config.category }}&name={{if .Config.betasearchengine}}{{ .Keywords }}{{else}}{{ re_replace .Keywords \"\\b[^\\s]+\\b\" \"\"$&\"\"}}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date"
- path : "https://{{ .Config.searchanddlurl }}/{{if .Config.betasearchengine}}new_search{{else}}engine{{end}}/search?category={{ .Config.category }}&name={{if .Config.betasearchengine}}{{ .Keywords }}{{else}}{{ re_replace .Keywords \"\\b[^\\s]+\\b\" \"\"$&\"\"}}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date&page=50"
2017-07-09 16:24:00 +00:00
rows :
2018-04-03 20:58:57 +00:00
selector : "table.table > tbody > tr"
2017-07-09 16:24:00 +00:00
fields :
2017-12-02 03:50:09 +00:00
_id :
2018-04-03 20:58:57 +00:00
selector : ":nth-child(2) > a"
2017-12-02 03:50:09 +00:00
attribute : href
filters :
- name : regexp
args : "/(\\d+)-"
2017-08-22 15:31:13 +00:00
title_normal :
2018-04-03 20:58:57 +00:00
selector : ":nth-child(2) > a"
2017-08-22 15:31:13 +00:00
title_filtered :
2018-04-03 20:58:57 +00:00
selector : ":nth-child(2) > a"
2017-08-22 15:31:13 +00:00
filters :
- name : re_replace
2017-08-23 08:34:12 +00:00
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" ]
2019-02-19 02:28:07 +00:00
# Replace Saison/saison by 'S' to match for Full season search Sonarrv3 and tidy up
- name : re_replace
args : [ "([Ss]aison|[Ss]aison )(\\d{1,4})" , "S$2" ]
- name : re_replace
args : [ "S(\\d+)E(\\d+)(\\D+)" , "S$1E$2 $3" ]
- name : re_replace
args : [ "([Mm][Uu][Ll][Tt][Ii])" , "MULTi" ]
# End tidy up for sonarrv3 season search
2017-08-22 15:31:13 +00:00
- name : replace
args : [ "." , " " ]
- name : trim
- name : re_replace
2017-08-23 08:24:34 +00:00
args : [ "(?i)\\s(mkv|avi|divx|xvid|mp4)$" , "" ]
2017-08-22 15:31:13 +00:00
- name : re_replace
args : [ "(\\s{2,5})" , " " ]
- name : trim
2018-05-22 16:07:15 +00:00
title_phase1 :
2017-08-22 15:31:13 +00:00
text : "{{if .Config.filter_title }}{{ .Result.title_filtered }}{{else}}{{ .Result.title_normal }}{{end}}"
2018-05-22 16:07:15 +00:00
title_multilang :
2018-05-29 20:07:05 +00:00
text : "{{ .Result.title_phase1 }}"
2018-05-22 16:07:15 +00:00
filters :
- name : re_replace
2018-05-29 20:07:05 +00:00
args : [ "[\\.\\s\\[\\-][Mm][Uu][Ll][Tt][Ii][\\.\\s\\]\\-]" , ".{{ .Config.multilanguage }}." ]
2018-10-18 19:37:52 +00:00
title_phase2 :
2018-05-22 16:07:15 +00:00
text : "{{if .Config.multilang }}{{ .Result.title_multilang }}{{else}}{{ .Result.title_phase1 }}{{end}}"
2018-10-18 19:37:52 +00:00
title_vostfr :
text : "{{ .Result.title_phase2 }}"
filters :
- name : re_replace
args : [ "[\\.\\s\\[\\-][Vv][Oo][Ss][Tt][Ff][Rr][\\.\\s\\]\\-]" , ".ENGLISH." ]
2019-05-22 07:03:20 +00:00
- name : re_replace
args : [ "[\\.\\s\\[\\-][Ss][Uu][Bb][Ff][Rr][Ee][Nn][Cc][Hh][\\.\\s\\]\\-]" , ".ENGLISH." ]
2019-06-14 19:33:59 +00:00
title_phase3 :
2018-10-18 19:37:52 +00:00
text : "{{if .Config.vostfr }}{{ .Result.title_vostfr }}{{else}}{{ .Result.title_phase2 }}{{end}}"
2019-06-14 19:33:59 +00:00
title_anime :
text : "{{ .Result.title_phase3 }}"
filters :
# Sonarr need E in front of 3 digit number or else it thinks it is episode
# S01E10 for number 110 for example ==> enhancedAnime
- name : re_replace
2019-07-19 19:35:38 +00:00
args : [ "(.*)(\\.| |\\-)(\\d{2,3})(\\.| |\\-)(.*)" , "$1 E$3 $5" ]
2019-06-14 19:33:59 +00:00
title :
text : "{{if .Config.enhancedAnime }}{{ .Result.title_anime }}{{else}}{{ .Result.title_phase3 }}{{end}}"
2017-07-09 16:24:00 +00:00
details :
2018-04-03 20:58:57 +00:00
selector : ":nth-child(2) > a"
2017-07-09 16:24:00 +00:00
attribute : href
2017-08-10 06:21:12 +00:00
category :
2019-02-19 02:28:07 +00:00
# changed the catid into and hidden div as of last tracker problem
2019-02-19 17:47:25 +00:00
selector : ":nth-child(1) > div.hidden"
2019-02-19 02:28:07 +00:00
2017-08-10 06:21:12 +00:00
comments :
optional : true
selector : "td:nth-child(1) > a[href$=\"#comments\"]"
attribute : href
2017-07-09 16:24:00 +00:00
download :
2019-02-13 22:34:44 +00:00
text : "https://{{ .Config.searchanddlurl }}/engine/download_torrent?id={{ .Result._id }}"
2017-11-07 04:21:13 +00:00
date :
2018-04-03 20:58:57 +00:00
selector : "td:nth-child(5)"
2017-07-09 16:24:00 +00:00
filters :
- name : replace
2017-11-07 04:21:13 +00:00
args : [ "il y a " , "" ]
- name : replace
args : [ " jours" , " days" ]
- name : replace
args : [ " jour" , " day" ]
- name : replace
args : [ " heures" , " hours" ]
- name : replace
args : [ " heure" , " hour" ]
- name : replace
args : [ " semaines" , " weeks" ]
- name : replace
args : [ " semaine" , " week" ]
- name : replace
args : [ " mois" , " month" ]
- name : replace
args : [ " ans" , " years" ]
- name : replace
args : [ " an" , " year" ]
- name : append
args : " ago"
size :
2018-04-03 20:58:57 +00:00
selector : "td:nth-child(6)"
2018-06-28 14:46:00 +00:00
filters :
- name : replace
2018-06-28 14:50:45 +00:00
args : [ "o" , "B" ]
2018-06-28 14:46:00 +00:00
grabs :
selector : "td:nth-child(7)"
2017-07-09 16:24:00 +00:00
seeders :
text : 0
seeders :
2018-04-03 20:58:57 +00:00
selector : "td:nth-child(8)"
2017-07-09 16:24:00 +00:00
optional : true
leechers :
text : 0
leechers :
2019-01-24 09:15:18 +00:00
selector : "td:nth-child(9)"
2017-07-09 16:24:00 +00:00
optional : true
downloadvolumefactor :
text : "1"
uploadvolumefactor :
2018-05-22 16:07:15 +00:00
text : "1"