2019-02-12 05:52:05 +00:00
---
2020-05-11 19:59:28 +00:00
id : amigosshare
2020-05-10 20:05:19 +00:00
name : Amigos Share Club
description : "Amigos Share Club is a Brazilian Private site for TV / MOVIES / GENERAL"
language : pt-br
type : private
encoding : UTF-8
links :
2020-06-16 19:36:29 +00:00
- https://cliente.amigos-share.club/
2020-05-10 20:05:19 +00:00
legacylinks :
- http://amigos-share.club/
2020-06-16 19:36:29 +00:00
- https://amigos-share.club/
2019-02-12 05:52:05 +00:00
2020-05-10 20:05:19 +00:00
caps :
categorymappings :
- {id: 107, cat: XXX, desc : "Adultos: Gay" }
- {id: 75, cat: XXX, desc : "Adultos: Hentai" }
- {id: 108, cat: XXX, desc : "Adultos: Transex/Female" }
- {id: 74, cat: XXX, desc : "Adultos: XXX" }
- {id: 69, cat: TV/Anime, desc : "Anime: Anime" }
- {id: 116, cat: TV/Anime, desc : "Anime: Filmes" }
- {id: 118, cat: TV/Anime, desc : "Anime: Séries" }
- {id: 23, cat: PC/Phone-Android, desc : "Aplicativos: Android" }
- {id: 27, cat: PC/Phone-IOS, desc : "Aplicativos: iPad" }
- {id: 26, cat: PC/Phone-IOS, desc : "Aplicativos: iPhone" }
- {id: 28, cat: PC/Phone-IOS, desc : "Aplicativos: iPod" }
- {id: 25, cat: PC, desc : "Aplicativos: Linux" }
- {id: 22, cat: PC/Mac, desc : "Aplicativos: Mac" }
- {id: 21, cat: PC/0day, desc : "Aplicativos: Windows" }
- {id: 72, cat: Books, desc : "Apostila: Apostila" }
- {id: 71, cat: Books, desc : "Apostila: Cursos" }
- {id: 121, cat: Audio/Audiobook, desc : "Ebook: Audio-book" }
- {id: 112, cat: Books, desc : "Ebook: HQs" }
- {id: 67, cat: Books, desc : "Ebook: Livros" }
- {id: 68, cat: Books, desc : "Ebook: Revistas" }
- {id: 119, cat: Movies, desc : "Filmes:" }
- {id: 70, cat: XXX, desc : "Fotos: XXX" }
- {id: 57, cat: Console, desc : "Jogos: Android" }
- {id: 52, cat: Console, desc : "Jogos: Dreamcast" }
- {id: 109, cat: Console, desc : "Jogos: Emulação" }
- {id: 61, cat: Console, desc : "Jogos: Emuladores e Roms" }
- {id: 48, cat: PC/Mac, desc : "Jogos: Mac" }
- {id: 58, cat: Console/NDS, desc : "Jogos: Nintendo DS" }
- {id: 110, cat: Console, desc : "Jogos: Nintendo Switch" }
- {id: 47, cat: PC/Games, desc : "Jogos: Pc" }
- {id: 49, cat: Console, desc : "Jogos: Ps1" }
- {id: 50, cat: Console, desc : "Jogos: Ps2" }
- {id: 51, cat: Console/PS3, desc : "Jogos: Ps3" }
- {id: 79, cat: Console/PS4, desc : "Jogos: Ps4" }
- {id: 82, cat: Console/PSP, desc : "Jogos: PSP" }
- {id: 55, cat: Console/Wii, desc : "Jogos: Wii" }
- {id: 54, cat: Console/Xbox 360, desc : "Jogos: Xbox360" }
- {id: 56, cat: Console/Xbox, desc : "Jogos: Xbox" }
- {id: 78, cat: Console/Xbox One, desc : "Jogos: Xbox One" }
- {id: 29, cat: Audio, desc : "Musica: Axé" }
- {id: 38, cat: Audio, desc : "Musica: Blues" }
- {id: 39, cat: Audio, desc : "Musica: Dance" }
- {id: 40, cat: Audio, desc : "Musica: Discografia" }
- {id: 43, cat: Audio, desc : "Musica: Dubstep" }
2020-08-30 22:18:42 +00:00
- {id: 30, cat: Audio, desc : "Musica: Eletronica" }
2020-05-10 20:05:19 +00:00
- {id: 41, cat: Audio, desc : "Musica: Erudita" }
- {id: 42, cat: Audio, desc : "Musica: Forró" }
- {id: 31, cat: Audio, desc : "Musica: Funk" }
- {id: 84, cat: Audio, desc : "Musica: Game (OST)" }
- {id: 83, cat: Audio, desc : "Musica: Gospel" }
- {id: 37, cat: Audio, desc : "Musica: Hard Rock" }
- {id: 33, cat: Audio, desc : "Musica: Hip-Hop" }
- {id: 114, cat: Audio, desc : "Musica: MPB" }
- {id: 77, cat: Audio, desc : "Musica: Outros" }
- {id: 32, cat: Audio, desc : "Musica: Pagode" }
- {id: 115, cat: Audio, desc : "Musica: POP" }
- {id: 34, cat: Audio, desc : "Musica: Rap" }
- {id: 76, cat: Audio, desc : "Musica: Reggae" }
- {id: 36, cat: Audio, desc : "Musica: Rock" }
- {id: 45, cat: Audio, desc : "Musica: Samba" }
- {id: 46, cat: Audio, desc : "Musica: Sertanejo" }
- {id: 120, cat: TV, desc : "Series:" }
- {id: 65, cat: TV, desc : "Shows: Show" }
- {id: 63, cat: TV, desc : "Tv: Aberta" }
- {id: 62, cat: TV/Sport, desc : "Tv: Esportes" }
- {id: 64, cat: TV, desc : "Tv: Fechada" }
- {id: 73, cat: TV, desc : "Video Aula: Video Aula" }
2020-08-30 22:18:42 +00:00
- {id: 127, cat: Other, desc : "Outros: Add-ons" }
- {id: 126, cat: Other, desc : "Outros: Extensões" }
- {id: 129, cat: Other, desc : "Outros: Fonts" }
- {id: 130, cat: Other, desc : "Outros: MOD" }
- {id: 125, cat: Other, desc : "Outros: Pack de Imagens" }
- {id: 122, cat: Other, desc : "Outros: Plug-ins" }
- {id: 128, cat: Other, desc : "Outros: Scripts" }
- {id: 124, cat: Other, desc : "Outros: Vetores" }
2019-02-12 05:52:05 +00:00
2020-05-10 20:05:19 +00:00
modes :
search : [ q]
tv-search : [ q, season, ep]
movie-search : [ q]
music-search : [ q]
2020-10-17 04:50:47 +00:00
book-search : [ q]
2019-02-12 05:52:05 +00:00
2020-09-10 07:36:41 +00:00
settings :
- name : username
type : text
label : Username
- name : password
type : password
label : Password
- name : info_results
type : info
label : "Search results"
default : "Set <b>Exibição De Torrents</b> to <b>Lista</b> in your <b>Minhas Configurações</b>.<br />Using <b>Capas</b> is not supported and will return 0 results."
- name : freeleech
type : checkbox
2020-09-11 06:25:36 +00:00
label : Filter freeleech only
2020-09-10 07:36:41 +00:00
default : false
- name : sort
type : select
label : Sort requested from site
2020-10-23 05:22:00 +00:00
default : id
2020-09-10 07:36:41 +00:00
options :
2020-10-23 05:22:00 +00:00
id : created
seeders : seeders
size : size
name : title
2020-09-10 07:36:41 +00:00
- name : type
type : select
label : Order requested from site
2020-10-23 05:22:00 +00:00
default : desc
2020-09-10 07:36:41 +00:00
options :
2020-10-23 05:22:00 +00:00
desc : desc
asc : asc
2020-09-10 07:36:41 +00:00
2020-05-10 20:05:19 +00:00
login :
path : account-login.php
method : post
inputs :
username : "{{ .Config.username }}"
password : "{{ .Config.password }}"
remember : yes
error :
- selector : div.alert-error
test :
2019-04-07 04:41:27 +00:00
path : torrents-search.php
2020-05-10 20:05:19 +00:00
selector : a[href="account-logout.php"]
search :
paths :
2020-08-30 22:18:42 +00:00
# http://amigos-share.club/torrents-search.php?search=&sort=id&order=desc&page=1
2020-05-10 20:05:19 +00:00
- path : torrents-search.php
2020-08-30 22:18:42 +00:00
# site displays just 20 results, no profile options found to change this, so we attempt to fetch 5 pages
2020-05-10 20:05:19 +00:00
- path : torrents-search.php
inputs :
page : 1
- path : torrents-search.php
inputs :
page : 2
- path : torrents-search.php
inputs :
page : 3
- path : torrents-search.php
inputs :
page : 4
inputs :
2020-08-30 22:18:42 +00:00
# note: site does not support multi cat search.
# replace spaces with wildcard (percent symbol) as site's default search is exact string.
2020-05-10 20:05:19 +00:00
search : "{{ re_replace .Keywords \"[\\s]+\" \"%\" }}"
sort : "{{ .Config.sort }}"
order : "{{ .Config.type }}"
2020-08-30 22:18:42 +00:00
# torrents-search.php does not support imdbid search or return imdb links.
2020-05-10 20:05:19 +00:00
keywordsfilters :
2020-08-30 22:18:42 +00:00
# drop the year from searches since site titles do not include year
2020-05-10 20:05:19 +00:00
- name : re_replace
2020-08-30 22:18:42 +00:00
args : [ "(19|20[0-9]{2})" , "" ]
2020-03-13 07:23:49 +00:00
2020-05-10 20:05:19 +00:00
rows :
2020-09-10 07:36:41 +00:00
selector : "div#fancy-list-group ul.list-group li.list-group-item{{ if .Config.freeleech }}:has(span.badge-success:contains(\"FREE\")){{ else }}{{ end }}"
2020-03-13 07:23:49 +00:00
2020-05-10 20:05:19 +00:00
fields :
_quality :
selector : div.list-group-item-content p.m-0 span.badge-primary:contains("1080p"), div.list-group-item-content p.m-0 span.badge-primary:contains("720p"), div.list-group-item-content p.m-0 span.badge-primary:contains("4k")
optional : true
_year :
selector : div.list-group-item-content p.m-0 span.badge-primary[style$="#246AB6;"]
optional : true
_type :
selector : div.list-group-item-content p.m-0 span.badge-info:contains("Rip"), div.list-group-item-content p.m-0 span.badge-info:contains("WEB-"), div.list-group-item-content p.m-0 span.badge-info:contains("TV"), div.list-group-item-content p.m-0 span.badge-info:contains("Blu-Ray"), div.list-group-item-content p.m-0 span.badge-info:contains("BD50"), div.list-group-item-content p.m-0 span.badge-info:contains("MUX"), div.list-group-item-content p.m-0 span.badge-info:contains("DVD"), div.list-group-item-content p.m-0 span.badge-info:contains("320"), div.list-group-item-content p.m-0 span.badge-info:contains("CAM"), div.list-group-item-content p.m-0 span.badge-info:contains("rip")
optional : true
_language :
selector : div.list-group-item-content p.m-0 span.badge-primary[style$="#b6249d;"]
optional : true
title :
2020-09-10 07:36:41 +00:00
selector : a[href*="torrents-details.php?id="], a[href*="details-misc.php?id="]
2020-05-10 20:05:19 +00:00
filters :
2020-05-13 00:04:17 +00:00
# strip out the non-english title [to the left of the brackets] and drop the brackets enclosing the english title
2020-05-10 20:05:19 +00:00
- name : re_replace
args : [ "^(.*?)[\\(](.*?)[\\)](.*?)$" , "$2$3" ]
2020-05-13 00:04:17 +00:00
# add the year to the title
2020-05-10 20:05:19 +00:00
- name : append
2020-08-30 22:18:42 +00:00
args : "{{ if .Result._year }} {{ .Result._year }}{{ else }}{{ end }}"
2020-05-13 00:04:17 +00:00
# add the quality to the title
2020-05-10 20:05:19 +00:00
- name : append
2020-08-30 22:18:42 +00:00
args : "{{ if .Result._quality }} {{ .Result._quality }}{{ else }}{{ end }}"
2020-05-13 00:04:17 +00:00
# add the type to the title
2020-05-10 20:05:19 +00:00
- name : append
2020-08-30 22:18:42 +00:00
args : "{{ if .Result._type }} {{ .Result._type }}{{ else }}{{ end }}"
2020-05-13 00:04:17 +00:00
# add audio to the title
2020-05-10 20:05:19 +00:00
- name : append
2020-08-30 22:18:42 +00:00
args : "{{ if .Result._language }} {{ .Result._language }}{{ else }}{{ end }}"
2020-05-10 20:05:19 +00:00
- name : re_replace
args : [ "(Dual-Audio|Dublado)" , "Brazilian $1" ]
details :
2020-09-10 07:36:41 +00:00
selector : a[href*="torrents-details.php?id="], a[href*="details-misc.php?id="]
2020-05-10 20:05:19 +00:00
attribute : href
download :
2020-08-30 22:18:42 +00:00
selector : a[href*="download.php?id="]
2020-05-10 20:05:19 +00:00
attribute : href
category :
selector : div.list-group-item-addon img
attribute : src
case :
2020-08-30 22:18:42 +00:00
# unfortunately the site does not have category numbers on the results page, just a image which can apply to both movies and tv.
# therefore I've order the list to favour movies.
# also, not all images have been verified as the site has many empty categories. their image names have been extrapolated from the cat desc.
"[src$=\"/Adultos.fw.png\"]": 74
"[src$=\"/Gay.jpeg\"]": 107
"[src$=\"/Trans.jpeg\"]": 108
2020-05-13 00:04:17 +00:00
"[src$=\"/Hentai.png\"]": 75
2020-08-30 22:18:42 +00:00
"[src$=\"/Anime2.fw.png\"]": 69
"[src$=\"/aplicativos.fw.png\"]": 21
2020-05-13 00:04:17 +00:00
"[src$=\"/Mac.png\"]": 22
"[src$=\"/Android.png\"]": 23
"[src$=\"/Linux.png\"]": 25
"[src$=\"/iPhone.png\"]": 26
"[src$=\"/iPad.png\"]": 27
"[src$=\"/iPod.png\"]": 28
"[src$=\"/Cursos.png\"]": 71
"[src$=\"/Apostila.png\"]": 72
"[src$=\"/E-books.png\"]": 67
"[src$=\"/Revista.png\"]": 68
"[src$=\"/HQ.png\"]": 112
2020-08-30 22:18:42 +00:00
"[src$=\"/filmes2.fw.png\"]": 119
2020-05-13 00:04:17 +00:00
"[src$=\"/Revistas-XXX.png\"]": 70
"[src$=\"/PS4.png\"]": 79
"[src$=\"/Jogos-PC.png\"]": 47
"[src$=\"/Emulador.png\"]": 61
"[src$=\"/Emulacao.png\"]": 109
"[src$=\"/Jogos-Mac.png\"]": 48
"[src$=\"/Jogos-PS1.png\"]": 49
"[src$=\"/Jogos-PS2.png\"]": 50
"[src$=\"/Jogos-PS3.png\"]": 51
"[src$=\"/Jogos-Dreamcast.png\"]": 52
"[src$=\"/Jogos-Xbox360.png\"]": 54
"[src$=\"/Jogos-Xbox.png\"]": 56
"[src$=\"/Jogos-Wii.png\"]": 55
"[src$=\"/Jogos-DS.png\"]": 58
"[src$=\"/jogosandroid.png\"]": 57
2020-08-30 22:18:42 +00:00
"[src$=\"/PSP.png\"]": 82
2020-05-13 00:04:17 +00:00
"[src$=\"/Jogos-NS.png\"]": 110
"[src$=\"/Jogos-XboxOne.png\"]": 78
"[src$=\"/Axe.png\"]": 29
2020-08-30 22:18:42 +00:00
"[src$=\"/Eletronica.png\"]": 30
2020-05-13 00:04:17 +00:00
"[src$=\"/Funk.png\"]": 31
"[src$=\"/Pagode.png\"]": 32
"[src$=\"/HIP_HOP.png\"]": 33
"[src$=\"/Rap.png\"]": 34
"[src$=\"/Rock.png\"]": 36
"[src$=\"/Hard-Rock.png\"]": 37
"[src$=\"/Blues.png\"]": 38
"[src$=\"/Dance.png\"]": 39
"[src$=\"/Discografia.png\"]": 40
"[src$=\"/Erudita.png\"]": 41
"[src$=\"/Forro.png\"]": 42
"[src$=\"/Dubstep.png\"]": 43
"[src$=\"/Sertanejo.png\"]": 46
"[src$=\"/Samba.png\"]": 45
"[src$=\"/Musica-Outros.png\"]": 77
"[src$=\"/Reggae.png\"]": 76
"[src$=\"/Gospel.png\"]": 83
"[src$=\"/POP.png\"]": 115
"[src$=\"/MPB.png\"]": 114
"[src$=\"/OST.png\"]": 84
2020-08-30 22:18:42 +00:00
"[src$=\"/seriados.fw.png\"]": 120
"[src$=\"/show.fw.png\"]": 65
2020-05-13 00:04:17 +00:00
"[src$=\"/Aberta.png\"]": 63
"[src$=\"/Esporte.png\"]": 62
"[src$=\"/Fechada.png\"]": 64
2020-08-30 22:18:42 +00:00
"[src$=\"/video aula4.fw.png\"]": 73
"[src$=\"/Add-ons.png\"]": 127
"[src$=\"/Extensões.png\"]": 126
"[src$=\"/Fonts.png\"]": 129
"[src$=\"/MOD.png\"]": 130
"[src$=\"/Imagens.png\"]": 125
"[src$=\"/Plug-ins.png\"]": 122
"[src$=\"/Scripts.png\"]": 128
"[src$=\"/Vetores.png\"]": 124
2020-09-10 07:36:41 +00:00
"[src$=\"/outros2.png\"]": 130
2020-05-10 20:05:19 +00:00
date :
text : now
date :
selector : p:contains("Lançado:")
optional : true
filters :
- name : regexp
args : "Lançado: (.+?)$"
- name : re_replace
args : [ " (\\d:)" , " 0$1" ]
2020-09-29 04:05:18 +00:00
- name : append
2020-10-01 05:27:28 +00:00
args : " +00:00" # auto adjusted by site account profile
2020-05-10 20:05:19 +00:00
- name : dateparse
2020-09-29 04:05:18 +00:00
args : "02/01/06 15:04:05 -07:00"
2020-05-10 20:05:19 +00:00
size :
selector : div.list-group-item-content p.m-0 span.badge-info
seeders :
selector : div.list-group-item-controls a:nth-child(1)
leechers :
selector : div.list-group-item-controls a:nth-child(2)
grabs :
selector : div.list-group-item-controls a:nth-child(3)
downloadvolumefactor :
case :
"span.badge-success:contains(\"FREE\")": 0
"*": 1
uploadvolumefactor :
text : 1
2020-09-29 04:05:18 +00:00
minimumratio :
text : 1.0
2020-03-13 07:23:49 +00:00
# engine n/a