---
id: xider-torrent
name: Xider-Torrent
description: "Xider-Torrent is a HUNGARIAN Private Tracker for MOVIES / TV"
language: hu-HU
type: private
encoding: UTF-8
links:
  - https://xider.eu/

caps:
  categorymappings:
    - {id: 4, cat: Movies/SD, desc: "Film/Cam/Eng"}
    - {id: 3, cat: Movies/SD, desc: "Film/Cam/Hun"}
    - {id: 8, cat: Movies/DVD, desc: "Film/DVD/Eng"}
    - {id: 7, cat: Movies/DVD, desc: "Film/DVD/Hun"}
    - {id: 10, cat: Movies/DVD, desc: "Film/DVD9/Eng"}
    - {id: 9, cat: Movies/DVD, desc: "Film/DVD9/Hun"}
    - {id: 37, cat: Movies/HD, desc: "Film/FHD/Eng"}
    - {id: 36, cat: Movies/HD, desc: "Film/FHD/Hun"}
    - {id: 12, cat: Movies/HD, desc: "Film/HD/Eng"}
    - {id: 11, cat: Movies/HD, desc: "Film/HD/Hun"}
    - {id: 2, cat: Movies/SD, desc: "Film/SD/Eng"}
    - {id: 1, cat: Movies/SD, desc: "Film/SD/Hun"}
    - {id: 38, cat: Audio/Audiobook, desc: "Hangoskönyv"}
    - {id: 18, cat: PC/Games, desc: "Játék/ISO"}
    - {id: 19, cat: PC/Games, desc: "Játék/Rip"}
    - {id: 24, cat: Other, desc: "Képek"}
    - {id: 23, cat: Books, desc: "Könyv/Eng"}
    - {id: 22, cat: Books, desc: "Könyv/Hun"}
    - {id: 20, cat: Console, desc: "Konzol"}
    - {id: 32, cat: Audio/Lossless, desc: "Lossless/Eng"}
    - {id: 31, cat: Audio/Lossless, desc: "Lossless/Hun"}
    - {id: 30, cat: TV/Anime, desc: "Mese/HD/Eng"}
    - {id: 29, cat: TV/Anime, desc: "Mese/HD/Hun"}
    - {id: 28, cat: TV/Anime, desc: "Mese/SD/Eng"}
    - {id: 27, cat: TV/Anime, desc: "Mese/SD/Hun"}
    - {id: 21, cat: PC/Mobile-Other, desc: "Mobil"}
    - {id: 16, cat: Audio/MP3, desc: "Mp3/Eng"}
    - {id: 15, cat: Audio/MP3, desc: "Mp3/Hun"}
    - {id: 17, cat: PC, desc: "Program"}
    - {id: 14, cat: TV, desc: "Sorozat/Eng"}
    - {id: 13, cat: TV, desc: "Sorozat/Hun"}
    - {id: 25, cat: XXX, desc: "XXX/Film"}
    - {id: 26, cat: XXX/ImageSet, desc: "XXX/Kép"}

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

settings:
  - name: username
    type: text
    label: Username
  - name: password
    type: password
    label: Password
  - name: freeleech
    type: checkbox
    label: Filter FreeLeech only
    default: false
  - name: sort
    type: select
    label: Sort requested from site
    default: 4
    options:
      1: title
      4: added
      5: size
      7: seeders
  - name: type
    type: select
    label: Order requested from site
    default: desc
    options:
      desc: desc
      asc: asc
  - name: info_tpp
    type: info
    label: Results Per Page
    default: For best results, change the <b>Torrentek száma egy oldalon:</b> setting to <b>100</b> on your account profile.
  - name: info_activity
    type: info
    label: Account Inactivity
    default: "User profiles are automatically deleted after a long period of inactivity."

login:
  path: login.php
  method: post
  inputs:
    username: "{{ .Config.username }}"
    password: "{{ .Config.password }}"
  error:
    - selector: table[width="920"]:contains("Hiba")
  test:
    path: index.php
    selector: a[href^="logout.php"]

search:
  paths:
    - path: browse.php
  inputs:
    $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
    search: "{{ .Keywords }}"
    # 0 active, 1 all, 2 deadonly, 3 my uploads, 4 seedless
    incldead: 1
    sort: "{{ .Config.sort }}"
    type: "{{ .Config.type }}"
    # does not support imdbid search or return imdbid in results.

  rows:
    selector: "tr.torrentDataRow{{ if .Config.freeleech }}:has(span[style^=\"font\"]:contains(\"0x\")){{ else }}{{ end }}"

  fields:
    _id:
      selector: a[data-torrent-id]
      attribute: data-torrent-id
    category:
      selector: a[href^="browse.php?cat="]
      attribute: href
      filters:
        - name: querystring
          args: cat
    title:
      selector: a[data-torrent-id]
      attribute: title
      filters:
        - name: replace
          args: ["Név: ", ""]
        - name: replace
          args: ["Első név: -", ""]
        - name: replace
          args: ["Második név: -", ""]
    details:
      text: "details.php?id={{ .Result._id }}"
    download:
      text: "download.php?torrent={{ .Result._id }}"
      attribute: href
    poster:
      selector: a[href^="kepek/"]
      attribute: href
    date:
      selector: td:nth-child(4) span
      attribute: title
      filters:
        - name: append
          args: " +01:00" # CET
        - name: dateparse
          args: "yyyy-MM-dd HH:mm:ss zzz"
    size:
      selector: td:nth-child(5)
    grabs:
      selector: td:nth-child(8)
    seeders:
      selector: td:nth-child(6)
    leechers:
      selector: td:nth-child(7)
    description:
      case:
        span[style*="color:#ccc;"]: Verified
        i.fa-question: Unverified
    downloadvolumefactor:
      case:
        "span[style^=\"font\"]:contains(\"0x\")": 0
        "*": 1
    uploadvolumefactor:
      case:
        "span[style^=\"font\"]:last-child:contains(\"2x\")": 2
        "*": 1
    minimumseedtime:
      # 2 days (as seconds = 2 x 24 x 60 x 60)
      text: 172800
# Engine n/a
