2020-03-03 19:40:52 +00:00
---
2020-02-26 06:10:41 +00:00
site : filmsclub
name : FilmsClub
description : "FilmsClub is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / TV"
language : ru-ru
type : semi-private
encoding : UTF-8
links :
- https://films.club/
caps :
categorymappings :
- {id: 1, cat: Movies, desc : "Зарубежное кино (Foreign cinema)" }
- {id: 2, cat: Movies, desc : "Российское кино (Russian cinema)" }
- {id: 3, cat: TV, desc : "Сериалы (Series)" }
- {id: 4, cat: TV/Documentary, desc : "Документальное кино (Docs)" }
- {id: 5, cat: TV/Anime, desc : "Аниме (Anime)" }
- {id: 6, cat: TV, desc : "Мультфильмы (Cartoons)" }
modes :
search : [ q]
tv-search : [ q, season, ep]
movie-search : [ q]
settings :
- name : username
type : text
label : Username
- name : password
type : password
label : Password
- name : striprussian
type : checkbox
label : Strip Russian Letters
default : false
2020-03-03 19:40:52 +00:00
- name : stripyear
type : checkbox
label : Strip the Year from the Title
default : false
2020-02-26 06:10:41 +00:00
- name : info_search
type : info
label : "Searching with Season / Episode (S01E01)"
default : "The web site does support season/episode searching as they are not part of the title. To allow some results for Sonarr, these are stripped from the keywords."
login :
path : /
method : form
form : form#enterForm
submitpath : login/
inputs :
username : "{{ .Config.username }}"
password : "{{ .Config.password }}"
error :
- selector : div.error
test :
path : /
selector : div.user-login
search :
paths :
# https://films.club/torrent/list/?f=0&name=mandalorian&description=&year=&page_size=100
# https://films.club/torrent/list/?f=0&name=&description=&year=&category=1&category=2&category=3&category=4&category=5&category=6
- path : torrent/list/
keywordsfilters :
# the site does not support season/episode searching in the title, they are not part of title. searching description for them does not work either.
2020-03-05 00:32:31 +00:00
- name : re_replace # strip S01
2020-02-26 06:10:41 +00:00
args : [ "(?i)\\bS0*(\\d+)\\b" , "" ]
2020-03-05 00:32:31 +00:00
- name : re_replace # strip S01E01
2020-02-26 06:10:41 +00:00
args : [ "(?i)\\bS0*(\\d+)E0*(\\d+)\\b" , "" ]
inputs :
$raw : "{{ if .Categories }}{{ range .Categories }}category={{.}}&{{end}}{{else}}{{end}}"
f : 0
page_size : 100
name : "{{ .Keywords }}"
description : ""
year : ""
rows :
selector : table.torrents-table > tbody > tr
fields :
category :
selector : td.category
case :
"div:contains(\"Зарубежное\")": 1
"div:contains(\"Российское\")": 2
"div:contains(\"Сериалы\")": 3
"div:contains(\"Документальное \")": 4
"div:contains(\"Аниме\")": 5
"div:contains(\"Мультфильмы\")": 6
2020-03-03 19:40:52 +00:00
title_with_year :
2020-02-26 06:10:41 +00:00
selector : a[href^="/torrent/"]
filters :
2020-03-05 00:32:31 +00:00
# try to reorder TV title for Sonarr: name year source quality season/episode -> name year season/episode source quality
- name : re_replace
args : [ "[\\:\\-\\/\\|,\\s]" , " " ]
2020-02-26 06:10:41 +00:00
- name : re_replace
2020-03-05 00:32:31 +00:00
args : [ "(.*)(\\([1|2][0-9]{3}\\))(.*)([CС cс ]езон.*)" , "$1$2$4$3" ]
# normalize to SXXEYY format
2020-02-26 06:10:41 +00:00
- name : re_replace
2020-03-05 00:32:31 +00:00
args : [ "(.*)[CС cс ]езон +(\\d+).+[CС cс ]ери[ия] +(\\d+) +(\\d+) +из +\\d+(.*)" , "$1 S$2E$3-$4 rus $5" ]
2020-02-26 06:10:41 +00:00
- name : re_replace
2020-03-05 00:32:31 +00:00
args : [ "(.*)[CС cс ]езон +(\\d+)(.*)" , "$1 S$2 rus $3" ]
2020-02-26 06:10:41 +00:00
- name : re_replace
args : [ "(\\([А -Яа-яЁё\\W]+\\))|(^[А -Яа-яЁё\\W\\d]+\\/ )|([а -яА-ЯЁё \\-]+,+)|([а -яА-ЯЁё]+)" , "{{ if .Config.striprussian }}{{ else }}$1$2$3$4{{ end }}" ]
- name : replace
args : [ " Rip" , "Rip" ]
2020-03-05 00:32:31 +00:00
- name : replace
args : [ "Blu Ray" , "Bluray" ]
2020-02-26 06:10:41 +00:00
- name : replace
args : [ "WEB DL" , "WEBDL" ]
- name : replace
args : [ "WEBDLRip" , "WEBDL" ]
2020-03-05 00:32:31 +00:00
- name : replace
args : [ "WEBRip" , "WEBDL" ]
2020-02-26 06:10:41 +00:00
- name : replace
args : [ "HDTVRip" , "HDTV" ]
2020-03-03 19:40:52 +00:00
title_without_year :
text : "{{ re_replace .Result.title_with_year \"\\([1|2][0-9]{3}\\)\" \"\" }}"
title :
text : "{{ if .Config.stripyear }}{{ .Result.title_without_year }}{{else}}{{ .Result.title_with_year }}{{end}}"
2020-02-26 06:10:41 +00:00
details :
selector : a[href^="/torrent/"]
attribute : href
download :
selector : a[href$="/download/"]
attribute : href
banner :
selector : td.image div img
attribute : src
date :
selector : div.added
filters :
- name : regexp
args : "Добавлено:(.+?)$"
- name : dateparse
args : "02.01.2006, 15:04"
size :
selector : td.size
filters :
- name : replace
args : [ "," , "." ]
- name : replace
2020-03-05 00:32:31 +00:00
args : [ "ТБ" , "TB" ]
2020-02-26 06:10:41 +00:00
- name : replace
args : [ "ГБ" , "GB" ]
- name : replace
args : [ "МБ" , "MB" ]
- name : replace
args : [ "КБ" , "KB" ]
seeders :
selector : td.peers span.up
leechers :
selector : td.peers span.down
grabs :
selector : td.stat
downloadvolumefactor :
text : 0
uploadvolumefactor :
text : 1
# engine n/a