---
id: polskie-torrenty
name: Polskie-Torrenty
description: "Polskie-Torrenty is a POLISH Semi-Private Torrent Tracker for MOVIES / TV / GENERAL"
language: pl-PL
type: semi-private
encoding: UTF-8
links:
  - https://polskie-torrenty.eu/

caps:
  categorymappings:
    # Filmy
    - {id: 27, cat: Movies/DVD, desc: "Filmy DVD"}
    - {id: 30, cat: Movies/SD, desc: "Filmy DivX/XviD"}
    - {id: 71, cat: Movies/3D, desc: "Filmy 3D"}
    - {id: 72, cat: Movies/HD, desc: "Filmy x264/h264/1080p"}
    - {id: 73, cat: Movies/HD, desc: "Filmy x264/h264/720p"}
    - {id: 74, cat: Movies/HD, desc: "Filmy x265/h265"}
    - {id: 75, cat: Movies/HD, desc: "Filmy x264/h264"}
    - {id: 76, cat: Movies/HD, desc: "Filmy BluRay / REMUX"}
    - {id: 77, cat: Movies/UHD, desc: "Filmy 4K UHD"}
    - {id: 78, cat: Movies/SD, desc: "Filmy IVO / AI"}
    - {id: 79, cat: Movies/SD, desc: "Filmy TS/CAM"}
    - {id: 88, cat: Movies/HD, desc: "Filmy x265/h265/1080p"}
    - {id: 89, cat: Movies/HD, desc: "Filmy x265/h265/720p"}
    # Seriale
    - {id: 25, cat: TV, desc: "Seriale Polskie"}
    - {id: 26, cat: TV/Foreign, desc: "Seriale Zagraniczne"}
    - {id: 122, cat: TV, desc: "Seriale Fiona 9"}
    # Dla Dzieci
    - {id: 32, cat: Movies, desc: "Filmy/Bajki"}
    - {id: 111, cat: Audio/Audiobook, desc: "Audiobook"}
    - {id: 112, cat: Console, desc: "Gry"}
    - {id: 113, cat: Other, desc: "Inne"}
    - {id: 114, cat: Books, desc: "Kolorowanki"}
    - {id: 115, cat: Books, desc: "Książki"}
    - {id: 116, cat: Audio, desc: "Muzyka"}
    - {id: 117, cat: PC, desc: "Programy"}
    - {id: 118, cat: Audio/Video, desc: "Teledyski"}
    # Gry
    - {id: 34, cat: PC/Games, desc: "Gry PC"}
    - {id: 35, cat: Console/PSP, desc: "PS2/PS3/PS4/PSP/PS VITA"}
    - {id: 36, cat: Console/XBox, desc: "Xbox One/XBOX 360/Xbox"}
    - {id: 37, cat: Console/NDS, desc: "NINTENDO / WII / DS"}
    # Muzyka
    - {id: 38, cat: Audio/Foreign, desc: "Muzyka Zagraniczna"}
    - {id: 39, cat: Audio, desc: "Soundtracki"}
    - {id: 40, cat: Audio/Video, desc: "Teledyski"}
    - {id: 80, cat: Audio, desc: "Muzyka Polska"}
    - {id: 81, cat: Audio/Video, desc: "Koncerty"}
    # GSM/PDA
    - {id: 42, cat: PC/Mobile-Other, desc: "Tapety GSM/PDA"}
    - {id: 43, cat: PC/Mobile-Other, desc: "Programy GSM/PDA"}
    - {id: 44, cat: PC/Mobile-Other, desc: "Filmy GSM/PDA"}
    - {id: 45, cat: PC/Mobile-Other, desc: "Dzwonki GSM/PDA"}
    - {id: 46, cat: PC/Mobile-Other, desc: "Gry GSM/PDA"}
    # Ksiazki
    - {id: 47, cat: Books/EBook, desc: "E-Booki"}
    - {id: 48, cat: Audio/Audiobook, desc: "Audio-Booki"}
    - {id: 49, cat: Books/Mags, desc: "Czasopisma"}
    - {id: 50, cat: Books/Comics, desc: "Komiksy"}
    # Programy
    - {id: 51, cat: PC/0day, desc: "Windows"}
    - {id: 52, cat: PC, desc: "Linux"}
    - {id: 53, cat: PC/Mac, desc: "Macintosh"}
    # Erotyka
    - {id: 58, cat: XXX/Other, desc: "Czasopisma"}
    - {id: 59, cat: XXX/ImageSet, desc: "Zdjęcia"}
    - {id: 60, cat: XXX/x264, desc: "Filmy"}
    - {id: 61, cat: XXX/Other, desc: "Gry"}
    - {id: 63, cat: XXX/Other, desc: "Hentai+18"}
    # Anime
    - {id: 69, cat: TV/Anime, desc: "Anime"}
    - {id: 70, cat: XXX/Other, desc: "Hentai"}
    - {id: 121, cat: Books/Comics, desc: "Manga"}
    # Inne
    - {id: 55, cat: Other, desc: "Tapety"}
    - {id: 57, cat: Other, desc: "Pozostale"}
    - {id: 86, cat: Other, desc: "Śmieszne"}
    - {id: 105, cat: Other, desc: "Design www"}
    - {id: 106, cat: Other, desc: "Filmy (S)VCD"}
    - {id: 107, cat: Other, desc: "Flash/Shockwave"}
    - {id: 108, cat: Other, desc: "Fotografia"}
    - {id: 109, cat: Other, desc: "Kursy"}
    - {id: 110, cat: Other, desc: "Modelarstwo"}
    # Sport
    - {id: 92, cat: TV/Sport, desc: "Boks"}
    - {id: 93, cat: TV/Sport, desc: "Hokej"}
    - {id: 94, cat: TV/Sport, desc: "Koszykówka"}
    - {id: 95, cat: TV/Sport, desc: "Kulturystyka i fitness"}
    - {id: 96, cat: TV/Sport, desc: "MMA"}
    - {id: 97, cat: TV/Sport, desc: "Motorowe"}
    - {id: 98, cat: TV/Sport, desc: "Piłka nożna"}
    - {id: 99, cat: TV/Sport, desc: "Rowerowe"}
    - {id: 100, cat: TV/Sport, desc: "Siatkówka"}
    - {id: 101, cat: TV/Sport, desc: "Wodne"}
    - {id: 102, cat: TV/Sport, desc: "Wrestling"}
    - {id: 103, cat: TV/Sport, desc: "Zapasy"}
    - {id: 104, cat: TV/Sport, desc: "Zimowe"}

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

settings:
  - name: cookie
    type: text
    label: Cookie
  - name: info_cookie
    type: info_cookie
  - name: multilang
    type: checkbox
    label: Replace MULTi by another language in release name
    default: false
  - name: multilanguage
    type: select
    label: Replace MULTi by this language
    default: POLISH
    options:
      POLISH: POLISH
      MULTi POLISH: MULTi POLISH
  - name: sort
    type: select
    label: Sort requested from site
    default: date
    options:
      date: created
      seed: seeders
      size: size
      name: title
  - name: type
    type: select
    label: Order requested from site
    default: desc
    options:
      desc: desc
      asc: asc
  - name: info_limit
    type: info
    label: "Download Daily Limit"
    default: "Polskie-Torrenty has a daily limit on downloads. If downloads <b>fail</b> then you have exceeded your daily limit. Try again tomorrow."

login:
  method: cookie
  inputs:
    cookie: "{{ .Config.cookie }}"
  test:
    path: index.php
    selector: a[href="logout.php"]

search:
  paths:
    # https://polskie-torrenty.eu/wyszukaj.php?q=Ronin&category=72&sort=seed_desc
    - path: wyszukaj.php
  inputs:
    $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
    q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
    sort: "{{ .Config.sort }}_{{ .Config.type }}"

  rows:
    selector: table.results-table tbody tr

  fields:
    category:
      selector: td:nth-child(1) a
      attribute: href
      filters:
        - name: querystring
          args: sub_category
    title_phase1:
      selector: td:nth-child(2) a
    title_multilang:
      text: "{{ .Result.title_phase1 }}"
      filters:
        - name: re_replace
          args: ["(?i)\\b(MULTI(?!.*(?:POLISH|ENGLISH|\\bPL\\b)))\\b", "{{ .Config.multilanguage }}"]
        - name: re_replace
          args: ["(?i)\\b(pl)\\b", "POLISH"]
    title:
      text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
    details:
      selector: td:nth-child(2) a
      attribute: href
    download:
      selector: td:nth-child(2) a
      attribute: href
      filters:
        - name: replace
          args: ["details.php?id=", "download.php?id="]
    date:
      text: now
    size:
      selector: td:nth-child(3)
    seeders:
      selector: td:nth-child(4)
    leechers:
      selector: td:nth-child(5)
    downloadvolumefactor:
      text: 0
    uploadvolumefactor:
      text: 1
# engine n/a
