---
id: pornolive
name: PornoLive
description: "PornoLive is a RUSSIAN Public Torrent Tracker for 3X"
language: ru-ru
type: public
encoding: windows-1251
links:
  - https://www.pornolive.org/
legacylinks:
  - http://pornolive.org/
  - https://pornolive.org/

caps:
  categorymappings:
    - {id: XXX, cat: XXX, desc: "XXX"}

  modes:
    search: [q]

settings:
  - name: sort
    type: select
    label: Sort requested from site
    default: 4
    options:
      4: created
      7: seeders
      5: size
      1: title
  - name: type
    type: select
    label: Order requested from site
    default: desc
    options:
      desc: desc
      asc: asc

search:
  paths:
    - path: browse.php
  inputs:
    search: "{{ .Keywords }}"
    sort: "{{ .Config.sort }}"
    type: "{{ .Config.type }}"

  rows:
    selector: table.embedded > tbody > tr:has(a[href^="details.php?id="])

  fields:
    category:
      text: XXX
    title:
      selector: a[href^="details.php?id="]
    details:
      selector: a[href^="details.php?id="]
      attribute: href
    id:
      selector: a[href^="details.php?id="]
      attribute: href
      filters:
        - name: querystring
          args: id
    download:
      text: "download.php?id={{ .Result.id }}&name=t{{ .Result.id }}.torrent"
    date:
      selector: font.mnav
      filters:
        - name: append
          args: " +00:00" # auto adjusted by site account profile
        - name: dateparse
          args: "2006-01-02 15:04:05 -07:00"
    size:
      selector: td:nth-child(3)
    seeders:
      selector: td:nth-child(4)
      filters:
        - name: split
          args: ["/", 0]
    leechers:
      selector: td:nth-child(4)
      filters:
        - name: split
          args: ["/", 1]
    downloadvolumefactor:
      text: 0
    uploadvolumefactor:
      text: 1
    minimumratio:
      text: 0.31
# TBDev
