---
id: torrentwhiz
name: TorrentWhiz
description: "TorrentWhiz ( 토렌트위즈) is a Public KOREAN tracker for Korean media."
language: ko-KR
type: public
encoding: UTF-8
followredirect: true
links:
  - https://torrentwiz67.com/
legacylinks:
  - https://torrentwiz50.com/
  - https://torrentwiz51.com/
  - https://torrentwiz52.com/
  - https://torrentwiz54.com/
  - https://torrentwiz55.com/
  - https://torrentwiz56.com/
  - https://torrentwiz57.com/
  - https://torrentwiz58.com/
  - https://torrentwiz59.com/
  - https://torrentwiz60.com/
  - https://torrentwiz61.com/
  - https://torrentwiz62.com/
  - https://torrentwiz63.com/
  - https://torrentwiz64.com/
  - https://torrentwiz66.com/

caps:
  categorymappings:
    - {id: "netflix", cat: TV, desc: "넷플릭스 (Netflix)"}
    - {id: "tv", cat: TV, desc: "시사 (TV)"}
    - {id: "mov", cat: Movies, desc: "영화 (Movie)"}
    - {id: "drama", cat: TV, desc: "드라마 (Drama)"}
    - {id: "enter", cat: TV, desc: "예능 (Entertainment)"}
    - {id: "music", cat: Audio, desc: "음원 (Music)"}
    - {id: "util", cat: PC, desc: "유틸 (Software)"}

  modes:
    search: [q]
    tv-search: [q, season, ep]
    movie-search: [q]
    music-search: [q]

settings:
  - name: info_flaresolverr
    type: info_flaresolverr

download:
  infohash:
    hash:
      selector: a[href^="magnet:?xt="]
      attribute: href
      filters:
        - name: regexp
          args: ([A-F|a-f|0-9]{40})
    title:
      selector: h1.panel-title
      filters:
        - name: trim
        - name: validfilename

search:
  paths:
    # https://torrentwiz31.com/bbs/search.php?url=&stx=sin&srows=100&gr_id=&sfl=wr_subject&sop=and
    - path: bbs/search.php
  inputs:
    stx: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
    srows: 100
    gr_id: ""
    # wr_subject||wr_content, wr_subject, wr_content, mb_id, wr_name
    sfl: wr_subject
    # or, and
    sop: and

  rows:
    selector: div.search-media div.media

  fields:
    category:
      selector: div.media-heading a
      attribute: href
      filters:
        - name: querystring
          args: bo_table
    title:
      selector: div.media-heading a
    details:
      selector: div.media-heading a
      attribute: href
    download:
      selector: div.media-heading a
      attribute: href
    poster:
      selector: div.photo img
      attribute: src
    date:
      # 2021-01-29T20:44:20+09:00
      selector: time
      attribute: datetime
    size:
      text: "512 MB"
    seeders:
      text: 1
    leechers:
      text: 1
    downloadvolumefactor:
      text: 0
    uploadvolumefactor:
      text: 1
# engine n/a
