mirror of https://github.com/Jackett/Jackett
127 lines
3.8 KiB
YAML
127 lines
3.8 KiB
YAML
---
|
|
id: broadcity
|
|
name: BroadCity
|
|
description: "BroadCity is a TURKISH Private Torrent Tracker for MOVIES and TV"
|
|
language: tr-TR
|
|
type: private
|
|
encoding: UTF-8
|
|
links:
|
|
- http://broadcity.in/ # site is forcing to http
|
|
legacylinks:
|
|
- https://broadcity.in/
|
|
|
|
caps:
|
|
categorymappings:
|
|
- {id: 1, cat: Movies/UHD, desc: "UHD"}
|
|
- {id: 2, cat: Movies/HD, desc: "BluRay"}
|
|
- {id: 8, cat: Movies/HD, desc: "TV"}
|
|
- {id: 6, cat: Movies/HD, desc: "WEB-DL"}
|
|
- {id: 16, cat: Movies/HD, desc: "WEBRip"}
|
|
- {id: 3, cat: Movies/HD, desc: "Movies HD"}
|
|
- {id: 25, cat: Movies/3D, desc: "Movies 3D"}
|
|
- {id: 4, cat: Movies/HD, desc: "BluRay"}
|
|
- {id: 7, cat: Movies/HD, desc: "TV"}
|
|
- {id: 5, cat: Movies/HD, desc: "WEB-DL"}
|
|
- {id: 14, cat: Movies/HD, desc: "WEBRip"}
|
|
- {id: 27, cat: Movies/HD, desc: "LORD Rips"}
|
|
- {id: 9, cat: Movies/SD, desc: "SD"}
|
|
- {id: 23, cat: Movies/SD, desc: "BluRay"}
|
|
- {id: 10, cat: Movies/SD, desc: "DVD"}
|
|
- {id: 12, cat: Movies/SD, desc: "TV"}
|
|
- {id: 13, cat: Movies/SD, desc: "WEB-DL"}
|
|
- {id: 15, cat: Movies/SD, desc: "WEBRip"}
|
|
- {id: 17, cat: TV, desc: "TV"}
|
|
- {id: 26, cat: TV/Other, desc: "TV Program"}
|
|
- {id: 19, cat: TV, desc: "Yabanci Dizi"}
|
|
- {id: 18, cat: TV, desc: "Yerli Dizi"}
|
|
- {id: 20, cat: Movies/HD, desc: "VIP"}
|
|
|
|
modes:
|
|
search: [q]
|
|
tv-search: [q, season, ep]
|
|
movie-search: [q]
|
|
|
|
settings:
|
|
- name: cookie
|
|
type: text
|
|
label: Cookie
|
|
- name: info
|
|
type: info
|
|
label: How to get the Cookie
|
|
default: "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)<li>Refresh the page by pressing <b>F5</b><li>Click on the first row entry<li>Select the <b>Headers</b> tab on the Right panel<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"
|
|
|
|
login:
|
|
method: cookie
|
|
inputs:
|
|
cookie: "{{ .Config.cookie }}"
|
|
test:
|
|
path: index.php
|
|
selector: a[href*="/logout.php?logouthash="]
|
|
|
|
search:
|
|
paths:
|
|
- path: browse.php
|
|
keywordsfilters:
|
|
- name: re_replace # E01 to BL01
|
|
args: ["(?i)\\bE(\\d+)\\b", "E$1"]
|
|
inputs:
|
|
# does not support multi categories so defaulting to ALL
|
|
do: search
|
|
keywords: "{{ .Keywords }}"
|
|
category: 0
|
|
search_type: t_name
|
|
include_dead_torrents: yes
|
|
|
|
rows:
|
|
selector: table#sortabletable tbody tr:has(div[id^="port-target-"])
|
|
|
|
fields:
|
|
category:
|
|
selector: a[href*="browse.php?category="]
|
|
attribute: href
|
|
filters:
|
|
- name: querystring
|
|
args: category
|
|
title:
|
|
selector: div[id^="port-target-"] a
|
|
filters:
|
|
- name: re_replace # BL01 to E01
|
|
args: ["(?i)\\bBL(\\d+)\\b", " E$1 "]
|
|
details:
|
|
selector: div[id^="port-target-"] a
|
|
attribute: href
|
|
download:
|
|
selector: a[href*="download.php?id="]
|
|
attribute: href
|
|
poster:
|
|
selector: div[id^="port-content-"] img
|
|
attribute: src
|
|
date:
|
|
selector: td:nth-child(2)
|
|
filters:
|
|
- name: regexp
|
|
args: (\d{2}-\d{2}-\d{4} \d{2}:\d{2})
|
|
filters:
|
|
- name: append
|
|
args: " +03:00" # TRT
|
|
- name: dateparse
|
|
args: "02-01-2006 15:04 -07:00"
|
|
size:
|
|
selector: td:nth-child(5)
|
|
grabs:
|
|
selector: td:nth-child(6)
|
|
seeders:
|
|
selector: td:nth-child(7)
|
|
leechers:
|
|
selector: td:nth-child(8)
|
|
downloadvolumefactor:
|
|
case:
|
|
img[src$="/freedownload.gif"]: 0
|
|
img[src$="/silverdownload.gif"]: 0.5
|
|
"*": 1
|
|
uploadvolumefactor:
|
|
case:
|
|
img[src$="/x2.gif"]: 2
|
|
"*": 1
|
|
# TS Special Edition v.7.5
|