---
id: acidlounge
name: Acid-Lounge
description: "Acid Lounge (A-L) is a Private Torrent Tracker for 0DAY / GENERAL"
language: en-US
type: private
encoding: UTF-8
links:
  - https://www.acid-lounge.org.uk/

caps:
  categorymappings:
    - {id: 79, cat: PC/Mobile-Android, desc: "Android"}
    - {id: 61, cat: TV/Anime, desc: "Anime"}
    - {id: 55, cat: PC/0day, desc: "Appz/0-Day"}
    - {id: 59, cat: PC/Mac, desc: "Appz/Mac"}
    - {id: 22, cat: PC, desc: "Appz/Misc"}
    - {id: 32, cat: PC, desc: "Appz/PC"}
    - {id: 48, cat: Audio/Audiobook, desc: "Audio/Books"}
    - {id: 84, cat: Other, desc: "Damaged Torrent"}
    - {id: 14, cat: Books/EBook, desc: "eBooks"}
    - {id: 82, cat: Books/Comics, desc: "eBooks/Comics"}
    - {id: 81, cat: Books/Mags, desc: "eBooks/Mags"}
    - {id: 60, cat: PC/Mac, desc: "Games/Mac"}
    - {id: 54, cat: Console/NDS, desc: "Games/NDS"}
    - {id: 4, cat: PC/Games, desc: "Games/PC"}
    - {id: 42, cat: Console/PS3, desc: "Games/PS3"}
    - {id: 56, cat: Console/Wii, desc: "Games/Wii"}
    - {id: 36, cat: Console/XBox 360, desc: "Games/xbox360"}
    - {id: 69, cat: Other, desc: "Halloween"}
    - {id: 80, cat: PC/Mobile-iOS, desc: "iPhone / iPad"}
    - {id: 46, cat: Other, desc: "Kids"}
    - {id: 63, cat: PC, desc: "Linux"}
    - {id: 49, cat: Other, desc: "Misc"}
    - {id: 77, cat: Movies/3D, desc: "Movies/3D BLURAY"}
    - {id: 73, cat: Movies/HD, desc: "Movies/Boxsets HD"}
    - {id: 74, cat: Movies/SD, desc: "Movies/Boxsets SD"}
    - {id: 25, cat: Movies/DVD, desc: "Movies/DVD-R"}
    - {id: 51, cat: Movies/HD, desc: "Movies/HD"}
    - {id: 26, cat: Movies, desc: "Movies/Retro"}
    - {id: 29, cat: Movies/SD, desc: "Movies/SD"}
    - {id: 52, cat: Movies/SD, desc: "Movies/WMV"}
    - {id: 85, cat: Movies/HD, desc: "Movies/X265"}
    - {id: 66, cat: Audio/Lossless, desc: "Music/Flac"}
    - {id: 35, cat: Audio/MP3, desc: "Music/MP3"}
    - {id: 31, cat: Audio/Video, desc: "Music/Videos"}
    - {id: 72, cat: Movies, desc: "Sci-Fi"}
    - {id: 83, cat: Movies, desc: "Tribute Packs"}
    - {id: 30, cat: TV, desc: "TV"}
    - {id: 50, cat: TV/HD, desc: "TV-HD/X264"}
    - {id: 71, cat: TV/SD, desc: "TV-SD/X264"}
    - {id: 75, cat: TV/HD, desc: "TV/Boxsets HD"}
    - {id: 76, cat: TV/SD, desc: "TV/Boxsets SD"}
    - {id: 37, cat: XXX, desc: "XXX"}
    - {id: 68, cat: XXX, desc: "XXX/0-Day"}
    - {id: 78, cat: XXX, desc: "XXX/3D"}
    - {id: 67, cat: XXX/ImageSet, desc: "XXX/Imagesets"}

  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: sort
    type: select
    label: Sort requested from site
    default: dateAdded
    options:
      dateAdded: created
      seeders: seeders
      size: size
      name: title
  - name: type
    type: select
    label: Order requested from site
    default: desc
    options:
      desc: desc
      asc: asc
  - name: info_activity
    type: info
    label: Account Inactivity
    default: "Accounts with nothing uploaded/ downloaded will be disabled after 4 weeks."

login:
  path: Main/?act=Login
  method: form
  form: form#login
  captcha:
    type: image
    selector: img[alt="Security code"]
    input: code
  inputs:
    username: "{{ .Config.username }}"
    password: "{{ .Config.password }}"
  error:
    - selector: div.errorWrap
  test:
    path: index.php
    selector: a[href$="logout.php"]

search:
  paths:
    - path: browse.php
  inputs:
    $raw: "{{ range .Categories }}cat[]={{.}}&{{end}}"
    search: "{{ .Keywords }}"
    # alive, aliveanddead, nobot, dead, free, nuked
    status: "{{ if .Config.freeleech }}free{{ else }}aliveanddead{{ end }}"
    # title, desc, both
    search_type: title
    sort: "{{ .Config.sort }}"
    order: "{{ .Config.type }}"

  rows:
    selector: table#browse_torrents_table > tbody > tr[id^="torrent_row_"]

  fields:
    category:
      selector: a[href^="browse.php?cat[]="]
      attribute: href
      filters:
        - name: querystring
          args: cat[]
    title:
      selector: a.torrent_name
      attribute: title
    details:
      selector: a.torrent_name
      attribute: href
    download:
      selector: a[href^="download.php?"]
      attribute: href
    description:
      selector: span.torrent_small_desc
    genre:
      selector: span.torrent_small_desc
      filters:
        - name: regexp
          args: "\\[.+?\\] \\[(.+?)\\]"
        - name: replace
          args: [" ", "_"]
    files:
      selector: td.torrent_table_files
    date:
      selector: td.torrent_table_dateAdded
      filters:
        - name: append
          args: " +01:00" # CET
        - name: dateparse
          args: "yyyy-MM-dd HH:mm:ss zzz"
    size:
      selector: td.torrent_table_size
    grabs:
      selector: td.torrent_table_snatched
      filters:
        - name: regexp
          args: (\d+)
    seeders:
      selector: td.torrent_table_seeders
    leechers:
      selector: td.torrent_table_leechers
    downloadvolumefactor:
      case:
        ":root div#notice_ratioBoostingMadness": 0
        img[src$="images/freedownload.gif"]: 0
        "*": 1
    uploadvolumefactor:
      text: 1
    minimumratio:
      text: 1.0
    minimumseedtime:
      # 5 day (as seconds = 5 x 24 x 60 x 60)
      text: 432000 # 3 days for torrents under 20GB
# engine n/a
