--- id: electro-torrent name: Electro-Torrent description: "Electro-Torrent is a POLISH Semi-Private Torrent Tracker for MOVIES / TV / GENERAL" language: pl-PL type: semi-private encoding: UTF-8 links: - https://electro-torrent.pl/ legacylinks: - http://electro-torrent.pl/ caps: categorymappings: # from https://electro-torrent.pl/szukaj.php # don't forget to update the category case block below - {id: 1298, cat: Movies/SD, desc: "Filmy - Zwiastuny"} - {id: 1, cat: Movies/SD, desc: "Filmy XviD/DivX"} - {id: 769, cat: Movies/HD, desc: "Filmy 1080p AVC"} - {id: 770, cat: Movies/HD, desc: "Filmy x264/1080p"} - {id: 4, cat: Movies/HD, desc: "Filmy x264/720p"} - {id: 642, cat: Movies/HD, desc: "Filmy x264/h264"} - {id: 723, cat: Movies/UHD, desc: "Filmy 4K UHD"} - {id: 1160, cat: Movies/UHD, desc: "Filmy x265/2160p"} - {id: 1116, cat: Movies/HD, desc: "Filmy x265/1080p"} - {id: 1204, cat: Movies/HD, desc: "Filmy x265/720p"} - {id: 596, cat: Movies/HD, desc: "Filmy x265/h265"} - {id: 1072, cat: Movies, desc: "Filmy - WAREZY"} - {id: 3, cat: Movies/DVD, desc: "Filmy DVD"} - {id: 5, cat: Movies/3D, desc: "Filmy 3D"} - {id: 362, cat: Movies/SD, desc: "Filmy IVO"} - {id: 696, cat: Movies/SD, desc: "Filmy TS/CAM"} - {id: 1255, cat: TV, desc: "TV/Seriale - Warezy"} - {id: 7, cat: TV, desc: "TV/Seriale"} - {id: 8, cat: XXX, desc: "Erotyka"} - {id: 10, cat: Audio, desc: "Muzyka"} - {id: 11, cat: PC, desc: "Programy"} - {id: 12, cat: PC/Mobile-Other, desc: "GSM/PDA"} - {id: 13, cat: Console, desc: "Konsole"} - {id: 14, cat: PC/Games, desc: "Gry PC"} - {id: 1045, cat: PC/Games, desc: "Gry PC - Warezy"} - {id: 15, cat: Movies, desc: "Dla Dzieci"} - {id: 16, cat: Books, desc: "Książki"} - {id: 525, cat: PC/Mac, desc: "Mac"} - {id: 18, cat: PC, desc: "Linux"} - {id: 19, cat: TV/Sport, desc: "Sport"} - {id: 907, cat: TV/Anime, desc: "Anime"} - {id: 21, cat: Other, desc: "Inne"} 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 type: info label: How to get the Cookie default: "
  1. Login to this tracker with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button (Chrome Browser) or HTML button (FireFox)
  5. Refresh the page by pressing F5
  6. Click on the first row entry
  7. Select the Headers tab on the Right panel
  8. Find 'cookie:' in the Request Headers section
  9. Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
" - name: useragent type: text label: User-Agent - name: info_useragent type: info label: How to get the User-Agent default: "
  1. From the same place you fetched the cookie,
  2. Find 'user-agent:' in the Request Headers section
  3. Select and Copy the whole user-agent string (everything after 'user-agent: ') and Paste here.
" - 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 login: method: cookie inputs: cookie: "{{ .Config.cookie }}" test: path: / selector: a[href$="/logout.php"] search: # http://electro-torrent.pl/szukaj.php?search=&typ=torrent&cat=0 headers: User-Agent: ["{{ .Config.useragent }}"] paths: - path: szukaj.php allowEmptyInputs: true inputs: # does not support multi cat selection, defaulting to all # $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" cat: 0 typ: torrent search: "{{ .Keywords }}" rows: selector: table.test5 > tbody > tr > td > div[id]:has(a[href*="/download/"]) fields: category: selector: div#kategoria-gatunek-1 case: "div#kategoria-gatunek-1:contains(\"Filmy - Zwiastuny\")": 1298 "div#kategoria-gatunek-1:contains(\"Filmy XviD/DivX\")": 1 "div#kategoria-gatunek-1:contains(\"Filmy 1080p AVC\")": 769 "div#kategoria-gatunek-1:contains(\"Filmy x264/1080p\")": 770 "div#kategoria-gatunek-1:contains(\"Filmy x264/720p\")": 4 "div#kategoria-gatunek-1:contains(\"Filmy x264/h264\")": 642 "div#kategoria-gatunek-1:contains(\"Filmy 4K UHD\")": 723 "div#kategoria-gatunek-1:contains(\"Filmy x265/2160p\")": 1160 "div#kategoria-gatunek-1:contains(\"Filmy x265/1080p\")": 1116 "div#kategoria-gatunek-1:contains(\"Filmy x265/720p\")": 1204 "div#kategoria-gatunek-1:contains(\"Filmy x265/h265\")": 596 "div#kategoria-gatunek-1:contains(\"Filmy - WAREZY\")": 1072 "div#kategoria-gatunek-1:contains(\"Filmy DVD\")": 3 "div#kategoria-gatunek-1:contains(\"Filmy 3D\")": 5 "div#kategoria-gatunek-1:contains(\"Filmy IVO\")": 362 "div#kategoria-gatunek-1:contains(\"Filmy TS/CAM\")": 696 "div#kategoria-gatunek-1:contains(\"TV/Seriale - Warezy\")": 1255 "div#kategoria-gatunek-1:contains(\"TV/Seriale\")": 7 "div#kategoria-gatunek-1:contains(\"Erotyka\")": 8 "div#kategoria-gatunek-1:contains(\"Muzyka\")": 10 "div#kategoria-gatunek-1:contains(\"Programy\")": 11 "div#kategoria-gatunek-1:contains(\"GSM/PDA\")": 12 "div#kategoria-gatunek-1:contains(\"Konsole\")": 13 "div#kategoria-gatunek-1:contains(\"Gry PC - Warezy\")": 1045 "div#kategoria-gatunek-1:contains(\"Gry PC\")": 14 "div#kategoria-gatunek-1:contains(\"Dla Dzieci\")": 15 "div#kategoria-gatunek-1:contains(\"Książki\")": 16 "div#kategoria-gatunek-1:contains(\"Mac\")": 525 "div#kategoria-gatunek-1:contains(\"Linux\")": 18 "div#kategoria-gatunek-1:contains(\"Sport\")": 19 "div#kategoria-gatunek-1:contains(\"Anime\")": 907 "div#kategoria-gatunek-1:contains(\"Inne\")": 21 title_phase1: selector: a[href^="/torrent/"] attribute: title title_multilang: selector: a[href^="/torrent/"] attribute: title 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: a[href^="/torrent/"] attribute: href download: selector: a[href*="/download/"] attribute: href poster: selector: img.browse_poster attribute: src date: selector: td.descr3 filters: - name: regexp args: (\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}) - name: append args: " +01:00" # CET - name: dateparse args: "yyyy-MM-dd HH:mm:ss zzz" size: selector: td.descr3 filters: - name: regexp args: (\d{1,4}\.\d{2}\s+?[T|G|M|k]B) seeders: selector: font[color="green"] > b, font[color="red"] > b leechers: selector: font[color="green"]:nth-of-type(2) > b, font[color="red"]:nth-of-type(2) > b grabs: selector: td.descr3 filters: - name: regexp args: (\d{1,4}) razy downloadvolumefactor: text: 0 uploadvolumefactor: text: 1 # engine n/a