2017-08-18 00:38:57 +00:00
---
2020-05-11 19:59:28 +00:00
id : torlock
2020-05-10 20:05:19 +00:00
name : Torlock
description : "Torlock is a torrent search site that lists verified torrents only for TV series and movies"
2021-09-07 23:09:51 +00:00
language : en-US
2020-05-10 20:05:19 +00:00
type : public
encoding : UTF-8
followredirect : true
links :
- https://www.torlock.com/
- https://www.torlock2.com/
- https://www.torlock.icu/
2021-10-07 17:03:57 +00:00
- https://torlock.unblockit.kim/
2021-10-28 15:39:16 +00:00
- https://torlock.nocensor.biz/
2020-05-10 20:05:19 +00:00
legacylinks :
- https://torlock.com/
- https://torlock.unblockit.pro/
- https://torlock.unblockit.one/
2020-06-10 03:54:08 +00:00
- https://torlock.unblockit.me/
2020-06-25 19:17:40 +00:00
- https://torlock.unblockit.pw/
2020-07-29 03:51:24 +00:00
- https://torlock.unblockit.id/
2020-08-21 22:54:23 +00:00
- https://torlock.unblockit.win/
2020-10-10 19:51:49 +00:00
- https://torlock.unblockit.top/
2020-11-03 09:40:30 +00:00
- https://torlock.unblockit.lat/
2020-12-10 21:15:48 +00:00
- https://torlock.unblockit.app/
2021-01-12 12:58:34 +00:00
- https://torlock.unblockit.dev/
2021-02-10 04:23:32 +00:00
- https://torlock.unblockit.ltd/
2021-03-21 04:53:16 +00:00
- https://torlock.unblockit.link/
2021-04-07 21:31:08 +00:00
- https://torlock.unblockit.buzz/
2021-05-03 06:09:12 +00:00
- https://torlock.unblockit.club/
2021-06-08 01:31:44 +00:00
- https://torlock.unblockit.onl/
2021-07-07 02:13:54 +00:00
- https://torlock.unblockit.li/
2021-08-07 07:38:52 +00:00
- https://torlock.unblockit.uno/
2021-09-06 05:28:21 +00:00
- https://torlock.unblockit.ch/
2021-09-06 15:51:01 +00:00
- https://torlock.nocensor.space/
2021-10-07 17:03:57 +00:00
- https://torlock.unblockit.ws/
2021-10-28 15:39:16 +00:00
- https://torlock.nocensor.work/
2017-08-18 00:38:57 +00:00
2020-05-10 20:05:19 +00:00
caps :
2021-10-24 06:51:41 +00:00
# dont forget to update the search fields category case block
2020-05-10 20:05:19 +00:00
categorymappings :
- {id: TELEVISION, cat: TV, desc : "TV Shows" }
- {id: MOVIES, cat: Movies, desc : "Movies" }
- {id: MUSIC, cat: Audio, desc : "Music" }
- {id: GAMES, cat: PC/Games, desc : "Games" }
- {id: SOFTWARE, cat: PC, desc : "Software" }
- {id: ANIME, cat: TV/Anime, desc : "Anime" }
2020-10-28 19:00:48 +00:00
- {id: EBOOKS, cat: Books/EBook, desc : "Books" }
2020-05-10 20:05:19 +00:00
- {id: OTHER, cat: Other, desc : "Other" }
- {id: ADULT, cat: XXX, desc : "Adult" }
- {id: AUDIOBOOK, cat: Audio/Audiobook, desc : "Audiobook" }
- {id: IMAGES, cat: Other/Misc, desc : "Images" }
2020-03-21 05:27:03 +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]
2020-03-21 05:27:03 +00:00
2020-05-10 20:05:19 +00:00
settings :
- name : sort
type : select
label : Sort requested from site (only works for search with keywords)
2020-10-24 00:09:18 +00:00
default : added
2020-05-10 20:05:19 +00:00
options :
2020-10-24 00:09:18 +00:00
added : created
seeds : seeders
size : size
2020-05-10 20:05:19 +00:00
- name : type
type : select
label : Order requested from site
2020-10-24 00:09:18 +00:00
default : desc
2020-05-10 20:05:19 +00:00
options :
2020-10-24 00:09:18 +00:00
desc : desc
asc : asc
2020-03-21 05:27:03 +00:00
2020-05-10 20:05:19 +00:00
search :
paths :
2020-11-17 21:28:31 +00:00
- path : "{{ if .Keywords }}/all/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{ else }}/fresh.html{{ end }}"
2021-06-19 20:30:08 +00:00
categories : [ "!" , TELEVISION, MOVIES, MUSIC, GAMES, SOFTWARE, ANIME, EBOOKS, OTHER, ADULT, AUDIOBOOK, IMAGES]
- path : "{{ if .Keywords }}/television/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{else}}/television/1/{{ .Config.sort }}/{{ .Config.type }}.html{{end}}"
categories : [ TELEVISION]
- path : "{{ if .Keywords }}/movie/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{else}}/movies/1/{{ .Config.sort }}/{{ .Config.type }}.html{{end}}"
categories : [ MOVIES]
- path : "{{ if .Keywords }}/music/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{else}}/music/1/{{ .Config.sort }}/{{ .Config.type }}.html{{end}}"
categories : [ MUSIC]
- path : "{{ if .Keywords }}/game/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{else}}/games/1/{{ .Config.sort }}/{{ .Config.type }}.html{{end}}"
categories : [ GAMES]
- path : "{{ if .Keywords }}/software/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{else}}/software/1/{{ .Config.sort }}/{{ .Config.type }}.html{{end}}"
categories : [ SOFTWARE]
- path : "{{ if .Keywords }}/anime/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{else}}/anime/1/{{ .Config.sort }}/{{ .Config.type }}.html{{end}}"
categories : [ ANIME]
- path : "{{ if .Keywords }}/ebook/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{else}}/ebooks/1/{{ .Config.sort }}/{{ .Config.type }}.html{{end}}"
categories : [ EBOOKS]
- path : "{{ if .Keywords }}/unknown/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{else}}/unknown.html{{end}}" # sorting is broken for unknown
categories : [ OTHER]
- path : "{{ if .Keywords }}/adult/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{else}}/adult/1/{{ .Config.sort }}/{{ .Config.type }}.html{{end}}"
categories : [ ADULT]
- path : "{{ if .Keywords }}/audiobook/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{else}}/audiobook/1/{{ .Config.sort }}/{{ .Config.type }}.html{{end}}"
categories : [ AUDIOBOOK]
- path : "{{ if .Keywords }}/image/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{else}}/images/1/{{ .Config.sort }}/{{ .Config.type }}.html{{end}}"
categories : [ IMAGES]
2020-05-10 20:05:19 +00:00
keywordsfilters :
- name : tolower
- name : re_replace
args : [ "[^a-zA-Z0-9]+" , "-" ]
2019-12-13 20:54:14 +00:00
2020-05-10 20:05:19 +00:00
rows :
selector : table > tbody > tr:has(td:has(div:has(a[href^="/torrent/"])))
filters :
- name : andmatch
2019-12-13 20:54:14 +00:00
2020-05-10 20:05:19 +00:00
fields :
category :
selector : span[class^="tv"]
attribute : class
case :
span.tv0 : OTHER
span.tv1 : MOVIES
span.tv2 : MUSIC
span.tv3 : TELEVISION
span.tv4 : GAMES
span.tv5 : SOFTWARE
span.tv6 : ANIME
span.tv7 : ADULT
span.tv8 : EBOOKS
span.tv9 : IMAGES
span.tv10 : EBOOKS
span.tv12 : AUDIOBOOK
2020-11-17 21:28:31 +00:00
"*": OTHER # some torrents have invalid categories
2020-05-10 20:05:19 +00:00
title :
selector : td:nth-child(1) > div > a
details :
selector : td:nth-child(1) > div > a[href^="/torrent/"]
attribute : href
download :
selector : td:nth-child(1) > div > a[href^="/torrent/"]
attribute : href
filters :
2020-05-12 22:42:31 +00:00
- name : replace
args : [ "/torrent/" , "/tor/" ]
- name : regexp
args : (^/tor/\d*)
- name : append
args : ".torrent"
2021-10-24 06:51:41 +00:00
date_year :
2020-05-10 20:05:19 +00:00
selector : td:nth-child(2):contains("/")
optional : true
filters :
2020-11-17 01:06:13 +00:00
- name : append
args : " -07:00" # PDT
2020-05-10 20:05:19 +00:00
- name : dateparse
2020-11-17 01:06:13 +00:00
args : "1/2/2006 -07:00"
2021-10-24 06:51:41 +00:00
date_day :
2020-05-10 20:05:19 +00:00
selector : td:nth-child(2):contains("Today"), td:nth-child(2):contains("Yesterday")
optional : true
filters :
- name : fuzzytime
2021-10-24 06:51:41 +00:00
date_ago :
2020-05-10 20:05:19 +00:00
selector : td:nth-child(2):not(:contains("Today")):not(:contains("Yesterday")):not(:contains("/"))
optional : true
filters :
- name : re_replace
args : [ "(min|mins)" , "minutes" ]
- name : timeago
2021-10-24 06:51:41 +00:00
date :
text : "{{ if or .Result.date_year .Result.date_ago .Result.date_day }}{{ or .Result.date_year .Result.date_ago .Result.date_day }}{{ else }}now{{ end }}"
2020-05-10 20:05:19 +00:00
size :
selector : td:nth-child(3)
seeders :
selector : td:nth-child(4)
leechers :
selector : td:nth-child(5)
downloadvolumefactor :
text : 0
uploadvolumefactor :
text : 1
2020-11-17 21:28:31 +00:00
# engine n/a