---
id: mvgroupforum
name: MVGroup Forum
description: "MVGroup is a Semi-Private Torrent Tracker dedicated to UK TV and DOCUMENTARIES. This definition is for the Forum Tracker site."
language: en-US
type: semi-private
encoding: UTF-8
links:
  - https://forums.mvgroup.org/
legacylinks:
  - http://forums.mvgroup.org/

caps:
  categories:
    Other: Other

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

settings:
  - name: username
    type: text
    label: Username
  - name: password
    type: password
    label: Password
  - name: info_flaresolverr
    type: info_flaresolverr
  - name: info_category_8000
    type: info_category_8000
  - name: hidef
    type: checkbox
    label: Show MVGroup HiDef Releases only
    default: false
  - name: withsubs
    type: select
    label: Subtitles
    default: _
    options:
      _: -OFF-
      alb: Albanian
      ara: Arabic
      arm: Armenian
      ass: Assyrian
      bos: Bosnian
      bul: Bulgarian
      cat: Catalan
      chi: "Chinese, simplified"
      zho: "Chinese, traditional"
      hrv: Croatian
      cze: Czech
      dan: Danish
      dut: Dutch
      eng: English
      est: Estonian
      fin: Finnish
      fre: French
      glg: Galician
      geo: Georgian
      ger: German
      ell: Greek
      heb: Hebrew
      hin: Hindi
      hun: Hungarian
      ice: Icelandic
      ind: Indonesian
      ita: Italian
      jpn: Japanese
      kaz: Kazakh
      kor: Korean
      lav: Latvian
      lit: Lithuanian
      ltz: Luxembourgish
      mac: Macedonian
      may: Malay
      nor: Norwegian
      per: Persian
      pol: Polish
      por: Portuguese
      rum: Romanian
      rus: Russian
      scc: Serbian
      slo: Slovak
      slv: Slovenian
      spa: Spanish
      swe: Swedish
      tha: Thai
      tur: Turkish
      ukr: Ukrainian
      vie: Vietnamese
  - name: seed
    type: checkbox
    label: Only released and seeded torrents
    default: false
  - name: dropbbc
    type: checkbox
    label: Drop BBC & other channels from the front of result titles
    default: false
  - name: stripS01E01
    type: checkbox
    label: Strip the S01E01 from the Torznab search requests
    default: false
  - name: sort
    type: select
    label: Sort requested from site
    default: added
    options:
      added: created
      seeders: seeders
      filename: title
  - name: type
    type: select
    label: Order requested from site
    default: DESC
    options:
      DESC: desc
      ASC: asc

login:
  path: index.php?act=Login&CODE=00
  method: form
  form: form[action$="act=Login&CODE=01"]
  inputs:
    UserName: "{{ .Config.username }}"
    PassWord: "{{ .Config.password }}"
    Privacy: 1
    CookieDate: 1
    CODE: 01
    referer: "https://forums.mvgroup.org/index.php?"
    act: Login
  error:
    - selector: div.borderwrap:has(div.tablepad)
      message:
        selector: div.borderwrap div.tablepad
  test:
    path: index.php
    selector: tr td.nav_mem div span[id="member_menu"], a[href^="/maintracker.php?filter="]

search:
  paths:
    - path: forumtracker.php
  inputs:
    seed: "{{ if .Config.seed }}1{{ else }}0{{ end }}"
    withsubs: "{{ re_replace .Config.withsubs \"_\" \"\" }}"
    filter: "{{ if .Config.hidef }}hd+{{ else }}{{ end }}{{ .Keywords }}"
    orderby: "{{ .Config.sort }}"
    order: "{{ .Config.type }}"
  keywordsfilters:
    - name: re_replace
      args: ["(?i)S01E01", "{{ if .Config.stripS01E01 }}{{ else }}S01E01{{ end }}"] # optionally remove S01E01 from search

  rows:
    selector: tr:has(a.magnetlink)

  fields:
    category:
      text: Other
    title:
      selector: td.doubleindent, td.singleindent a[href^="/index.php?showtopic="]
      optional: true
      # fallback title (to prevent abend if optional is not found)
      default: "title not found"
      filters:
        - name: re_replace
          args: ["(?i)^BBC (.*)", "{{ if .Config.dropbbc }}{{ else }}BBC {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^PBS (.*)", "{{ if .Config.dropbbc }}{{ else }}PBS {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^CH5 (.*)", "{{ if .Config.dropbbc }}{{ else }}Ch5 {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^CH4 (.*)", "{{ if .Config.dropbbc }}{{ else }}Ch4 {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^DC (.*)", "{{ if .Config.dropbbc }}{{ else }}DC {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^DW (.*)", "{{ if .Config.dropbbc }}{{ else }}DW {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^HC (.*)", "{{ if .Config.dropbbc }}{{ else }}HC {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^RTE (.*)", "{{ if .Config.dropbbc }}{{ else }}RTE {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^ITV (.*)", "{{ if .Config.dropbbc }}{{ else }}ITV {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^HBO (.*)", "{{ if .Config.dropbbc }}{{ else }}HBO {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^NHK (.*)", "{{ if .Config.dropbbc }}{{ else }}NHK {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^UKTV (.*)", "{{ if .Config.dropbbc }}{{ else }}UKTV {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^NOVA (.*)", "{{ if .Config.dropbbc }}{{ else }}NOVA {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^TV5Monde (.*)", "{{ if .Config.dropbbc }}{{ else }}TV5Monde {{ end }}$1"]
        - name: re_replace
          args: ["(?i)^Al-Jazeera (.*)", "{{ if .Config.dropbbc }}{{ else }}Al-Jazeera {{ end }}$1"]
        - name: append
          args: "{{ if .Config.stripS01E01 }}{{ else }} S01E01{{ end }}"
    details:
      optional: true
      selector: td.singleindent a[href^="/index.php?showtopic="]
      attribute: href
    download:
      selector: td a.torrentlink
      attribute: href
    magnet:
      selector: td a.magnetlink
      attribute: href
    size:
      text: "512 MB"
    date:
      selector: td:nth-of-type(3)
      filters:
        - name: append
          args: " +00:00" # GMT
        - name: dateparse
          args: "yyyy/MM/dd zzz"
    seeders:
      selector: td:nth-of-type(4)
    leechers:
      selector: td:nth-of-type(5)
    grabs:
      selector: td:nth-of-type(6)
    downloadvolumefactor:
      text: 0
    uploadvolumefactor:
      text: 1
# Invision Power Board
