---
id: bwtorrents
name: BwTorrents
description: "BwTorrents is an INDIAN Private Torrent Tracker for MOVIES / TV"
language: en-US
type: private
encoding: UTF-8
links:
  - https://bwtorrents.tv/
  - https://www.bwtorrents.pro/
  - https://bwtorrents.cc/
  - https://bwtorrents.live/
legacylinks:
  - https://bwtorrents.fun/
  - https://bwtorrents.xyz/
  - https://bwtorrents.us/
  - https://bwtorrents.co/
  - https://www.bwtorrents.life/

caps:
  categorymappings:
    # note: to update cats for this site its easier to use my.php and sort by cat integer
    # also cat 187 is undocumented but exists
    - {id: 113, cat: Movies, desc: "Bollywood-Pre-Release"}
    - {id: 114, cat: Movies/UHD, desc: "Bollywood-4K Ultra HD / Upscaled"}
    - {id: 115, cat: Movies/BluRay, desc: "Bollywood-Untouched BluRay"}
    - {id: 116, cat: Movies/HD, desc: "Bollywood-1080p BluRay Rips"}
    - {id: 117, cat: Movies/HD, desc: "Bollywood-720p BluRay Rips"}
    - {id: 118, cat: Movies, desc: "Bollywood-Remuxes BluRay"}
    - {id: 119, cat: Movies/WEB-DL, desc: "Bollywood-Untouched WEB-DLs"}
    - {id: 120, cat: Movies/WEB-DL, desc: "Bollywood-1080p WEB-Rips"}
    - {id: 121, cat: Movies/DVD, desc: "Bollywood-Untouched DVDs"}
    - {id: 122, cat: Movies/WEB-DL, desc: "Bollywood-DVDRips 1080p/720p"}
    - {id: 123, cat: Movies/WEB-DL, desc: "Bollywood-SDRips WEB/DVD"}
    - {id: 124, cat: Movies/3D, desc: "Bollywood-3D-Movies"}
    - {id: 125, cat: Movies/WEB-DL, desc: "Bollywood-Web Series"}
    - {id: 126, cat: Movies/UHD, desc: "Hollywood-4K Ultra HD / Upscaled"}
    - {id: 127, cat: Movies/BluRay, desc: "Hollywood-Untouched BluRay"}
    - {id: 128, cat: Movies/HD, desc: "Hollywood-1080p BluRay Rips"}
    - {id: 129, cat: Movies/HD, desc: "Hollywood-720p BluRay Rips"}
    - {id: 130, cat: Movies, desc: "Hollywood-BluRay Remuxes"}
    - {id: 131, cat: Movies/WEB-DL, desc: "Hollywood-Untouched WEB-DLs"}
    - {id: 132, cat: Movies, desc: "Hollywood-1080p WEB-Rips"}
    - {id: 133, cat: Movies/DVD, desc: "Hollywood-Untouched DVDs"}
    - {id: 134, cat: Movies/WEB-DL, desc: "Hollywood-DVDRips 1080p/720p"}
    - {id: 135, cat: Movies/3D, desc: "Hollywood-3D-Movies"}
    - {id: 136, cat: Movies, desc: "Hollywood-Pre-Release"}
    - {id: 137, cat: Movies, desc: "Malayalam-Movies"}
    - {id: 140, cat: Movies, desc: "Punjabi-Movies"}
    - {id: 141, cat: Movies, desc: "Kannada-Movies"}
    - {id: 142, cat: Movies, desc: "Lollywood-Movies"}
    - {id: 143, cat: Movies, desc: "Bhoipuri-Movies"}
    - {id: 144, cat: Movies, desc: "Marathi-Movies"}
    - {id: 145, cat: Movies, desc: "Bangla-Movies"}
    - {id: 146, cat: TV, desc: "TV-Colors"}
    - {id: 147, cat: TV, desc: "TV-TV"}
    - {id: 148, cat: TV, desc: "TV-Life OK"}
    - {id: 149, cat: TV, desc: "TV-Pakistan Drams"}
    - {id: 150, cat: TV, desc: "TV-Sab TV"}
    - {id: 151, cat: TV, desc: "TV-Sony"}
    - {id: 152, cat: TV, desc: "TV-Star Bharat"}
    - {id: 153, cat: TV, desc: "TV-Star Plus"}
    - {id: 154, cat: TV, desc: "TV-Zee TV"}
    - {id: 155, cat: TV/Sport, desc: "TV-Sports"}
    - {id: 156, cat: TV/Documentary, desc: "TV-Documentaries"}
    - {id: 157, cat: TV, desc: "TV-Hollywood Tv Shows"}
    - {id: 158, cat: TV, desc: "TV-Other Tv Shows"}
    - {id: 159, cat: Audio, desc: "Music-Religion & Spirituality"}
    - {id: 160, cat: Audio, desc: "Music-Classical"}
    - {id: 161, cat: Audio/Lossless, desc: "Music-Flacs"}
    - {id: 162, cat: Audio, desc: "Music-Ghazals"}
    - {id: 163, cat: Audio, desc: "Music-Hindi OSTs"}
    - {id: 164, cat: Audio, desc: "Music-Instrumental"}
    - {id: 165, cat: Audio, desc: "Music-Kannada"}
    - {id: 166, cat: Audio, desc: "Music-Lollywood"}
    - {id: 167, cat: Audio, desc: "Music-Malayalam"}
    - {id: 168, cat: Audio, desc: "Music-Marathi"}
    - {id: 169, cat: Audio/Video, desc: "Music-Videos"}
    - {id: 170, cat: Audio, desc: "Music-Pop"}
    - {id: 171, cat: Audio, desc: "Music-Punjabi"}
    - {id: 172, cat: Audio, desc: "Music-Remix"}
    - {id: 173, cat: Audio, desc: "Music-Tamil"}
    - {id: 174, cat: Audio, desc: "Music-Telugu"}
    - {id: 175, cat: Books/EBook, desc: "Ebooks"}
    - {id: 176, cat: PC/Games, desc: "Games PC"}
    - {id: 177, cat: Console, desc: "Games Console"}
    - {id: 178, cat: TV/Anime, desc: "Anime"}
    - {id: 179, cat: PC, desc: "Appz"}
    - {id: 180, cat: PC/Mobile-Other, desc: "Mobile Stuff"}
    - {id: 181, cat: Other, desc: "Pics/Wallpapers"}
    - {id: 182, cat: Movies, desc: "Other Movies"}
    - {id: 183, cat: Movies, desc: "English Hindi Dubbed"}
    - {id: 184, cat: Movies, desc: "South Hindi Dubbed"}
    - {id: 185, cat: Movies, desc: "Gujarati-Movies"}
    - {id: 186, cat: TV, desc: "TV-Dangal Tv"}
    - {id: 187, cat: XXX, desc: "Adult XXX 18+"}
    - {id: 188, cat: Movies/WEB-DL, desc: "Bollywood-720p WEB-Rips"}
    - {id: 189, cat: Movies/DVD, desc: "Bollywood-Encoded DVDs"}
    - {id: 190, cat: Movies, desc: "Bollywood-Movie packs"}
    - {id: 191, cat: Movies/WEB-DL, desc: "Hollywood-Encoded DVDs"}
    - {id: 192, cat: Movies, desc: "Hollywood-720p WEB-Rips"}
    - {id: 193, cat: Movies/SD, desc: "Hollywood-SDRips - WEB/DVD"}
    - {id: 194, cat: Movies, desc: "Hollywood-Movie packs"}
    - {id: 195, cat: TV, desc: "TV-Tv Packs"}
    - {id: 196, cat: Audio, desc: "Music-Packs"}
    - {id: 197, cat: Movies, desc: "Turkish Hindi Dubbed"}
    - {id: 198, cat: Movies, desc: "TV-MTV"}
    - {id: 199, cat: Movies, desc: "Telgu-Movies | 4K Ultra HD - Upscaled"}
    - {id: 200, cat: Movies, desc: "Telgu-Movies | Untouched WEB-DLs"}
    - {id: 201, cat: Movies, desc: "Telgu-Movies | 1080p/720p WEBRips"}
    - {id: 202, cat: Movies, desc: "Telgu-Movies | Untouched BluRay"}
    - {id: 203, cat: Movies, desc: "Telgu-Movies | Untouched DVDs"}
    - {id: 204, cat: Movies, desc: "Telgu-Movies | SD-WEBRips / DVDRips"}
    - {id: 205, cat: Movies, desc: "Telgu-Movies | Movie Packs"}
    - {id: 207, cat: Movies, desc: "Telgu-Movies | BluRay Rips"}
    - {id: 208, cat: Movies, desc: "Telgu-Movies | Remuxes BluRay"}
    - {id: 209, cat: Movies, desc: "Tamil-Movies | 4K Ultra HD - Upscaled"}
    - {id: 210, cat: Movies, desc: "Tamil-Movies | Untouched WEB-DLs"}
    - {id: 211, cat: Movies, desc: "Tamil-Movies | 1080p/720p WEBRips"}
    - {id: 212, cat: Movies, desc: "Tamil-Movies | Untouched BluRay"}
    - {id: 213, cat: Movies, desc: "Tamil-Movies | Untouched DVDs"}
    - {id: 214, cat: Movies, desc: "Tamil-Movies | SD-WEBRips / DVDRips"}
    - {id: 215, cat: Movies, desc: "Tamil-Movies | Movie Packs"}
    - {id: 216, cat: Movies, desc: "Tamil-Movies | BluRay Rips"}
    - {id: 217, cat: Movies, desc: "Tamil-Movies | Remuxes BluRay"}
    - {id: 218, cat: TV, desc: "TV-Ishara TV"}
    - {id: 219, cat: TV, desc: "TV-Bengali Tv"}
    - {id: 220, cat: TV, desc: "TV-Shemaroo Umang"}
    - {id: 221, cat: TV, desc: "TV-JioTv"}

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

settings:
  - name: username
    type: text
    label: Username
  - name: password
    type: password
    label: Password
  - name: freeleech
    type: checkbox
    label: Search freeleech only
    default: false
  - name: info_flaresolverr
    type: info_flaresolverr
  - name: info_activity
    type: info
    label: Account Inactivity
    default: "Account activity:<ol><li>Zero activity accounts (0 bytes download and 0 bytes upload) are automatically deleted after 30 days</li><li>Inactive accounts under VIP and without parked are automatically deleted after 40 days.</li></ol>"

login:
  path: takelogin.php
  method: post
  inputs:
    username: "{{ .Config.username }}"
    password: "{{ .Config.password }}"
  error:
    - selector: td.embedded:has(h2:contains("failed"))
  test:
    path: index.php
    selector: a[href="logout.php"]

search:
  paths:
    # https://bwtorrents.tv/index.php?search=&blah=0&c120=1&c119=1&incldead=1
    - path: index.php
  inputs:
    $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
    search: "{{ .Keywords }}"
    # 1 all, 2 onlydead, 3 free
    incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
    # 0 name, 1 descr, 2 both
    blah: 0
    # does not support imdbid searches and does not have imdb links in results.

  rows:
    selector: table[width="1200"] > tbody > tr:has(a[href^="download.php/"])
    filters:
      - name: andmatch

  fields:
    category:
      selector: a[href^="index.php?cat="]
      attribute: href
      filters:
        - name: querystring
          args: cat
    title:
      selector: a[href^="details.php?id="] b
    details:
      selector: a[href^="details.php?id="]
      attribute: href
    files:
      selector: td:nth-child(3)
    date:
      selector: td:nth-child(5)
      # auto adjusted by site account profile
      filters:
        - name: dateparse
          args: "dd-MM-yyyyHH:mm:ss"
    size:
      selector: td:nth-child(6)
    download:
      selector: a[href^="download.php/"]
      attribute: href
    seeders:
      selector: td:nth-child(8)
    leechers:
      selector: td:nth-child(9)
    grabs:
      selector: td:nth-child(9)
    downloadvolumefactor:
      case:
        "font:contains(\"FreeLeech\")": 0
        "*": 1
    uploadvolumefactor:
      case:
        img[src="pic/double_upload.png"]: 2
        "*": 1
    genre:
      selector: td:nth-child(2)
      filters:
        - name: regexp
          args: "Genre:\\s(.+?)$"
        - name: replace
          args: [", ", ","]
        - name: replace
          args: [" ", "_"]
    description:
      text: "{{ .Result.genre }}"
    minimumratio:
      text: 1.0
    minimumseedtime:
      # 3 day (as seconds = 3 x 24 x 60 x 60)
      text: 259200
# AEON
