{
    "0daykiev": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "0daykiev",
        "name": "0day.kiev",
        "description": "0day.kiev.ua is a UKRAINIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "uk-UA",
        "type": "private",
        "encoding": "windows-1251",
        "links": [
            "https://tracker.0day.community/"
        ],
        "legacylinks": [
            "https://tracker.0day.kiev.ua/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 10,
                    "cat": "Movies",
                    "desc": "Фильмы (Movies)"
                },
                {
                    "id": 16,
                    "cat": "Movies/HD",
                    "desc": "HD / Фильмы (HD / Movies)"
                },
                {
                    "id": 30,
                    "cat": "TV/HD",
                    "desc": "HD / Сериалы (HD / TV Shows)"
                },
                {
                    "id": 27,
                    "cat": "Movies/HD",
                    "desc": "HD / Мультфильмы (HD / Cartoons)"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Игры / ПК (Games / PC)"
                },
                {
                    "id": 14,
                    "cat": "Audio",
                    "desc": "Музыка / Аудио (Music / Audio)"
                },
                {
                    "id": 29,
                    "cat": "TV",
                    "desc": "Мультсериалы (TV Series)"
                },
                {
                    "id": 11,
                    "cat": "Movies",
                    "desc": "Мультфильмы (Cartoons)"
                },
                {
                    "id": 28,
                    "cat": "TV/Documentary",
                    "desc": "HD / Документальное (HD / Documentary)"
                },
                {
                    "id": 18,
                    "cat": "PC/0day",
                    "desc": "Софт / Windows (Software / Windows)"
                },
                {
                    "id": 19,
                    "cat": "TV",
                    "desc": "TV / Сериалы (TV shows)"
                },
                {
                    "id": 31,
                    "cat": "Other",
                    "desc": "Прочее (Other)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": true
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "The tracker has a system for deleting inactive accounts after 6 months from your last visit to the tracker."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "returnto": "/browse.php"
            },
            "error": [
                {
                    "selector": "div.maintitle:contains(\"Ошибка\")",
                    "message": {
                        "selector": "div.borderwrap table.embedded"
                    }
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "where": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "diacritics",
                    "args": "replace"
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "сезон $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bE0*(\\d+)\\b",
                        "сері $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "сезон $1 сері $2"
                    ]
                }
            ],
            "rows": {
                "selector": "table > tbody > tr.rowtorrentinfo"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езони?.+?(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езони?.+?(\\d+(?:-\\d+)?)\\s*(?:[CС]ері[їяй]|Епізоди?)\\s+з\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:[CС]ері[їяй]|Епізоди?)\\s+з\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езони?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езони?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:[CС]ері[їяй]|Епізоди?)\\s+з\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:[CС]ері[їяй]|Епізоди?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV\\s?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT\\s?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\s?DL\\s?Rip\\b",
                                "WEBDL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB Rip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB DL\\b",
                                "WEBDL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)",
                                "$2 $1"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(2) i",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "ТБ",
                                "TB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ГБ",
                                "GB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "МБ",
                                "MB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "КБ",
                                "KB"
                            ]
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                1
                            ]
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freedownload.gif\"]": 0,
                        "img[src=\"pic/silverdownload.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.2
                },
                "description": {
                    "selector": "a[href^=\"details.php?id=\"]"
                }
            }
        }
    },
    "0magnet": {
        "id": "0magnet",
        "name": "0Magnet",
        "description": "ØMagnet is a CHINESE Public tracker for Asian 3X (JAV)",
        "language": "zh-CN",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://13mag.net/",
            "https://16mag.net/"
        ],
        "legacylinks": [
            "https://0magnet.com/",
            "https://9mag.net/",
            "https://0magnet.co/"
        ],
        "caps": {
            "categories": {
                "XXX": "XXX"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "infohash": {
                "hash": {
                    "selector": "a[href^=\"magnet:?xt\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"magnet:?xt\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "&dn=(.+?)&"
                        },
                        {
                            "name": "validfilename"
                        }
                    ]
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "search"
                }
            ],
            "inputs": {
                "q": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}.{{ end }}"
            },
            "rows": {
                "selector": "table > tbody > tr:has(td)",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": "XXX"
                },
                "title": {
                    "selector": "a",
                    "remove": "p"
                },
                "details": {
                    "selector": "a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a",
                    "attribute": "href"
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "selector": "td.td-size"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "1337x": {
        "id": "1337x",
        "name": "1337x",
        "description": "1337x is a Public torrent site that offers verified torrent downloads",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 3,
        "links": [
            "https://1337x.to/",
            "https://1337x.st/",
            "https://x1337x.ws/",
            "https://x1337x.eu/",
            "https://x1337x.cc/"
        ],
        "legacylinks": [
            "https://1337x.is/",
            "https://1337x.gd/",
            "https://1337x.mrunblock.bond/",
            "https://1337x.abcproxy.org/",
            "https://1337x.so/",
            "https://1337x.unblockit.download/",
            "https://1337x.unblockninja.com/",
            "https://1337x.ninjaproxy1.com/",
            "https://1337x.proxyninja.org/",
            "https://1337x.proxyninja.net/",
            "https://1337x.torrentbay.st/",
            "https://1337x.torrentsbay.org/",
            "https://x1337x.se/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 28,
                    "cat": "TV/Anime",
                    "desc": "Anime/Anime"
                },
                {
                    "id": 78,
                    "cat": "TV/Anime",
                    "desc": "Anime/Dual Audio"
                },
                {
                    "id": 79,
                    "cat": "TV/Anime",
                    "desc": "Anime/Dubbed"
                },
                {
                    "id": 80,
                    "cat": "TV/Anime",
                    "desc": "Anime/Subbed"
                },
                {
                    "id": 81,
                    "cat": "TV/Anime",
                    "desc": "Anime/Raw"
                },
                {
                    "id": 22,
                    "cat": "Audio/MP3",
                    "desc": "Music/MP3"
                },
                {
                    "id": 23,
                    "cat": "Audio/Lossless",
                    "desc": "Music/Lossless"
                },
                {
                    "id": 24,
                    "cat": "Audio",
                    "desc": "Music/DVD"
                },
                {
                    "id": 25,
                    "cat": "Audio/Video",
                    "desc": "Music/Video"
                },
                {
                    "id": 26,
                    "cat": "Audio",
                    "desc": "Music/Radio"
                },
                {
                    "id": 27,
                    "cat": "Audio/Other",
                    "desc": "Music/Other"
                },
                {
                    "id": 53,
                    "cat": "Audio",
                    "desc": "Music/Album"
                },
                {
                    "id": 58,
                    "cat": "Audio",
                    "desc": "Music/Box set"
                },
                {
                    "id": 59,
                    "cat": "Audio",
                    "desc": "Music/Discography"
                },
                {
                    "id": 60,
                    "cat": "Audio",
                    "desc": "Music/Single"
                },
                {
                    "id": 68,
                    "cat": "Audio",
                    "desc": "Music/Concerts"
                },
                {
                    "id": 69,
                    "cat": "Audio",
                    "desc": "Music/AAC"
                },
                {
                    "id": 1,
                    "cat": "Movies/DVD",
                    "desc": "Movies/DVD"
                },
                {
                    "id": 2,
                    "cat": "Movies/SD",
                    "desc": "Movies/Divx/Xvid"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Movies/SVCD/VCD"
                },
                {
                    "id": 4,
                    "cat": "Movies/Foreign",
                    "desc": "Movies/Dubs/Dual Audio"
                },
                {
                    "id": 42,
                    "cat": "Movies/HD",
                    "desc": "Movies/HD"
                },
                {
                    "id": 54,
                    "cat": "Movies/HD",
                    "desc": "Movies/h.264/x264"
                },
                {
                    "id": 55,
                    "cat": "Movies",
                    "desc": "Movies/Mp4"
                },
                {
                    "id": 66,
                    "cat": "Movies/3D",
                    "desc": "Movies/3D"
                },
                {
                    "id": 70,
                    "cat": "Movies/HD",
                    "desc": "Movies/HEVC/x265"
                },
                {
                    "id": 73,
                    "cat": "Movies",
                    "desc": "Movies/Bollywood"
                },
                {
                    "id": 76,
                    "cat": "Movies/UHD",
                    "desc": "Movies/UHD"
                },
                {
                    "id": 5,
                    "cat": "TV",
                    "desc": "TV/DVD"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "TV/Divx/Xvid"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "TV/SVCD/VCD"
                },
                {
                    "id": 41,
                    "cat": "TV/HD",
                    "desc": "TV/HD"
                },
                {
                    "id": 71,
                    "cat": "TV",
                    "desc": "TV/HEVC/x265"
                },
                {
                    "id": 74,
                    "cat": "TV",
                    "desc": "TV/Cartoons"
                },
                {
                    "id": 75,
                    "cat": "TV/SD",
                    "desc": "TV/SD"
                },
                {
                    "id": 9,
                    "cat": "TV/Documentary",
                    "desc": "TV/Documentary"
                },
                {
                    "id": 18,
                    "cat": "PC",
                    "desc": "Apps/PC Software"
                },
                {
                    "id": 19,
                    "cat": "PC/Mac",
                    "desc": "Apps/Mac"
                },
                {
                    "id": 20,
                    "cat": "PC",
                    "desc": "Apps/Linux"
                },
                {
                    "id": 21,
                    "cat": "PC",
                    "desc": "Apps/Other"
                },
                {
                    "id": 56,
                    "cat": "PC/Mobile-Android",
                    "desc": "Apps/Android"
                },
                {
                    "id": 57,
                    "cat": "PC/Mobile-iOS",
                    "desc": "Apps/iOS"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Games/PC Game"
                },
                {
                    "id": 11,
                    "cat": "Console/PS3",
                    "desc": "Games/PS2"
                },
                {
                    "id": 12,
                    "cat": "Console/PSP",
                    "desc": "Games/PSP"
                },
                {
                    "id": 13,
                    "cat": "Console/XBox",
                    "desc": "Games/Xbox"
                },
                {
                    "id": 14,
                    "cat": "Console/XBox 360",
                    "desc": "Games/Xbox360"
                },
                {
                    "id": 15,
                    "cat": "Console/PS3",
                    "desc": "Games/PS1"
                },
                {
                    "id": 16,
                    "cat": "Console/Other",
                    "desc": "Games/Dreamcast"
                },
                {
                    "id": 17,
                    "cat": "PC/Mobile-Other",
                    "desc": "Games/Other"
                },
                {
                    "id": 43,
                    "cat": "Console/PS3",
                    "desc": "Games/PS3"
                },
                {
                    "id": 44,
                    "cat": "Console/Wii",
                    "desc": "Games/Wii"
                },
                {
                    "id": 45,
                    "cat": "Console/NDS",
                    "desc": "Games/DS"
                },
                {
                    "id": 46,
                    "cat": "Console/Other",
                    "desc": "Games/GameCube"
                },
                {
                    "id": 72,
                    "cat": "Console/3DS",
                    "desc": "Games/3DS"
                },
                {
                    "id": 77,
                    "cat": "Console/PS4",
                    "desc": "Games/PS4"
                },
                {
                    "id": 82,
                    "cat": "Console/Other",
                    "desc": "Games/Switch"
                },
                {
                    "id": 48,
                    "cat": "XXX/DVD",
                    "desc": "XXX/Video"
                },
                {
                    "id": 49,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX/Picture"
                },
                {
                    "id": 50,
                    "cat": "XXX",
                    "desc": "XXX/Magazine"
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "XXX/Hentai"
                },
                {
                    "id": 67,
                    "cat": "XXX",
                    "desc": "XXX/Games"
                },
                {
                    "id": 33,
                    "cat": "Other",
                    "desc": "Other/Emulation"
                },
                {
                    "id": 34,
                    "cat": "Books",
                    "desc": "Other/Tutorial"
                },
                {
                    "id": 35,
                    "cat": "Other",
                    "desc": "Other/Sounds"
                },
                {
                    "id": 36,
                    "cat": "Books/EBook",
                    "desc": "Other/E-books"
                },
                {
                    "id": 37,
                    "cat": "Other",
                    "desc": "Other/Images"
                },
                {
                    "id": 38,
                    "cat": "Other",
                    "desc": "Other/Mobile Phone"
                },
                {
                    "id": 39,
                    "cat": "Books/Comics",
                    "desc": "Other/Comics"
                },
                {
                    "id": 40,
                    "cat": "Other/Misc",
                    "desc": "Other/Other"
                },
                {
                    "id": 47,
                    "cat": "Other",
                    "desc": "Other/Nulled Script"
                },
                {
                    "id": 52,
                    "cat": "Audio/Audiobook",
                    "desc": "Other/Audiobook"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "uploader",
                "type": "text",
                "label": "Filter by Uploader"
            },
            {
                "name": "info_uploader",
                "type": "info",
                "label": "About filtering by Uploader",
                "default": "You can filter by Uploader by entering a Case Sensitive username, or leave empty to get all results.<br>Note: this is the username of the Uploader and not the Groupname that often show up at the end of 1337x titles, eg -GalaxyRG."
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "downloadlink",
                "type": "select",
                "label": "Download link",
                "default": "http://itorrents.org/",
                "options": {
                    "http://itorrents.org/": "iTorrents.org",
                    "magnet:": "magnet"
                }
            },
            {
                "name": "downloadlink2",
                "type": "select",
                "label": "Download link (fallback)",
                "default": "magnet:",
                "options": {
                    "http://itorrents.org/": "iTorrents.org",
                    "magnet:": "magnet"
                }
            },
            {
                "name": "info_download",
                "type": "info",
                "label": "About the Download links",
                "default": "As the iTorrents .torrent download link on this site is known to fail from time to time, we suggest using the magnet link as a fallback. The BTCache and Torrage services are not supported because they require additional user interaction (a captcha for BTCache and a download button on Torrage.)"
            },
            {
                "name": "disablesort",
                "type": "checkbox",
                "label": "Disable sorting - 1337x prevents sorting searches during high server load, which breaks the indexer when performing a keyword search - disable if you get zero results",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "ul li a[href^=\"{{ .Config.downloadlink }}\"]",
                    "attribute": "href"
                },
                {
                    "selector": "ul li a[href^=\"{{ .Config.downloadlink2 }}\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if and (.Keywords) (eq .Config.disablesort .False) }}sort-{{ else }}{{ end }}{{ if .Keywords }}search/{{ .Keywords }}{{ else }}cat/Movies{{ end }}{{ if and (.Keywords) (eq .Config.disablesort .False) }}/{{ .Config.sort }}/{{ .Config.type }}{{ else }}{{ end }}/1/"
                },
                {
                    "path": "{{ if and (.Keywords) (eq .Config.disablesort .False) }}sort-{{ else }}{{ end }}{{ if .Keywords }}search/{{ .Keywords }}{{ else }}cat/TV{{ end }}{{ if and (.Keywords) (eq .Config.disablesort .False)) }}/{{ .Config.sort }}/{{ .Config.type }}{{ else }}{{ end }}/{{ if .Keywords }}2{{ else }}1{{ end }}/"
                },
                {
                    "path": "{{ if and (.Keywords) (eq .Config.disablesort .False) }}sort-{{ else }}{{ end }}{{ if .Keywords }}search/{{ .Keywords }}{{ else }}cat/Music{{ end }}{{ if and (.Keywords) (eq .Config.disablesort .False) }}/{{ .Config.sort }}/{{ .Config.type }}{{ else }}{{ end }}/{{ if .Keywords }}3{{ else }}1{{ end }}/"
                },
                {
                    "path": "{{ if and (.Keywords) (eq .Config.disablesort .False) }}sort-{{ else }}{{ end }}{{ if .Keywords }}search/{{ .Keywords }}{{ else }}cat/Other{{ end }}{{ if and (.Keywords) (eq .Config.disablesort .False) }}/{{ .Config.sort }}/{{ .Config.type }}{{ else }}{{ end }}/{{ if .Keywords }}4{{ else }}1{{ end }}/"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\bS(20\\d{2})\\b",
                        "$1"
                    ]
                }
            ],
            "rows": {
                "selector": "tr:has(a[href^=\"/torrent/\"]){{ if .Config.uploader }}:has(td[class^=\"coll-5\"]:contains({{ .Config.uploader }})){{ else }}{{ end }}"
            },
            "fields": {
                "title_default": {
                    "selector": "td[class^=\"coll-1\"] a[href^=\"/torrent/\"]"
                },
                "title_optional": {
                    "optional": true,
                    "selector": "td[class^=\"coll-1\"] a[href^=\"/torrent/\"]:contains(\"...\")",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "urldecode"
                        },
                        {
                            "name": "split",
                            "args": [
                                "/",
                                3
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "-([\\w]+(?:[\\[\\]\\(\\)\\w]+)?)$",
                                "~$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "-",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "~([\\w]+(?:[\\[\\]\\(\\)\\w]+)?)$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "\u000f",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\sEP\\s(\\d{1,2})\\s(E?\\s?\\d{1,2})\\s",
                                " E$1-$2 "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)([-_. ])S(\\d{1,2})\\s?E\\s?(\\d{1,2})\\s(E?\\s?\\d{1,2})([-_. ])",
                                "$1S$2E$3-$4$5"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)AC3\\s?(\\d)\\s(\\d)",
                                "AC3 $1.$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i) DD\\s?(\\d)\\s(\\d)",
                                " DD $1.$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i) DDP\\s?(\\d)\\s(\\d)",
                                " DDP $1.$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\sE\\s?AC3",
                                " EAC3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)WEB\\sDL",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)HDTVRIP",
                                "HDTV"
                            ]
                        }
                    ]
                },
                "category_optional": {
                    "optional": true,
                    "selector": "td[class^=\"coll-1\"] a[href^=\"/sub/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                2
                            ]
                        }
                    ]
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}40{{ end }}"
                },
                "details": {
                    "selector": "td[class^=\"coll-1\"] a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td[class^=\"coll-1\"] a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "date_year": {
                    "optional": true,
                    "selector": "td[class^=\"coll-date\"]:not(:contains(\":\")):not(:contains(\"'\"))",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "st|nd|rd|th",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "htt MMM. d"
                        }
                    ]
                },
                "date_years": {
                    "optional": true,
                    "selector": "td[class^=\"coll-date\"]:contains(\"'\")",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "'",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "st|nd|rd|th",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM. d yy"
                        }
                    ]
                },
                "date_today": {
                    "optional": true,
                    "selector": "td[class^=\"coll-date\"]:contains(\":\")",
                    "filters": [
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_years .Result.date_today }}{{ or .Result.date_year .Result.date_years .Result.date_today }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td[class^=\"coll-4\"]"
                },
                "seeders": {
                    "selector": "td[class^=\"coll-2\"]"
                },
                "leechers": {
                    "selector": "td[class^=\"coll-3\"]"
                },
                "_username": {
                    "selector": "td[class^=\"coll-5\"]"
                },
                "description": {
                    "text": "Uploader: {{ .Result._username }}"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "13city": {
        "credentials": {
            "cookie": ""
        },
        "id": "13city",
        "name": "13City",
        "description": "13City is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://13city.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影/Movies"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧/TVSeries"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺/TV Shows"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫/Animations"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "演唱会、MV/Music Videos"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐/Music"
                },
                {
                    "id": 409,
                    "cat": "Books/EBook",
                    "desc": "电子书/E-book"
                },
                {
                    "id": 409,
                    "cat": "Audio/Audiobook",
                    "desc": "有声读物/A-book"
                },
                {
                    "id": 413,
                    "cat": "TV/Documentary",
                    "desc": "纪录片/Documentary"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>If there is no valid traffic within 7 days of registration (participation in the calculation of sharing rate), the account will be blocked</li><li>After the level is reduced to \"Peasant\", if the sharing rate is not improved within 7 days, the account will be blocked</li><li>Long-term non-login:<ul>- UnParked account: 60 consecutive days of non-login → banned</ul><ul>- Parked account: 180 consecutive days of non-login → banned</ul><ul>- Nexus Master and above levels are not subject to long-term non-login ban restrictions</ul></li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "1ptbar": {
        "credentials": {
            "cookie": ""
        },
        "id": "1ptbar",
        "name": "1ptbar",
        "description": "1ptbar is a CHINESE Private Torrent Tracker for MOVIES / TV / E-LEARNING",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://1ptba.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movie(電影)",
                    "default": true
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series(電視影劇)",
                    "default": true
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows(電視綜藝)",
                    "default": true
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries(紀錄教育)",
                    "default": true
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations(卡通動漫)",
                    "default": true
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos(音樂短片/演唱會)",
                    "default": true
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports(體育賽事)",
                    "default": true
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio(高品质音频)",
                    "default": true
                },
                {
                    "id": 410,
                    "cat": "PC/0day",
                    "desc": "Software(軟體)",
                    "default": true
                },
                {
                    "id": 411,
                    "cat": "PC/Games",
                    "desc": "Games(電子遊戲)",
                    "default": true
                },
                {
                    "id": 412,
                    "cat": "Books/EBook",
                    "desc": "eBook(電子書)",
                    "default": true
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc(其他)",
                    "default": true
                },
                {
                    "id": 610,
                    "cat": "XXX/x264",
                    "desc": "AV(有碼)/HD Censored",
                    "default": false
                },
                {
                    "id": 611,
                    "cat": "XXX/x264",
                    "desc": "AV(無碼)/HD Uncensored",
                    "default": false
                },
                {
                    "id": 612,
                    "cat": "XXX/SD",
                    "desc": "AV(有碼)/SD Censored",
                    "default": false
                },
                {
                    "id": 613,
                    "cat": "XXX/SD",
                    "desc": "AV(無碼)/SD Uncensored",
                    "default": false
                },
                {
                    "id": 614,
                    "cat": "XXX/DVD",
                    "desc": "AV(無碼)/DVDiSo Uncensored",
                    "default": false
                },
                {
                    "id": 615,
                    "cat": "XXX/DVD",
                    "desc": "AV(有碼)/DVDiSo Censored",
                    "default": false
                },
                {
                    "id": 616,
                    "cat": "XXX/UHD",
                    "desc": "AV(有碼)/Blu-Ray Censored",
                    "default": false
                },
                {
                    "id": 617,
                    "cat": "XXX/UHD",
                    "desc": "AV(無碼)/Blu-Ray Uncensored",
                    "default": false
                },
                {
                    "id": 618,
                    "cat": "XXX/Pack",
                    "desc": "AV(網站)/0Day",
                    "default": false
                },
                {
                    "id": 619,
                    "cat": "XXX/Pack",
                    "desc": "IV(寫真影集)/Video Collection",
                    "default": false
                },
                {
                    "id": 620,
                    "cat": "XXX/ImageSet",
                    "desc": "IV(寫真圖集)/Picture Collection",
                    "default": false
                },
                {
                    "id": 621,
                    "cat": "XXX/Other",
                    "desc": "H-Game(遊戲)",
                    "default": false
                },
                {
                    "id": 622,
                    "cat": "XXX/Other",
                    "desc": "H-Anime(動畫)",
                    "default": false
                },
                {
                    "id": 623,
                    "cat": "XXX/Other",
                    "desc": "H-Comic(漫畫)",
                    "default": false
                },
                {
                    "id": 624,
                    "cat": "XXX/Other",
                    "desc": "Adult film(成人電影)",
                    "default": false
                },
                {
                    "id": 625,
                    "cat": "XXX/Other",
                    "desc": "AV(Gay)/HD",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted.</li><li>Elite User or above would never be deleted if parked (at User CP).</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row.</li><li>Unparked accounts would be deleted if users have not logged in for more than 150 days in a row.</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            },
            {
                "name": "info_special",
                "type": "info",
                "label": "Special Categories",
                "default": "Only <b>Power User</b> or above can view Special section. Searching for XXX categories by users below this class will result in search errors."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        401,
                        402,
                        403,
                        404,
                        405,
                        406,
                        407,
                        408,
                        410,
                        411,
                        412,
                        409
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        610,
                        611,
                        612,
                        613,
                        614,
                        615,
                        616,
                        617,
                        618,
                        619,
                        620,
                        621,
                        622,
                        623,
                        624,
                        625
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-last-of-type(6) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-last-of-type(6):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-last-of-type(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-last-of-type(4)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-last-of-type(3)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-last-of-type(2)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "3dtorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "3dtorrents",
        "name": "3D Torrents",
        "description": "3D Torrents (3DT) is a Private Torrent Tracker for 3D HD / BLURAY MOVIES",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "http://www.3dtorrents.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 14,
                    "cat": "Movies/SD",
                    "desc": "Movies XviD"
                },
                {
                    "id": 15,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD-R"
                },
                {
                    "id": 11,
                    "cat": "Movies/HD",
                    "desc": "Movies 720p"
                },
                {
                    "id": 13,
                    "cat": "Movies/HD",
                    "desc": "Movies 1080p"
                },
                {
                    "id": 16,
                    "cat": "Movies/3D",
                    "desc": "Movies 3DTV"
                },
                {
                    "id": 17,
                    "cat": "Movies/BluRay",
                    "desc": "Movies Blu-ray"
                },
                {
                    "id": 27,
                    "cat": "Movies/BluRay",
                    "desc": "Movies BD25 Encode"
                },
                {
                    "id": 33,
                    "cat": "Movies/BluRay",
                    "desc": "Movies BD9 AVCHD"
                },
                {
                    "id": 22,
                    "cat": "Movies",
                    "desc": "Movies Home Conversions"
                },
                {
                    "id": 32,
                    "cat": "Movies",
                    "desc": "Movies Bluray MKV Remux"
                },
                {
                    "id": 38,
                    "cat": "Movies",
                    "desc": "Movies Studio Conversion"
                },
                {
                    "id": 39,
                    "cat": "Movies/3D",
                    "desc": "Movies VR 360"
                },
                {
                    "id": 23,
                    "cat": "Movies/3D",
                    "desc": "Movies Evo 3D"
                },
                {
                    "id": 36,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K UHD Bluray"
                },
                {
                    "id": 37,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K UHD Encode"
                },
                {
                    "id": 21,
                    "cat": "PC",
                    "desc": "3D Software"
                },
                {
                    "id": 28,
                    "cat": "XXX",
                    "desc": "Adult 720p"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "Adult 1080p"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "Adult Blu-ray"
                },
                {
                    "id": 31,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 19,
                    "cat": "Audio",
                    "desc": "Audio Packs"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-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": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "1": "desc",
                    "2": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactivity grace period is three months which means that if you do not log in to the 3Dtorrents web site for 90 days, your account will be deleted. If you are VIP your will stay until the VIP period is over."
            },
            {
                "name": "info_captcha",
                "type": "info",
                "label": "About Captcha",
                "default": "Note that the captcha on the 3Dtorrents login page is Case Sensitive."
            }
        ],
        "login": {
            "path": "index.php?page=login",
            "method": "form",
            "form": "form",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "captcha": {
                "type": "image",
                "selector": "img.captcha",
                "input": "private_key"
            },
            "error": [
                {
                    "selector": "span.errormsg"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "search": "{{ .Keywords }}",
                "page": "torrents",
                "category": 0,
                "3dformat": 0,
                "active": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[cellspacing!=\"1\"].lista > tbody > tr:has(a[href^=\"index.php?page=torrents&category=\"]){{ if .Config.freeleech }}:has(img[src=\"images/sign_free.png\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"index.php?page=torrents&category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\b0\\b)",
                                "31"
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "index.php?page=torrent-details&id=",
                                "download.php?id="
                            ]
                        }
                    ]
                },
                "poster": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": ",\\'(.+?)\\'"
                        }
                    ]
                },
                "genre": {
                    "selector": "td:nth-child(2) span"
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "date": {
                    "selector": "td:nth-last-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "a[href^=\"index.php?page=peers\"]"
                },
                "leechers": {
                    "selector": "td:has(a[href^=\"index.php?page=peers\"]) + td"
                },
                "grabs": {
                    "selector": "a[href^=\"index.php?page=torrent_history\"]",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/sign_free.png\"]": 0,
                        "img[src=\"images/50off.png\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "4thd": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "4thd",
        "name": "4thD",
        "description": "4th Dimension is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "encoding": "UTF-8",
        "type": "private",
        "links": [
            "https://4thd.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 38,
                    "cat": "Movies",
                    "desc": "Movie Pack"
                },
                {
                    "id": 36,
                    "cat": "Movies",
                    "desc": "Movies/Classic Films"
                },
                {
                    "id": 13,
                    "cat": "Movies",
                    "desc": "Movies/Documentary"
                },
                {
                    "id": 21,
                    "cat": "Movies/Foreign",
                    "desc": "Movies/Foreign"
                },
                {
                    "id": 27,
                    "cat": "Movies/HD",
                    "desc": "MoviesHD"
                },
                {
                    "id": 29,
                    "cat": "Movies/SD",
                    "desc": "Movies/SD"
                },
                {
                    "id": 26,
                    "cat": "Movies/SD",
                    "desc": "Movies/XviD"
                },
                {
                    "id": 45,
                    "cat": "Movies",
                    "desc": "Movies/Kids"
                },
                {
                    "id": 41,
                    "cat": "TV/Foreign",
                    "desc": "Foreign tv"
                },
                {
                    "id": 40,
                    "cat": "TV",
                    "desc": "Mini-Series"
                },
                {
                    "id": 43,
                    "cat": "TV/HD",
                    "desc": "TV H265"
                },
                {
                    "id": 42,
                    "cat": "TV",
                    "desc": "TV Movie"
                },
                {
                    "id": 4,
                    "cat": "TV/HD",
                    "desc": "TV/HD-x720"
                },
                {
                    "id": 14,
                    "cat": "TV",
                    "desc": "TV/Packs"
                },
                {
                    "id": 2,
                    "cat": "TV/SD",
                    "desc": "TV/SD MP4/mkv"
                },
                {
                    "id": 31,
                    "cat": "TV/SD",
                    "desc": "TV/XviD"
                },
                {
                    "id": 18,
                    "cat": "PC/Games",
                    "desc": "Games/PC"
                },
                {
                    "id": 44,
                    "cat": "Audio",
                    "desc": "Music/Pack"
                },
                {
                    "id": 12,
                    "cat": "Audio/Lossless",
                    "desc": "Music/FLAC"
                },
                {
                    "id": 15,
                    "cat": "Audio/MP3",
                    "desc": "Music/MP3"
                },
                {
                    "id": 37,
                    "cat": "Audio",
                    "desc": "Radio"
                },
                {
                    "id": 9,
                    "cat": "PC/0day",
                    "desc": "Apps/PC"
                },
                {
                    "id": 34,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobooks"
                },
                {
                    "id": 25,
                    "cat": "Books/EBook",
                    "desc": "eBooks"
                }
            ],
            "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": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form#loginform",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "keeplogged": 1
            },
            "error": [
                {
                    "selector": "form#loginform .warning"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?auth=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}0{{ end }}",
                "title": "{{ .Keywords }}",
                "search_type": 1,
                "taglist": "",
                "tags_type": 0
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr.torrent:has(a[href^=\"torrents.php?action=download&id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "td.cats_col div a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[(\\d+)\\]"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"torrents.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "description": {
                    "selector": "div.tags"
                },
                "poster": {
                    "selector": "td:nth-child(2) script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.*?)>"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\\\",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Never",
                                "99 years ago"
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/freedownload.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "52bt": {
        "id": "52bt",
        "name": "52BT",
        "description": "52BT is a CHINESE Public tracker for MOVIES / TV / MUSIC / GENERAL",
        "language": "zh-CN",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://www.529075.xyz/",
            "https://www.529076.xyz/"
        ],
        "legacylinks": [
            "https://www.529061.xyz/",
            "https://www.529059.xyz/",
            "https://www.529062.xyz/",
            "https://www.529063.xyz/",
            "https://www.529064.xyz/",
            "https://www.529066.xyz/",
            "https://www.529065.xyz/",
            "https://www.529068.xyz/",
            "https://www.529069.xyz/",
            "https://www.529067.xyz/",
            "https://www.529070.xyz/",
            "https://www.529071.xyz/",
            "https://www.529072.xyz/",
            "https://www.529074.xyz/",
            "https://www.529073.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "影视",
                    "cat": "TV",
                    "desc": "影视"
                },
                {
                    "id": "影视",
                    "cat": "Movies",
                    "desc": "影视"
                },
                {
                    "id": "音乐",
                    "cat": "Audio",
                    "desc": "音乐"
                },
                {
                    "id": "图像",
                    "cat": "Other",
                    "desc": "图像"
                },
                {
                    "id": "文档书籍",
                    "cat": "Books",
                    "desc": "文档书籍"
                },
                {
                    "id": "压缩文件",
                    "cat": "Other",
                    "desc": "压缩文件"
                },
                {
                    "id": "安装包",
                    "cat": "PC",
                    "desc": "安装包"
                },
                {
                    "id": "其他",
                    "cat": "Other",
                    "desc": "其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cat-id",
                "type": "select",
                "label": "Category",
                "default": 0,
                "options": [
                    "All categories",
                    "Film and Television",
                    "Music",
                    "Images",
                    "Books",
                    "Zip Files",
                    "Software",
                    "Other"
                ]
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 2,
                "options": {
                    "2": "created",
                    "1": "size",
                    "0": "relevance"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "search-{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}-{{ .Config.cat-id }}-{{ .Config.sort }}-1.html"
                },
                {
                    "path": "search-{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}-{{ .Config.cat-id }}-{{ .Config.sort }}-2.html"
                }
            ],
            "error": [
                {
                    "selector": ":root:contains(\"Internal Server Error\")"
                }
            ],
            "rows": {
                "selector": "div.ssbox"
            },
            "fields": {
                "categorydesc": {
                    "selector": "div.title > h3 > span",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "([\\[\\]]+)",
                                ""
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/hash/\"]"
                },
                "details": {
                    "selector": "a[href^=\"/hash/\"]",
                    "attribute": "href"
                },
                "infohash": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "date": {
                    "selector": "div.sbar > span:contains(\"添加时间:\") > b",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "div.sbar > span:contains(\"大小:\") > b"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "52pt": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "52pt",
        "name": "52PT",
        "description": "52PT is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://52pt.site/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/剧集"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MusicVideo/音乐MV"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/运体"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc/其他"
                },
                {
                    "id": 410,
                    "cat": "Other",
                    "desc": "Opera/戏曲 曲艺"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio/无损音乐"
                },
                {
                    "id": 411,
                    "cat": "XXX",
                    "desc": "Erotic/情色"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User (junior college) and above will be retained forever</li><li>Elite User (junior high school) and above will not be deleted after parking (in the control panel)</li><li>Users with a parked account who do not log in for 400 consecutive days will be deleted</li><li>Users with non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users with no traffic (that is, upload/download data are both 0) will be deleted if they do not log in for 15 consecutive days, or if the registration time reaches 60 days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"usercp.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1.1
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "Bittorrentfiles": {
        "credentials": {
            "user": "",
            "pass": ""
        },
        "id": "Bittorrentfiles",
        "name": "Bittorrentfiles",
        "description": "Bittorrentfiles is a Private GERMAN Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bittorrentfiles.me/"
        ],
        "legacylinks": [
            "https://www.Bittorrentfiles.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 48,
                    "cat": "Movies/HD",
                    "desc": "Movie 1080p"
                },
                {
                    "id": 31,
                    "cat": "Movies/3D",
                    "desc": "Movie 3D"
                },
                {
                    "id": 21,
                    "cat": "Movies/HD",
                    "desc": "Movie 720p"
                },
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Movie AVI"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Movie DVD-R"
                },
                {
                    "id": 40,
                    "cat": "Movies/HD",
                    "desc": "Movie \"h264/x264\""
                },
                {
                    "id": 30,
                    "cat": "Movies/HD",
                    "desc": "Movie HD/BD"
                },
                {
                    "id": 49,
                    "cat": "Movies/Foreign",
                    "desc": "Movie International"
                },
                {
                    "id": 78,
                    "cat": "Movies/UHD",
                    "desc": "Movie UHD"
                },
                {
                    "id": 85,
                    "cat": "Movies/HD",
                    "desc": "Movie x265"
                },
                {
                    "id": 79,
                    "cat": "TV/HD",
                    "desc": "Staffeln HD"
                },
                {
                    "id": 56,
                    "cat": "TV/SD",
                    "desc": "Staffeln SD"
                },
                {
                    "id": 88,
                    "cat": "TV/UHD",
                    "desc": "Staffeln UHD"
                },
                {
                    "id": 86,
                    "cat": "TV/UHD",
                    "desc": "Folgen UHD"
                },
                {
                    "id": 54,
                    "cat": "TV/HD",
                    "desc": "Folgen HD"
                },
                {
                    "id": 80,
                    "cat": "TV/HD",
                    "desc": "Folgen HD/BD"
                },
                {
                    "id": 7,
                    "cat": "TV/SD",
                    "desc": "Folgen SD"
                },
                {
                    "id": 55,
                    "cat": "TV/Foreign",
                    "desc": "Folgen International"
                },
                {
                    "id": 91,
                    "cat": "TV/Documentary",
                    "desc": "Doku UHD"
                },
                {
                    "id": 64,
                    "cat": "TV/Documentary",
                    "desc": "Doku HD"
                },
                {
                    "id": 36,
                    "cat": "TV/Documentary",
                    "desc": "Doku SD"
                },
                {
                    "id": 81,
                    "cat": "TV/Documentary",
                    "desc": "Doku 3D"
                },
                {
                    "id": 82,
                    "cat": "TV/Documentary",
                    "desc": "Doku Packs"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Spiele Windows"
                },
                {
                    "id": 92,
                    "cat": "PC/Mac",
                    "desc": "Spiele Mac"
                },
                {
                    "id": 93,
                    "cat": "PC",
                    "desc": "Spiele Linux"
                },
                {
                    "id": 97,
                    "cat": "Console/XBox",
                    "desc": "Spiele XBOX"
                },
                {
                    "id": 94,
                    "cat": "PC/Mobile-Other",
                    "desc": "Spiele Mobile"
                },
                {
                    "id": 95,
                    "cat": "Console/NDS",
                    "desc": "Spiele Nintendo"
                },
                {
                    "id": 96,
                    "cat": "Console/PSP",
                    "desc": "Spiele Playstation"
                },
                {
                    "id": 42,
                    "cat": "Console/Other",
                    "desc": "Spiele Andere"
                },
                {
                    "id": 66,
                    "cat": "Audio",
                    "desc": "Musik Alben"
                },
                {
                    "id": 75,
                    "cat": "Audio",
                    "desc": "Musik Singles"
                },
                {
                    "id": 50,
                    "cat": "Audio",
                    "desc": "Musik Charts"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "Musik Packs"
                },
                {
                    "id": 53,
                    "cat": "Audio/Video",
                    "desc": "Musik Video"
                },
                {
                    "id": 61,
                    "cat": "Audio/Video",
                    "desc": "Musik DVD-R"
                },
                {
                    "id": 83,
                    "cat": "Audio/Lossless",
                    "desc": "Musik Flac"
                },
                {
                    "id": 68,
                    "cat": "Audio",
                    "desc": "Musik Live"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "Musik Misc"
                },
                {
                    "id": 51,
                    "cat": "Audio",
                    "desc": "Musik OST"
                },
                {
                    "id": 67,
                    "cat": "Audio",
                    "desc": "Musik Sampler"
                },
                {
                    "id": 98,
                    "cat": "PC/0day",
                    "desc": "App Windows"
                },
                {
                    "id": 62,
                    "cat": "PC/Mac",
                    "desc": "App Mac OS"
                },
                {
                    "id": 63,
                    "cat": "PC/0day",
                    "desc": "App Linux"
                },
                {
                    "id": 34,
                    "cat": "PC",
                    "desc": "App Andere"
                },
                {
                    "id": 74,
                    "cat": "TV/Sport",
                    "desc": "Sport HD"
                },
                {
                    "id": 39,
                    "cat": "TV/Sport",
                    "desc": "Sport SD"
                },
                {
                    "id": 41,
                    "cat": "Audio/Audiobook",
                    "desc": "Sonstiges A-Book"
                },
                {
                    "id": 33,
                    "cat": "TV/Anime",
                    "desc": "Sonstiges Anime"
                },
                {
                    "id": 35,
                    "cat": "Books/EBook",
                    "desc": "Sonstiges e-Book-DE"
                },
                {
                    "id": 90,
                    "cat": "Books/EBook",
                    "desc": "Sonstiges e-Book-INT"
                },
                {
                    "id": 65,
                    "cat": "Other",
                    "desc": "Sonstiges E-Learning"
                },
                {
                    "id": 37,
                    "cat": "PC",
                    "desc": "Sonstiges Mobile"
                },
                {
                    "id": 87,
                    "cat": "Books/Mags",
                    "desc": "Sonstiges E-Paper"
                },
                {
                    "id": 38,
                    "cat": "Other",
                    "desc": "Sonstiges Kids"
                },
                {
                    "id": 47,
                    "cat": "Other",
                    "desc": "Sonstiges Line"
                },
                {
                    "id": 9,
                    "cat": "Other",
                    "desc": "Sonstiges Andere"
                },
                {
                    "id": 58,
                    "cat": "XXX/x264",
                    "desc": "XXX HD"
                },
                {
                    "id": 46,
                    "cat": "XXX",
                    "desc": "XXX Hentai"
                },
                {
                    "id": 59,
                    "cat": "XXX/Pack",
                    "desc": "XXX Pack"
                },
                {
                    "id": 27,
                    "cat": "XXX/SD",
                    "desc": "XXX SD"
                },
                {
                    "id": 76,
                    "cat": "XXX",
                    "desc": "XXX Andere"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "user",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "pass",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_account",
                "type": "info",
                "label": "Account Settings",
                "default": "In order to see the correct date and size in the torrent rows, change the <b>Torrentliste:</b> setting to <b>Modern</b> on your account profile."
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts of users, power users and mega users will be permanently deleted from the database after 125 days! Torrents in your share don't count as activity - only logging in again counts! You can extend this period to 250 days by setting your account to parking. You can find the option to do this under Edit Profile."
            }
        ],
        "login": {
            "path": "signin.php",
            "method": "post",
            "inputs": {
                "user": "{{ .Config.user }}",
                "pass": "{{ .Config.pass }}",
                "returnto": "%2Fbrowse.php"
            },
            "error": [
                {
                    "selector": ".error"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"/logout.php?c=\"]"
            }
        },
        "search": {
            "path": "browse.php",
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "search_where": "{{ if .Query.IMDBID }}3{{ else }}0{{ end }}",
                "status": "{{ if .Config.freeleech }}4{{ else }}1{{ end }}",
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.tableinborder > tbody > tr:has(a[href^=\"/download.php\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/download.php\"]",
                    "attribute": "href"
                },
                "grabs": {
                    "selector": "a[title=\"Snatcher\"]",
                    "optional": true,
                    "default": 0
                },
                "files": {
                    "selector": "a[title=\"Files\"]",
                    "optional": true,
                    "default": 0
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "a[title=\"Seeder\"]",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "a[title=\"Leecher\"]",
                    "optional": true,
                    "default": 0
                },
                "date_day": {
                    "selector": "td:nth-child(10):contains(\"Heute\"), td:nth-child(10):contains(\"Gestern\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "b",
                                0
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Heute",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Gestern",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "+01:00"
                        }
                    ]
                },
                "date_year": {
                    "selector": "td:nth-child(10):contains(\".\"):contains(\":\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "b",
                                0
                            ]
                        },
                        {
                            "name": "append",
                            "args": "+01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[alt=\"OU\"]": 0,
                        "img[alt=\"D/2\"]": 0.5,
                        "img[alt=\"D / 2\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[alt=\"2xU\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.8
                },
                "minimumseedtime": {
                    "text": 216000
                }
            }
        }
    },
    "RockBox": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "RockBox",
        "name": "RockBox",
        "description": "RockBox Semi-Private Torrent Tracker dedicated to HEAVY METAL/ROCK MUSIC. This definition is for the English site.",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://rawkbawx.rocks/"
        ],
        "caps": {
            "categories": {
                "Music": "Audio"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "album",
                    "artist"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "data",
                "options": {
                    "data": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "filename": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "DESC",
                "options": {
                    "DESC": "desc",
                    "ASC": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"login.php?returnto=index.php\"]",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div > font[color=\"#FF0000\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "search": "{{ if or (.Query.Artist) (.Query.Album) }}{{ or (.Query.Artist) (.Query.Album) }}{{ else }}{{ .Keywords }}{{ end }}",
                "active": 0,
                "options": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.lista[width=\"100%\"] tbody tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "text": "Music"
                },
                "title": {
                    "selector": "td a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "td a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date_year": {
                    "selector": "td:nth-child(6):contains(\"/\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy"
                        }
                    ]
                },
                "date_ago": {
                    "selector": "td:nth-child(6):not(:contains(\"/\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_ago }}{{ or .Result.date_year .Result.date_ago }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "grabs": {
                    "selector": "td:nth-child(11)"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "abnormal-api": {
        "credentials": {
            "apikey": "",
            "apiurl": ""
        },
        "id": "abnormal-api",
        "name": "Abnormal (API)",
        "description": "ABNormal (ABN) is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2.1,
        "links": [
            "https://abn.lol/"
        ],
        "legacylinks": [
            "https://abnormal.ws"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV",
                    "desc": "Series"
                },
                {
                    "id": 2,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 3,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries"
                },
                {
                    "id": 4,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 5,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 6,
                    "cat": "PC",
                    "desc": "Applications"
                },
                {
                    "id": 7,
                    "cat": "Books/EBook",
                    "desc": "Ebooks"
                },
                {
                    "id": 9,
                    "cat": "TV",
                    "desc": "Emissions"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find your API key on your <a href=\"https://abn.lol/User/Parameters\" target=\"_blank\">Parameters</a> page. The API key is read-only and never expires."
            },
            {
                "name": "apiurl",
                "label": "API URL",
                "type": "text",
                "default": "api.abn.lol"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi.FRENCH": "MULTi.FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi.ENGLISH": "MULTi.ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi.VOSTFR": "MULTi.VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "Created",
                "options": {
                    "Created": "created",
                    "Seeders": "seeders",
                    "Size": "size",
                    "ReleaseName": "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 are automatically deactivated after 4 months of inactivity (no connection to the site)."
            }
        ],
        "login": {
            "path": "https://{{ .Config.apiurl }}/api/Release/Search?name=test&resultByPage=1",
            "method": "get",
            "error": [
                {
                    "selector": ":root:contains(\"Unauthorized\")",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "https://{{ .Config.apiurl }}/api/Release/Search",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}categoryId={{.}}&{{end}}",
                "name": "{{ .Keywords }}",
                "resultByPage": 100,
                "sort": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "freeleech": "{{ if .Config.freeleech }}true{{ else }}{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "$"
            },
            "fields": {
                "category": {
                    "selector": "categoryId"
                },
                "title_phase1": {
                    "selector": "name"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "_id": {
                    "selector": "id"
                },
                "details": {
                    "text": "{{ .Config.sitelink }}Torrent/Details?ReleaseId={{ .Result._id }}"
                },
                "download": {
                    "selector": "downloadUrl"
                },
                "infohash": {
                    "selector": "infoHash"
                },
                "date": {
                    "selector": "created",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:01"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "completed"
                },
                "downloadvolumefactor": {
                    "selector": "freeleech",
                    "case": [
                        1,
                        0
                    ]
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 345600
                }
            }
        }
    },
    "abtorrents": {
        "credentials": {
            "cookie": ""
        },
        "id": "abtorrents",
        "replaces": [
            "audiobooktorrents"
        ],
        "name": "ABtorrents",
        "description": "ABtorrents (ABT) is a Private Torrent Tracker for AUDIOBOOKS",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://usefultrash.net/"
        ],
        "legacylinks": [
            "https://abtorrents.me/",
            "https://abtorrents.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 10,
                    "cat": "Audio/Audiobook",
                    "desc": "Action & Adventure"
                },
                {
                    "id": 80,
                    "cat": "Audio/Audiobook",
                    "desc": "Adult & Erotica"
                },
                {
                    "id": 20,
                    "cat": "Audio/Audiobook",
                    "desc": "Biography & Memoirs"
                },
                {
                    "id": 30,
                    "cat": "Audio/Audiobook",
                    "desc": "Business"
                },
                {
                    "id": 40,
                    "cat": "Audio/Audiobook",
                    "desc": "Childrens"
                },
                {
                    "id": 70,
                    "cat": "Audio/Audiobook",
                    "desc": "Computers"
                },
                {
                    "id": 260,
                    "cat": "Audio/Audiobook",
                    "desc": "Crime & Thriller"
                },
                {
                    "id": 90,
                    "cat": "Audio/Audiobook",
                    "desc": "Fantasy-General"
                },
                {
                    "id": 100,
                    "cat": "Audio/Audiobook",
                    "desc": "Fantasy-Youth"
                },
                {
                    "id": 130,
                    "cat": "Audio/Audiobook",
                    "desc": "General Fiction"
                },
                {
                    "id": 140,
                    "cat": "Audio/Audiobook",
                    "desc": "Historical Fiction"
                },
                {
                    "id": 150,
                    "cat": "Audio/Audiobook",
                    "desc": "History"
                },
                {
                    "id": 160,
                    "cat": "Audio/Audiobook",
                    "desc": "Horror"
                },
                {
                    "id": 50,
                    "cat": "Audio/Audiobook",
                    "desc": "Humor (Comedy)"
                },
                {
                    "id": 170,
                    "cat": "Audio/Audiobook",
                    "desc": "Literature"
                },
                {
                    "id": 175,
                    "cat": "Audio/Audiobook",
                    "desc": "LitRPG"
                },
                {
                    "id": 180,
                    "cat": "Audio/Audiobook",
                    "desc": "Mystery"
                },
                {
                    "id": 190,
                    "cat": "Audio/Audiobook",
                    "desc": "Nonfiction"
                },
                {
                    "id": 215,
                    "cat": "Audio/Audiobook",
                    "desc": "Paranormal Romance"
                },
                {
                    "id": 200,
                    "cat": "Audio/Audiobook",
                    "desc": "Radio Drama"
                },
                {
                    "id": 205,
                    "cat": "Audio/Audiobook",
                    "desc": "Reference & Educational"
                },
                {
                    "id": 207,
                    "cat": "Audio/Audiobook",
                    "desc": "Religion & Spirituality"
                },
                {
                    "id": 210,
                    "cat": "Audio/Audiobook",
                    "desc": "Romance"
                },
                {
                    "id": 240,
                    "cat": "Audio/Audiobook",
                    "desc": "Sci-Fi Apocalypse"
                },
                {
                    "id": 220,
                    "cat": "Audio/Audiobook",
                    "desc": "Science"
                },
                {
                    "id": 230,
                    "cat": "Audio/Audiobook",
                    "desc": "Science Fiction"
                },
                {
                    "id": 250,
                    "cat": "Audio/Audiobook",
                    "desc": "Self Improvement"
                },
                {
                    "id": 265,
                    "cat": "Audio/Audiobook",
                    "desc": "Sports & Fitness"
                },
                {
                    "id": 270,
                    "cat": "Audio/Audiobook",
                    "desc": "Suspense"
                },
                {
                    "id": 280,
                    "cat": "Audio/Audiobook",
                    "desc": "Talk Radio"
                },
                {
                    "id": 285,
                    "cat": "Audio/Audiobook",
                    "desc": "Travel"
                },
                {
                    "id": 290,
                    "cat": "Audio/Audiobook",
                    "desc": "Urban Fantasy & Paranormal"
                },
                {
                    "id": 300,
                    "cat": "Audio/Audiobook",
                    "desc": "Western"
                },
                {
                    "id": 310,
                    "cat": "Audio/Audiobook",
                    "desc": "Young Adult"
                },
                {
                    "id": 400,
                    "cat": "Books/EBook",
                    "desc": "[E] Action & Adventure"
                },
                {
                    "id": 410,
                    "cat": "Books/EBook",
                    "desc": "[E] Adult & Erotica"
                },
                {
                    "id": 420,
                    "cat": "Books/EBook",
                    "desc": "[E] Arts & Crafts (Hobbies)"
                },
                {
                    "id": 430,
                    "cat": "Books/EBook",
                    "desc": "[E] Biography & Memoirs"
                },
                {
                    "id": 435,
                    "cat": "Books/EBook",
                    "desc": "[E] Business"
                },
                {
                    "id": 720,
                    "cat": "Books/EBook",
                    "desc": "[E] Childrens"
                },
                {
                    "id": 450,
                    "cat": "Books/EBook",
                    "desc": "[E] Computer Learning"
                },
                {
                    "id": 460,
                    "cat": "Books/EBook",
                    "desc": "[E] Cookery"
                },
                {
                    "id": 470,
                    "cat": "Books/EBook",
                    "desc": "[E] Crime & Thriller"
                },
                {
                    "id": 480,
                    "cat": "Books/EBook",
                    "desc": "[E] Fantasy"
                },
                {
                    "id": 490,
                    "cat": "Books/EBook",
                    "desc": "[E] Fantasy-Youth"
                },
                {
                    "id": 500,
                    "cat": "Books/EBook",
                    "desc": "[E] General Fiction"
                },
                {
                    "id": 510,
                    "cat": "Books/EBook",
                    "desc": "[E] Historical Fiction"
                },
                {
                    "id": 520,
                    "cat": "Books/EBook",
                    "desc": "[E] History & Documentary"
                },
                {
                    "id": 530,
                    "cat": "Books/EBook",
                    "desc": "[E] Horror"
                },
                {
                    "id": 540,
                    "cat": "Books/EBook",
                    "desc": "[E] Humor (Comedy)"
                },
                {
                    "id": 560,
                    "cat": "Books/EBook",
                    "desc": "[E] Literary Fiction"
                },
                {
                    "id": 565,
                    "cat": "Books/EBook",
                    "desc": "[E] LitRPG"
                },
                {
                    "id": 570,
                    "cat": "Books/EBook",
                    "desc": "[E] Mystery"
                },
                {
                    "id": 580,
                    "cat": "Books/EBook",
                    "desc": "[E] Nonfiction"
                },
                {
                    "id": 590,
                    "cat": "Books/EBook",
                    "desc": "[E] Paranormal Romance"
                },
                {
                    "id": 600,
                    "cat": "Books/EBook",
                    "desc": "[E] Reference & Educational"
                },
                {
                    "id": 610,
                    "cat": "Books/EBook",
                    "desc": "[E] Religion & Spirituality"
                },
                {
                    "id": 620,
                    "cat": "Books/EBook",
                    "desc": "[E] Romance"
                },
                {
                    "id": 630,
                    "cat": "Books/EBook",
                    "desc": "[E] Sci-Fi"
                },
                {
                    "id": 640,
                    "cat": "Books/EBook",
                    "desc": "[E] Sci-Fi & Apocalyptic"
                },
                {
                    "id": 645,
                    "cat": "Books/EBook",
                    "desc": "[E] Science"
                },
                {
                    "id": 650,
                    "cat": "Books/EBook",
                    "desc": "[E] Self-Help"
                },
                {
                    "id": 660,
                    "cat": "Books/EBook",
                    "desc": "[E] Sports & Fitness"
                },
                {
                    "id": 665,
                    "cat": "Books/EBook",
                    "desc": "[E] Suspense"
                },
                {
                    "id": 670,
                    "cat": "Books/EBook",
                    "desc": "[E] Travel"
                },
                {
                    "id": 690,
                    "cat": "Books/EBook",
                    "desc": "[E] Urban Fantasy & Paranormal"
                },
                {
                    "id": 700,
                    "cat": "Books/EBook",
                    "desc": "[E] Western"
                },
                {
                    "id": 710,
                    "cat": "Books/EBook",
                    "desc": "[E] Young Adult"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting the error <b>Login Failed, got redirected</b> then access the site with your browser and <b>mark as read</b> all PMs."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Any account that has unread PMs older than 14 days or has not logged in for 30 days will be suspended</li><li>Any account that has not been logged into for 90 days is deemed inactive and will thus be purged</li><li>Any account that has not been logged into for 30 days is deemed inactive and will be put on suspension until User logs in again</li><li>User’s stats, points, and history are irrevocably lost when purged</li><li>Logging into the site is the ONLY way to keep an account active</li><li>SEEDING ONLY does NOT constitute site activity.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"logout.php?hash_please=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "searchin": "title",
                "incldead": 1,
                "only_free": "{{ if .Config.freeleech }}1{{ else }}0{{ end }}"
            },
            "rows": {
                "selector": "table.browse.table.striped > tbody > tr:has(a[href^=\"download.php?torrent=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "remove": "span.has-text-red"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[src^=\"/img.php?\"]",
                    "attribute": "src"
                },
                "files": {
                    "selector": "a[href^=\"filelist.php?id=\"]"
                },
                "date_day": {
                    "selector": "td:nth-last-child(2) > div:contains(\"day\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "td:nth-last-child(2) > div:not(:contains(\"day\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM d yyyyh:mm tt"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-last-child(4) div[title^=\"Size\"]"
                },
                "grabs": {
                    "selector": "a[href^=\"snatches.php?id=\"]"
                },
                "seeders": {
                    "selector": "a[title$=\"Seeders\"]",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "a[title$=\"Leechers\"]",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "tr.freeleech_color": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 1209600
                }
            }
        }
    },
    "acgrip": {
        "id": "acgrip",
        "name": "ACG.RIP",
        "description": "ACG.RIP is a CHINESE Public torrent tracker for the latest anime and Japanese related torrents",
        "language": "zh-CN",
        "type": "public",
        "followredirect": true,
        "encoding": "UTF-8",
        "links": [
            "https://acg.rip/"
        ],
        "caps": {
            "categories": {
                "1": "TV"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [],
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "term": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "tbody tr"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "td.title > span.title a"
                },
                "details": {
                    "selector": "td.title > span.title a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td.action a",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td.size"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "date": {
                    "selector": "td.date time",
                    "attribute": "datetime"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "acrossthetasman": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "acrossthetasman",
        "name": "Across The Tasman",
        "description": "ATT is a Private torrent site for Rugby and other sports played in Australia",
        "language": "en-AU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://acrossthetasman.com/"
        ],
        "caps": {
            "categories": {
                "1": "TV/Sport"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "date",
                "options": {
                    "date": "created",
                    "filename": "title",
                    "size": "size",
                    "seeders": "seeders"
                }
            },
            {
                "name": "order",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "method": "post",
            "path": "login.php",
            "inputs": {
                "vb_login_username": "{{ .Config.username }}",
                "vb_login_password": "{{ .Config.password }}",
                "cookieuser": 1,
                "do": "login"
            },
            "error": [
                {
                    "selector": "div.restore:contains(\"invalid username or password\")"
                }
            ],
            "test": {
                "path": "torrents.php",
                "selector": "a[href*=\"login.php?do=logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.order }}",
                "query": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "table[width='100%'][align='center']:not([class]) > tbody > tr"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "date": {
                    "selector": "td:nth-child(1)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd, yyyy"
                        }
                    ]
                },
                "title": {
                    "selector": "td:nth-child(4) > span:nth-child(1)",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\s]+Uploaded.*",
                                ""
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "a[href*=\"attachment.php?attachmentid=\"]",
                    "attribute": "href"
                },
                "seeders": {
                    "selector": "td:nth-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "size": {
                    "selector": "td:nth-child(10)"
                }
            }
        }
    },
    "aftershock": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "aftershock",
        "name": "Aftershock",
        "description": "Aftershock is a HUNGARIAN Private Torrent Tracker for MOVIES / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "iso-8859-1",
        "links": [
            "https://aftershock-tracker.net/"
        ],
        "legacylinks": [
            "https://aftershock-tracker.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 7,
                    "cat": "Movies/SD",
                    "desc": "XvidEng"
                },
                {
                    "id": 2,
                    "cat": "Movies",
                    "desc": "AfterShock Release"
                },
                {
                    "id": 190,
                    "cat": "Movies/DVD",
                    "desc": "DVD-9Eng"
                },
                {
                    "id": 191,
                    "cat": "Movies/DVD",
                    "desc": "DVD-9Hun"
                },
                {
                    "id": 1,
                    "cat": "Movies/DVD",
                    "desc": "DVDEng"
                },
                {
                    "id": 4,
                    "cat": "Movies/DVD",
                    "desc": "DVDHun"
                },
                {
                    "id": 23,
                    "cat": "Books/EBook",
                    "desc": "E-Book"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Film Pack"
                },
                {
                    "id": 185,
                    "cat": "Audio/Lossless",
                    "desc": "FLACeng"
                },
                {
                    "id": 188,
                    "cat": "Audio/Lossless",
                    "desc": "FLAChu"
                },
                {
                    "id": 173,
                    "cat": "Audio/Audiobook",
                    "desc": "Hangoskönyv"
                },
                {
                    "id": 34,
                    "cat": "Movies/HD",
                    "desc": "HDEng"
                },
                {
                    "id": 33,
                    "cat": "Movies/HD",
                    "desc": "HDHun"
                },
                {
                    "id": 182,
                    "cat": "XXX/x264",
                    "desc": "HDXXX"
                },
                {
                    "id": 12,
                    "cat": "PC/Games",
                    "desc": "JátékIso"
                },
                {
                    "id": 130,
                    "cat": "Console",
                    "desc": "JátékKonzol"
                },
                {
                    "id": 38,
                    "cat": "Console/PSP",
                    "desc": "JátékPS2"
                },
                {
                    "id": 44,
                    "cat": "Console",
                    "desc": "Jatekrip"
                },
                {
                    "id": 131,
                    "cat": "Console/XBox",
                    "desc": "JátékX-box"
                },
                {
                    "id": 140,
                    "cat": "Other",
                    "desc": "Képek"
                },
                {
                    "id": 141,
                    "cat": "Other",
                    "desc": "Klipek"
                },
                {
                    "id": 154,
                    "cat": "Other",
                    "desc": "MeseEng"
                },
                {
                    "id": 155,
                    "cat": "Other",
                    "desc": "MeseHun"
                },
                {
                    "id": 176,
                    "cat": "Other",
                    "desc": "Mikro HDEng"
                },
                {
                    "id": 174,
                    "cat": "Other",
                    "desc": "Mikro HDHun"
                },
                {
                    "id": 37,
                    "cat": "PC/Mobile-Other",
                    "desc": "MobilPDA"
                },
                {
                    "id": 35,
                    "cat": "PC",
                    "desc": "ProgramEgyéb"
                },
                {
                    "id": 170,
                    "cat": "PC/ISO",
                    "desc": "ProgramIso"
                },
                {
                    "id": 24,
                    "cat": "TV",
                    "desc": "Sorozat Eng"
                },
                {
                    "id": 25,
                    "cat": "TV",
                    "desc": "Sorozat Hun"
                },
                {
                    "id": 167,
                    "cat": "Movies/SD",
                    "desc": "Xvid CamEng"
                },
                {
                    "id": 166,
                    "cat": "Movies/SD",
                    "desc": "Xvid CamHun"
                },
                {
                    "id": 9,
                    "cat": "Movies/SD",
                    "desc": "XvidHun"
                },
                {
                    "id": 169,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX Képek"
                },
                {
                    "id": 39,
                    "cat": "XXX",
                    "desc": "XXXFilm"
                },
                {
                    "id": 28,
                    "cat": "Audio",
                    "desc": "ZeneEng"
                },
                {
                    "id": 29,
                    "cat": "Audio",
                    "desc": "ZeneHun"
                }
            ],
            "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": 0,
                "options": {
                    "0": "created",
                    "6": "seeders",
                    "4": "size",
                    "1": "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": "You will be immediately banned if you have not logged in for more than 6 weeks."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.text:contains(\"Hiba\")",
                    "message": {
                        "selector": "td.text"
                    }
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href*=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table tbody#torrent_background tr:has(a.index):has(span.icon_check_alt)",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"/browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a.index",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "name"
                        },
                        {
                            "name": "urldecode"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href*=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.index",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "urldecode"
                        }
                    ]
                },
                "poster": {
                    "selector": "a[onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=([^\\s]+)"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "\"",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "span.box"
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "files": {
                    "selector": "td:nth-last-child(6)"
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(4)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(3)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(2)"
                },
                "date": {
                    "selector": "td font",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s",
                                " "
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.icon_gift": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon_upload": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.31
                }
            }
        }
    },
    "agsvpt": {
        "credentials": {
            "cookie": ""
        },
        "id": "agsvpt",
        "name": "AGSVPT",
        "description": "AGSVPT (Arctic Global Seed Vault) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://www.agsvpt.com/"
        ],
        "legacylinks": [
            "https://abroad.agsvpt.com/",
            "https://pt.agsvpt.cn/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movie(电影)",
                    "default": true
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series(电视剧)",
                    "default": true
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows(综艺)",
                    "default": true
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Anime(动漫)",
                    "default": true
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries(纪录片)",
                    "default": true
                },
                {
                    "id": 419,
                    "cat": "TV",
                    "desc": "Playlet（短剧）",
                    "default": true
                },
                {
                    "id": 411,
                    "cat": "Audio",
                    "desc": "Music(音乐)）",
                    "default": true
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV(演唱",
                    "default": true
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports(体育)",
                    "default": true
                },
                {
                    "id": 408,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio(音频)",
                    "default": true
                },
                {
                    "id": 413,
                    "cat": "PC/Games",
                    "desc": "Game(游戏)",
                    "default": false
                },
                {
                    "id": 416,
                    "cat": "Books/Comics",
                    "desc": "Comic(漫画)",
                    "default": false
                },
                {
                    "id": 412,
                    "cat": "PC/0day",
                    "desc": "Software(软件)",
                    "default": false
                },
                {
                    "id": 418,
                    "cat": "Other",
                    "desc": "Picture(图片)",
                    "default": false
                },
                {
                    "id": 415,
                    "cat": "Books/EBook",
                    "desc": "E-Book(电子书/有声书)",
                    "default": false
                },
                {
                    "id": 417,
                    "cat": "Other",
                    "desc": "Education(学习资料)",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>每页种子数:每页显示</b><i>(Torrents per page:)</i> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Elite User and above will not have their account deleted after parking (in the Control Panel)</li><li>Users who do not log in for 400 consecutive days will be disabled.</li><li>Users with a parked account will be disabled if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e., uploading/downloading data is 0) within 7 days of new registration will be disabled</li><li>Users with no traffic (i.e. both upload/download data is 0) who do not log in for 30 consecutive days will be disabled.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        401,
                        402,
                        403,
                        405,
                        404,
                        419,
                        411,
                        406,
                        407,
                        408
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        413,
                        416,
                        412,
                        418,
                        415,
                        417
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"]": "Verified:",
                        "span[title=\"未审\"]": "Unverified:",
                        "span[title=\"拒绝\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "aidoruonline": {
        "credentials": {
            "cookie": ""
        },
        "id": "aidoruonline",
        "name": "Aidoru!Online",
        "description": "Aidoru!Online is a JAPANESE Private Torrent Tracker for Female Japanese Idol related files",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://aidoru-online.me/"
        ],
        "legacylinks": [
            "https://aidoru-online.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "BD/DVDISO"
                },
                {
                    "id": 2,
                    "cat": "Movies",
                    "desc": "BD/DVD-RIP"
                },
                {
                    "id": 3,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 4,
                    "cat": "TV",
                    "desc": "Perf"
                },
                {
                    "id": 5,
                    "cat": "TV",
                    "desc": "PV"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "Webstream"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Image"
                },
                {
                    "id": 8,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 9,
                    "cat": "Audio",
                    "desc": "Album"
                },
                {
                    "id": 10,
                    "cat": "Audio",
                    "desc": "Single"
                },
                {
                    "id": 11,
                    "cat": "Audio",
                    "desc": "Radio"
                },
                {
                    "id": 12,
                    "cat": "Other",
                    "desc": "Misc"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "id",
                "options": {
                    "id": "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_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting the error <b>Found no results while trying to browse this tracker</b> then first access the site with your browser and check that your ratio is <b>not below 0.8</b>, otherwise the site will not return download links to the indexer. This does not apply to freeleech torrents."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[href^=\"torrents-details.php?id=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "get_ttable.php"
                }
            ],
            "inputs": {
                "pcat": "Show+All",
                "scat": "{{ join .Categories \",\" }}",
                "subbed": "",
                "fl": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "resd": "",
                "p": 0,
                "searchstr": "{{ .Keywords }}",
                "deadlive": 1,
                "sortcol": "{{ .Config.sort }}",
                "sortorder": "{{ .Config.type }}",
                "startdt": "",
                "enddt": ""
            },
            "rows": {
                "selector": "table.ttable_headinner tr.t-row:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "categorydesc": {
                    "selector": "a.category-link",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                " ",
                                1
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td.ttable_size"
                },
                "seeders": {
                    "selector": "td:nth-last-child(4)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(3)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(2)"
                },
                "date": {
                    "selector": "td:last-child",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyMMdd HH:mm:ss"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/freeleech.png\"]": 0,
                        "img[src=\"images/freeleech2.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"images/freeleech2.png\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.8
                }
            }
        }
    },
    "aither-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "aither-api",
        "name": "Aither (API)",
        "description": "Aither is a Private Torrent Tracker for HD MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://aither.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 9,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowtvsearchimdb": true
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://aither.cc/\" target=\"_blank\">Aither</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "You must log in to the Aither web site with your browser once every90 days to prevent your account from getting disabled."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 432000
                }
            }
        }
    },
    "alingpt": {
        "credentials": {
            "cookie": ""
        },
        "id": "alingpt",
        "name": "alingPT",
        "description": "alingPT is a CHINESE Private Torrent Tracker for MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.aling.de/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动画"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentary/纪录片"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Accounts parked will not be deleted</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 200 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 60 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "amigosshare": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "amigosshare",
        "name": "Amigos Share Club",
        "description": "Amigos Share Club (ASC) is a BRAZILIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pt-BR",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://cliente.amigos-share.club/"
        ],
        "legacylinks": [
            "http://amigos-share.club/",
            "https://amigos-share.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 75,
                    "cat": "XXX",
                    "desc": "Adultos: Hentai"
                },
                {
                    "id": 107,
                    "cat": "XXX",
                    "desc": "Adultos: Gay"
                },
                {
                    "id": 108,
                    "cat": "XXX",
                    "desc": "Adultos: Transex/Female"
                },
                {
                    "id": 74,
                    "cat": "XXX",
                    "desc": "Adultos: XXX"
                },
                {
                    "id": 146,
                    "cat": "XXX",
                    "desc": "Adultos: OnlyFans"
                },
                {
                    "id": 69,
                    "cat": "TV/Anime",
                    "desc": "Anime: Anime"
                },
                {
                    "id": 116,
                    "cat": "TV/Anime",
                    "desc": "Anime: Filmes"
                },
                {
                    "id": 118,
                    "cat": "TV/Anime",
                    "desc": "Anime: Séries"
                },
                {
                    "id": 21,
                    "cat": "PC/0day",
                    "desc": "Aplicativos: Windows"
                },
                {
                    "id": 28,
                    "cat": "PC/Mobile-iOS",
                    "desc": "Aplicativos: iPod"
                },
                {
                    "id": 27,
                    "cat": "PC/Mobile-iOS",
                    "desc": "Aplicativos: iPad"
                },
                {
                    "id": 26,
                    "cat": "PC/Mobile-iOS",
                    "desc": "Aplicativos: iPhone"
                },
                {
                    "id": 25,
                    "cat": "PC",
                    "desc": "Aplicativos: Linux"
                },
                {
                    "id": 23,
                    "cat": "PC/Mobile-Android",
                    "desc": "Aplicativos: Android"
                },
                {
                    "id": 22,
                    "cat": "PC/Mac",
                    "desc": "Aplicativos: Mac"
                },
                {
                    "id": 73,
                    "cat": "Other",
                    "desc": "Cursos: Video Aula"
                },
                {
                    "id": 72,
                    "cat": "Other",
                    "desc": "Cursos: Apostila"
                },
                {
                    "id": 71,
                    "cat": "Other",
                    "desc": "Cursos: Cursos"
                },
                {
                    "id": 67,
                    "cat": "Books/EBook",
                    "desc": "Ebook: Livros"
                },
                {
                    "id": 112,
                    "cat": "Books/Comics",
                    "desc": "Ebook: HQs"
                },
                {
                    "id": 147,
                    "cat": "Books/Comics",
                    "desc": "Ebook: Mangas"
                },
                {
                    "id": 121,
                    "cat": "Audio/Audiobook",
                    "desc": "Ebook: Audio-book"
                },
                {
                    "id": 68,
                    "cat": "Books/Mags",
                    "desc": "Ebook: Revistas"
                },
                {
                    "id": 119,
                    "cat": "Movies",
                    "desc": "Filmes:"
                },
                {
                    "id": 70,
                    "cat": "XXX",
                    "desc": "Fotos: Revistas, Livros e Fotos"
                },
                {
                    "id": 51,
                    "cat": "Console/PS3",
                    "desc": "Jogos: Ps3"
                },
                {
                    "id": 54,
                    "cat": "Console/XBox 360",
                    "desc": "Jogos: Xbox360"
                },
                {
                    "id": 109,
                    "cat": "Console",
                    "desc": "Jogos: Emulação"
                },
                {
                    "id": 110,
                    "cat": "Console",
                    "desc": "Jogos: Nintendo Switch"
                },
                {
                    "id": 52,
                    "cat": "Console",
                    "desc": "Jogos: Dreamcast"
                },
                {
                    "id": 50,
                    "cat": "Console",
                    "desc": "Jogos: Ps2"
                },
                {
                    "id": 49,
                    "cat": "Console",
                    "desc": "Jogos: Ps1"
                },
                {
                    "id": 48,
                    "cat": "PC/Mac",
                    "desc": "Jogos: Mac"
                },
                {
                    "id": 55,
                    "cat": "Console/Wii",
                    "desc": "Jogos: Wii"
                },
                {
                    "id": 82,
                    "cat": "Console/PSP",
                    "desc": "Jogos: PSP"
                },
                {
                    "id": 47,
                    "cat": "PC/Games",
                    "desc": "Jogos: Pc"
                },
                {
                    "id": 61,
                    "cat": "Console",
                    "desc": "Jogos: Emuladores e Roms"
                },
                {
                    "id": 58,
                    "cat": "Console/NDS",
                    "desc": "Jogos: Nintendo DS"
                },
                {
                    "id": 57,
                    "cat": "Console",
                    "desc": "Jogos: Android"
                },
                {
                    "id": 56,
                    "cat": "Console/XBox",
                    "desc": "Jogos: Xbox"
                },
                {
                    "id": 78,
                    "cat": "Console/XBox One",
                    "desc": "Jogos: Xbox One"
                },
                {
                    "id": 79,
                    "cat": "Console/PS4",
                    "desc": "Jogos: Ps4"
                },
                {
                    "id": 129,
                    "cat": "Other",
                    "desc": "Outros: Fonts"
                },
                {
                    "id": 128,
                    "cat": "Other",
                    "desc": "Outros: Scripts"
                },
                {
                    "id": 127,
                    "cat": "Other",
                    "desc": "Outros: Add-ons"
                },
                {
                    "id": 130,
                    "cat": "Other",
                    "desc": "Outros: MOD"
                },
                {
                    "id": 125,
                    "cat": "Other",
                    "desc": "Outros: Pack de Imagens"
                },
                {
                    "id": 124,
                    "cat": "Other",
                    "desc": "Outros: Vetores"
                },
                {
                    "id": 122,
                    "cat": "Other",
                    "desc": "Outros: Plug-ins"
                },
                {
                    "id": 126,
                    "cat": "Other",
                    "desc": "Outros: Extensões"
                },
                {
                    "id": 120,
                    "cat": "TV",
                    "desc": "Series:"
                },
                {
                    "id": 64,
                    "cat": "TV",
                    "desc": "Tv: Fechada"
                },
                {
                    "id": 62,
                    "cat": "TV/Sport",
                    "desc": "Tv: Esportes"
                },
                {
                    "id": 63,
                    "cat": "TV",
                    "desc": "Tv: Aberta"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "Set <b>Visualização:</b> to <b>Lista</b> in your <b>Minha Conta > Configurações</b>.<br />Using <b>Capas</b> is not supported and will return 0 results."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "id",
                "options": {
                    "id": "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": "Inactive accounts, that is, without access for 90 days (3 months), will be automatically deleted by the system; with no possibility of reactivation."
            }
        ],
        "login": {
            "path": "account-login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "autologout": true,
                "returnto": "/"
            },
            "error": [
                {
                    "selector": "div.alert-primary"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"account-logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents-search.php"
                },
                {
                    "path": "torrents-search.php",
                    "inputs": {
                        "page": 1
                    }
                },
                {
                    "path": "torrents-search.php",
                    "inputs": {
                        "page": 2
                    }
                },
                {
                    "path": "torrents-search.php",
                    "inputs": {
                        "page": 3
                    }
                },
                {
                    "path": "torrents-search.php",
                    "inputs": {
                        "page": 4
                    }
                }
            ],
            "inputs": {
                "search": "{{ re_replace .Keywords \"[\\s]+\" \"%\" }}",
                "free": "{{ if .Config.freeleech }}1{{ else }}2{{ end }}",
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(\\s+:\\s+)",
                        " "
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(\\s*\\b((19|20)\\d{2})\\b)",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "div#fancy-list-group ul.list-group li.list-group-item"
            },
            "fields": {
                "category_default": {
                    "selector": "div.list-group-item-addon img",
                    "attribute": "src",
                    "optional": true,
                    "case": {
                        "[src$=\"/filmes2.fw.png\"]": 119,
                        "[src$=\"/seriados.fw.png\"]": 120
                    }
                },
                "category": {
                    "selector": "a[href*=\"cat=\"]",
                    "attribute": "href",
                    "optional": true,
                    "default": "{{ .Result.category_default }}",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "_quality": {
                    "selector": "p.list-group-item-text span.badge-pill:contains(\"1080p\"), p.list-group-item-text span.badge-pill:contains(\"720p\"), p.list-group-item-text span.badge-pill:contains(\"4k\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "4k",
                                "2160p"
                            ]
                        }
                    ]
                },
                "_year": {
                    "selector": "p.list-group-item-text span.badge-pill[style$=\"#246AB6;\"]",
                    "optional": true
                },
                "_type": {
                    "selector": "p.list-group-item-text span.badge-pill:contains(\"Rip\"), p.list-group-item-text span.badge-pill:contains(\"WEB-\"), p.list-group-item-text span.badge-pill:contains(\"TV\"), p.list-group-item-text span.badge-pill:contains(\"Blu-Ray\"), p.list-group-item-text span.badge-pill:contains(\"BD50\"), p.list-group-item-text span.badge-pill:contains(\"MUX\"), p.list-group-item-text span.badge-pill:contains(\"DVD\"), p.list-group-item-text span.badge-pill:contains(\"320\"), p.list-group-item-text span.badge-pill:contains(\"CAM\"), p.list-group-item-text span.badge-pill:contains(\"rip\")",
                    "optional": true
                },
                "_language_variant": {
                    "selector": "p.list-group-item-text span.badge-pill[style$=\"#b6249d;\"]",
                    "optional": true
                },
                "_release_group": {
                    "selector": "p.list-group-item-text font[color=\"#ff8400\"] span.badge-pill",
                    "optional": true
                },
                "title": {
                    "selector": "a[href*=\"torrents-details.php?id=\"], a[href*=\"details-misc.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(.*?)[\\(](.*?)[\\)](.*?)$",
                                "$2$3"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Result._year }} {{ .Result._year }}{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Result._quality }} {{ .Result._quality }}{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Result._type }} {{ .Result._type }}{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if eq .Result._language_variant \"Dublado\" }} Dublado Brazilian{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if eq .Result._language_variant \"Nacional\" }} Nacional{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if eq .Result._language_variant \"Legendado\" }} Legendado{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if eq .Result._language_variant \"Dual-Audio\" }} Dual-Audio Brazilian Original{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Result._release_group }} {{ .Result._release_group }}{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href*=\"torrents-details.php?id=\"], a[href*=\"details-misc.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img.img-thumbnail",
                    "attribute": "src"
                },
                "date": {
                    "selector": "p:contains(\"Lançado:\")",
                    "optional": true,
                    "default": "now",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Lançado: (.+?)$"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                " (\\d:)",
                                " 0$1"
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yy HH:mm:ss"
                        }
                    ]
                },
                "size": {
                    "selector": "p.list-group-item-text span.badge-pill[style$=\"#7C10AF;\"]"
                },
                "seeders": {
                    "selector": "div.list-group-item-controls a:nth-child(1)"
                },
                "leechers": {
                    "selector": "div.list-group-item-controls a:nth-child(2)"
                },
                "grabs": {
                    "selector": "div.list-group-item-controls a:nth-child(3)"
                },
                "genre": {
                    "selector": "p.list-group-item-text span.badge-pill[style$=\"#1c38c2;\"]"
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "p.list-group-item-text span.badge-success:contains(\"FREE\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "p.list-group-item-text span.badge-pill:contains(\"2X UP\")": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "animebybelka": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "animebybelka",
        "name": "Anime by Belka",
        "description": "Anime by Belka (Аниме от Белки) is a RUSSIAN Semi-Private Torrent Tracker for ANIME",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://anibelka.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 32,
                    "cat": "TV/Anime",
                    "desc": "Аниме универсальные"
                },
                {
                    "id": 33,
                    "cat": "TV/Anime",
                    "desc": "Аниме с озвучкой"
                },
                {
                    "id": 34,
                    "cat": "TV/Anime",
                    "desc": "Аниме с субтитрами"
                },
                {
                    "id": 36,
                    "cat": "Movies/Other",
                    "desc": "Полнометражки"
                },
                {
                    "id": 37,
                    "cat": "TV/Anime",
                    "desc": "Аниме для PSP"
                },
                {
                    "id": 39,
                    "cat": "TV/Anime",
                    "desc": "Сэмплы"
                },
                {
                    "id": 7,
                    "cat": "Audio",
                    "desc": "Аудио"
                },
                {
                    "id": 8,
                    "cat": "Books/Comics",
                    "desc": "Манга"
                },
                {
                    "id": 21,
                    "cat": "Other",
                    "desc": "Изображения аниме"
                },
                {
                    "id": 9,
                    "cat": "Other",
                    "desc": "Япония"
                },
                {
                    "id": 52,
                    "cat": "TV/Anime",
                    "desc": "Альтернативные части"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "t",
                "options": {
                    "t": "created",
                    "ts": "seeders",
                    "sz": "size",
                    "i": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "d",
                "options": {
                    "d": "desc",
                    "a": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[href^=\"./ucp.php?mode=logout&sid=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "search.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}&fid[]={{.}}{{end}}",
                "tracker_search": "{{ if .Keywords }}torrent{{ else }}tracker{{ end }}",
                "keywords": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "terms": "all",
                "sc": 1,
                "sf": "titleonly",
                "sr": "topics",
                "sk": "{{ .Config.sort }}",
                "sd": "{{ .Config.type }}",
                "st": 0,
                "ch": 300,
                "t": 0
            },
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "tr:has(a[href^=\"./download/file.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"./viewforum.php?f=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "title": {
                    "selector": "a.topictitle",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a.topictitle",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./download/file.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "p b",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "ТБ",
                                "TB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ГБ",
                                "GB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "МБ",
                                "MB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "КБ",
                                "KB"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "span.seed"
                },
                "leechers": {
                    "selector": "span.leech"
                },
                "grabs": {
                    "selector": "span.complet",
                    "optional": true
                },
                "date_today": {
                    "selector": "td:nth-last-child(1) p:contains(\"Сегодня\"), td:nth-last-child(1) p:contains(\"Вчера\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Сегодня",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Вчера",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "td:nth-last-child(1) p:not(:contains(\"Сегодня\")), td:nth-last-child(1) p:not(:contains(\"Вчера\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "янв",
                                "Jan"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "фев",
                                "Feb"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "мар",
                                "Mar"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "апр",
                                "Apr"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "май",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июн",
                                "Jun"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июл",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "авг",
                                "Aug"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "сен",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "окт",
                                "Oct"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ноя",
                                "Nov"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "дек",
                                "Dec"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd MMM yyyy, HH:mm zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_today .Result.date_year }}{{ or .Result.date_today .Result.date_year }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "td:nth-last-child(5)",
                    "remove": "a, b, p, span"
                }
            }
        }
    },
    "animelayer": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "animelayer",
        "name": "AnimeLayer",
        "description": "AnimeLayer is a RUSSIAN Semi-Private Torrent Tracker for ANIME",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://animelayer.ru/"
        ],
        "legacylinks": [
            "https://www.animelayer.ru/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "аниме",
                    "cat": "TV/Anime",
                    "desc": "Аниме"
                },
                {
                    "id": "музыка",
                    "cat": "Audio",
                    "desc": "Музыка"
                },
                {
                    "id": "манга",
                    "cat": "Books",
                    "desc": "Манга"
                },
                {
                    "id": "дорама",
                    "cat": "TV",
                    "desc": "Дорама"
                }
            ],
            "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": "category-id",
                "type": "select",
                "label": "Category",
                "default": "anime",
                "options": {
                    "anime": "Аниме",
                    "music": "Музыка",
                    "manga": "Манга",
                    "dorama": "Дорама"
                }
            }
        ],
        "login": {
            "path": "layer/login/",
            "method": "form",
            "form": "form#loginForm",
            "inputs": {
                "login": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.error"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href^=\"/auth/logout/\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents/{{ .Config.category-id }}/"
                }
            ],
            "inputs": {
                "q": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "ul.torrents-list li.torrent-item:has(a[href^=\"/torrent/\"])"
            },
            "fields": {
                "category": {
                    "selector": "label.category"
                },
                "_resolution": {
                    "selector": "div.description",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Разрешение:\\s+\\d{3,4}\\D(\\d{3,4})"
                        }
                    ]
                },
                "title": {
                    "selector": "img",
                    "attribute": "alt",
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ if .Result._resolution }} [{{ .Result._resolution }}p]{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "append",
                            "args": "download/"
                        }
                    ]
                },
                "poster": {
                    "selector": "img",
                    "attribute": "data-original"
                },
                "size": {
                    "selector": "div.info",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                2
                            ]
                        }
                    ]
                },
                "date_noyear": {
                    "selector": "div.info",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "н:\\s(\\d{1,2} \\D{3,8} в\\s\\d{1,2}:\\d{2})"
                        },
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Обновлён:",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Добавлен:",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " в ",
                                " "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "января",
                                "January {{ .Today.Year }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "февраля",
                                "February {{ .Today.Year }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "марта",
                                "March {{ .Today.Year }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "апреля",
                                "April {{ .Today.Year }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "мая",
                                "May {{ .Today.Year }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июня",
                                "June {{ .Today.Year }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июля",
                                "July {{ .Today.Year }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "августа",
                                "August {{ .Today.Year }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "сентября",
                                "September {{ .Today.Year }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "октября",
                                "October {{ .Today.Year }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ноября",
                                "November {{ .Today.Year }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "декабря",
                                "December {{ .Today.Year }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s(\\d\\:)",
                                " 0$1"
                            ]
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.info",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "н:\\s(\\d{1,2} \\D{3,8} \\d{4} в\\s\\d{1,2}:\\d{2})"
                        },
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Обновлён:",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Добавлен:",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " в ",
                                " "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "января",
                                "January"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "февраля",
                                "February"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "марта",
                                "March"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "апреля",
                                "April"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "мая",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июня",
                                "June"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июля",
                                "July"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "августа",
                                "August"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "сентября",
                                "September"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "октября",
                                "October"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ноября",
                                "November"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "декабря",
                                "December"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s(\\d\\:)",
                                " 0$1"
                            ]
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_noyear }}{{ or .Result.date_year .Result.date_noyear }}{{ else }}now{{ end }}"
                },
                "seeders": {
                    "selector": "div.info",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "div.info",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                1
                            ]
                        }
                    ]
                },
                "_subtitles": {
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Субтитры:(.+?)\\n"
                        }
                    ]
                },
                "_language": {
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Язык:(.+?)\\n"
                        }
                    ]
                },
                "description": {
                    "text": "{{ if .Result._subtitles }}Субтитры: {{ .Result._subtitles }}{{ else }}{{ end }} - {{ if .Result._language }}Язык: {{ .Result._language }}{{ else }}{{ end }}"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "animetorrentsro": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "animetorrentsro",
        "name": "AnimeTorrents.ro",
        "description": "AnimeTorrents.ro (Anime Torrents Romania) is a ROMANIAN Private Torrent Tracker for ANIME / MANGA",
        "language": "ro-RO",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://animetorrents.io/"
        ],
        "legacylinks": [
            "https://animetorrents.ro/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "ANIME"
                },
                {
                    "id": 1,
                    "cat": "Movies/Other",
                    "desc": "ANIME"
                },
                {
                    "id": 2,
                    "cat": "Books/Comics",
                    "desc": "MANGA"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-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": "cat-id",
                "type": "select",
                "label": "Category",
                "default": 0,
                "options": [
                    "All categories",
                    "Anime",
                    "Manga"
                ]
            },
            {
                "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"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts under VIP and without parked are automatically deleted after about a year."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "referer": "/"
            },
            "selectorinputs": {
                "csrf_token": {
                    "selector": "input[name=\"csrf_token\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "table.main:contains(\"esuat\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "blah": 0,
                "cat": "{{ .Config.cat-id }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "td > table > tbody > tr:has(a[href^=\"download.php/\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\[.+?\\]).(.+)",
                                "$2.$1"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.+?) width"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-last-child(8)"
                },
                "date": {
                    "selector": "td:nth-last-child(6)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyyHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[alt=\"Free\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "genre": {
                    "selector": "a[href^=\"download.php/\"]"
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "animetosho-xyz": {
        "credentials": {
            "apikey": ""
        },
        "id": "animetosho-xyz",
        "name": "Anime Tosho",
        "description": "Anime Tosho is a Semi-Private Torrent Tracker for ANIME",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://animetosho.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "Anime",
                    "cat": "TV/Anime",
                    "desc": "Anime"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API Key"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "You can find or generate a new API Key by accessing the <a href=\"https://animetosho.xyz/profile\" target=\"_blank\">Anime Tosho profile</a> page."
            },
            {
                "name": "sonarr_compatibility",
                "type": "checkbox",
                "label": "Improve Sonarr compatibility by trying to add Season information into Release Titles",
                "default": false
            },
            {
                "name": "strip_s01",
                "type": "checkbox",
                "label": "Remove first season keywords (S1/S01/Season 1), as some results do not include this for first/single season releases",
                "default": false
            },
            {
                "name": "radarr_compatibility",
                "type": "checkbox",
                "label": "Improve Radarr compatibility by removing year information from keywords and adding it to Release Titles",
                "default": false
            }
        ],
        "login": {
            "path": "api/torznab",
            "method": "get",
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "search",
                "limit": 1
            }
        },
        "search": {
            "paths": [
                {
                    "path": "api/torznab",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "{{ if .Keywords }}{{ .Query.Type }}{{ else }}search{{ end }}",
                "q": "{{ .Keywords }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "limit": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        " *\\b((?:19|20)\\d{2})\\b",
                        "{{ if .Config.radarr_compatibility }}{{ else }} $1{{ end }}"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i) *\\b(S(?:0|eason *)?1)\\b",
                        "{{ if .Config.strip_s01 }}{{ else }} $1{{ end }}"
                    ]
                }
            ],
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "text": "Anime"
                },
                "title_keyword_year": {
                    "text": "{{ .Query.Keywords }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\b((19|20)\\d{2})\\b"
                        }
                    ]
                },
                "title_default": {
                    "selector": "title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\[.+?\\] ?)?(\\[.+?\\] ?)?(.+?)(\\[)",
                                "$1$2$3{{ if and (.Config.radarr_compatibility) (.Result.title_keyword_year) }} {{ .Result.title_keyword_year }} $4{{ else }}$4{{ end }}"
                            ]
                        }
                    ]
                },
                "title_has_season": {
                    "text": "{{ .Result.title_default }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(?i)(S\\d{1,3}([Ev]\\d+)?)"
                        },
                        {
                            "name": "append",
                            "args": "NULL"
                        }
                    ]
                },
                "title_has_episode": {
                    "text": "{{ .Result.title_default }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\b(.+? - ?)(\\d+([-v]\\d+)?) ([\\[\\(])\\b"
                        },
                        {
                            "name": "append",
                            "args": "NULL"
                        }
                    ]
                },
                "title_has_movie_ova": {
                    "text": "{{ .Result.title_default }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(?i)(?<![A-Za-z0-9])(Movies?|OVA|OAV)(?![A-Za-z0-9])"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Movies?|OVA|OAV)",
                                "YES"
                            ]
                        }
                    ]
                },
                "title_optional": {
                    "text": "{{ .Result.title_default }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\[.+?].+?)\\s*(?<![\\]\\)])((?:\\[|\\(| - ).+)",
                                "{{ if and (ne .Result.title_has_movie_ova \"YES\") (and (eq .Result.title_has_season \"NULL\") (eq .Result.title_has_episode \"NULL\")) }}$1 S01 $2{{ else }}$1 $2{{ end }}"
                            ]
                        }
                    ]
                },
                "title_live_action": {
                    "text": "{{ .Result.title_optional }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(.+?)([\\. ])((?:19|20)\\d{2})([\\. ])(.+)$",
                                "{{ if and (eq .Result.title_has_season \"NULL\") (eq .Result.title_has_episode \"NULL\") }}$1$2$3$4S01$4$5{{ else }}$1$2$3$4$5{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^(?!.*(?:19|20)\\d{2})(.+?)([\\. ])((?:480|720|1080|2160)[pi])(.*)$",
                                "{{ if and (eq .Result.title_has_season \"NULL\") (eq .Result.title_has_episode \"NULL\") }}$1$2S01$2$3$4{{ else }}$1$2$3$4{{ end }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.sonarr_compatibility }}{{ .Result.title_live_action }}{{ else }}{{ .Result.title_default }}{{ end }}"
                },
                "details": {
                    "selector": "link"
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "infohash": {
                    "selector": "[name=infohash]",
                    "attribute": "value"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "[name=size]",
                    "attribute": "value"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=leechers]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "title"
                }
            }
        }
    },
    "animeworld-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "animeworld-api",
        "name": "AnimeWorld (API)",
        "description": "AnimeWorld (AW) is a GERMAN Private Torrent Tracker for ANIME / MANGA / HENTAI",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://animeworld.cx/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies/Other",
                    "desc": "Anime Filme"
                },
                {
                    "id": 2,
                    "cat": "TV/Anime",
                    "desc": "Anime Serien"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Anime Musik / OSTs"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Anime Spiele"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "Anime Hentai"
                },
                {
                    "id": 6,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Sonstiges"
                },
                {
                    "id": 8,
                    "cat": "Movies",
                    "desc": "Filme"
                },
                {
                    "id": 9,
                    "cat": "TV",
                    "desc": "Serien"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Spiele"
                },
                {
                    "id": 11,
                    "cat": "Audio",
                    "desc": "Musik"
                },
                {
                    "id": 12,
                    "cat": "Books",
                    "desc": "Manga"
                },
                {
                    "id": 13,
                    "cat": "Movies",
                    "desc": "Cartoon Filme"
                },
                {
                    "id": 14,
                    "cat": "TV",
                    "desc": "Cartoon Serie"
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "H-Manga / Doujinshi"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://animeworld.cx/\" target=\"_blank\">AnimeWorld</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "tmdbidonly",
                "type": "checkbox",
                "label": "Disable IMDB and TVDB ID search (only support TMDB ID) to potentially improve Sonarr and Radarr results",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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 are set as inactive by the system after 180 days. After 270 days in inactive status, the accounts are automatically deleted from the system."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "imdbId": "{{ if .Config.tmdbidonly }}{{ else }}{{ .Query.IMDBIDShort }}{{ end }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ if .Config.tmdbidonly }}{{ else }}{{ .Query.TVDBID }}{{ end }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "anisource": {
        "id": "anisource",
        "name": "AniSource",
        "description": "AniSource is a Public site for HD Anime raws.",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 5,
        "links": [
            "https://asnet.pw/"
        ],
        "settings": [],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Raw Animes"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                },
                {
                    "path": "/",
                    "inputs": {
                        "tpage": 2
                    }
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}"
            },
            "headers": {
                "User-Agent": [
                    "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4280.88 Safari/537.36"
                ]
            },
            "rows": {
                "selector": "div[class^=\"item\"]"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "a[href*=\"/showprofile/\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\[.+?\\]) (.+?)$",
                                "$2 $1"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href*=\"/showprofile/\"]",
                    "attribute": "href"
                },
                "infohash": {
                    "selector": "a[href*=\"/showprofile/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "date": {
                    "selector": "font[color=\"Black\"]",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Date: (.+?) Central"
                        },
                        {
                            "name": "replace",
                            "args": [
                                " at ",
                                " "
                            ]
                        },
                        {
                            "name": "append",
                            "args": " -09:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "font[color=\"Black\"]",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Size: (.+?) \\|"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "b",
                                "B"
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "font[color=\"Black\"]",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)$"
                        }
                    ]
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "anthelion-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "anthelion-api",
        "replaces": [
            "tehconnectionme",
            "anthelion"
        ],
        "name": "Anthelion (API)",
        "description": "Anthelion (ANT) is a Private Torrent Tracker for MOVIES",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://anthelion.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2000,
                    "cat": "Movies"
                },
                {
                    "id": 2030,
                    "cat": "Movies/SD"
                },
                {
                    "id": 2040,
                    "cat": "Movies/HD"
                },
                {
                    "id": 2045,
                    "cat": "Movies/UHD"
                },
                {
                    "id": 2050,
                    "cat": "Movies/BluRay"
                },
                {
                    "id": 2080,
                    "cat": "Movies/WEB-DL"
                },
                {
                    "id": 8000,
                    "cat": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Key by accessing your <a href=\"https://anthelion.me/\" target=\"_blank\">Anthelion</a> account <i>Settings</i> page and scrolling down to the <b>API Key</b> section.<br>Tick the <b>Search</b> and <b>Download</b> checkboxes and click the <b>save profile</b> button to generate the key."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Activity is defined as actually using your account, including the snatch/grab/seeding of torrents. You are also required to sign-in to the web frontend of Anthelion at least once per 3mo (90 days) (Note, using autodl/ARR does not satisfy this)."
            }
        ],
        "login": {
            "path": "api.php",
            "method": "get",
            "inputs": {
                "api_key": "{{ .Config.apikey }}"
            },
            "error": [
                {
                    "selector": ":root:contains(\"Unrecognized key\")",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"No API_KEY provided\")",
                    "message": {
                        "text": "You did not enter an API key."
                    }
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api.php",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "api_key": "{{ .Config.apikey }}",
                "o": "json",
                "t": "movie",
                "q": "{{ .Keywords }}",
                "tmdb": "{{ .Query.TMDBID }}",
                "imdb": "{{ .Query.IMDBIDShort }}",
                "limit": 100,
                "offset": 0
            },
            "rows": {
                "selector": "item",
                "count": {
                    "selector": "response.total"
                }
            },
            "fields": {
                "category": {
                    "selector": "category",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                ",",
                                -1
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "1\\d{5}",
                                "2000"
                            ]
                        }
                    ]
                },
                "year": {
                    "selector": "year",
                    "optional": true
                },
                "_codec": {
                    "selector": "codec"
                },
                "_container": {
                    "selector": "container",
                    "filters": [
                        {
                            "name": "toupper"
                        }
                    ]
                },
                "_media": {
                    "selector": "media",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "WEB",
                                "WEB-DL"
                            ]
                        }
                    ]
                },
                "_resolution": {
                    "selector": "resolution"
                },
                "_audioFormat": {
                    "selector": "audioFormat"
                },
                "_subbing": {
                    "selector": "subbing",
                    "optional": true
                },
                "_flags": {
                    "selector": "flags",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                ",",
                                " "
                            ]
                        }
                    ]
                },
                "_language": {
                    "selector": "language",
                    "optional": true
                },
                "_releaseGroup": {
                    "selector": "releaseGroup",
                    "optional": true,
                    "filters": [
                        {
                            "name": "trim"
                        }
                    ]
                },
                "title_optional": {
                    "selector": "title",
                    "filters": [
                        {
                            "name": "htmldecode"
                        },
                        {
                            "name": "append",
                            "args": " {{ .Result.year }} {{ .Result._resolution }} {{ .Result._media }} {{ .Result._container }} {{ .Result._codec }} {{ .Result._audioFormat }}{{ if .Result._subbing }} Subs{{ else }}{{ end }}{{ if .Result._flags }} {{ .Result._flags }}{{ else }}{{ end }}{{ if .Result._language }} {{ .Result._language }}{{ else }}{{ end }}{{ if and (.Result._releaseGroup) (ne .Result._releaseGroup \"NULL\") }}-{{ .Result._releaseGroup }}{{ else }}{{ end }}"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "M2TS H265",
                                "M2TS HEVC"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "M2TS H264",
                                "M2TS AVC"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "guid"
                },
                "download": {
                    "selector": "link",
                    "filters": [
                        {
                            "name": "htmldecode"
                        }
                    ]
                },
                "infohash": {
                    "selector": "infohash"
                },
                "imdbid": {
                    "selector": "imdb"
                },
                "tmdbid": {
                    "selector": "tmdb"
                },
                "genre": {
                    "selector": "tags",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                ".",
                                "_"
                            ]
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "files": {
                    "selector": "fileCount"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "grabs"
                },
                "date": {
                    "selector": "pubDate"
                },
                "size": {
                    "selector": "size"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                },
                "_filename": {
                    "selector": "files[0].name",
                    "filters": [
                        {
                            "name": "htmldecode"
                        }
                    ],
                    "optional": true
                },
                "title": {
                    "text": "{{ if and (eq .Result.files \"1\") (.Result._filename) }}{{ .Result._filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                }
            }
        }
    },
    "arabafenice": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "arabafenice",
        "name": "ArabaFenice",
        "description": "Araba Fenice (Phoenix) is an ITALIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "it-IT",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.arabafenice.me/"
        ],
        "legacylinks": [
            "http://www.arabafenice.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 34,
                    "cat": "Movies/HD",
                    "desc": "1080p HRS x264"
                },
                {
                    "id": 47,
                    "cat": "Movies/UHD",
                    "desc": "2160p 4K UHD HRS"
                },
                {
                    "id": 35,
                    "cat": "TV",
                    "desc": "Serie TV HRS"
                },
                {
                    "id": 36,
                    "cat": "Movies/SD",
                    "desc": "DVDRip HRS"
                },
                {
                    "id": 41,
                    "cat": "Movies/SD",
                    "desc": "BDRip 576p HRS"
                },
                {
                    "id": 39,
                    "cat": "Movies/HD",
                    "desc": "1080p HRS x265 HEVC"
                },
                {
                    "id": 33,
                    "cat": "Movies/HD",
                    "desc": "[DD] Film 720p MP4"
                },
                {
                    "id": 54,
                    "cat": "Movies/HD",
                    "desc": "[DD] 1080p V.U. MKV"
                },
                {
                    "id": 55,
                    "cat": "Movies/BluRay",
                    "desc": "[DD] FULL BluRay"
                },
                {
                    "id": 57,
                    "cat": "Movies/UHD",
                    "desc": "[DD] 4K FULL BluRay"
                },
                {
                    "id": 58,
                    "cat": "XXX",
                    "desc": "[DD] XXX 1080p"
                },
                {
                    "id": 59,
                    "cat": "XXX",
                    "desc": "[DD] XXX 4K 2160p"
                },
                {
                    "id": 60,
                    "cat": "XXX",
                    "desc": "[DD] XXX 720p"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "News Cinema"
                },
                {
                    "id": 40,
                    "cat": "TV/UHD",
                    "desc": "4K Video Untouched"
                },
                {
                    "id": 2,
                    "cat": "Movies/SD",
                    "desc": "BD-DVDRip"
                },
                {
                    "id": 3,
                    "cat": "Movies/DVD",
                    "desc": "DVD 5"
                },
                {
                    "id": 50,
                    "cat": "Movies/UHD",
                    "desc": "4K 2160p UHD"
                },
                {
                    "id": 6,
                    "cat": "Movies/BluRay",
                    "desc": "BluRay Full"
                },
                {
                    "id": 4,
                    "cat": "Movies/HD",
                    "desc": "1080p 3D x264"
                },
                {
                    "id": 7,
                    "cat": "Movies/HD",
                    "desc": "1080p x264"
                },
                {
                    "id": 46,
                    "cat": "Movies/HD",
                    "desc": "1080p VideoUntouched"
                },
                {
                    "id": 44,
                    "cat": "Movies/HD",
                    "desc": "1080p x265 HEVC"
                },
                {
                    "id": 5,
                    "cat": "Movies/DVD",
                    "desc": "DVD 9"
                },
                {
                    "id": 9,
                    "cat": "TV/Anime",
                    "desc": "Cartoons"
                },
                {
                    "id": 8,
                    "cat": "TV/Anime",
                    "desc": "720p x264"
                },
                {
                    "id": 12,
                    "cat": "TV",
                    "desc": "Stagioni Concluse"
                },
                {
                    "id": 13,
                    "cat": "TV",
                    "desc": "Stagioni in Onda"
                },
                {
                    "id": 14,
                    "cat": "TV",
                    "desc": "TV Show"
                },
                {
                    "id": 42,
                    "cat": "TV",
                    "desc": "Serie Tv Sub Ita"
                },
                {
                    "id": 15,
                    "cat": "TV/Documentary",
                    "desc": "Documentari"
                },
                {
                    "id": 53,
                    "cat": "TV/HD",
                    "desc": "VIDEO MP4 720p"
                },
                {
                    "id": 38,
                    "cat": "XXX",
                    "desc": "xXx"
                },
                {
                    "id": 43,
                    "cat": "Other",
                    "desc": "Araba per il sociale"
                },
                {
                    "id": 17,
                    "cat": "Audio",
                    "desc": "Musica Italiana"
                },
                {
                    "id": 45,
                    "cat": "Audio",
                    "desc": "Discografie"
                },
                {
                    "id": 18,
                    "cat": "Audio",
                    "desc": "MusicaInternazionale"
                },
                {
                    "id": 19,
                    "cat": "Audio",
                    "desc": "Compilation"
                },
                {
                    "id": 21,
                    "cat": "Books",
                    "desc": "Ebook"
                },
                {
                    "id": 22,
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": 23,
                    "cat": "Books",
                    "desc": "Newsstand"
                },
                {
                    "id": 56,
                    "cat": "Books/Mags",
                    "desc": "Riviste"
                },
                {
                    "id": 48,
                    "cat": "XXX/Other",
                    "desc": "Riviste xXx"
                },
                {
                    "id": 49,
                    "cat": "XXX/Other",
                    "desc": "Fumetti xXx"
                },
                {
                    "id": 25,
                    "cat": "Console/PS4",
                    "desc": "Sony Games"
                },
                {
                    "id": 26,
                    "cat": "Console/XBox",
                    "desc": "XboX Games"
                },
                {
                    "id": 27,
                    "cat": "Console/Other",
                    "desc": "Nintendo Games"
                },
                {
                    "id": 28,
                    "cat": "PC/Games",
                    "desc": "PC Games"
                },
                {
                    "id": 30,
                    "cat": "PC/ISO",
                    "desc": "Windows APP"
                },
                {
                    "id": 31,
                    "cat": "PC/Mobile-iOS",
                    "desc": "Apple APP"
                },
                {
                    "id": 32,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android APP"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "index.php?page=login",
            "method": "post",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "body[onLoad^=\"makeAlert('\"]",
                    "message": {
                        "selector": "body[onLoad^=\"makeAlert('\"]",
                        "attribute": "onLoad",
                        "filters": [
                            {
                                "name": "replace",
                                "args": [
                                    "makeAlert('Error' , '",
                                    ""
                                ]
                            },
                            {
                                "name": "replace",
                                "args": [
                                    "');",
                                    ""
                                ]
                            }
                        ]
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "before": {
                "path": "thanks.php",
                "method": "post",
                "inputs": {
                    "infohash": "{{ .DownloadUri.Query.id }}",
                    "thanks": 1,
                    "rndval": "1487013827343"
                }
            },
            "selectors": [
                {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "^(.+?)&key="
                        }
                    ]
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "diacritics",
                    "args": "replace"
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "$1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "$1 $2"
                    ]
                }
            ],
            "inputs": {
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBIDShort }}{{ else }}{{ .Keywords }}{{ end }}",
                "page": "torrents",
                "category": "{{ range .Categories }}{{.}};{{end}}",
                "options": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "active": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table > tbody > tr > td > table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"])"
            },
            "fields": {
                "download": {
                    "selector": "a[href^=\"index.php?page=downloadcheck&id=\"]",
                    "attribute": "href"
                },
                "title": {
                    "selector": "a[onmouseover][href^=\"index.php?page=torrent-details&id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bS(\\d+)\\sE(\\d+)\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d{2})x(\\d+)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1})x(\\d+)",
                                "S0$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStagion[ei]\\s?(\\d{1})\\b|\\bSeason'?s?\\s?(\\d{1})\\b",
                                "S0$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStagion[ei]\\s?(\\d{2,})\\b|\\bSeason'?s?\\s?(\\d{2,})\\b",
                                "S$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:[\\/\\|]?Episodio\\s?(\\d+)|Puntata\\s?(\\d+))",
                                "E$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:Puntate\\s*)(\\d+)\\s?(\\d+)",
                                "E0$1-0$2"
                            ]
                        }
                    ]
                },
                "poster": {
                    "selector": "a[onmouseover][href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.*?) "
                        }
                    ]
                },
                "category": {
                    "selector": "a[href^=\"index.php?page=torrents&category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "details": {
                    "selector": "a[onmouseover][href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "date": {
                    "selector": "td:nth-last-child(9)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy zzz"
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-last-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(7)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[alt=\"Gold 100% Free\"]": 0,
                        "img[alt=\"Silver 50% Free\"]": 0.5,
                        "img[alt=\"Bronze 25% Free\"]": 0.75,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[alt=\"2x Upload Multiplier\"]": 2,
                        "img[alt=\"3x Upload Multiplier\"]": 3,
                        "img[alt=\"4x Upload Multiplier\"]": 4,
                        "img[alt=\"5x Upload Multiplier\"]": 5,
                        "img[alt=\"6x Upload Multiplier\"]": 6,
                        "img[alt=\"7x Upload Multiplier\"]": 7,
                        "img[alt=\"8x Upload Multiplier\"]": 8,
                        "img[alt=\"9x Upload Multiplier\"]": 9,
                        "img[alt=\"10x Upload Multiplier\"]": 10,
                        "*": 1
                    }
                }
            }
        }
    },
    "arabicsource-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "arabicsource-api",
        "name": "ArabicSource (API)",
        "description": "ArabicSource is an ARABIC Private Torrent Tracker for MOVIES / TV",
        "language": "ar-SA",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://arabicsource.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "أفلام رسوم مدبلجة (Dubbed Animated Films)"
                },
                {
                    "id": 2,
                    "cat": "Movies",
                    "desc": "أفلام الرسوم المدبلجة (Subtitled Animated Films)"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "الأفلام العربية (Arabic Films)"
                },
                {
                    "id": 4,
                    "cat": "Movies",
                    "desc": "أفلام أجنبية (Foreign Films)"
                },
                {
                    "id": 5,
                    "cat": "TV",
                    "desc": "مسلسلات رسوم مدبلجة (Dubbed Animated Series)"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "مسلسلات رسوم مترجمة (Subtitled Animated Series)"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "مسلسلات عربية (Arabic Series)"
                },
                {
                    "id": 22,
                    "cat": "TV",
                    "desc": "مسلسلات أجنبية (Foreign Series)"
                },
                {
                    "id": 8,
                    "cat": "TV",
                    "desc": "مسرحيات (Plays)"
                },
                {
                    "id": 10,
                    "cat": "Other",
                    "desc": "إسلاميات (Islamic Content)"
                },
                {
                    "id": 11,
                    "cat": "Other",
                    "desc": "رمضانيات (Ramadan Content)"
                },
                {
                    "id": 12,
                    "cat": "Other",
                    "desc": "منوعات (Variety)"
                },
                {
                    "id": 13,
                    "cat": "Audio",
                    "desc": "صوتيات (Audio)"
                },
                {
                    "id": 14,
                    "cat": "Movies",
                    "desc": "كرتون كلاسيك (Classic Cartoons)"
                },
                {
                    "id": 21,
                    "cat": "Movies",
                    "desc": "أفلام كرتون كلاسيك (Classic Animated Films)"
                },
                {
                    "id": 20,
                    "cat": "TV/Documentary",
                    "desc": "مسلسلات وثائقيات (Documentary Series)"
                },
                {
                    "id": 9,
                    "cat": "Movies",
                    "desc": "أفلام وثائقيات (Documentary Films)"
                },
                {
                    "id": 19,
                    "cat": "Other",
                    "desc": "تورينتات ضائعة (Lost Torrents)"
                },
                {
                    "id": 15,
                    "cat": "Other",
                    "desc": "تورنت خام (Raw Torrents)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://arabicsource.net/\" target=\"_blank\">ArabicSource</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "The maximum number of days you can stay away from the site is 40 days, and only if you suspend the account, you will get a grace period of 180 days, but you must contact the administration in advance so that this is added to your personal account and you are not exposed to expulsion."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1.05
                }
            }
        }
    },
    "arabp2p": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "arabp2p",
        "name": "ArabP2P",
        "description": "ArabP2P is an ARABIC Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ar-AE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.arabp2p.net/"
        ],
        "legacylinks": [
            "http://www.arabp2p.com/",
            "https://www.arabp2p.com/"
        ],
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "You must log in periodically. If the member is absent from the website for a period of 3 months, the account will be deleted without prior warning."
            }
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 117,
                    "cat": "TV",
                    "desc": "ارمضان 2026 (Ramadan)"
                },
                {
                    "id": 14,
                    "cat": "Movies",
                    "desc": "اسلامي (Islamic)"
                },
                {
                    "id": 19,
                    "cat": "TV/Documentary",
                    "desc": "وثائقي (Documentary)"
                },
                {
                    "id": 70,
                    "cat": "TV",
                    "desc": "تعليمي (Educational)"
                },
                {
                    "id": 41,
                    "cat": "Movies",
                    "desc": "افلام عربيه (Arabic Movies)"
                },
                {
                    "id": 88,
                    "cat": "Movies",
                    "desc": "افلام مدبلجه عربي (Arabic Dubbed Movies)"
                },
                {
                    "id": 44,
                    "cat": "TV",
                    "desc": "مسلسلات عربية (Arabic Series)"
                },
                {
                    "id": 89,
                    "cat": "TV",
                    "desc": "مسلسلات عربية كامله (Full Arabic Series)"
                },
                {
                    "id": 52,
                    "cat": "TV",
                    "desc": "مسرحيات (Plays)"
                },
                {
                    "id": 71,
                    "cat": "TV",
                    "desc": "مسلسلات مدبلجه عربي (Arabic Dubbed Series)"
                },
                {
                    "id": 90,
                    "cat": "TV",
                    "desc": "برامج ومسابقات (Shows)"
                },
                {
                    "id": 92,
                    "cat": "TV/Foreign",
                    "desc": "تعليمي (Educational)"
                },
                {
                    "id": 93,
                    "cat": "TV/Documentary",
                    "desc": "وثائقي (Documentary)"
                },
                {
                    "id": 45,
                    "cat": "TV/Foreign",
                    "desc": "مسلسلات وبرامج اجنبيه (Serials)"
                },
                {
                    "id": 57,
                    "cat": "TV/Foreign",
                    "desc": "مسلسلات آسيوية (Asian Series)"
                },
                {
                    "id": 42,
                    "cat": "Movies/Foreign",
                    "desc": "افلام اجنبيه (Foreign)"
                },
                {
                    "id": 74,
                    "cat": "Movies/HD",
                    "desc": "جودة عالية HD"
                },
                {
                    "id": 113,
                    "cat": "TV/Foreign",
                    "desc": "مسلسلات لاتينية مترجم.مدبلج(Latin Series"
                },
                {
                    "id": 59,
                    "cat": "Movies/Foreign",
                    "desc": "افلام آسيوية (Asian Movies)"
                },
                {
                    "id": 86,
                    "cat": "Movies/Foreign",
                    "desc": "افلام هنديه (Indian Movies)"
                },
                {
                    "id": 114,
                    "cat": "Movies/Foreign",
                    "desc": "افلام لاتينية مترجم.مدبلج (Latin Movies)"
                },
                {
                    "id": 115,
                    "cat": "TV/Foreign",
                    "desc": "مسلسلات تركية مترجم.مدبلج (Turkish Series)"
                },
                {
                    "id": 116,
                    "cat": "Movies/Foreign",
                    "desc": "افلام تركية مترجم.مدبلج (Turkish Movies)"
                },
                {
                    "id": 98,
                    "cat": "TV/Anime",
                    "desc": "افلام (Movies)"
                },
                {
                    "id": 100,
                    "cat": "TV/Anime",
                    "desc": "مسلسلات (Series)"
                },
                {
                    "id": 102,
                    "cat": "TV/Anime",
                    "desc": "حلقات (Episdoes)"
                },
                {
                    "id": 99,
                    "cat": "TV/Anime",
                    "desc": "افلام (Movies)"
                },
                {
                    "id": 101,
                    "cat": "TV/Anime",
                    "desc": "مسلسلات (Series)"
                },
                {
                    "id": 103,
                    "cat": "TV/Anime",
                    "desc": "حلقات (Episodes)"
                },
                {
                    "id": 85,
                    "cat": "TV/Anime",
                    "desc": "الكارتون الصامت والكلاسيكي (Cartoons)"
                },
                {
                    "id": 25,
                    "cat": "Audio",
                    "desc": "القران الكريم (The Holy Quran)"
                },
                {
                    "id": 27,
                    "cat": "Audio",
                    "desc": "محاضرات (Lectures)"
                },
                {
                    "id": 26,
                    "cat": "Audio",
                    "desc": "اناشيد (Chants)"
                },
                {
                    "id": 118,
                    "cat": "Audio",
                    "desc": "برامج صوتية (Programs)"
                },
                {
                    "id": 22,
                    "cat": "PC",
                    "desc": "برامج عربية (Arabic Software)"
                },
                {
                    "id": 23,
                    "cat": "PC",
                    "desc": "برامج عامه (Public Software)"
                },
                {
                    "id": 17,
                    "cat": "Books",
                    "desc": "كتب (Books)"
                },
                {
                    "id": 65,
                    "cat": "Other",
                    "desc": "صور (Images)"
                },
                {
                    "id": 56,
                    "cat": "Other",
                    "desc": "رياضي (Sport)"
                },
                {
                    "id": 46,
                    "cat": "Other",
                    "desc": "منوع (Misc)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "login": {
            "path": "index.php",
            "method": "form",
            "form": "form[action^=\"index.php?page=login\"]",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "tr td span[style=\"color:#FF0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?t=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ .Keywords }}",
                "category": 0,
                "active": 0,
                "internel": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\b(\\d{1,2})x(\\d{1,3})\\b",
                        "S$1E$2"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS(\\d{1,2})\\s+E(\\d{1,3})\\b",
                        "S$1E$2"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS(\\d)(?=E)",
                        "S0$1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)E(\\d)\\b",
                        "E0$1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "\\s{2,}",
                        " "
                    ]
                },
                {
                    "name": "trim"
                }
            ],
            "rows": {
                "selector": "table#torrents_list_p > tbody > tr:has(a[href^=\"download.php?id=\"]), table#torrents_list_p > tbody > tr:has(a[href^=\"magnet:?xt=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"index.php?page=torrents&category=\"]:last-child",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"index.php?page=torrent-details\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?<=\\d)\\s+(?=\\d)",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[(\\d+(?:[\\s-]+\\d+)*)\\]\\s*\\[(\\d{4})\\]\\s*\\[م(\\d+)\\]",
                                "S$3E$1 [$2]"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[(\\d+(?:[\\s-]+\\d+)*)\\]\\s*\\[م(\\d+)\\]",
                                "S$2E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[(E\\d+(?:[\\s-]+E\\d+)?)\\]\\s*\\[(S\\d+)\\]",
                                "$2$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[(S\\d+)\\]\\s*\\[(E\\d+(?:[\\s-]+E\\d+)?)\\]",
                                "$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^\\[(\\d+(?:[\\s-]+\\d+)*)\\](?!\\s*\\[م)",
                                "S01E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "E(\\d+)[\\s-]+(\\d+)\\b",
                                "E$1-E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[\\s*\\]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?<=\\S)(\\[)",
                                " $1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "S(\\d)(?=E)",
                                "S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "E(\\d)(?=\\D)",
                                "E0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s{2,}",
                                " "
                            ]
                        },
                        {
                            "name": "trim"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"index.php?page=torrent-details\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href",
                    "optional": true
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href",
                    "optional": true
                },
                "poster": {
                    "selector": "a.screenshot",
                    "attribute": "rel"
                },
                "date": {
                    "selector": "span.upload-date > span",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yy-MM-dd hh:mm:ss tt"
                        }
                    ]
                },
                "size": {
                    "selector": "span.size"
                },
                "seeders": {
                    "selector": "span[title=\"Seeders\"]"
                },
                "leechers": {
                    "selector": "span[title=\"Leechers\"]"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.free": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.8
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "arabscene": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "arabscene",
        "name": "ArabScene",
        "description": "ArabScene is an ARABIC Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ar-AE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://arabscene.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 103,
                    "cat": "Other",
                    "desc": "منوعات"
                },
                {
                    "id": 105,
                    "cat": "Other",
                    "desc": "  |-- مسرحيات"
                },
                {
                    "id": 104,
                    "cat": "TV/Other",
                    "desc": "  |-- اسلاميات "
                },
                {
                    "id": 120,
                    "cat": "TV/Other",
                    "desc": "  |-- توك شــو"
                },
                {
                    "id": 106,
                    "cat": "PC/0day",
                    "desc": "  |-- دورات تعليمية "
                },
                {
                    "id": 117,
                    "cat": "TV/Foreign",
                    "desc": "مسلسلات مترجمة "
                },
                {
                    "id": 122,
                    "cat": "TV/Foreign",
                    "desc": "  |--  beIN "
                },
                {
                    "id": 123,
                    "cat": "TV/Foreign",
                    "desc": "  |-- OSN"
                },
                {
                    "id": 128,
                    "cat": "TV/Foreign",
                    "desc": "  |-- اجنبى"
                },
                {
                    "id": 160,
                    "cat": "TV/Foreign",
                    "desc": "  |-- تركى"
                },
                {
                    "id": 174,
                    "cat": "TV/Foreign",
                    "desc": "  |-- حلقات منفردة"
                },
                {
                    "id": 133,
                    "cat": "TV/Foreign",
                    "desc": "مسلسلات مدبلجة"
                },
                {
                    "id": 136,
                    "cat": "TV/Foreign",
                    "desc": "  |-- هندى"
                },
                {
                    "id": 140,
                    "cat": "TV/Foreign",
                    "desc": "  |-- اجنبى"
                },
                {
                    "id": 173,
                    "cat": "TV/Foreign",
                    "desc": "  |-- تركى"
                },
                {
                    "id": 175,
                    "cat": "TV/Foreign",
                    "desc": "  |-- حلقات منفردة"
                },
                {
                    "id": 56,
                    "cat": "TV",
                    "desc": "VIP"
                },
                {
                    "id": 81,
                    "cat": "TV",
                    "desc": "  |-- Full-Pack"
                },
                {
                    "id": 53,
                    "cat": "TV/Foreign",
                    "desc": "  |-- مسلسلات مدبلجة "
                },
                {
                    "id": 55,
                    "cat": "TV",
                    "desc": "  |-- مسلسلات عربية "
                },
                {
                    "id": 57,
                    "cat": "Movies",
                    "desc": "  |-- افلام عربية "
                },
                {
                    "id": 54,
                    "cat": "TV/Anime",
                    "desc": "  |-- الكرتون والانمى "
                },
                {
                    "id": 58,
                    "cat": "TV/WEB-DL",
                    "desc": "Web-DL"
                },
                {
                    "id": 65,
                    "cat": "Movies/WEB-DL",
                    "desc": "  |-- Arabic Movies"
                },
                {
                    "id": 66,
                    "cat": "TV/WEB-DL",
                    "desc": "  |-- Arabic Series"
                },
                {
                    "id": 67,
                    "cat": "TV/WEB-DL",
                    "desc": "  |-- Dubbed Series"
                },
                {
                    "id": 73,
                    "cat": "TV/WEB-DL",
                    "desc": "  |-- Full-Pack "
                },
                {
                    "id": 113,
                    "cat": "Movies/Foreign",
                    "desc": "افلام مترجمة "
                },
                {
                    "id": 121,
                    "cat": "Movies/Foreign",
                    "desc": "  |-- beIN"
                },
                {
                    "id": 125,
                    "cat": "Movies/Foreign",
                    "desc": "  |-- OSN"
                },
                {
                    "id": 115,
                    "cat": "Movies/Foreign",
                    "desc": "  |-- هندى  "
                },
                {
                    "id": 114,
                    "cat": "Movies/Foreign",
                    "desc": "  |-- اجنبى"
                },
                {
                    "id": 161,
                    "cat": "Movies/Foreign",
                    "desc": "  |-- تركى"
                },
                {
                    "id": 143,
                    "cat": "Movies/Foreign",
                    "desc": "افلام مدبلجة"
                },
                {
                    "id": 149,
                    "cat": "Movies/Foreign",
                    "desc": "  |-- beIN"
                },
                {
                    "id": 148,
                    "cat": "Movies/Foreign",
                    "desc": "  |-- OSN"
                },
                {
                    "id": 145,
                    "cat": "Movies/Foreign",
                    "desc": "  |-- هندى"
                },
                {
                    "id": 146,
                    "cat": "Movies/Foreign",
                    "desc": "  |-- اجنبى"
                },
                {
                    "id": 144,
                    "cat": "Movies/Foreign",
                    "desc": "  |-- تركى"
                },
                {
                    "id": 109,
                    "cat": "Audio",
                    "desc": "الموسيقى العربية "
                },
                {
                    "id": 110,
                    "cat": "Audio/Lossless",
                    "desc": "  |-- FLAC"
                },
                {
                    "id": 111,
                    "cat": "Audio/MP3",
                    "desc": "  |-- Mp3"
                },
                {
                    "id": 112,
                    "cat": "Audio",
                    "desc": "  |-- كليبات"
                },
                {
                    "id": 99,
                    "cat": "TV",
                    "desc": "المسلسلات العربية"
                },
                {
                    "id": 100,
                    "cat": "TV",
                    "desc": "  |-- مصرية"
                },
                {
                    "id": 139,
                    "cat": "TV",
                    "desc": "  |-- مغربية"
                },
                {
                    "id": 138,
                    "cat": "TV",
                    "desc": "  |-- تونسية"
                },
                {
                    "id": 172,
                    "cat": "TV",
                    "desc": "  |-- حلقات منفردة"
                },
                {
                    "id": 101,
                    "cat": "TV",
                    "desc": "  |-- خليجية"
                },
                {
                    "id": 102,
                    "cat": "TV",
                    "desc": "  |-- سورية"
                },
                {
                    "id": 84,
                    "cat": "TV/Documentary",
                    "desc": "الوثائقيات "
                },
                {
                    "id": 85,
                    "cat": "TV/Documentary",
                    "desc": "  |-- مترجمة"
                },
                {
                    "id": 87,
                    "cat": "TV/Documentary",
                    "desc": "  |-- عربية "
                },
                {
                    "id": 89,
                    "cat": "Movies",
                    "desc": "الافلام العربية"
                },
                {
                    "id": 95,
                    "cat": "Movies",
                    "desc": "  |-- 2000s"
                },
                {
                    "id": 137,
                    "cat": "Movies",
                    "desc": "  |-- 2010s"
                },
                {
                    "id": 49,
                    "cat": "Movies",
                    "desc": "  |-- 2020s"
                },
                {
                    "id": 98,
                    "cat": "Movies",
                    "desc": "  |-- 40s"
                },
                {
                    "id": 90,
                    "cat": "Movies",
                    "desc": "  |-- 50s"
                },
                {
                    "id": 91,
                    "cat": "Movies",
                    "desc": "  |-- 60s"
                },
                {
                    "id": 92,
                    "cat": "Movies",
                    "desc": "  |-- 70s"
                },
                {
                    "id": 93,
                    "cat": "Movies",
                    "desc": "  |-- 80s"
                },
                {
                    "id": 94,
                    "cat": "Movies",
                    "desc": "  |-- 90s"
                },
                {
                    "id": 4,
                    "cat": "Movies/Other",
                    "desc": "الرسوم المتحركة"
                },
                {
                    "id": 5,
                    "cat": "Movies/Other",
                    "desc": "  |-- مترجم"
                },
                {
                    "id": 6,
                    "cat": "Movies/Other",
                    "desc": "  |-- مدبلج"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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": "All inactive accounts will be deleted after 60 days of inactivity."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "table:has(td.thead:contains(\"error\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "download": {
            "before": {
                "path": "takethanks.php",
                "method": "post",
                "inputs": {
                    "torrentid": "{{ .DownloadUri.Query.id }}"
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "do": "search",
                "keywords": "{{ .Keywords }}",
                "search_type": "t_both",
                "category": 0,
                "include_dead_torrents": true,
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table#sortabletable > tbody > tr:has(span > a[href*=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href*=\"/details.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?<=\\d)\\s+(?=\\d)",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[(\\d+(?:[\\s-]+\\d+)*)\\]\\s*\\[(\\d{4})\\]\\s*\\[م(\\d+)\\]",
                                "S$3E$1 [$2]"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[(\\d+(?:[\\s-]+\\d+)*)\\]\\s*\\[م(\\d+)\\]",
                                "S$2E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^\\[(\\d+(?:[\\s-]+\\d+)*)\\](?!\\s*\\[م)",
                                "S01E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "E(\\d+)[\\s-]+(\\d+)",
                                "E$1-E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[\\s*\\]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?<=\\S)(\\[)",
                                " $1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "S(\\d)(?=E)",
                                "S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "E(\\d)(?=\\D)",
                                "E0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s{2,}",
                                " "
                            ]
                        },
                        {
                            "name": "trim"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href*=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/download.php?id=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(2) > div:nth-child(3)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{2}-\\d{2}-\\d{4} \\d{2}:\\d{2})"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "poster": {
                    "selector": "div.tooltip-content > img[src*=\"/torrents/\"]",
                    "attribute": "src"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"torrent_flags/freedownload.gif\"]": 0,
                        "img[src$=\"torrent_flags/silverdownload.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"torrent_flags/x2.gif\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "arabtorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "arabtorrents",
        "name": "ArabTorrents",
        "description": "ArabTorrents is an ARABIC Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ar-AE",
        "type": "private",
        "encoding": "windows-1256",
        "requestDelay": 2,
        "links": [
            "https://arab-torrents.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 36,
                    "cat": "Movies",
                    "desc": "Movies/Dubbed"
                },
                {
                    "id": 134,
                    "cat": "Movies",
                    "desc": "HD Section"
                },
                {
                    "id": 135,
                    "cat": "Movies/HD",
                    "desc": "Movies/HD Section"
                },
                {
                    "id": 204,
                    "cat": "Movies/HD",
                    "desc": "R5/HD Section"
                },
                {
                    "id": 119,
                    "cat": "Movies/SD",
                    "desc": "Movies/SD TV"
                },
                {
                    "id": 205,
                    "cat": "Movies/Foreign",
                    "desc": "Foreign"
                },
                {
                    "id": 208,
                    "cat": "Movies/Foreign",
                    "desc": "Stranger/Foreign"
                },
                {
                    "id": 209,
                    "cat": "Movies/Foreign",
                    "desc": "Turkish/Foreign"
                },
                {
                    "id": 207,
                    "cat": "Movies/Foreign",
                    "desc": "Indian/Foreign"
                },
                {
                    "id": 191,
                    "cat": "Movies",
                    "desc": "Movies/Golden-VIP"
                },
                {
                    "id": 190,
                    "cat": "Movies",
                    "desc": "Movies/Super VIP"
                },
                {
                    "id": 212,
                    "cat": "Movies",
                    "desc": "Movies/VIP"
                },
                {
                    "id": 181,
                    "cat": "Movies",
                    "desc": "Classic Movies/WEB-DL"
                },
                {
                    "id": 167,
                    "cat": "Movies",
                    "desc": "Movies/WEB-DL"
                },
                {
                    "id": 186,
                    "cat": "TV",
                    "desc": "Dubbed"
                },
                {
                    "id": 166,
                    "cat": "TV/WEB-DL",
                    "desc": "WEB-DL"
                },
                {
                    "id": 168,
                    "cat": "TV/WEB-DL",
                    "desc": "Series/WEB-DL"
                },
                {
                    "id": 171,
                    "cat": "TV/WEB-DL",
                    "desc": "TV Shows/WEB-DL"
                },
                {
                    "id": 180,
                    "cat": "TV/WEB-DL",
                    "desc": "Classic Series/WEB-DL"
                },
                {
                    "id": 169,
                    "cat": "TV/WEB-DL",
                    "desc": "Full-Pack/WEB-DL"
                },
                {
                    "id": 210,
                    "cat": "Other",
                    "desc": "VIP"
                },
                {
                    "id": 211,
                    "cat": "TV",
                    "desc": "TV Shows/VIP"
                },
                {
                    "id": 213,
                    "cat": "TV",
                    "desc": "Full-Pack/VIP"
                },
                {
                    "id": 94,
                    "cat": "TV",
                    "desc": "Super VIP"
                },
                {
                    "id": 189,
                    "cat": "TV",
                    "desc": "TV Shows/Super VIP"
                },
                {
                    "id": 201,
                    "cat": "TV",
                    "desc": "Full-Pack/Super VIP"
                },
                {
                    "id": 197,
                    "cat": "TV",
                    "desc": "TV Shows/Ramadan 2022"
                },
                {
                    "id": 148,
                    "cat": "TV/Other",
                    "desc": "Series/OSN"
                },
                {
                    "id": 149,
                    "cat": "TV/Other",
                    "desc": "TV Show/OSN"
                },
                {
                    "id": 165,
                    "cat": "TV",
                    "desc": "Golden-VIP"
                },
                {
                    "id": 185,
                    "cat": "TV",
                    "desc": "Series/Golden-VIP"
                },
                {
                    "id": 200,
                    "cat": "TV",
                    "desc": "Full-Pack/Golden-VIP"
                },
                {
                    "id": 26,
                    "cat": "TV/SD",
                    "desc": "SD TV"
                },
                {
                    "id": 78,
                    "cat": "TV/SD",
                    "desc": "Series/SD TV"
                },
                {
                    "id": 124,
                    "cat": "TV/SD",
                    "desc": "FullPack/SD TV"
                },
                {
                    "id": 136,
                    "cat": "TV/HD",
                    "desc": "Series/HD Section"
                },
                {
                    "id": 137,
                    "cat": "TV/HD",
                    "desc": "TV Shows/HD Section"
                },
                {
                    "id": 182,
                    "cat": "TV/HD",
                    "desc": "Full Pack/HD Section"
                },
                {
                    "id": 187,
                    "cat": "TV/Foreign",
                    "desc": "TV Shows/Dubbed"
                },
                {
                    "id": 188,
                    "cat": "TV/Foreign",
                    "desc": "Full-Pack/Dubbed"
                },
                {
                    "id": 33,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 51,
                    "cat": "TV/Anime",
                    "desc": "Series/Anime"
                },
                {
                    "id": 129,
                    "cat": "Movies/BluRay",
                    "desc": "Blu-Ray/Anime"
                },
                {
                    "id": 125,
                    "cat": "TV",
                    "desc": "Full-Pack/Anime"
                },
                {
                    "id": 50,
                    "cat": "Movies",
                    "desc": "Movies/Anime"
                },
                {
                    "id": 67,
                    "cat": "Other",
                    "desc": "Islamic"
                },
                {
                    "id": 126,
                    "cat": "TV",
                    "desc": "Full-Packs/Islamic"
                },
                {
                    "id": 91,
                    "cat": "Audio/MP3",
                    "desc": "MP3/Islamic"
                },
                {
                    "id": 92,
                    "cat": "Other",
                    "desc": "Video/Islamic"
                },
                {
                    "id": 16,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 177,
                    "cat": "Audio",
                    "desc": "Flac/Music"
                },
                {
                    "id": 127,
                    "cat": "Audio",
                    "desc": "Full-Packs/Music"
                },
                {
                    "id": 17,
                    "cat": "Audio/MP3",
                    "desc": "MP3/Music"
                },
                {
                    "id": 19,
                    "cat": "Audio/Video",
                    "desc": "Videos/Music"
                },
                {
                    "id": 146,
                    "cat": "TV/Other",
                    "desc": "OSN"
                },
                {
                    "id": 147,
                    "cat": "TV/Other",
                    "desc": "Arabic/OSN"
                },
                {
                    "id": 153,
                    "cat": "TV/Other",
                    "desc": "English/OSN"
                },
                {
                    "id": 179,
                    "cat": "TV/Other",
                    "desc": "Old/OSN"
                },
                {
                    "id": 192,
                    "cat": "Other",
                    "desc": "Ramadan 2022"
                },
                {
                    "id": 198,
                    "cat": "Other",
                    "desc": "Full Pack/Ramadan 2022"
                },
                {
                    "id": 193,
                    "cat": "Other",
                    "desc": "Ramadan HD/Ramadan 2022"
                },
                {
                    "id": 195,
                    "cat": "Other",
                    "desc": "Ramadan Khaliji/Ramadan 2022"
                },
                {
                    "id": 194,
                    "cat": "Other",
                    "desc": "Ramadan SD/Ramadan 2022"
                },
                {
                    "id": 196,
                    "cat": "Other",
                    "desc": "Ramadan Web/Ramadan 2022"
                },
                {
                    "id": 120,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 159,
                    "cat": "TV/Sport",
                    "desc": "Full Matches/Sports"
                },
                {
                    "id": 155,
                    "cat": "TV/Sport",
                    "desc": "Goals/Sports"
                },
                {
                    "id": 102,
                    "cat": "TV/Other",
                    "desc": "Other/SD TV"
                },
                {
                    "id": 202,
                    "cat": "Other",
                    "desc": "AT"
                },
                {
                    "id": 203,
                    "cat": "Other",
                    "desc": "AT/AT"
                },
                {
                    "id": 34,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 132,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android/Misc"
                },
                {
                    "id": 163,
                    "cat": "TV/Documentary",
                    "desc": "Documentary/Misc"
                },
                {
                    "id": 122,
                    "cat": "Other",
                    "desc": "Other/Misc"
                },
                {
                    "id": 121,
                    "cat": "Other",
                    "desc": "Theater/Misc"
                },
                {
                    "id": 214,
                    "cat": "Other",
                    "desc": "Other/VIP"
                }
            ],
            "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": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "table:has(td.thead:contains(\"حدث خطأ\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "download": {
            "before": {
                "path": "takethanks.php",
                "method": "post",
                "inputs": {
                    "torrentid": "{{ re_replace .DownloadUri.PathAndQuery \".*download-torrent-(\\d+).*\" \"$1\"}}"
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "do": "search",
                "keywords": "{{ .Keywords }}",
                "search_type": "t_both",
                "category": 0,
                "include_dead_torrents": true,
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\W+",
                        "*"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "^(.+)$",
                        "*$1*"
                    ]
                }
            ],
            "rows": {
                "selector": "table#sortabletable > tbody > tr:has(span > a[href*=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "td a[href*=\"/torrent-category-\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "torrent-category-(\\d+)/"
                        }
                    ]
                },
                "title": {
                    "selector": "td div.tooltip-target"
                },
                "details": {
                    "selector": "span a[href*=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/download-torrent-\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(2) > div:nth-child(3)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{2}-\\d{2}-\\d{4} \\d{2}:\\d{2})"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "poster": {
                    "selector": "div.tooltip-content > img[src*=\"/torrents/\"]",
                    "attribute": "src"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"torrent_flags/freedownload.gif\"]": 0,
                        "img[src$=\"torrent_flags/silverdownload.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"torrent_flags/x2.gif\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1.05
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "arabtorrents-com": {
        "id": "arabtorrents-com",
        "name": "arab-torrents.com",
        "description": "arab-torrents.com is an ARABIC Public Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ar-AE",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://arab-torrents.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 14,
                    "cat": "Other",
                    "desc": "اسلامي"
                },
                {
                    "id": 17,
                    "cat": "Books",
                    "desc": "كتب"
                },
                {
                    "id": 19,
                    "cat": "TV/Documentary",
                    "desc": "المرئيات العربية »  وثائقي"
                },
                {
                    "id": 22,
                    "cat": "PC",
                    "desc": "برامج عربية"
                },
                {
                    "id": 23,
                    "cat": "PC",
                    "desc": "برامج عامه"
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "القران الكريم"
                },
                {
                    "id": 26,
                    "cat": "Audio",
                    "desc": "اناشيد"
                },
                {
                    "id": 27,
                    "cat": "Other",
                    "desc": "محاضرات"
                },
                {
                    "id": 41,
                    "cat": "Movies",
                    "desc": "افلام عربيه"
                },
                {
                    "id": 44,
                    "cat": "TV",
                    "desc": "مسلسلات عربية"
                },
                {
                    "id": 46,
                    "cat": "Audio",
                    "desc": "منوع"
                },
                {
                    "id": 52,
                    "cat": "Movies/Other",
                    "desc": "مسرحيات"
                },
                {
                    "id": 56,
                    "cat": "TV/Sport",
                    "desc": "رياضي"
                },
                {
                    "id": 57,
                    "cat": "TV/Foreign",
                    "desc": "مسلسلات آسيوية"
                },
                {
                    "id": 59,
                    "cat": "Movies/Foreign",
                    "desc": "افلام آسيوية"
                },
                {
                    "id": 65,
                    "cat": "Other",
                    "desc": "صور"
                },
                {
                    "id": 70,
                    "cat": "Other",
                    "desc": "المرئيات العربية »  تعليمي"
                },
                {
                    "id": 71,
                    "cat": "TV/Foreign",
                    "desc": "مسلسلات مدبلجه عربي"
                },
                {
                    "id": 86,
                    "cat": "Movies/Foreign",
                    "desc": "افلام هنديه"
                },
                {
                    "id": 88,
                    "cat": "Movies/Foreign",
                    "desc": "افلام مدبلجه عربي"
                },
                {
                    "id": 89,
                    "cat": "TV",
                    "desc": "مسلسلات عربية كامله"
                },
                {
                    "id": 90,
                    "cat": "TV",
                    "desc": "برامج ومسابقات"
                },
                {
                    "id": 92,
                    "cat": "Other",
                    "desc": "المرئيات الاجنبية »  تعليمي"
                },
                {
                    "id": 93,
                    "cat": "TV/Documentary",
                    "desc": "المرئيات الاجنبية »  وثائقي"
                },
                {
                    "id": 98,
                    "cat": "Movies/Other",
                    "desc": "انمي مدبلج عربي »  افلام"
                },
                {
                    "id": 99,
                    "cat": "Movies/Other",
                    "desc": "انمي مترجم عربي »  افلام"
                },
                {
                    "id": 100,
                    "cat": "TV/Anime",
                    "desc": "انمي مدبلج عربي »  مسلسلات"
                },
                {
                    "id": 101,
                    "cat": "TV/Anime",
                    "desc": "انمي مترجم عربي »  مسلسلات"
                },
                {
                    "id": 102,
                    "cat": "TV/Anime",
                    "desc": "انمي مدبلج عربي »  حلقات"
                },
                {
                    "id": 103,
                    "cat": "TV/Anime",
                    "desc": "انمي مترجم عربي »  حلقات"
                },
                {
                    "id": 113,
                    "cat": "TV/Foreign",
                    "desc": "مسلسلات لاتينية مترجم.مدبلج"
                },
                {
                    "id": 114,
                    "cat": "Movies/Foreign",
                    "desc": "افلام لاتينية مترجم.مدبلج"
                },
                {
                    "id": 115,
                    "cat": "TV/Foreign",
                    "desc": "مسلسلات تركية مترجم.مدبلج"
                },
                {
                    "id": 116,
                    "cat": "Movies/Foreign",
                    "desc": "افلام تركية مترجم.مدبلج"
                },
                {
                    "id": 117,
                    "cat": "TV",
                    "desc": "رمضان 2025"
                },
                {
                    "id": "missing1",
                    "cat": "TV/Other",
                    "desc": "الكارتون الصامت والكلاسيكي"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "search": {
            "paths": [
                {
                    "path": "index.php"
                },
                {
                    "path": "index.php",
                    "inputs": {
                        "p": 2
                    }
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ .Keywords }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "^.{1,2}$",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "table#torrents > tbody > tr"
            },
            "fields": {
                "categorydesc": {
                    "selector": "div.fcat"
                },
                "title": {
                    "selector": "a[href^=\"/index.php?page=torrents&tid=\"] img",
                    "attribute": "alt",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?<=\\d)\\s+(?=\\d)",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[(\\d+(?:[\\s-]+\\d+)*)\\]\\s*\\[(\\d{4})\\]\\s*\\[م(\\d+)\\]",
                                "S$3E$1 [$2]"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[(\\d+(?:[\\s-]+\\d+)*)\\]\\s*\\[م(\\d+)\\]",
                                "S$2E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^\\[(\\d+(?:[\\s-]+\\d+)*)\\](?!\\s*\\[م)",
                                "S01E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "E(\\d+)[\\s-]+(\\d+)",
                                "E$1-E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[\\s*\\]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?<=\\S)(\\[)",
                                " $1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "S(\\d)(?=E)",
                                "S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "E(\\d)(?=\\D)",
                                "E0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s{2,}",
                                " "
                            ]
                        },
                        {
                            "name": "trim"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"/index.php?page=torrents&tid=\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a:has(img.posterIcon)",
                    "attribute": "href"
                },
                "tmdbid": {
                    "selector": "a[href*=\"themoviedb.org/movie/\"], a[href*=\"themoviedb.org/tv/\"]",
                    "attribute": "href"
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "selector": "div.fsize"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "td",
                    "remove": "a[href^=\"magnet:?xt=\"], div"
                }
            }
        }
    },
    "asiancinema": {
        "credentials": {
            "apikey": ""
        },
        "id": "asiancinema",
        "name": "AsianCinema",
        "description": "AsianCinema is a Private Tracker for ASIAN MOVIES / TV / MUSIC",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://eiga.moi/"
        ],
        "legacylinks": [
            "https://asiancinema.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://eiga.moi/\" target=\"_blank\">AsianCinema</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Your account will be automatically deleted from the database after 90 days of inactivity. If you return or visit the site with your account before that amount of time passes, then the inactivity timer will reset and your account will be fine for another 90 days.<br>Keep in mind that 'activity' is considered a visit to any page and that torrent traffic is not counted as account activity. In order to reset the inactivity timer all you have to do is visit a single page while logged in with your account. If your account is deleted for inactivity, please do not ask the site staff to un-delete it for you. The deletion is performed automatically by the server and, as such, your account cannot be recovered after it has been deleted."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "asiandvdclub": {
        "credentials": {
            "cookie": ""
        },
        "id": "asiandvdclub",
        "name": "AsianDVDClub",
        "description": "AsianDVDClub (ADC) is a Private Torrent Tracker for ASIAN DVD and BluRay",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://asiandvdclub.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Japan"
                },
                {
                    "id": 5,
                    "cat": "Movies",
                    "desc": "China"
                },
                {
                    "id": 4,
                    "cat": "Movies",
                    "desc": "Korea"
                },
                {
                    "id": 2,
                    "cat": "Movies",
                    "desc": "Hong Kong"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "Philippines"
                },
                {
                    "id": 7,
                    "cat": "Movies",
                    "desc": "Taiwan"
                },
                {
                    "id": 8,
                    "cat": "Movies",
                    "desc": "Thailand"
                },
                {
                    "id": 9,
                    "cat": "Movies",
                    "desc": "Vietnam"
                },
                {
                    "id": 10,
                    "cat": "Movies",
                    "desc": "Malaysia"
                },
                {
                    "id": 11,
                    "cat": "Movies",
                    "desc": "Other Asian"
                },
                {
                    "id": 12,
                    "cat": "Other",
                    "desc": "Miscellaneous"
                },
                {
                    "id": 15,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 16,
                    "cat": "Audio",
                    "desc": "Music/OST"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "up": "seeders",
                    "size": "size",
                    "title": "title"
                }
            },
            {
                "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>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "No special action required for red ribbons and permanent sponsors and above regardless of time, for others after 1 year of zero activity on tracker and/or website account will be closed."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[href=\"/logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents/"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}countries[]={{.}}&{{end}}",
                "searchbox": "{{ .Keywords }}",
                "search": "Search",
                "golden": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "column": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.torrenttable_helper > tbody > tr:has(img)"
            },
            "fields": {
                "category_optional": {
                    "selector": "img[class^=\"cat-\"]",
                    "attribute": "class",
                    "optional": true,
                    "case": {
                        "img.cat-anime": 1,
                        "img.cat-hk": 2,
                        "img.cat-japan": 3,
                        "img.cat-korea": 4,
                        "img.cat-china": 5,
                        "img.cat-phil": 6,
                        "img.cat-taiwan": 7,
                        "img.cat-thai": 8,
                        "img.cat-viet": 9,
                        "img.cat-malaysia": 10,
                        "img.cat-rest": 11,
                        "img.cat-india": 11,
                        "img.cat-misc": 12,
                        "img.cat-pinku": 12,
                        "img.cat-drama": 15,
                        "img.cat-ost": 16
                    }
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}12{{ end }}"
                },
                "title": {
                    "selector": "span[id]"
                },
                "details": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "torrent",
                                "download"
                            ]
                        }
                    ]
                },
                "poster": {
                    "selector": "span[id]",
                    "attribute": "data-ot",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src='(.+?)'"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "date": {
                    "selector": "td:nth-child(9) span.small",
                    "filters": [
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-child(10)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"images/golden.gif\"]": 0,
                        "img[src$=\"images/silver.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1.5
                },
                "minimumseedtime": {
                    "text": 3888000
                }
            }
        }
    },
    "audiences": {
        "credentials": {
            "cookie": ""
        },
        "id": "audiences",
        "name": "Audiences",
        "description": "Audiences is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://audiences.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影/Movies"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "剧集/TV-Series"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺/TV-Show"
                },
                {
                    "id": 406,
                    "cat": "TV/Documentary",
                    "desc": "纪录片/Documentary"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐/Music"
                },
                {
                    "id": 404,
                    "cat": "Audio/Audiobook",
                    "desc": "有声书/Audiobook"
                },
                {
                    "id": 405,
                    "cat": "Books",
                    "desc": "电子书/Ebook"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育/Sports"
                },
                {
                    "id": 410,
                    "cat": "PC/Games",
                    "desc": "游戏/Game"
                },
                {
                    "id": 411,
                    "cat": "PC/0day",
                    "desc": "软件/Software"
                },
                {
                    "id": 410,
                    "cat": "TV",
                    "desc": "学习/Study"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他/Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Users with Extreme User and above will be retained forever</li><li>Starting from 20230701, the non-login ban time will be adjusted to:<ul><li>(Home Alone) User - 40 days</li><li>(Young and vigorous) Power User - 60 days</li><li>(Children of Jianghu) Elite User - 80 days</li><li>(Street Fighter) Crazy User - 100 days</li><li>(non-stop) Insane User - 120 days</li><li>(Outstanding Citizen) Veteran User - 180 days</li></ul></li><li>Users with no traffic (i.e. uploading/downloading data) If it is 0) If you do not log in for 7 consecutive days will be disabled</li><li>'Parked accounts' no longer enjoy the benefits of retaining accounts, and are also subject to the above rules.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"usercp.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 2,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "tr[data-description]",
                    "attribute": "data-description"
                }
            }
        }
    },
    "audionews": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "audionews",
        "name": "AudioNews",
        "description": "AudioNews (AN) is a Private Torrent Tracker for AUDIO SOFTWARE / SAMPLES / ETC",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://audionews.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 106,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile Apps"
                },
                {
                    "id": 161,
                    "cat": "PC/Mobile-iOS",
                    "desc": "Mobile Apps iOS"
                },
                {
                    "id": 160,
                    "cat": "PC/Mobile-Android",
                    "desc": "Mobile Apps Android"
                },
                {
                    "id": 12,
                    "cat": "PC",
                    "desc": "AUDIOAPPS"
                },
                {
                    "id": 32,
                    "cat": "PC",
                    "desc": "AUDIOAPPS DAW Apps"
                },
                {
                    "id": 175,
                    "cat": "PC",
                    "desc": "AUDIOAPPS Ableton"
                },
                {
                    "id": 177,
                    "cat": "PC",
                    "desc": "AUDIOAPPS Cakewalk"
                },
                {
                    "id": 176,
                    "cat": "PC",
                    "desc": "AUDIOAPPS REAPER"
                },
                {
                    "id": 174,
                    "cat": "PC",
                    "desc": "AUDIOAPPS Steinberg"
                },
                {
                    "id": 34,
                    "cat": "PC",
                    "desc": "AUDIOAPPS Mastering &Audio Editor Apps"
                },
                {
                    "id": 37,
                    "cat": "PC",
                    "desc": "AUDIOAPPS DJ Apps"
                },
                {
                    "id": 13,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES"
                },
                {
                    "id": 62,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES AMG"
                },
                {
                    "id": 117,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Bela D Media"
                },
                {
                    "id": 118,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Beta Monkey Music"
                },
                {
                    "id": 51,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Best Service"
                },
                {
                    "id": 46,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Big Fish"
                },
                {
                    "id": 66,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Bigga Giggas"
                },
                {
                    "id": 122,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Bluezone Corporation"
                },
                {
                    "id": 123,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Bunker 8"
                },
                {
                    "id": 126,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Cinematique Instruments"
                },
                {
                    "id": 127,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES CineSamples"
                },
                {
                    "id": 128,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES ClusterSound"
                },
                {
                    "id": 121,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Dan Dean"
                },
                {
                    "id": 195,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Diginoiz"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Digital Juice"
                },
                {
                    "id": 134,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Digital-Redux"
                },
                {
                    "id": 65,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Digital Vision"
                },
                {
                    "id": 59,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Discovery Firm"
                },
                {
                    "id": 61,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Drumdrops"
                },
                {
                    "id": 40,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES East West"
                },
                {
                    "id": 74,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Electronisounds"
                },
                {
                    "id": 80,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES EMU format"
                },
                {
                    "id": 82,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES ENSONIQ format"
                },
                {
                    "id": 111,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Fatloud"
                },
                {
                    "id": 135,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Fox Samples"
                },
                {
                    "id": 41,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES FxPansion"
                },
                {
                    "id": 130,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Goldbaby"
                },
                {
                    "id": 54,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Hollywood Edge"
                },
                {
                    "id": 64,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES IK Multimedia"
                },
                {
                    "id": 75,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Ilio"
                },
                {
                    "id": 108,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Industrial Strength Records"
                },
                {
                    "id": 81,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES KURZWEIL format"
                },
                {
                    "id": 91,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Loopmasters"
                },
                {
                    "id": 92,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Masterbits"
                },
                {
                    "id": 58,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES M-Audio"
                },
                {
                    "id": 112,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Mutekki"
                },
                {
                    "id": 137,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Mystic Kingz"
                },
                {
                    "id": 47,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Native Instruments"
                },
                {
                    "id": 60,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Nine Volt Audio"
                },
                {
                    "id": 129,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES OrangeTree"
                },
                {
                    "id": 203,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Origin Sound"
                },
                {
                    "id": 154,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES P5Audio"
                },
                {
                    "id": 133,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Peace Love Productions"
                },
                {
                    "id": 140,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Pound Audio"
                },
                {
                    "id": 110,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Prime Loops"
                },
                {
                    "id": 180,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Producer Loops"
                },
                {
                    "id": 50,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Prominy"
                },
                {
                    "id": 171,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Pulsed Records"
                },
                {
                    "id": 132,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Puremagnetik"
                },
                {
                    "id": 49,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Refills"
                },
                {
                    "id": 99,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES reFX Nexus"
                },
                {
                    "id": 125,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Realsamples"
                },
                {
                    "id": 83,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES ROLAND format"
                },
                {
                    "id": 109,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Sample Magic"
                },
                {
                    "id": 136,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Samplephonics"
                },
                {
                    "id": 43,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Sampletekk"
                },
                {
                    "id": 48,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Scarbee"
                },
                {
                    "id": 178,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES SFX (Sound FX libraries)"
                },
                {
                    "id": 90,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Smartsound"
                },
                {
                    "id": 172,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Sonart Audio"
                },
                {
                    "id": 116,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES SonicCouture"
                },
                {
                    "id": 42,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Sonic Implants"
                },
                {
                    "id": 115,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Sonic Reality"
                },
                {
                    "id": 53,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Sound Ideas"
                },
                {
                    "id": 56,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Sony"
                },
                {
                    "id": 139,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Sounds To Sample"
                },
                {
                    "id": 76,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Spectrasonics"
                },
                {
                    "id": 162,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Spitfire Audio"
                },
                {
                    "id": 193,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES studiolinked"
                },
                {
                    "id": 68,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Synthogy"
                },
                {
                    "id": 179,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES The Loop Loft"
                },
                {
                    "id": 96,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Tonehammer, 8dio, SoundIron"
                },
                {
                    "id": 67,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Toontrack, Drumkit From Hell, DFHS"
                },
                {
                    "id": 69,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Ueberschall"
                },
                {
                    "id": 157,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES USB Soundscan"
                },
                {
                    "id": 120,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Valentino Production"
                },
                {
                    "id": 173,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES vandalism sounds"
                },
                {
                    "id": 170,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Vanilla Groove Studios"
                },
                {
                    "id": 119,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Vengeance Sound"
                },
                {
                    "id": 114,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Video Helper"
                },
                {
                    "id": 44,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Vienna"
                },
                {
                    "id": 77,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Vipzone"
                },
                {
                    "id": 131,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Wavesfactory"
                },
                {
                    "id": 89,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES West one"
                },
                {
                    "id": 113,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Wusik.com"
                },
                {
                    "id": 78,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Yellowtools"
                },
                {
                    "id": 138,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES YnK.Audio"
                },
                {
                    "id": 100,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Zenhiser"
                },
                {
                    "id": 57,
                    "cat": "Audio",
                    "desc": "SAMPLE LIBRARIES Zero-G"
                },
                {
                    "id": 15,
                    "cat": "PC",
                    "desc": "VSTi + FX"
                },
                {
                    "id": 72,
                    "cat": "PC",
                    "desc": "VSTi + FX FX"
                },
                {
                    "id": 181,
                    "cat": "PC",
                    "desc": "VSTi + FX VSTi"
                },
                {
                    "id": 18,
                    "cat": "PC/Mac",
                    "desc": "MAC"
                },
                {
                    "id": 186,
                    "cat": "PC/Mac",
                    "desc": "MAC Apps"
                },
                {
                    "id": 188,
                    "cat": "PC/Mac",
                    "desc": "MAC FX"
                },
                {
                    "id": 189,
                    "cat": "PC/Mac",
                    "desc": "MAC Instruments"
                },
                {
                    "id": 190,
                    "cat": "PC/Mac",
                    "desc": "MAC TUTORIAL"
                },
                {
                    "id": 187,
                    "cat": "PC/Mac",
                    "desc": "MAC Samples"
                },
                {
                    "id": 19,
                    "cat": "Other",
                    "desc": "MISC"
                },
                {
                    "id": 185,
                    "cat": "Other",
                    "desc": "MISC Utilities"
                },
                {
                    "id": 84,
                    "cat": "Books",
                    "desc": "SHEET MUSIC"
                },
                {
                    "id": 87,
                    "cat": "Books",
                    "desc": "SHEET MUSIC Full Score"
                },
                {
                    "id": 86,
                    "cat": "Books",
                    "desc": "SHEET MUSIC Guitar"
                },
                {
                    "id": 88,
                    "cat": "Books",
                    "desc": "SHEET MUSIC Other instruments"
                },
                {
                    "id": 85,
                    "cat": "Books",
                    "desc": "SHEET MUSIC Piano"
                },
                {
                    "id": 20,
                    "cat": "Books",
                    "desc": "LEARNING"
                },
                {
                    "id": 197,
                    "cat": "Books",
                    "desc": "LEARNING Academy.FM"
                },
                {
                    "id": 183,
                    "cat": "Books",
                    "desc": "LEARNING ADSR"
                },
                {
                    "id": 141,
                    "cat": "Books",
                    "desc": "LEARNING Alfred"
                },
                {
                    "id": 142,
                    "cat": "Books",
                    "desc": "LEARNING Ask Video"
                },
                {
                    "id": 27,
                    "cat": "Books",
                    "desc": "LEARNING Books"
                },
                {
                    "id": 143,
                    "cat": "Books",
                    "desc": "LEARNING FaderPro"
                },
                {
                    "id": 144,
                    "cat": "Books",
                    "desc": "LEARNING Groove3"
                },
                {
                    "id": 145,
                    "cat": "Books",
                    "desc": "LEARNING Hal Leonard"
                },
                {
                    "id": 105,
                    "cat": "Books",
                    "desc": "LEARNING Hardware manuals"
                },
                {
                    "id": 196,
                    "cat": "Books",
                    "desc": "LEARNING Jam Track Central"
                },
                {
                    "id": 146,
                    "cat": "Books",
                    "desc": "LEARNING Lick Library"
                },
                {
                    "id": 147,
                    "cat": "Books",
                    "desc": "LEARNING Lynda.com"
                },
                {
                    "id": 148,
                    "cat": "Books",
                    "desc": "LEARNING MacProVideo"
                },
                {
                    "id": 101,
                    "cat": "Books",
                    "desc": "LEARNING Magazines"
                },
                {
                    "id": 93,
                    "cat": "Books",
                    "desc": "LEARNING Music Video (Concerts, DVD, DVDrip)"
                },
                {
                    "id": 199,
                    "cat": "Books",
                    "desc": "LEARNING PUREMIX"
                },
                {
                    "id": 149,
                    "cat": "Books",
                    "desc": "LEARNING Riff Interactive"
                },
                {
                    "id": 194,
                    "cat": "Books",
                    "desc": "LEARNING SkillShare"
                },
                {
                    "id": 150,
                    "cat": "Books",
                    "desc": "LEARNING Sonic Academy"
                },
                {
                    "id": 151,
                    "cat": "Books",
                    "desc": "LEARNING Total training"
                },
                {
                    "id": 152,
                    "cat": "Books",
                    "desc": "LEARNING TrueFire"
                },
                {
                    "id": 182,
                    "cat": "Books",
                    "desc": "LEARNING Udemy"
                },
                {
                    "id": 28,
                    "cat": "Books",
                    "desc": "LEARNING Video"
                },
                {
                    "id": 153,
                    "cat": "Books",
                    "desc": "LEARNING VTC"
                },
                {
                    "id": 29,
                    "cat": "Audio/Other",
                    "desc": "PRESETS"
                },
                {
                    "id": 167,
                    "cat": "Audio/Other",
                    "desc": "PRESETS Ableton Live"
                },
                {
                    "id": 184,
                    "cat": "Audio/Other",
                    "desc": "PRESETS Impulse Responses"
                },
                {
                    "id": 166,
                    "cat": "Audio/Other",
                    "desc": "PRESETS Massive"
                },
                {
                    "id": 163,
                    "cat": "Audio/Other",
                    "desc": "PRESETS Nebula"
                },
                {
                    "id": 200,
                    "cat": "Audio/Other",
                    "desc": "PRESETS Omnisphere"
                },
                {
                    "id": 165,
                    "cat": "Audio/Other",
                    "desc": "PRESETS Reaktor"
                },
                {
                    "id": 201,
                    "cat": "Audio/Other",
                    "desc": "PRESETS Xfer Serum"
                },
                {
                    "id": 164,
                    "cat": "Audio/Other",
                    "desc": "PRESETS Sylenth"
                },
                {
                    "id": 168,
                    "cat": "Audio/Other",
                    "desc": "PRESETS Toontrack"
                },
                {
                    "id": 239,
                    "cat": "Books",
                    "desc": "Service Manuals"
                },
                {
                    "id": 21,
                    "cat": "Other",
                    "desc": "UPDATE"
                },
                {
                    "id": 222,
                    "cat": "Other",
                    "desc": "GFXNEWS 3D"
                },
                {
                    "id": 235,
                    "cat": "Other",
                    "desc": "GFXNEWS APPS ANDROID & IOS"
                },
                {
                    "id": 207,
                    "cat": "Other",
                    "desc": "GFXNEWS APPS WIN"
                },
                {
                    "id": 215,
                    "cat": "Other",
                    "desc": "GFXNEWS APPS LINUX"
                },
                {
                    "id": 214,
                    "cat": "Other",
                    "desc": "GFXNEWS APPS MAC"
                },
                {
                    "id": 211,
                    "cat": "Other",
                    "desc": "GFXNEWS BOOKS"
                },
                {
                    "id": 224,
                    "cat": "Other",
                    "desc": "GFXNEWS CAD/CAM"
                },
                {
                    "id": 237,
                    "cat": "Other",
                    "desc": "GFXNEWS DAZ3D"
                },
                {
                    "id": 212,
                    "cat": "Other",
                    "desc": "GFXNEWS FONTS"
                },
                {
                    "id": 213,
                    "cat": "Other",
                    "desc": "GFXNEWS FOOTAGE"
                },
                {
                    "id": 233,
                    "cat": "Other",
                    "desc": "GFXNEWS GAME DEVELOPMENT"
                },
                {
                    "id": 226,
                    "cat": "Other",
                    "desc": "GFXNEWS MAGAZINE"
                },
                {
                    "id": 234,
                    "cat": "Other",
                    "desc": "GFXNEWS MATERIAL"
                },
                {
                    "id": 243,
                    "cat": "Other",
                    "desc": "GFXNEWS OTHER GRAPHICS"
                },
                {
                    "id": 244,
                    "cat": "Other",
                    "desc": "GFXNEWS OTHER GRAPHICS Zbrush, Substance tools"
                },
                {
                    "id": 216,
                    "cat": "Other",
                    "desc": "GFXNEWS PHOTOSTOCK"
                },
                {
                    "id": 220,
                    "cat": "Other",
                    "desc": "GFXNEWS PHOTOGRAPHY - ART"
                },
                {
                    "id": 227,
                    "cat": "Other",
                    "desc": "GFXNEWS 2D Graphics"
                },
                {
                    "id": 250,
                    "cat": "Other",
                    "desc": "GFXNEWS 2D Graphics Effects"
                },
                {
                    "id": 228,
                    "cat": "Other",
                    "desc": "GFXNEWS 2D Graphics Actions, Pattern & Styles"
                },
                {
                    "id": 229,
                    "cat": "Other",
                    "desc": "GFXNEWS 2D Graphics Background & PSD Source"
                },
                {
                    "id": 230,
                    "cat": "Other",
                    "desc": "GFXNEWS 2D Graphics Brushes & Gradient"
                },
                {
                    "id": 246,
                    "cat": "Other",
                    "desc": "GFXNEWS 2D Graphics Mockup"
                },
                {
                    "id": 247,
                    "cat": "Other",
                    "desc": "GFXNEWS 2D Graphics Overlays"
                },
                {
                    "id": 249,
                    "cat": "Other",
                    "desc": "GFXNEWS 2D Graphics Preset"
                },
                {
                    "id": 231,
                    "cat": "Other",
                    "desc": "GFXNEWS 2D Graphics Toolkits, Papers & Objects"
                },
                {
                    "id": 245,
                    "cat": "Other",
                    "desc": "GFXNEWS GFX Plugins"
                },
                {
                    "id": 210,
                    "cat": "Other",
                    "desc": "GFXNEWS PLUGINS WIN"
                },
                {
                    "id": 223,
                    "cat": "Other",
                    "desc": "GFXNEWS PLUGINS MAC"
                },
                {
                    "id": 225,
                    "cat": "Other",
                    "desc": "GFXNEWS PLUGINS LINUX"
                },
                {
                    "id": 217,
                    "cat": "Other",
                    "desc": "GFXNEWS SCRIPTS - WEB PROGRAMMING"
                },
                {
                    "id": 218,
                    "cat": "Other",
                    "desc": "GFXNEWS TEMPLATES"
                },
                {
                    "id": 232,
                    "cat": "Other",
                    "desc": "GFXNEWS TEXTURES"
                },
                {
                    "id": 219,
                    "cat": "Other",
                    "desc": "GFXNEWS TUTORIALS"
                },
                {
                    "id": 238,
                    "cat": "Other",
                    "desc": "GFXNEWS VECTOR GRAPHICS"
                },
                {
                    "id": 221,
                    "cat": "Other",
                    "desc": "GFXNEWS VIDEO PRODUCTION"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "You must stay active on the site...<ol><li>Any New users that have no stats for one month will have their account deleted</li><li>Any disabled accounts will be deleted after 6 months</li><li>Any accounts inactive for more than 6 months will be deleted</li><li>Donor accounts will be left untouched.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "autologin": 1,
                "login": "Log in",
                "redirect": "/"
            },
            "error": [
                {
                    "selector": "table.error",
                    "message": {
                        "selector": "table.error tr td div.msg"
                    }
                }
            ],
            "test": {
                "path": "/",
                "selector": "li a[href^=\"./login.php?logout=1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker.php",
                    "method": "post"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "prev_allw": 1,
                "prev_a": 0,
                "prev_dla": 0,
                "prev_dlc": 0,
                "prev_dld": 0,
                "prev_dlw": 0,
                "prev_my": 0,
                "prev_new": 0,
                "prev_sd": 0,
                "prev_da": 1,
                "prev_dc": 0,
                "prev_df": 1,
                "prev_ds": 0,
                "pre_tor_type": 0,
                "prev_date_from": "",
                "prev_date_to": "",
                "prev_hide_rereg": 0,
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "df": 1,
                "da": 1,
                "nm": "{{ .Keywords }}",
                "pn": "",
                "submit": "Search"
            },
            "rows": {
                "selector": "table.forumline > tbody > tr.hl-tr:has(a[href*=\"/dl.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "td a[href*=\"/tracker.php?f=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "title": {
                    "selector": "td a[href*=\"/viewtopic.php?t=\"]"
                },
                "details": {
                    "selector": "td a[href*=\"/viewtopic.php?t=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td a[href*=\"/dl.php?id=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "tr.hl-tr",
                    "attribute": "data-tor-date",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd_MM_yyyy zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:contains(\\00a0GB), td:contains(\\00a0MB), td:contains(\\00a0KB), td:contains(\\00a0B)",
                    "optional": true,
                    "default": 0
                },
                "seeders": {
                    "selector": "td[title=\"Seeders\"]",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td[title=\"Leechers\"]",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td[title^=\"Replies:\"]",
                    "optional": true,
                    "default": 0
                },
                "description": {
                    "case": {
                        "span.tor-approved": "Verified",
                        "span.tor-not-approved": "Unverified"
                    }
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.8
                }
            }
        }
    },
    "aura4k-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "aura4k-api",
        "name": "AURA4K (API)",
        "description": "AURA4K is a Private Torrent Tracker for MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://aura4k.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            },
            "allowtvsearchimdb": true
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://aura4k.net/\" target=\"_blank\">AURA4K</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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 no activity (login/traffic) for more than 90 days may be automatically pruned."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "aussierules": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "aussierules",
        "name": "Aussierul.es",
        "description": "AussieRul.es is a Private Torrent Tracker for AUSTRALIAN RULES FOOTBALL",
        "language": "en-AU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://aussierul.es/"
        ],
        "caps": {
            "categories": {
                "1": "TV/Sport"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "type",
                "label": "Search Type",
                "type": "select",
                "default": "t_name",
                "options": {
                    "t_name": "Torrent Name",
                    "t_description": "Torrent Description",
                    "t_both": "Name & Description",
                    "t_uploader": "Uploader",
                    "t_genre": "IMDB Genre"
                }
            },
            {
                "name": "dead",
                "label": "Include Dead Torrents",
                "type": "select",
                "default": false,
                "options": {
                    "1": true,
                    "0": false
                }
            }
        ],
        "login": {
            "method": "form",
            "form": "form",
            "path": "login.php",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "table:contains(\"An error has occured!\")"
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "search_type": "{{ .Config.type }}",
                "include_dead_torrents": "{{ .Config.dead }}",
                "keywords": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "table#sortabletable > tbody > tr:not(:first-child)"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "td:nth-child(2) > div:nth-child(1) > a > strong"
                },
                "details": {
                    "selector": "td:nth-child(2) > div:nth-child(1) > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(2) > div:nth-child(2)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "d-MM-yyyy HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                }
            }
        }
    },
    "azusa": {
        "credentials": {
            "cookie": ""
        },
        "id": "azusa",
        "name": "Azusa (梓喵)",
        "description": "Azusa (梓喵) is a CHINESE Private Torrent Tracker focusing on COMICS",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://azusa.wiki/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 404,
                    "cat": "PC/Games",
                    "desc": "Game"
                },
                {
                    "id": 402,
                    "cat": "Books/Comics",
                    "desc": "Comic"
                },
                {
                    "id": 403,
                    "cat": "Books/EBook",
                    "desc": "Light Novel"
                },
                {
                    "id": 407,
                    "cat": "Other",
                    "desc": "CG"
                },
                {
                    "id": 409,
                    "cat": "Audio",
                    "desc": "Music"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?csrf_token=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "allowEmptyInputs": true,
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "inclbookmarked": 0,
                "approval_status": "",
                "trackerStatus": "",
                "search": "{{ .Keywords }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "a[href$=\"dllist=1#seeders\"]",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "a[href$=\"dllist=1#leechers\"]",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "a[href^=\"viewsnatches.php?id=\"]",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "backups": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "backups",
        "name": "Back-ups",
        "description": "Back-Ups is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://back-ups.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 115,
                    "cat": "PC",
                    "desc": "2Play Official"
                },
                {
                    "id": 100,
                    "cat": "Console",
                    "desc": "Anbernic"
                },
                {
                    "id": 15,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 35,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 3,
                    "cat": "PC",
                    "desc": "Apps"
                },
                {
                    "id": 109,
                    "cat": "PC",
                    "desc": "Attract"
                },
                {
                    "id": 64,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobooks"
                },
                {
                    "id": 71,
                    "cat": "Console",
                    "desc": "Batocera"
                },
                {
                    "id": 108,
                    "cat": "Console",
                    "desc": "Bazpacks"
                },
                {
                    "id": 4,
                    "cat": "Movies/BluRay",
                    "desc": "Blu-Ray"
                },
                {
                    "id": 112,
                    "cat": "Console",
                    "desc": "Brojack & Laws"
                },
                {
                    "id": 42,
                    "cat": "Console",
                    "desc": "CoinOPS Official"
                },
                {
                    "id": 65,
                    "cat": "Console",
                    "desc": "CoinOps Unofficial"
                },
                {
                    "id": 22,
                    "cat": "Console",
                    "desc": "CoinOps Xbox"
                },
                {
                    "id": 63,
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": 60,
                    "cat": "Console",
                    "desc": "CORE"
                },
                {
                    "id": 72,
                    "cat": "Console",
                    "desc": "CORE Community"
                },
                {
                    "id": 44,
                    "cat": "Console",
                    "desc": "CP78"
                },
                {
                    "id": 16,
                    "cat": "TV/Documentary",
                    "desc": "Docu"
                },
                {
                    "id": 41,
                    "cat": "Console",
                    "desc": "Dragon"
                },
                {
                    "id": 5,
                    "cat": "Books",
                    "desc": "eBooks"
                },
                {
                    "id": 89,
                    "cat": "PC",
                    "desc": "Ghostware"
                },
                {
                    "id": 84,
                    "cat": "TV",
                    "desc": "GOG"
                },
                {
                    "id": 77,
                    "cat": "PC",
                    "desc": "Hyperspin"
                },
                {
                    "id": 34,
                    "cat": "TV",
                    "desc": "Kids"
                },
                {
                    "id": 107,
                    "cat": "Console",
                    "desc": "KinHanK"
                },
                {
                    "id": 43,
                    "cat": "Console",
                    "desc": "LaunchBox"
                },
                {
                    "id": 85,
                    "cat": "PC",
                    "desc": "MAME"
                },
                {
                    "id": 32,
                    "cat": "Movies",
                    "desc": "Movie Pack"
                },
                {
                    "id": 106,
                    "cat": "Movies/UHD",
                    "desc": "Movie Pack 4K"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 105,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K"
                },
                {
                    "id": 82,
                    "cat": "PC",
                    "desc": "MS-DOS"
                },
                {
                    "id": 7,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 31,
                    "cat": "Console",
                    "desc": "Nintendo"
                },
                {
                    "id": 59,
                    "cat": "Console",
                    "desc": "P-R-U"
                },
                {
                    "id": 8,
                    "cat": "PC/Games",
                    "desc": "PC Games"
                },
                {
                    "id": 87,
                    "cat": "Console",
                    "desc": "Playnite"
                },
                {
                    "id": 30,
                    "cat": "Console",
                    "desc": "Playstation"
                },
                {
                    "id": 118,
                    "cat": "Console",
                    "desc": "Playstation PS5.Roms"
                },
                {
                    "id": 83,
                    "cat": "PC",
                    "desc": "Retro eXo"
                },
                {
                    "id": 56,
                    "cat": "PC",
                    "desc": "Retro Minis"
                },
                {
                    "id": 67,
                    "cat": "PC",
                    "desc": "RetroBat"
                },
                {
                    "id": 88,
                    "cat": "PC",
                    "desc": "RetroFE"
                },
                {
                    "id": 76,
                    "cat": "Console",
                    "desc": "RGS"
                },
                {
                    "id": 27,
                    "cat": "PC",
                    "desc": "ROM Packs"
                },
                {
                    "id": 62,
                    "cat": "PC",
                    "desc": "RPi"
                },
                {
                    "id": 81,
                    "cat": "PC",
                    "desc": "Scene"
                },
                {
                    "id": 68,
                    "cat": "PC",
                    "desc": "Schmoomer"
                },
                {
                    "id": 110,
                    "cat": "Console",
                    "desc": "ScummVM"
                },
                {
                    "id": 57,
                    "cat": "Console",
                    "desc": "SEGA"
                },
                {
                    "id": 116,
                    "cat": "PC",
                    "desc": "SiteRIP"
                },
                {
                    "id": 74,
                    "cat": "PC",
                    "desc": "Sleyk/SGC"
                },
                {
                    "id": 75,
                    "cat": "Audio",
                    "desc": "Soundtracks"
                },
                {
                    "id": 29,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 90,
                    "cat": "PC",
                    "desc": "TeknoParrot"
                },
                {
                    "id": 97,
                    "cat": "TV/Other",
                    "desc": "Tutorials"
                },
                {
                    "id": 9,
                    "cat": "TV",
                    "desc": "TV Packs"
                },
                {
                    "id": 11,
                    "cat": "TV",
                    "desc": "TV Shows"
                },
                {
                    "id": 117,
                    "cat": "Console",
                    "desc": "Virtual Reality"
                },
                {
                    "id": 73,
                    "cat": "Console",
                    "desc": "Wolfanoz"
                },
                {
                    "id": 26,
                    "cat": "Console",
                    "desc": "XBOX"
                },
                {
                    "id": 12,
                    "cat": "Console",
                    "desc": "XBOX360"
                },
                {
                    "id": 23,
                    "cat": "XXX",
                    "desc": "XXX18+"
                }
            ],
            "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": "Filter freeleech only",
                "default": false
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>40</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "To keep records updated regularly, all inactive accounts will be deleted after 60 days of inactivity."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td:contains(\"remaining tries\")"
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href*=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?:^|\\s)[_\\+\\/\\.\\-\\(\\)]*[\\S]{0,3}[_\\+\\/\\.\\-\\(\\)]*(?:\\s|$)",
                        " "
                    ]
                }
            ],
            "inputs": {
                "do": "search",
                "keywords": "{{ .Keywords }}",
                "search_type": "t_name",
                "category": 0,
                "include_dead_torrents": true
            },
            "rows": {
                "selector": "table#sortabletable > tbody > tr:has(a[href*=\"/details.php?id=\"]){{ if .Config.freeleech }}:has(img[src$=\"freedownload.gif\"]){{ else }}{{ end }}",
                "filters": [
                    {
                        "name": "andmatch",
                        "args": 66
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"/browse.php?category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"/details.php?id=\"]"
                },
                "title": {
                    "selector": "div.tooltip-content > div",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/download.php?id=\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "poster": {
                    "selector": "div.tooltip-content > img",
                    "attribute": "src"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"freedownload.gif\"]": 0,
                        "img[src$=\"silverdownload.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"x2.gif\"]": 2,
                        "*": 1
                    }
                },
                "date": {
                    "selector": "td:nth-child(2) > div:has(span[style=\"float: right;\"])",
                    "remove": "span",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm zzz"
                        }
                    ]
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "bangumi-moe": {
        "id": "bangumi-moe",
        "name": "Bangumi Moe",
        "description": "Bangumi Moe is a Public torrent site for ANIME",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 4,
        "links": [
            "https://bangumi.moe/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "549ef207fe682f7549f1ea90",
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": "54967e14ff43b99e284d0bf7",
                    "cat": "TV/Anime",
                    "desc": "Anime Pack"
                },
                {
                    "id": "549cc9369310bc7d04cddf9f",
                    "cat": "Movies",
                    "desc": "Anime Movie"
                },
                {
                    "id": "549eef6ffe682f7549f1ea8b",
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": "549eefebfe682f7549f1ea8c",
                    "cat": "Books/Comics",
                    "desc": "Comic"
                },
                {
                    "id": "549ef015fe682f7549f1ea8d",
                    "cat": "Console",
                    "desc": "Game"
                },
                {
                    "id": "549ef250fe682f7549f1ea91",
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": "549ff1db30bcfc225bf9e607",
                    "cat": "Console",
                    "desc": "Dorama"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}api/v2/torrent/search{{ else }}api/torrent/latest{{ end }}",
                    "method": "{{ if .Keywords }}post{{ else }}get{{ end }}",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "query": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "torrents"
            },
            "fields": {
                "category": {
                    "selector": "category_tag_id"
                },
                "title": {
                    "selector": "title"
                },
                "details": {
                    "text": "/"
                },
                "infohash": {
                    "selector": "infoHash"
                },
                "poster": {
                    "selector": "introduction",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\"(.+?)\\\""
                        }
                    ]
                },
                "description": {
                    "selector": "category_tag.locale.en"
                },
                "date": {
                    "selector": "publish_time"
                },
                "size": {
                    "selector": "size",
                    "optional": true,
                    "default": "0 B"
                },
                "grabs": {
                    "selector": "downloads"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "baozipt": {
        "credentials": {
            "cookie": ""
        },
        "id": "baozipt",
        "name": "baoziPT",
        "description": "baoziPT is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://p.t-baozi.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影/Movies"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "剧集/TV Series"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺/TV Shows"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片/Documentaries"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫/Anime"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "音乐视频/Music Videos"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育运动/Sports"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "高品质音频/HQ Audio"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他/Other"
                },
                {
                    "id": 410,
                    "cat": "TV",
                    "desc": "短剧/Playlet"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "beload": {
        "credentials": {
            "cookie": ""
        },
        "id": "beload",
        "name": "Beload",
        "description": "Beload is a HUNGARIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://beload.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 27,
                    "cat": "Movies/DVD",
                    "desc": "Animáció/DVD/Eng"
                },
                {
                    "id": 26,
                    "cat": "Movies/DVD",
                    "desc": "Animáció/DVD/Hun"
                },
                {
                    "id": 25,
                    "cat": "Movies/HD",
                    "desc": "Animáció/HD/Eng"
                },
                {
                    "id": 24,
                    "cat": "Movies/HD",
                    "desc": "Animáció/HD/Hun"
                },
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Animáció/SD/Hun"
                },
                {
                    "id": 12,
                    "cat": "Movies/SD",
                    "desc": "Film/Cam/Eng"
                },
                {
                    "id": 11,
                    "cat": "Movies/SD",
                    "desc": "Film/Cam/Hun"
                },
                {
                    "id": 4,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD-R/Eng"
                },
                {
                    "id": 3,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD-R/Hun"
                },
                {
                    "id": 6,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD9/Eng"
                },
                {
                    "id": 5,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD9/Hun"
                },
                {
                    "id": 2,
                    "cat": "Movies/Foreign",
                    "desc": "Film/HD/Eng"
                },
                {
                    "id": 1,
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Hun"
                },
                {
                    "id": 8,
                    "cat": "Movies/Foreign",
                    "desc": "Film/SD/Eng"
                },
                {
                    "id": 7,
                    "cat": "Movies/SD",
                    "desc": "Film/SD/Hun"
                },
                {
                    "id": 47,
                    "cat": "Movies/Foreign",
                    "desc": "Film/UHD/Eng"
                },
                {
                    "id": 46,
                    "cat": "Movies/UHD",
                    "desc": "Film/UHD/Hun"
                },
                {
                    "id": 31,
                    "cat": "Audio/Audiobook",
                    "desc": "Hangoskönyv"
                },
                {
                    "id": 42,
                    "cat": "PC/Games",
                    "desc": "Játék/ISO"
                },
                {
                    "id": 43,
                    "cat": "PC/Games",
                    "desc": "Játék/RIP"
                },
                {
                    "id": 30,
                    "cat": "Books/Foreign",
                    "desc": "Könyv/Eng"
                },
                {
                    "id": 29,
                    "cat": "Books/EBook",
                    "desc": "Könyv/Hun"
                },
                {
                    "id": 44,
                    "cat": "PC/ISO",
                    "desc": "Program/ISO"
                },
                {
                    "id": 45,
                    "cat": "PC",
                    "desc": "Program/RIP"
                },
                {
                    "id": 49,
                    "cat": "TV/Foreign",
                    "desc": "Sorozat/DVD/Eng"
                },
                {
                    "id": 48,
                    "cat": "TV/SD",
                    "desc": "Sorozat/DVD/Hun"
                },
                {
                    "id": 14,
                    "cat": "TV/Foreign",
                    "desc": "Sorozat/HD/Eng"
                },
                {
                    "id": 13,
                    "cat": "TV/HD",
                    "desc": "Sorozat/HD/Hun"
                },
                {
                    "id": 16,
                    "cat": "TV/Foreign",
                    "desc": "Sorozat/SD/Eng"
                },
                {
                    "id": 15,
                    "cat": "TV/SD",
                    "desc": "Sorozat/SD/hun"
                },
                {
                    "id": 20,
                    "cat": "Audio/Foreign",
                    "desc": "Zene/Mp3/Eng"
                },
                {
                    "id": 19,
                    "cat": "Audio/MP3",
                    "desc": "Zene/Mp3/Hun"
                },
                {
                    "id": 38,
                    "cat": "XXX/SD",
                    "desc": "XXX/HD"
                },
                {
                    "id": 41,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX/Kép"
                },
                {
                    "id": 40,
                    "cat": "XXX/SD",
                    "desc": "XXX/SD"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 4,
                "options": {
                    "1": "title",
                    "4": "created",
                    "7": "seeders",
                    "5": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.torrents-container > table > tbody > tr > td.text > table > tbody > tr:has(a[href^=\"details.php?id=\"]):not(:has(a[href=\"browse.php?cat=0\"]))",
                "after": 1
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"][title]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a.preview",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-last-child(6) > a",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-last-child(8)"
                },
                "size": {
                    "selector": "td:nth-last-child(5) b"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "description": {
                    "case": {
                        "i.fa-check": "Verified",
                        "i.fa-question": "Unverified"
                    }
                },
                "downloadvolumefactor": {
                    "case": {
                        "span[style=\"font-size: 10px;\"]:contains(\"0x\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span[style=\"font-size: 10px;\"]:contains(\"2x\")": 2,
                        "span[style=\"font-size: 10px;\"]:contains(\"4x\")": 4,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "best-torrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "best-torrents",
        "name": "Best-Torrents",
        "description": "Best-Torrents is a POLISH Semi-Private PAY2DL Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pl-PL",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://best-torrents.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 774,
                    "cat": "Movies",
                    "desc": "Filmy Polskie"
                },
                {
                    "id": 642,
                    "cat": "Movies",
                    "desc": "Filmy/Bajki"
                },
                {
                    "id": 1,
                    "cat": "Movies/SD",
                    "desc": "Filmy XviD/DivX"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Filmy DVD"
                },
                {
                    "id": 23,
                    "cat": "Movies/HD",
                    "desc": "Filmy x264"
                },
                {
                    "id": 573,
                    "cat": "Movies/UHD",
                    "desc": "Filmy 4K UHD"
                },
                {
                    "id": 17,
                    "cat": "Movies/HD",
                    "desc": "Filmy HD"
                },
                {
                    "id": 265,
                    "cat": "Movies/HD",
                    "desc": "Filmy x265 HEVC"
                },
                {
                    "id": 12,
                    "cat": "Movies/3D",
                    "desc": "Filmy 3D"
                },
                {
                    "id": 530,
                    "cat": "Movies/SD",
                    "desc": "Filmy TS/CAM"
                },
                {
                    "id": 9,
                    "cat": "PC",
                    "desc": "Programy"
                },
                {
                    "id": 7,
                    "cat": "Console",
                    "desc": "Konsole"
                },
                {
                    "id": 6,
                    "cat": "PC/Games",
                    "desc": "Gry"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Muzyka"
                },
                {
                    "id": 305,
                    "cat": "Audio/Video",
                    "desc": "Teledyski"
                },
                {
                    "id": 22,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 228,
                    "cat": "XXX",
                    "desc": "Erotyka"
                },
                {
                    "id": 25,
                    "cat": "Books/EBook",
                    "desc": "Książki"
                },
                {
                    "id": 739,
                    "cat": "Audio/Audiobook",
                    "desc": "AudioBooki"
                },
                {
                    "id": 26,
                    "cat": "Books/Comics",
                    "desc": "Komiksy"
                },
                {
                    "id": 27,
                    "cat": "PC/Mac",
                    "desc": "Linux/Mac"
                },
                {
                    "id": 28,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 29,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 31,
                    "cat": "PC/Mobile-Other",
                    "desc": "GSM/PDA"
                },
                {
                    "id": 32,
                    "cat": "Other",
                    "desc": "Inne"
                }
            ],
            "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"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.komunikaty:contains(\"Nazwa użytkownika bądź hasło jest nieprawidłowe\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href$=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "szukaj.php"
                }
            ],
            "inputs": {
                "cat": 0,
                "full_name": false,
                "search": "{{ if .Keywords }}{{ .Keywords }}{{ else }}%{{ end }}"
            },
            "rows": {
                "selector": "div#torrents_browse-standard-all"
            },
            "fields": {
                "categorydesc": {
                    "selector": "div#torrents_browse-standard-category a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "kategorii/(.+?)/gatunku"
                        }
                    ]
                },
                "title": {
                    "selector": "div#torrents_browse-standard-torrent-name a"
                },
                "details": {
                    "selector": "div#torrents_browse-standard-torrent-name a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "div#torrents_browse-standard-download a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div#torrents_browse-standard-poster img",
                    "attribute": "src"
                },
                "date": {
                    "selector": "div#torrents_browse-standard-time",
                    "remove": "b",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "div#torrents_browse-standard-size",
                    "remove": "b",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{1,4}\\.\\d{2}\\s+?[T|G|M|k]B)"
                        }
                    ]
                },
                "seeders": {
                    "selector": "div#torrents_browse-standard-seeds span font"
                },
                "leechers": {
                    "selector": "div#torrents_browse-standard-peers span font"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "bestcore": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "bestcore",
        "name": "Best-Core",
        "description": "Best-Core is a HUNGARIAN Private Tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "ISO-8859-2",
        "links": [
            "https://best-core.info/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 81,
                    "cat": "Movies/3D",
                    "desc": "3D"
                },
                {
                    "id": 83,
                    "cat": "Movies/UHD",
                    "desc": "4K/UHD"
                },
                {
                    "id": 80,
                    "cat": "Movies/Other",
                    "desc": "Best-Core"
                },
                {
                    "id": 51,
                    "cat": "Books/EBook",
                    "desc": "E-book"
                },
                {
                    "id": 88,
                    "cat": "Audio/Audiobook",
                    "desc": "E-book/Hangoskönyv"
                },
                {
                    "id": 77,
                    "cat": "Movies/HD",
                    "desc": "Film/BDRip/Eng"
                },
                {
                    "id": 86,
                    "cat": "Movies/HD",
                    "desc": "Film/BDRip/Ger"
                },
                {
                    "id": 76,
                    "cat": "Movies/HD",
                    "desc": "Film/BDRip/Hun"
                },
                {
                    "id": 75,
                    "cat": "Movies/BluRay",
                    "desc": "Film/Blu-ray/Eng"
                },
                {
                    "id": 74,
                    "cat": "Movies/BluRay",
                    "desc": "Film/Blu-ray/Hun"
                },
                {
                    "id": 25,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD/Eng"
                },
                {
                    "id": 24,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD/Hun"
                },
                {
                    "id": 85,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD9"
                },
                {
                    "id": 21,
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Eng"
                },
                {
                    "id": 53,
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Hun"
                },
                {
                    "id": 20,
                    "cat": "Movies/SD",
                    "desc": "Film/XviD/Eng"
                },
                {
                    "id": 34,
                    "cat": "Movies/SD",
                    "desc": "Film/XviD/Hun"
                },
                {
                    "id": 90,
                    "cat": "Movies/SD",
                    "desc": "Film/XviD/Pack"
                },
                {
                    "id": 26,
                    "cat": "PC/Games",
                    "desc": "Játék/ISO"
                },
                {
                    "id": 52,
                    "cat": "PC/Games",
                    "desc": "Játék/Rip"
                },
                {
                    "id": 89,
                    "cat": "Movies/SD",
                    "desc": "Kamerás/Eng"
                },
                {
                    "id": 82,
                    "cat": "Movies/SD",
                    "desc": "Kamerás/Hun"
                },
                {
                    "id": 38,
                    "cat": "Other",
                    "desc": "Képek"
                },
                {
                    "id": 43,
                    "cat": "Console/PS3",
                    "desc": "Konzol/PS"
                },
                {
                    "id": 45,
                    "cat": "Console/PSP",
                    "desc": "Konzol/PSP"
                },
                {
                    "id": 44,
                    "cat": "Console/XBox",
                    "desc": "Konzol/Xbox"
                },
                {
                    "id": 73,
                    "cat": "TV/Anime",
                    "desc": "Mese/Eng"
                },
                {
                    "id": 70,
                    "cat": "TV/Anime",
                    "desc": "Mese/Hun"
                },
                {
                    "id": 37,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil"
                },
                {
                    "id": 1,
                    "cat": "PC/ISO",
                    "desc": "Program/ISO"
                },
                {
                    "id": 22,
                    "cat": "PC/0day",
                    "desc": "Program/Rip"
                },
                {
                    "id": 54,
                    "cat": "TV/SD",
                    "desc": "Sorozat/DVD/Eng"
                },
                {
                    "id": 55,
                    "cat": "TV/SD",
                    "desc": "Sorozat/DVD/Hun"
                },
                {
                    "id": 58,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Xvid/Eng"
                },
                {
                    "id": 7,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Xvid/Hun"
                },
                {
                    "id": 62,
                    "cat": "Audio/Video",
                    "desc": "Videoklip"
                },
                {
                    "id": 64,
                    "cat": "XXX/DVD",
                    "desc": "XXX/DVD"
                },
                {
                    "id": 48,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX/Képek"
                },
                {
                    "id": 9,
                    "cat": "XXX/XviD",
                    "desc": "XXX/Xvid"
                },
                {
                    "id": 40,
                    "cat": "Audio/MP3",
                    "desc": "Zene/Eng"
                },
                {
                    "id": 6,
                    "cat": "Audio/MP3",
                    "desc": "Zene/Hun"
                },
                {
                    "id": 87,
                    "cat": "Audio/Lossless",
                    "desc": "Zene/Lossless"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "book-search": [
                    "q"
                ],
                "music-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": 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>Torrent oldalankén:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_login",
                "type": "info",
                "label": "About login error",
                "default": "If you get a <b>Login Failed, got redirected.</b> error during your config <i>save</i> then most likely you have used an incorrect username or password."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "<ol><li>Users who have not accessed the site for 180 days will be deleted!</li><li>If the vacation mode is set, the system will not delete the given user for 365 days.</li></ol>"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": ":root:contains(\"Sikertelen bejelentkezés\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?c=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "tr.torrent_h",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category_optional": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "optional": true,
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}38{{ end }}"
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.*?) "
                        },
                        {
                            "name": "replace",
                            "args": [
                                "https://i.kek.sh/null",
                                ""
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(2)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{4}-\\d{2}-\\d{2}\\s\\d{2}:\\d{2}:\\d{2})"
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(5)"
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "x \\d(\\d+) x$"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "description": {
                    "case": {
                        "img[src=\"pic/yes.png\"]": "Verified",
                        "img[src=\"pic/nincs.png\"]": "Unverified"
                    }
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/free.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "selector": "td:nth-child(7) b",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)"
                        }
                    ]
                },
                "minimumratio": {
                    "text": 0.8
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "bibliotik": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "bibliotik",
        "name": "Bibliotik",
        "description": "Bibliotik is a Private Torrent Tracker for EBOOKS and AUDIOBOOKS",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bibliotik.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "PC",
                    "desc": "Applications"
                },
                {
                    "id": 3,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobooks"
                },
                {
                    "id": 4,
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": 5,
                    "cat": "Books/EBook",
                    "desc": "eBooks"
                },
                {
                    "id": 7,
                    "cat": "Books/Mags",
                    "desc": "Magazines"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q",
                    "title",
                    "author"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "orderby",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "@relevance": "relevance",
                    "title": "title",
                    "size": "size",
                    "added": "added",
                    "seeders": "seeders"
                }
            },
            {
                "name": "order",
                "type": "select",
                "label": "Order requested from site",
                "default": "DESC",
                "options": {
                    "DESC": "desc",
                    "ASC": "asc"
                }
            }
        ],
        "login": {
            "path": "/",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "keeplogged": 1,
                "login": "Log In!"
            },
            "error": [
                {
                    "selector": "center:first-of-type"
                }
            ],
            "test": {
                "path": "torrents/",
                "selector": "div#pre_header"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents/"
                }
            ],
            "inputs": {
                "search": "{{ if .Query.Author }} @authors {{ .Query.Author }}{{ else }}{{ end }}{{ if .Query.Title }} @title {{ .Query.Title }}{{ else }}{{ end }}{{ .Keywords }}",
                "$raw": "{{ range .Categories }}cat[]={{.}}&{{end}}",
                "orderby": "{{ .Config.orderby }}",
                "order": "{{ .Config.order }}"
            },
            "rows": {
                "selector": "table#torrents_table > tbody > tr:has(.title)"
            },
            "fields": {
                "category": {
                    "selector": "td:first-child",
                    "case": {
                        "div[title=\"Applications\"]": 1,
                        "div[title=\"Audiobooks\"]": 3,
                        "div[title=\"Comics\"]": 4,
                        "div[title=\"Ebooks\"]": 5,
                        "div[title=\"Magazines\"]": 7
                    }
                },
                "_editor": {
                    "selector": ".editorLink",
                    "optional": true
                },
                "author": {
                    "selector": ".authorLink",
                    "optional": true,
                    "default": "{{ .Result._editor }}"
                },
                "year": {
                    "selector": ".torYear",
                    "optional": true
                },
                "_filetype": {
                    "selector": ".torFormat",
                    "optional": true
                },
                "_retail": {
                    "selector": ".torRetail",
                    "optional": true
                },
                "booktitle": {
                    "selector": ".title a"
                },
                "title": {
                    "text": "{{ .Result.booktitle }}",
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ if .Result.author }} by {{ .Result.author }}{{ else }}{{ end }}{{ if .Result.year }} {{ .Result.year }}{{ else }}{{ end }}{{ if .Result._filetype }} {{ .Result._filetype }}{{ else }}{{ end }}{{ if .Result._retail }} {{ .Result._retail }}{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": ".title a",
                    "attribute": "href"
                },
                "date": {
                    "selector": ".t_files_size_added time",
                    "attribute": "datetime",
                    "optional": true,
                    "default": "now"
                },
                "download": {
                    "selector": "a[title=\"Download\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": ".t_files_size_added",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "^\\s*(\\d+)\\s*file"
                        }
                    ]
                },
                "size": {
                    "selector": ".t_files_size_added span",
                    "attribute": "data-bytecount"
                },
                "seeders": {
                    "selector": ".seeders",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": ".leechers",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": ".snatches",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "bigbbs": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "bigbbs",
        "name": "BigBBS",
        "description": "BigBBS is a POLISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pl-PL",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bigbbs.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Filmi"
                },
                {
                    "id": 14,
                    "cat": "Movies/SD",
                    "desc": "Filmi DivX / XviD"
                },
                {
                    "id": 41,
                    "cat": "Movies/HD",
                    "desc": "Filmi x264"
                },
                {
                    "id": 40,
                    "cat": "Movies",
                    "desc": "Filmi Al / Lektor Amatorski"
                },
                {
                    "id": 39,
                    "cat": "Movies/BluRay",
                    "desc": "Filmi BluRay"
                },
                {
                    "id": 147,
                    "cat": "Movies",
                    "desc": "Filmi Xmas"
                },
                {
                    "id": 37,
                    "cat": "Movies/DVD",
                    "desc": "Filmi DVD 5 / 9"
                },
                {
                    "id": 52,
                    "cat": "Movies/3D",
                    "desc": "Filmi 3D"
                },
                {
                    "id": 17,
                    "cat": "Movies/HD",
                    "desc": "Filmi HD 1080p , 720p"
                },
                {
                    "id": 99,
                    "cat": "Movies/HD",
                    "desc": "Filmi x265"
                },
                {
                    "id": 62,
                    "cat": "XXX",
                    "desc": "Filmi XXX"
                },
                {
                    "id": 16,
                    "cat": "Movies/SD",
                    "desc": "Filmi CAM / TS"
                },
                {
                    "id": 65,
                    "cat": "Movies/HD",
                    "desc": "Filmi Rmvb"
                },
                {
                    "id": 66,
                    "cat": "Movies",
                    "desc": "Filmi TV RIP"
                },
                {
                    "id": 84,
                    "cat": "TV/Documentary",
                    "desc": "Filmi Dokumentalne"
                },
                {
                    "id": 100,
                    "cat": "Movies",
                    "desc": "Filmi Seriale"
                },
                {
                    "id": 103,
                    "cat": "Movies",
                    "desc": "Filmi FILMY GSM / PDA"
                },
                {
                    "id": 107,
                    "cat": "Movies/UHD",
                    "desc": "Filmi 4K-UHD"
                },
                {
                    "id": 109,
                    "cat": "Movies",
                    "desc": "Filmi Biblijny"
                },
                {
                    "id": 113,
                    "cat": "Movies",
                    "desc": "Filmi Prawniczy"
                },
                {
                    "id": 61,
                    "cat": "Movies",
                    "desc": "Bajki"
                },
                {
                    "id": 106,
                    "cat": "Books/Comics",
                    "desc": "Manga"
                },
                {
                    "id": 53,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 56,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 57,
                    "cat": "TV",
                    "desc": "TV BOXSETS"
                },
                {
                    "id": 58,
                    "cat": "TV",
                    "desc": "TV EPIZODY"
                },
                {
                    "id": 6,
                    "cat": "PC",
                    "desc": "Aplikacje"
                },
                {
                    "id": 18,
                    "cat": "PC/0day",
                    "desc": "Aplikacje Windows"
                },
                {
                    "id": 64,
                    "cat": "PC/Mobile-Other",
                    "desc": "Aplikacje GSM/PDA"
                },
                {
                    "id": 19,
                    "cat": "PC/Mac",
                    "desc": "Aplikacje Macintosh"
                },
                {
                    "id": 42,
                    "cat": "PC",
                    "desc": "Aplikacje Linux"
                },
                {
                    "id": 63,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 7,
                    "cat": "Audio",
                    "desc": "Muzyka"
                },
                {
                    "id": 20,
                    "cat": "Audio/Video",
                    "desc": "Koncert"
                },
                {
                    "id": 144,
                    "cat": "Audio",
                    "desc": "BiGBBS RMG (Rellase Music Group)"
                },
                {
                    "id": 21,
                    "cat": "Audio/MP3",
                    "desc": "MP3"
                },
                {
                    "id": 38,
                    "cat": "Audio/Lossless",
                    "desc": "FLAC"
                },
                {
                    "id": 135,
                    "cat": "Audio",
                    "desc": "RetroRemix,ClubDance"
                },
                {
                    "id": 43,
                    "cat": "Audio",
                    "desc": "Soundtrack"
                },
                {
                    "id": 136,
                    "cat": "Audio",
                    "desc": "Rock"
                },
                {
                    "id": 80,
                    "cat": "Audio/Lossless",
                    "desc": "lossless"
                },
                {
                    "id": 81,
                    "cat": "Audio",
                    "desc": "MusicVid"
                },
                {
                    "id": 82,
                    "cat": "Audio",
                    "desc": "Radio"
                },
                {
                    "id": 138,
                    "cat": "Audio",
                    "desc": "Dyskografie Płytowe"
                },
                {
                    "id": 117,
                    "cat": "Audio",
                    "desc": "Metal  Rock"
                },
                {
                    "id": 139,
                    "cat": "Audio",
                    "desc": "Kolekcje Muzyczne"
                },
                {
                    "id": 118,
                    "cat": "Audio",
                    "desc": "Disco Polo"
                },
                {
                    "id": 119,
                    "cat": "Audio",
                    "desc": "Clubbing"
                },
                {
                    "id": 120,
                    "cat": "Audio",
                    "desc": "House"
                },
                {
                    "id": 116,
                    "cat": "Audio",
                    "desc": "PHC"
                },
                {
                    "id": 125,
                    "cat": "Audio",
                    "desc": "Elektro"
                },
                {
                    "id": 127,
                    "cat": "Audio",
                    "desc": "Tranc"
                },
                {
                    "id": 128,
                    "cat": "Audio",
                    "desc": "Dance"
                },
                {
                    "id": 130,
                    "cat": "Audio",
                    "desc": "Opus"
                },
                {
                    "id": 129,
                    "cat": "Audio",
                    "desc": "Pop"
                },
                {
                    "id": 131,
                    "cat": "Audio",
                    "desc": "Italo"
                },
                {
                    "id": 133,
                    "cat": "Audio",
                    "desc": "ClubDance"
                },
                {
                    "id": 134,
                    "cat": "Audio",
                    "desc": "Retro Remixes"
                },
                {
                    "id": 146,
                    "cat": "Audio",
                    "desc": "Techno"
                },
                {
                    "id": 132,
                    "cat": "Audio",
                    "desc": "eurodance"
                },
                {
                    "id": 145,
                    "cat": "Audio",
                    "desc": "Chillout"
                },
                {
                    "id": 83,
                    "cat": "Audio",
                    "desc": "BLUES / REGGAE/ ROCK / METAL/CLASSIC/"
                },
                {
                    "id": 2,
                    "cat": "Console",
                    "desc": "Gry"
                },
                {
                    "id": 3,
                    "cat": "Console/PS3",
                    "desc": "Sony PS"
                },
                {
                    "id": 4,
                    "cat": "Console/Wii",
                    "desc": "Wii"
                },
                {
                    "id": 26,
                    "cat": "Console/XBox",
                    "desc": "XboX"
                },
                {
                    "id": 27,
                    "cat": "PC/Games",
                    "desc": "Gry PC"
                },
                {
                    "id": 28,
                    "cat": "Console/NDS",
                    "desc": "Nintendo"
                },
                {
                    "id": 47,
                    "cat": "Books/EBook",
                    "desc": "EEbooki"
                },
                {
                    "id": 48,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Book"
                },
                {
                    "id": 50,
                    "cat": "Books/EBook",
                    "desc": "Ebook Pdf"
                },
                {
                    "id": 67,
                    "cat": "Books/Comics",
                    "desc": "Komiksy"
                },
                {
                    "id": 59,
                    "cat": "Other",
                    "desc": "BBRG"
                },
                {
                    "id": 39,
                    "cat": "Movies/BluRay",
                    "desc": "Filmy BluRay 50/25/9"
                },
                {
                    "id": 88,
                    "cat": "Movies/3D",
                    "desc": "Filmi 3D"
                },
                {
                    "id": 108,
                    "cat": "Movies/BluRay",
                    "desc": "Filmi BluRay"
                },
                {
                    "id": 89,
                    "cat": "Movies/HD",
                    "desc": "Filmi HD x264"
                },
                {
                    "id": 90,
                    "cat": "Movies/HD",
                    "desc": "Filmi HD DivX / XviD"
                },
                {
                    "id": 91,
                    "cat": "Movies/DVD",
                    "desc": "Filmi DVD 5 / DVD 9"
                },
                {
                    "id": 92,
                    "cat": "Movies/SD",
                    "desc": "Filmi SD DivX / XviD"
                },
                {
                    "id": 93,
                    "cat": "Movies/SD",
                    "desc": "Filmi SD x264"
                },
                {
                    "id": 96,
                    "cat": "Movies",
                    "desc": "Filmi TVRip"
                },
                {
                    "id": 101,
                    "cat": "Movies",
                    "desc": "Filmi Boxset"
                },
                {
                    "id": 98,
                    "cat": "Movies",
                    "desc": "Filmi Seriale"
                },
                {
                    "id": 95,
                    "cat": "Movies",
                    "desc": "Bajki"
                },
                {
                    "id": 97,
                    "cat": "Audio/Video",
                    "desc": "Kabarety"
                },
                {
                    "id": 102,
                    "cat": "Movies/HD",
                    "desc": "Filmi x265"
                },
                {
                    "id": 104,
                    "cat": "Movies",
                    "desc": "Filmi FILMY GSM / PDA"
                },
                {
                    "id": 86,
                    "cat": "Audio",
                    "desc": "Muzyka BBRG"
                },
                {
                    "id": 110,
                    "cat": "Movies",
                    "desc": "Filmi Biblijny"
                },
                {
                    "id": 114,
                    "cat": "Movies/UHD",
                    "desc": "Filmi 4K-UHD"
                },
                {
                    "id": 115,
                    "cat": "Movies",
                    "desc": "Filmi Fan BBRG"
                },
                {
                    "id": 112,
                    "cat": "Movies",
                    "desc": "Filmi ENG"
                }
            ],
            "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": "Filter freeleech only",
                "default": false
            },
            {
                "name": "info_profile",
                "type": "info",
                "label": "Layout",
                "default": "<ul><li>Only the English Classic profile is supported.</li><li>Make sure to set the <b>Torrent Listing (Lista torrentów)</b> option in your profile to <b>Classic (Klasyczny)</b></li><li>And set the <b>Language (Dil)</b> to <b>English</b></li><li>Using the <i>Modern</i> theme will prevent results, and using <i>Polski</i> will prevent upload dates.</li></ul>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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": "Account retention rules: Inactive accounts over 30 days will be warned by email about their inactivity. If within 24h a person does not log in to their account, they will lose them without the possibility of returning."
            }
        ],
        "login": {
            "path": "?p=home&pid=1",
            "method": "form",
            "form": "form#sls_form",
            "submitpath": "ajax/login.php",
            "inputs": {
                "action": "login",
                "loginbox_membername": "{{ .Config.username }}",
                "loginbox_password": "{{ .Config.password }}",
                "loginbox_remember": 1
            },
            "selectorinputs": {
                "securitytoken": {
                    "selector": "script:contains(\"stKey: \")",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "stKey: \"(.+?)\","
                        }
                    ]
                }
            },
            "error": [
                {
                    "selector": "div.error"
                },
                {
                    "selector": ":contains(\"-ERROR-\")"
                }
            ],
            "test": {
                "path": "?p=home&pid=1",
                "selector": "div#member_info_bar"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[^a-zA-Z0-9]+",
                        "%25"
                    ]
                }
            ],
            "inputs": {
                "p": "torrents",
                "pid": 32,
                "$raw": "{{ range .Categories }}cid[]={{.}}&{{end}}",
                "keywords": "{{ .Keywords }}",
                "search_type": "name",
                "sortOptions[sortBy]": "{{ .Config.sort }}",
                "sortOptions[sortOrder]": "{{ .Config.type }}"
            },
            "error": [
                {
                    "selector": "div.error:not(:contains(\"There are no results found.\"))"
                }
            ],
            "rows": {
                "selector": "table#torrents_table_classic > tbody > tr:has(a[href*=\"?p=torrents&pid=10&action=download&tid=\"]){{ if .Config.freeleech }}:has(img[src$=\"/torrent_free.png\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?p=torrents&pid=10&cid=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cid"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details&tid=\"]"
                },
                "details": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details&tid=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=download&tid=\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href",
                    "optional": true
                },
                "poster": {
                    "selector": "a[href*=\"data/torrents/torrent_images/\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "a[rel=\"torrent_size\"]"
                },
                "grabs": {
                    "selector": "a[rel=\"times_completed\"]"
                },
                "seeders": {
                    "selector": "a[rel=\"torrent_seeders\"]"
                },
                "leechers": {
                    "selector": "a[rel=\"torrent_leechers\"]"
                },
                "date_day": {
                    "selector": "td.torrent_name:contains(\"day at \")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "td.torrent_name:not(:contains(\"day at \"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm:ss"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/torrent_free.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "bigcore": {
        "credentials": {
            "cookie": ""
        },
        "id": "bigcore",
        "name": "BigCore",
        "description": "BigCore is a HUNGARIAN Private Tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bigcore.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 48,
                    "cat": "Movies/SD",
                    "desc": "CAM/Hun"
                },
                {
                    "id": 49,
                    "cat": "Movies/SD",
                    "desc": "CAM/Eng"
                },
                {
                    "id": 50,
                    "cat": "Movies/SD",
                    "desc": "SD/Hun"
                },
                {
                    "id": 51,
                    "cat": "Movies/SD",
                    "desc": "SD/Eng"
                },
                {
                    "id": 52,
                    "cat": "Movies/DVD",
                    "desc": "DVD/Hun"
                },
                {
                    "id": 53,
                    "cat": "Movies/DVD",
                    "desc": "DVD/Eng"
                },
                {
                    "id": 54,
                    "cat": "Movies/HD",
                    "desc": "HD/Hun"
                },
                {
                    "id": 55,
                    "cat": "Movies/HD",
                    "desc": "HD/Eng"
                },
                {
                    "id": 56,
                    "cat": "TV",
                    "desc": "Sorozat/Hun"
                },
                {
                    "id": 57,
                    "cat": "TV",
                    "desc": "Sorozat/Eng"
                },
                {
                    "id": 58,
                    "cat": "PC/Games",
                    "desc": "Játék/ISO"
                },
                {
                    "id": 59,
                    "cat": "PC/ISO",
                    "desc": "Program/ISO"
                },
                {
                    "id": 60,
                    "cat": "PC/Games",
                    "desc": "Játék/RIP"
                },
                {
                    "id": 61,
                    "cat": "PC/0day",
                    "desc": "Program/RIP"
                },
                {
                    "id": 62,
                    "cat": "Audio",
                    "desc": "Zene/Hun"
                },
                {
                    "id": 63,
                    "cat": "Audio",
                    "desc": "Zene/Eng"
                },
                {
                    "id": 64,
                    "cat": "Books",
                    "desc": "Könyv"
                },
                {
                    "id": 65,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil"
                },
                {
                    "id": 66,
                    "cat": "XXX/x264",
                    "desc": "XXX/Video"
                },
                {
                    "id": 67,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX/Kép"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 4,
                "options": {
                    "1": "title",
                    "4": "created",
                    "7": "seeders",
                    "5": "size"
                }
            },
            {
                "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. The default is <i>30</i>."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "tr[id^=\"torrent_row_\"], tr[id^=\"hidden_torrent_row_\"]",
                "after": 1
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a#torrentName",
                    "attribute": "title"
                },
                "_id": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "torrent"
                        }
                    ]
                },
                "details": {
                    "text": "details.php?id={{ .Result._id }}"
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"kepek/\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "a.viewFileList"
                },
                "date": {
                    "selector": "td:nth-child(7) a[title]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(8)"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "seeders": {
                    "selector": "td:nth-child(10)"
                },
                "leechers": {
                    "selector": "td:nth-child(11)"
                },
                "description": {
                    "case": {
                        "i.fa-check": "Verified",
                        "i.fa-question": "Unverified"
                    }
                },
                "downloadvolumefactor": {
                    "case": {
                        "span:contains(\"0x\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span:contains(\"2x\")": 2,
                        "span:contains(\"3x\")": 3,
                        "span:contains(\"4x\")": 4,
                        "span:contains(\"5x\")": 5,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "bigfangroup": {
        "id": "bigfangroup",
        "name": "BigFANGroup",
        "description": "BigFANGroup is a RUSSIAN Public Torrent Tracker for MOVIES / TV",
        "language": "ru-RU",
        "type": "public",
        "encoding": "windows-1251",
        "links": [
            "https://bigfangroup.org/",
            "https://www.freebfg.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 51,
                    "cat": "Movies/3D",
                    "desc": "3D"
                },
                {
                    "id": 12,
                    "cat": "TV",
                    "desc": "Анимация"
                },
                {
                    "id": 35,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудио-книги"
                },
                {
                    "id": 13,
                    "cat": "Movies",
                    "desc": "Боевик"
                },
                {
                    "id": 52,
                    "cat": "Movies",
                    "desc": "Биография"
                },
                {
                    "id": 33,
                    "cat": "Movies",
                    "desc": "Военный"
                },
                {
                    "id": 45,
                    "cat": "Audio/Video",
                    "desc": "Видеоклипы"
                },
                {
                    "id": 48,
                    "cat": "Movies",
                    "desc": "Вестерн"
                },
                {
                    "id": 21,
                    "cat": "Movies",
                    "desc": "Драма"
                },
                {
                    "id": 32,
                    "cat": "TV/Documentary",
                    "desc": "Документальный"
                },
                {
                    "id": 39,
                    "cat": "Movies",
                    "desc": "Детектив"
                },
                {
                    "id": 44,
                    "cat": "Audio",
                    "desc": "Зарубежная музыка"
                },
                {
                    "id": 5,
                    "cat": "PC/Games",
                    "desc": "Игры"
                },
                {
                    "id": 28,
                    "cat": "Movies",
                    "desc": "Исторический"
                },
                {
                    "id": 18,
                    "cat": "Movies",
                    "desc": "Катастрофа"
                },
                {
                    "id": 24,
                    "cat": "Movies",
                    "desc": "Комедия"
                },
                {
                    "id": 36,
                    "cat": "Movies",
                    "desc": "Криминал"
                },
                {
                    "id": 38,
                    "cat": "Books",
                    "desc": "Книги и журналы"
                },
                {
                    "id": 53,
                    "cat": "Movies",
                    "desc": "Классика"
                },
                {
                    "id": 54,
                    "cat": "Audio",
                    "desc": "Классическая музыка"
                },
                {
                    "id": 19,
                    "cat": "Movies",
                    "desc": "Мелодрама"
                },
                {
                    "id": 20,
                    "cat": "Movies",
                    "desc": "Мультфильм"
                },
                {
                    "id": 31,
                    "cat": "Movies",
                    "desc": "Мистика"
                },
                {
                    "id": 46,
                    "cat": "Audio",
                    "desc": "Муз. сборники"
                },
                {
                    "id": 29,
                    "cat": "Movies/Foreign",
                    "desc": "Наше кино"
                },
                {
                    "id": 49,
                    "cat": "TV",
                    "desc": "Научно-популярное"
                },
                {
                    "id": 50,
                    "cat": "TV",
                    "desc": "Новости"
                },
                {
                    "id": 27,
                    "cat": "Movies",
                    "desc": "Приключения"
                },
                {
                    "id": 9,
                    "cat": "Other",
                    "desc": "Разное"
                },
                {
                    "id": 43,
                    "cat": "Audio/Foreign",
                    "desc": "Русская музыка"
                },
                {
                    "id": 1,
                    "cat": "PC",
                    "desc": "Софт"
                },
                {
                    "id": 11,
                    "cat": "TV",
                    "desc": "Сериалы"
                },
                {
                    "id": 37,
                    "cat": "TV/Sport",
                    "desc": "Спорт"
                },
                {
                    "id": 47,
                    "cat": "Movies",
                    "desc": "Сказки"
                },
                {
                    "id": 55,
                    "cat": "Audio",
                    "desc": "Саундтрек"
                },
                {
                    "id": 25,
                    "cat": "TV",
                    "desc": "ТВ-шоу"
                },
                {
                    "id": 22,
                    "cat": "Movies",
                    "desc": "Триллер"
                },
                {
                    "id": 26,
                    "cat": "Movies",
                    "desc": "Ужасы"
                },
                {
                    "id": 23,
                    "cat": "Movies",
                    "desc": "Фантастика"
                },
                {
                    "id": 30,
                    "cat": "Movies",
                    "desc": "Фэнтази"
                },
                {
                    "id": 42,
                    "cat": "XXX",
                    "desc": "Эротика"
                },
                {
                    "id": 14,
                    "cat": "Movies/HD",
                    "desc": "HDTV"
                },
                {
                    "id": 15,
                    "cat": "Movies/DVD",
                    "desc": "DVD"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seed": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "ajax": 1,
                "search": "{{ .Keywords }}",
                "cat": "{{ if .Keywords }}0{{ else }}{{ end }}",
                "incldead": "{{ if .Keywords }}1{{ else }}{{ end }}",
                "year": "{{ if .Keywords }}0{{ else }}1{{ end }}",
                "format": "{{ if .Keywords }}0{{ else }}{{ end }}",
                "s": "{{ if .Keywords }}{{ .Config.sort }}{{ else }}{{ end }}",
                "d": "{{ if .Keywords }}{{ .Config.type }}{{ else }}{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "table > tbody#highlighted > tr:has(a[href^=\"browse.php?cat=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\s\\|\\sот\\s([\\w\\p{P}\\p{S}]+)$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\|\\s(\\w{4,})$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details",
                                "download"
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "date": {
                    "selector": "img[src=\"pic/time.png\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " в ",
                                " "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "января",
                                "January"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "февраля",
                                "February"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "марта",
                                "March"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "апреля",
                                "April"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "мая",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июня",
                                "June"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июля",
                                "July"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "августа",
                                "August"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "сентября",
                                "September"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "октября",
                                "October"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ноября",
                                "November"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "декабря",
                                "December"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "d MMMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "a[href^=\"details.php?id=\"]"
                }
            }
        }
    },
    "bitbazis": {
        "credentials": {
            "cookie": ""
        },
        "id": "bitbazis",
        "name": "Bit-Bázis",
        "description": "Bit-Bázis is a HUNGARIAN Private Tracker for MOVIES / TV",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bitbazis.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 66,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX"
                },
                {
                    "id": 33,
                    "cat": "XXX/SD",
                    "desc": "XXX-SD"
                },
                {
                    "id": 89,
                    "cat": "XXX/x264",
                    "desc": "XXX-HD"
                },
                {
                    "id": 15,
                    "cat": "Movies/SD",
                    "desc": "Film-SD"
                },
                {
                    "id": 83,
                    "cat": "Movies/HD",
                    "desc": "Film-HD"
                },
                {
                    "id": 94,
                    "cat": "Movies/HD",
                    "desc": "Film-FHD"
                },
                {
                    "id": 22,
                    "cat": "TV",
                    "desc": "Sorozat-Hun"
                },
                {
                    "id": 25,
                    "cat": "Audio/MP3",
                    "desc": "Mp3-Hun"
                },
                {
                    "id": 26,
                    "cat": "Audio/MP3",
                    "desc": "Mp3-Eng"
                },
                {
                    "id": 84,
                    "cat": "Audio/Lossless",
                    "desc": "FLAC-Hun"
                },
                {
                    "id": 71,
                    "cat": "Audio/Lossless",
                    "desc": "FLAC-Eng"
                },
                {
                    "id": 27,
                    "cat": "Books/EBook",
                    "desc": "Könyv"
                },
                {
                    "id": 81,
                    "cat": "PC/0day",
                    "desc": "Program"
                },
                {
                    "id": 31,
                    "cat": "PC/Games",
                    "desc": "Játék"
                },
                {
                    "id": 69,
                    "cat": "TV/Anime",
                    "desc": "Mese-SD"
                },
                {
                    "id": 91,
                    "cat": "TV/Anime",
                    "desc": "Mese-HD"
                },
                {
                    "id": 64,
                    "cat": "Movies",
                    "desc": "Film-Pack"
                },
                {
                    "id": 92,
                    "cat": "Movies/UHD",
                    "desc": "Film-UHD"
                },
                {
                    "id": 24,
                    "cat": "Audio/Video",
                    "desc": "Klip"
                },
                {
                    "id": 14,
                    "cat": "Other",
                    "desc": "Egyéb"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 4,
                "options": {
                    "1": "title",
                    "4": "added",
                    "5": "size"
                }
            },
            {
                "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>50</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "If the user does not access the site for 1 month, he will receive an e-mail notification. If you stay away for 9 months, your account will be suspended and deleted. After the 9-month absence, the user cannot register again."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[onclick^=\"confirmLogout()\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "q": "{{ .Keywords }}",
                "incl": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "ajax": 1
            },
            "rows": {
                "selector": "torrents"
            },
            "fields": {
                "categorydesc": {
                    "selector": "cat_name"
                },
                "title": {
                    "selector": "name"
                },
                "_id": {
                    "selector": "id"
                },
                "details": {
                    "text": "details.php?id={{ .Result._id }}"
                },
                "download": {
                    "text": "download.php?torrent={{ .Result._id }}"
                },
                "size": {
                    "selector": "size"
                },
                "date": {
                    "selector": "added",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "és ",
                                " "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "perce",
                                "minute"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "órája",
                                "hour"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "napja",
                                "day"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "hete",
                                "week"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "éve",
                                "year"
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "genre": {
                    "selector": "genre"
                },
                "_verified": {
                    "selector": "ellenorizve",
                    "case": {
                        "1": "Verified",
                        "*": "Not Verified"
                    }
                },
                "description": {
                    "text": "{{ .Result._verified }} | {{ .Result.genre }}"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "selector": "upload_multiplier"
                },
                "minimumseedtime": {
                    "text": 57600
                }
            }
        }
    },
    "bitded": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "bitded",
        "name": "Bitded",
        "description": "Bitded is a THAI Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "th-TH",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.dedbit.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Other",
                    "desc": "ในพระราชสำนัก (in the royal court)"
                },
                {
                    "id": 4,
                    "cat": "TV",
                    "desc": "รายการทีวี (TV)"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "ภาพยนตร์ชุด (Series)"
                },
                {
                    "id": 12,
                    "cat": "Books/EBook",
                    "desc": "หนังสือ สื่อการสอน (Books)"
                },
                {
                    "id": 13,
                    "cat": "Other/Misc",
                    "desc": "ทั่วไป (General)"
                },
                {
                    "id": 14,
                    "cat": "TV/Sport",
                    "desc": "กีฬา (Sport)"
                },
                {
                    "id": 16,
                    "cat": "TV/Documentary",
                    "desc": "สารคดี (Documentary)"
                },
                {
                    "id": 18,
                    "cat": "TV/Other",
                    "desc": "ธรรมะ (Dharma)"
                },
                {
                    "id": 21,
                    "cat": "Books/Comics",
                    "desc": "หนังสือการ์ตูน (Comics)"
                },
                {
                    "id": 22,
                    "cat": "TV/Anime",
                    "desc": "การ์ตูนอนิเมชั่น (Anime)"
                },
                {
                    "id": 31,
                    "cat": "Movies",
                    "desc": "ภาพยนตร์ (Movies)"
                },
                {
                    "id": 34,
                    "cat": "Movies/DVD",
                    "desc": "ภาพยนตร์ DVD (Movies DVD)"
                },
                {
                    "id": 35,
                    "cat": "Movies/HD",
                    "desc": "วีดีโอความละเอียดสูง (Movies HD)"
                },
                {
                    "id": 41,
                    "cat": "Audio/MP3",
                    "desc": "เพลง (Music)"
                },
                {
                    "id": 43,
                    "cat": "Audio/Video",
                    "desc": "มิวสิควีดีโอ (Music video)"
                },
                {
                    "id": 53,
                    "cat": "PC/0day",
                    "desc": "โปรแกรม/Windows (Software Windows)"
                },
                {
                    "id": 54,
                    "cat": "PC/Mac",
                    "desc": "โปรแกรม/Mac, Linux (Software Mac/Linux)"
                },
                {
                    "id": 55,
                    "cat": "PC/Mobile-Other",
                    "desc": "โปรแกรม/Mobile (Software Mobile)"
                },
                {
                    "id": 61,
                    "cat": "PC/Games",
                    "desc": "เกม-Computer (PC Games)"
                },
                {
                    "id": 62,
                    "cat": "Console",
                    "desc": "เกม-Console (Console)"
                },
                {
                    "id": 63,
                    "cat": "Console",
                    "desc": "เกมส์-พกพา (Console portable)"
                },
                {
                    "id": 72,
                    "cat": "Other",
                    "desc": "รูปภาพ (Pics)"
                },
                {
                    "id": 74,
                    "cat": "Other",
                    "desc": "J-IDOL"
                }
            ],
            "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": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "DESC",
                "options": {
                    "DESC": "desc",
                    "ASC": "asc"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "x": "axion",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:contains(\"Login failed!\")"
                }
            ],
            "test": {
                "path": "my.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "incldead": 1,
                "freeload": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "search": "{{ .Keywords }}",
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.torrenttable tbody tr:has(a[href^=\"download.php\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-last-child(9)"
                },
                "date": {
                    "selector": "td:nth-last-child(7)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"pic/freeload.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "bitgamer": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "bitgamer",
        "name": "bitGAMER",
        "description": "bitGAMER is a Private Torrent Tracker for GAMES",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bitgamer.ch/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "XXX/Other",
                    "desc": "Adult Games"
                },
                {
                    "id": 3,
                    "cat": "PC/0day",
                    "desc": "Burning/Ripping Tools"
                },
                {
                    "id": 4,
                    "cat": "Books/Other",
                    "desc": "Guides/Game Documents"
                },
                {
                    "id": 13,
                    "cat": "Movies/Other",
                    "desc": "Movies/TV/Video"
                },
                {
                    "id": 48,
                    "cat": "Audio/Other",
                    "desc": "Music/OST"
                },
                {
                    "id": 52,
                    "cat": "Console/Other",
                    "desc": "Amiga"
                },
                {
                    "id": 18,
                    "cat": "PC/Mobile-iOS",
                    "desc": "Apple - iPhone/iPod/iPad"
                },
                {
                    "id": 54,
                    "cat": "Console/Other",
                    "desc": "Arcade"
                },
                {
                    "id": 19,
                    "cat": "Console/Other",
                    "desc": "Atari"
                },
                {
                    "id": 51,
                    "cat": "Console/Other",
                    "desc": "Commodore 64"
                },
                {
                    "id": 22,
                    "cat": "PC/Mobile-Android",
                    "desc": "Google - Android"
                },
                {
                    "id": 61,
                    "cat": "Console/Other",
                    "desc": "Hyperspin"
                },
                {
                    "id": 24,
                    "cat": "Console/XBox",
                    "desc": "Microsoft - Xbox"
                },
                {
                    "id": 25,
                    "cat": "Console/XBox 360",
                    "desc": "Microsoft - Xbox 360"
                },
                {
                    "id": 49,
                    "cat": "Console/XBox 360",
                    "desc": "Microsoft - Xbox 360 JTAG"
                },
                {
                    "id": 57,
                    "cat": "Console/XBox One",
                    "desc": "Microsoft - Xbox One"
                },
                {
                    "id": 27,
                    "cat": "Console/Other",
                    "desc": "Neo Geo"
                },
                {
                    "id": 55,
                    "cat": "Console/3DS",
                    "desc": "Nintendo - 3DS"
                },
                {
                    "id": 28,
                    "cat": "Console/NDS",
                    "desc": "Nintendo - DS"
                },
                {
                    "id": 29,
                    "cat": "Console/Other",
                    "desc": "Nintendo - Game Boy Advance"
                },
                {
                    "id": 30,
                    "cat": "Console/Other",
                    "desc": "Nintendo - Gameboy"
                },
                {
                    "id": 31,
                    "cat": "Console/Other",
                    "desc": "Nintendo - Gamecube "
                },
                {
                    "id": 33,
                    "cat": "Console/Other",
                    "desc": "Nintendo - N64 "
                },
                {
                    "id": 35,
                    "cat": "Console/Other",
                    "desc": "Nintendo - NES"
                },
                {
                    "id": 50,
                    "cat": "Console/Other",
                    "desc": "Nintendo - SNES"
                },
                {
                    "id": 63,
                    "cat": "Console/Other",
                    "desc": "Nintendo - Switch"
                },
                {
                    "id": 37,
                    "cat": "Console/Wii",
                    "desc": "Nintendo - Wii"
                },
                {
                    "id": 59,
                    "cat": "Console/WiiU",
                    "desc": "Nintendo - Wii U"
                },
                {
                    "id": 53,
                    "cat": "PC/Games",
                    "desc": "PC - DOS"
                },
                {
                    "id": 64,
                    "cat": "PC/Games",
                    "desc": "PC - Linux"
                },
                {
                    "id": 39,
                    "cat": "PC/Mac",
                    "desc": "PC - Mac OS X"
                },
                {
                    "id": 40,
                    "cat": "PC/Games",
                    "desc": "PC - Windows"
                },
                {
                    "id": 41,
                    "cat": "Console/Other",
                    "desc": "Sega"
                },
                {
                    "id": 42,
                    "cat": "Console/Other",
                    "desc": "Sega - Dreamcast"
                },
                {
                    "id": 43,
                    "cat": "Console/Other",
                    "desc": "Sega - Megadrive"
                },
                {
                    "id": 44,
                    "cat": "Console/Other",
                    "desc": "Sony - Playstation"
                },
                {
                    "id": 45,
                    "cat": "Console/Other",
                    "desc": "Sony - Playstation 2"
                },
                {
                    "id": 46,
                    "cat": "Console/PS3",
                    "desc": "Sony - Playstation 3"
                },
                {
                    "id": 56,
                    "cat": "Console/PS4",
                    "desc": "Sony - Playstation 4"
                },
                {
                    "id": 47,
                    "cat": "Console/PSP",
                    "desc": "Sony - Playstation Portable "
                },
                {
                    "id": 58,
                    "cat": "Console/PS Vita",
                    "desc": "Sony - Playstation Vita"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "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": 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"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td:has(:contains(\"Login failed\"))"
                }
            ],
            "test": {
                "path": "my.php",
                "selector": "a[href^=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "category": 0,
                "blah": 0,
                "incldead": "{{ if .Config.freeleech }}3{{ else }}0{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[cellpadding=\"5\"] > tbody > tr:has(a[href^=\"download.php\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php\"][title]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(5):not(:contains(\"000-00-0000:00:00\"))",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ],
                    "optional": true,
                    "default": "now"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(10)"
                },
                "leechers": {
                    "selector": "td:nth-child(11)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src*=\"/freeleech.png\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "bithumen": {
        "credentials": {
            "cookie": ""
        },
        "id": "bithumen",
        "name": "BitHUmen",
        "description": "BitHUmen is a HUNGARIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "ISO-8859-2",
        "links": [
            "https://bithumen.be/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 23,
                    "cat": "Movies/SD",
                    "desc": "Film/Hun/SD"
                },
                {
                    "id": 24,
                    "cat": "Movies/DVD",
                    "desc": "Film/Hun/DVD-R"
                },
                {
                    "id": 25,
                    "cat": "Movies/HD",
                    "desc": "Film/Hun/720p"
                },
                {
                    "id": 37,
                    "cat": "Movies/HD",
                    "desc": "Film/Hun/1080p"
                },
                {
                    "id": 33,
                    "cat": "Movies/BluRay",
                    "desc": "Film/Hun/Blu-ray"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "XXX/SD"
                },
                {
                    "id": 19,
                    "cat": "Movies/SD",
                    "desc": "Film/Eng/SD"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Film/Eng/DVD-R"
                },
                {
                    "id": 5,
                    "cat": "Movies/HD",
                    "desc": "Film/Eng/720p"
                },
                {
                    "id": 39,
                    "cat": "Movies/HD",
                    "desc": "Film/Eng/1080p"
                },
                {
                    "id": 40,
                    "cat": "Movies/BluRay",
                    "desc": "Film/Eng/Blu-ray"
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "XXX/HD"
                },
                {
                    "id": 7,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Hun/SD"
                },
                {
                    "id": 41,
                    "cat": "TV/HD",
                    "desc": "Sorozat/Hun/HD"
                },
                {
                    "id": 26,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Eng/SD"
                },
                {
                    "id": 42,
                    "cat": "TV/HD",
                    "desc": "Sorozat/Eng/HD"
                },
                {
                    "id": 28,
                    "cat": "Books",
                    "desc": "eBook/Hun"
                },
                {
                    "id": 29,
                    "cat": "Books",
                    "desc": "eBook/Eng"
                },
                {
                    "id": 9,
                    "cat": "Audio/MP3",
                    "desc": "Mp3/Hun"
                },
                {
                    "id": 35,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless/Hun"
                },
                {
                    "id": 1,
                    "cat": "PC/0day",
                    "desc": "Programok/ISO"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Játékok/ISO"
                },
                {
                    "id": 31,
                    "cat": "Console/PS4",
                    "desc": "Játékok/PS"
                },
                {
                    "id": 36,
                    "cat": "Console/Wii",
                    "desc": "Játékok/Wii"
                },
                {
                    "id": 6,
                    "cat": "Audio/MP3",
                    "desc": "Mp3/Eng"
                },
                {
                    "id": 38,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless/Eng"
                },
                {
                    "id": 22,
                    "cat": "PC",
                    "desc": "Programok/egyéb"
                },
                {
                    "id": 21,
                    "cat": "PC",
                    "desc": "Játékok/Rip/Dox"
                },
                {
                    "id": 32,
                    "cat": "Console/XBox 360",
                    "desc": "Játékok/Xbox360"
                },
                {
                    "id": 27,
                    "cat": "Other",
                    "desc": "Klipek"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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": "If you do not visit the site for 1 year, you will be banned for inactivity. The permanent deletion of your account after the ban is 2 years."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"/logout.php?\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "onlytitle": "{{ if .Query.IMDBID }}{{ else }}yes{{ end }}",
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table#torrenttable > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details.php?id=",
                                "download.php/"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "/invalid.torrent"
                        }
                    ]
                },
                "poster": {
                    "selector": "a[onmouseover^=\"bithumen.UI.images.coverShow\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\"(.*?)\""
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(6) > u"
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "/\\s*([\\d,]+)"
                        }
                    ]
                },
                "genre": {
                    "selector": "span:has(a[href^=\"browse.php?genre=\"])"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "selector": "td:nth-child(5) > nobr > font:contains(\" × \")",
                    "optional": true,
                    "default": 1
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td:nth-child(2) > div"
                },
                "date_year": {
                    "selector": "td:nth-child(5):contains('.')",
                    "optional": true,
                    "remove": "font",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                ". ",
                                " "
                            ]
                        },
                        {
                            "name": "prepend",
                            "args": "{{ .Today.Year }}."
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "([0-9]{4}).([0-9]+).([0-9]+) (.*)",
                                "$2.$3.$1 $4"
                            ]
                        }
                    ]
                },
                "date_day": {
                    "selector": "td:nth-child(5):contains('ma'), td:nth-child(5):contains(\"tegnap\"), td:nth-child(5):contains('-')",
                    "optional": true,
                    "remove": "font",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "ma",
                                "today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "tegnap",
                                "yesterday"
                            ]
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                }
            }
        }
    },
    "bitmagnet": {
        "credentials": [],
        "id": "bitmagnet",
        "name": "BitMagnet (Local DHT)",
        "description": "BitMagnet is a self-hosted BitTorrent DHT search engine",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "http://127.0.0.1:3333/",
            "http://bitmagnet:3333/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "movie"
                },
                {
                    "id": 2030,
                    "cat": "Movies/SD",
                    "desc": "movie_sd"
                },
                {
                    "id": 2040,
                    "cat": "Movies/HD",
                    "desc": "movie_hd"
                },
                {
                    "id": 2045,
                    "cat": "Movies/UHD",
                    "desc": "movie_uhd"
                },
                {
                    "id": 2060,
                    "cat": "Movies/3D",
                    "desc": "movie_3d"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "music"
                },
                {
                    "id": 3030,
                    "cat": "Audio/Audiobook",
                    "desc": "audiobook"
                },
                {
                    "id": 4000,
                    "cat": "PC",
                    "desc": "software"
                },
                {
                    "id": 4050,
                    "cat": "PC/Games",
                    "desc": "game"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "tv_show"
                },
                {
                    "id": 5030,
                    "cat": "TV/SD",
                    "desc": "tv_show_sd"
                },
                {
                    "id": 5040,
                    "cat": "TV/HD",
                    "desc": "tv_show_hd"
                },
                {
                    "id": 5045,
                    "cat": "TV/UHD",
                    "desc": "tv_show_uhd"
                },
                {
                    "id": 6000,
                    "cat": "XXX",
                    "desc": "xxx"
                },
                {
                    "id": 6070,
                    "cat": "XXX/Other",
                    "desc": "xxx_other"
                },
                {
                    "id": 7000,
                    "cat": "Books",
                    "desc": "book"
                },
                {
                    "id": 7020,
                    "cat": "Books/EBook",
                    "desc": "ebook"
                },
                {
                    "id": 7030,
                    "cat": "Books/Comics",
                    "desc": "comic"
                },
                {
                    "id": 8000,
                    "cat": "Other",
                    "desc": "Unknown"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "search": {
            "paths": [
                {
                    "path": "torznab/api",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "t": "{{ .Query.Type }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "imdbid": "{{ .Query.IMDBIDShort }}",
                "tmdbid": "{{ .Query.TMDBID }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "limit": 100
            },
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "categorydesc": {
                    "selector": "category"
                },
                "title": {
                    "selector": "title"
                },
                "details": {
                    "text": "/"
                },
                "date": {
                    "selector": "pubDate"
                },
                "infohash": {
                    "selector": "guid"
                },
                "size": {
                    "selector": "size"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "bitpalace": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "bitpalace",
        "name": "Bitpalace",
        "description": "Bitpalace is a HUNGARIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "certificates": [
            "1453f04660cdfb424857a8ec01936ae026945569"
        ],
        "links": [
            "https://bitpalace.cc/"
        ],
        "legacylinks": [
            "https://bitpalace.hu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 8,
                    "cat": "Movies/BluRay",
                    "desc": "BLUERAY ENG"
                },
                {
                    "id": 7,
                    "cat": "Movies/BluRay",
                    "desc": "BLUERAY HUN"
                },
                {
                    "id": 15,
                    "cat": "Movies/DVD",
                    "desc": "DVD-R ENG"
                },
                {
                    "id": 2,
                    "cat": "Movies/DVD",
                    "desc": "DVD-R HUN"
                },
                {
                    "id": 9,
                    "cat": "Books",
                    "desc": "Ebook ENG"
                },
                {
                    "id": 5,
                    "cat": "Books",
                    "desc": "Ebook HUN"
                },
                {
                    "id": 40,
                    "cat": "Other",
                    "desc": "EGYÉBB"
                },
                {
                    "id": 16,
                    "cat": "Movies/HD",
                    "desc": "HD ENG"
                },
                {
                    "id": 1,
                    "cat": "Movies/HD",
                    "desc": "HD HUN"
                },
                {
                    "id": 25,
                    "cat": "TV/Anime",
                    "desc": "MESE ENG"
                },
                {
                    "id": 24,
                    "cat": "TV/Anime",
                    "desc": "MESE HUN"
                },
                {
                    "id": 18,
                    "cat": "PC/Games",
                    "desc": "PC game ISO"
                },
                {
                    "id": 21,
                    "cat": "Console",
                    "desc": "PC game KONZOL"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "PC game RIP"
                },
                {
                    "id": 27,
                    "cat": "PC/ISO",
                    "desc": "Program ISO"
                },
                {
                    "id": 26,
                    "cat": "PC/Mobile-Other",
                    "desc": "Program MOBIL"
                },
                {
                    "id": 78,
                    "cat": "PC/0day",
                    "desc": "Program RIP"
                },
                {
                    "id": 23,
                    "cat": "TV/SD",
                    "desc": "Sor.DVD-R ENG"
                },
                {
                    "id": 22,
                    "cat": "TV/SD",
                    "desc": "Sor.DVD-R HUN"
                },
                {
                    "id": 14,
                    "cat": "TV/SD",
                    "desc": "Sor.XVID ENG"
                },
                {
                    "id": 4,
                    "cat": "TV",
                    "desc": "Sorozat HUN"
                },
                {
                    "id": 13,
                    "cat": "Movies/SD",
                    "desc": "XVID ENG"
                },
                {
                    "id": 3,
                    "cat": "Movies/SD",
                    "desc": "XVID HUN"
                },
                {
                    "id": 12,
                    "cat": "XXX/DVD",
                    "desc": "XXX DVD-R"
                },
                {
                    "id": 6,
                    "cat": "XXX/x264",
                    "desc": "XXX HD"
                },
                {
                    "id": 10,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX KÉPEK"
                },
                {
                    "id": 11,
                    "cat": "XXX/XviD",
                    "desc": "XXX XVID"
                },
                {
                    "id": 82,
                    "cat": "Audio",
                    "desc": "ZENE ENG"
                },
                {
                    "id": 83,
                    "cat": "Audio",
                    "desc": "ZENE HUN"
                }
            ],
            "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": "Filter freeleech only",
                "default": false
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "form": "form[action=\"/login_check\"]",
            "inputs": {
                "_username": "{{ .Config.username }}",
                "_password": "{{ .Config.password }}",
                "logout": ""
            },
            "error": [
                {
                    "selector": "h3[style=\"color:red\"]"
                }
            ],
            "test": {
                "path": "my",
                "selector": "a[href=\"/logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[^a-zA-Z0-9]+",
                        "%"
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat[]={{.}}&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table#torrenttable > tbody > tr:has(a[onclick]):not(:contains(\"Törölt\")){{ if .Config.freeleech }}:has(img[src$=\"/freeicon.png\"]){{ else }}{{ end }}"
            },
            "fields": {
                "categorydesc": {
                    "selector": "img",
                    "attribute": "alt",
                    "optional": true,
                    "default": "EGYÉBB"
                },
                "title": {
                    "selector": "a[onclick]",
                    "remove": "style"
                },
                "_id": {
                    "selector": "a[onclick]",
                    "attribute": "onclick",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)"
                        }
                    ]
                },
                "details": {
                    "text": "details?id={{ .Result._id }}"
                },
                "download": {
                    "text": "/raw/download?id={{ .Result._id }}&name={{ .Result.title }}.torrent"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "description": {
                    "case": {
                        "img[src$=\"/yes.png\"]": "Verified",
                        "img[src$=\"/nincs.png\"]": "Unverified"
                    }
                },
                "poster": {
                    "selector": "img[width=\"200\"][height=\"250\"]",
                    "attribute": "src"
                },
                "date": {
                    "selector": "td:nth-last-child(6)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/freeicon.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"/2xup.jpg\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "bitporn": {
        "credentials": {
            "apikey": ""
        },
        "id": "bitporn",
        "name": "BitPorn (API)",
        "description": "BitPorn (Malacka) is a HUNGARIAN Private Torrent Tracker for 3X",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bitporn.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 54,
                    "cat": "XXX",
                    "desc": "Ai Generated\""
                },
                {
                    "id": 4,
                    "cat": "XXX",
                    "desc": "Amateur\""
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "Anal\""
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "Asian\""
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "BBW\""
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "BDSM\""
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "Big Ass\""
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "Big Tits\""
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "Black\""
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Cartoon\""
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "Casting\""
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Classic\""
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "Collection\""
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "Creampie\""
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "Cumshot\""
                },
                {
                    "id": 18,
                    "cat": "XXX",
                    "desc": "Deepthroat\""
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "Extreme\""
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "Fansite\""
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "Family\""
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "Feature\""
                },
                {
                    "id": 23,
                    "cat": "XXX",
                    "desc": "Fetish\""
                },
                {
                    "id": 24,
                    "cat": "XXX",
                    "desc": "Fisting\""
                },
                {
                    "id": 25,
                    "cat": "XXX",
                    "desc": "Gangbang\""
                },
                {
                    "id": 26,
                    "cat": "XXX",
                    "desc": "Game\""
                },
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "Gay / Bi\""
                },
                {
                    "id": 28,
                    "cat": "XXX",
                    "desc": "Hair\""
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "Hardcore\""
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "HiddenCam\""
                },
                {
                    "id": 31,
                    "cat": "XXX",
                    "desc": "Homemade\""
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "Interracial\""
                },
                {
                    "id": 33,
                    "cat": "XXX",
                    "desc": "Lesbian\""
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "Magyar\""
                },
                {
                    "id": 35,
                    "cat": "XXX",
                    "desc": "Masturbation\""
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "Mature\""
                },
                {
                    "id": 37,
                    "cat": "XXX",
                    "desc": "Milf\""
                },
                {
                    "id": 53,
                    "cat": "XXX",
                    "desc": "Movie\""
                },
                {
                    "id": 38,
                    "cat": "XXX",
                    "desc": "Old and Young\""
                },
                {
                    "id": 39,
                    "cat": "XXX",
                    "desc": "Parody\""
                },
                {
                    "id": 40,
                    "cat": "XXX",
                    "desc": "Pictures\""
                },
                {
                    "id": 41,
                    "cat": "XXX",
                    "desc": "Pissing\""
                },
                {
                    "id": 42,
                    "cat": "XXX",
                    "desc": "POV\""
                },
                {
                    "id": 43,
                    "cat": "XXX",
                    "desc": "Pregnant\""
                },
                {
                    "id": 44,
                    "cat": "XXX",
                    "desc": "Public\""
                },
                {
                    "id": 45,
                    "cat": "XXX",
                    "desc": "Shemale\""
                },
                {
                    "id": 46,
                    "cat": "XXX",
                    "desc": "Softcore\""
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "Squirt\""
                },
                {
                    "id": 48,
                    "cat": "XXX",
                    "desc": "Straight\""
                },
                {
                    "id": 49,
                    "cat": "XXX",
                    "desc": "Teen\""
                },
                {
                    "id": 50,
                    "cat": "XXX",
                    "desc": "Threesome\""
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "VR\""
                },
                {
                    "id": 52,
                    "cat": "XXX",
                    "desc": "Uncategorized\""
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://bitporn.eu/\" target=\"_blank\">BitPorn</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "You must log in to the site at least once a month; otherwise, your account will be suspended."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title": {
                    "selector": "name"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "files": {
                    "selector": "num_file"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "bitturk": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "bitturk",
        "name": "BiTTuRK",
        "description": "BiTTuRK is a TURKISH Private Torrent Tracker for HD MOVIES / TV / GENERAL. This Indexer is for English only.",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bitturk.net/"
        ],
        "legacylinks": [
            "http://www.bitturk.net/",
            "http://bitturk.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Filmler"
                },
                {
                    "id": 38,
                    "cat": "Movies",
                    "desc": "Türk Filmi"
                },
                {
                    "id": 40,
                    "cat": "Movies",
                    "desc": "Türkçe Film"
                },
                {
                    "id": 113,
                    "cat": "Movies",
                    "desc": "Yabancı Dil"
                },
                {
                    "id": 77,
                    "cat": "Movies/UHD",
                    "desc": "4K UHD / 3D"
                },
                {
                    "id": 16,
                    "cat": "Movies",
                    "desc": "Animasyon"
                },
                {
                    "id": 31,
                    "cat": "Movies",
                    "desc": "Belgesel"
                },
                {
                    "id": 112,
                    "cat": "XXX",
                    "desc": "XxX"
                },
                {
                    "id": 48,
                    "cat": "TV",
                    "desc": "Televizyon"
                },
                {
                    "id": 49,
                    "cat": "TV/HD",
                    "desc": "Tv HD"
                },
                {
                    "id": 50,
                    "cat": "TV",
                    "desc": "Yab@ncı Dizi"
                },
                {
                    "id": 51,
                    "cat": "TV",
                    "desc": "Yerli Dizi"
                },
                {
                    "id": 7,
                    "cat": "Audio",
                    "desc": "Müzik"
                },
                {
                    "id": 20,
                    "cat": "Audio",
                    "desc": "Türkçe MüziK"
                },
                {
                    "id": 46,
                    "cat": "Audio",
                    "desc": "Yab@ncı MüziK"
                },
                {
                    "id": 2,
                    "cat": "Console",
                    "desc": "Oyun / Program"
                },
                {
                    "id": 44,
                    "cat": "Books",
                    "desc": "E-BooK / Eğitim"
                }
            ],
            "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": "Filter freeleech only",
                "default": false
            },
            {
                "name": "info",
                "type": "info",
                "label": "Layout",
                "default": "<ul><li>Only the English Classic profile is supported.</li><li>Make sure to set the <b>Torrent Listing (Listeleme Biçimi)</b> option in your profile to <b>Classic (Klasik)</b></li><li>And set the <b>Language (Dil)</b> to <b>English</b></li><li>Using the <i>Modern</i> theme will prevent results, and using <i>Turkish</i> will prevent upload dates.</li></ul>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting the error <b>Found no results while trying to browse this tracker</b> then first access the site with your browser and check that you are not being forced to change your password because it has expired after 365 days."
            }
        ],
        "login": {
            "path": "?p=home&pid=1",
            "method": "form",
            "form": "form#loginbox_form",
            "submitpath": "ajax/login.php",
            "inputs": {
                "action": "login",
                "loginbox_membername": "{{ .Config.username }}",
                "loginbox_password": "{{ .Config.password }}",
                "loginbox_remember": 1
            },
            "selectorinputs": {
                "securitytoken": {
                    "selector": "script:contains(\"stKey: \")",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "stKey: \"(.+?)\","
                        }
                    ]
                }
            },
            "error": [
                {
                    "selector": ":contains(\"-ERROR-\")"
                }
            ],
            "test": {
                "path": "?p=home&pid=1",
                "selector": "a[href*=\"/?p=logout&\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[^a-zA-Z0-9]+",
                        "%25"
                    ]
                }
            ],
            "inputs": {
                "p": "torrents",
                "pid": 32,
                "$raw": "{{ range .Categories }}cid[]={{.}}&{{end}}",
                "keywords": "{{ .Keywords }}",
                "search_type": "name",
                "sortOptions[sortBy]": "{{ .Config.sort }}",
                "sortOptions[sortOrder]": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table#torrents_table_classic tr:has(td.torrent_name){{ if .Config.freeleech }}:has(img[src$=\"/torrent_free.png\"]){{ else }}{{ end }}"
            },
            "fields": {
                "title": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details\"]"
                },
                "category": {
                    "selector": "div.category_image > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cid"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=download\"]",
                    "attribute": "href"
                },
                "date_day": {
                    "selector": "td.torrent_name:contains(\" at \"):not(:has(abbr[data-time]))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "td.torrent_name:not(:contains(\" at \")):not(:has(abbr[data-time]))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "date_unix": {
                    "selector": "abbr[data-time]",
                    "attribute": "data-time",
                    "optional": true
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year .Result.date_unix }}{{ or .Result.date_day .Result.date_year .Result.date_unix }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "a[rel=\"torrent_size\"]"
                },
                "seeders": {
                    "selector": "a[rel=\"torrent_seeders\"]"
                },
                "leechers": {
                    "selector": "a[rel=\"torrent_leechers\"]"
                },
                "grabs": {
                    "selector": "a[rel=\"times_completed\"]"
                },
                "poster": {
                    "selector": "a[rel=\"fancybox\"]",
                    "attribute": "href"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/silver.gif\"]": 0.5,
                        "img[src$=\"/torrent_free.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"/torrent_multiple_upload.png\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "bjshare": {
        "credentials": {
            "cookie": ""
        },
        "id": "bjshare",
        "name": "BJ-Share",
        "description": "BJ-Share is a BRAZILIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pt-BR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bj-share.info/"
        ],
        "legacylinks": [
            "https://bj-share.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Filmes"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Seriados"
                },
                {
                    "id": 3,
                    "cat": "PC",
                    "desc": "Aplicativos"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Jogos"
                },
                {
                    "id": 5,
                    "cat": "Books/Comics",
                    "desc": "Mangás"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Outros"
                },
                {
                    "id": 8,
                    "cat": "TV/Sport",
                    "desc": "Esportes"
                },
                {
                    "id": 9,
                    "cat": "Books/Mags",
                    "desc": "Revistas"
                },
                {
                    "id": 10,
                    "cat": "Books/EBook",
                    "desc": "E-Books"
                },
                {
                    "id": 11,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook"
                },
                {
                    "id": 12,
                    "cat": "Books/Comics",
                    "desc": "HQs"
                },
                {
                    "id": 13,
                    "cat": "TV/Other",
                    "desc": "Stand Up Comedy"
                },
                {
                    "id": 14,
                    "cat": "TV/Anime",
                    "desc": "Animes"
                },
                {
                    "id": 15,
                    "cat": "XXX/ImageSet",
                    "desc": "Fotos Adultas"
                },
                {
                    "id": 18,
                    "cat": "Other",
                    "desc": "Cursos"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "Filmes Adultos"
                },
                {
                    "id": 20,
                    "cat": "XXX/Other",
                    "desc": "Jogos Adultos"
                },
                {
                    "id": 21,
                    "cat": "XXX/Other",
                    "desc": "Mangás Adultos"
                },
                {
                    "id": 22,
                    "cat": "XXX/Other",
                    "desc": "Animes Adultos"
                },
                {
                    "id": 23,
                    "cat": "XXX/Other",
                    "desc": "HQs Adultas"
                },
                {
                    "id": 24,
                    "cat": "Books/Mags",
                    "desc": "Jornais"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "info_grouping",
                "type": "info",
                "label": "Torrent Grouping",
                "default": "<b>Important:</b> You must configure your BJ-Share account to disable torrent grouping. Go to <b>Configurações</b> (Settings) > <b>Agrupamento dos torrents</b> (Torrent grouping), select <b>Desativar</b> (Disable), and click <b>Salvar Configurações</b> (Save Settings)."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"/logout.php?auth=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "followredirect": true
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchstr": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "freetorrent": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "action": "basic",
                "searchsubmit": 1
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "tr.torrent, tr.group_torrent:not(.season_header)"
            },
            "fields": {
                "category_raw": {
                    "selector": "a[href*=\"filter_cat\"]",
                    "attribute": "href",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(?i)filter_cat(?:\\[|%5b|%5B)(\\d+)(?:\\]|%5d|%5D)"
                        }
                    ]
                },
                "category_details": {
                    "selector": ":root td:contains('Categoria:') + td a[href*='filter_cat']",
                    "attribute": "href",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(?i)filter_cat(?:\\[|%5b|%5B)(\\d+)(?:\\]|%5d|%5D)"
                        }
                    ]
                },
                "category": {
                    "text": "{{ if .Result.category_raw }}{{ .Result.category_raw }}{{ else }}{{ .Result.category_details }}{{ end }}"
                },
                "title_group": {
                    "attribute": "data-torrentname",
                    "optional": true
                },
                "title_search": {
                    "selector": "div.torrent_info[data-torrentname]",
                    "attribute": "data-torrentname",
                    "optional": true
                },
                "title": {
                    "text": "{{ if .Result.title_search }}{{ .Result.title_search }}{{ else }}{{ .Result.title_group }}{{ end }}"
                },
                "imdbid_raw": {
                    "selector": "div.torrent_info[data-imdbid]",
                    "attribute": "data-imdbid",
                    "optional": true
                },
                "imdbid_global": {
                    "selector": ":root a[href*='imdb.com/title/tt']",
                    "attribute": "href",
                    "optional": true
                },
                "imdbid": {
                    "text": "{{ if .Result.imdbid_raw }}{{ .Result.imdbid_raw }}{{ else }}{{ .Result.imdbid_global }}{{ end }}"
                },
                "poster": {
                    "selector": "div.group_image img",
                    "attribute": "src"
                },
                "description_search": {
                    "selector": "div.torrent_info",
                    "optional": true
                },
                "description_group": {
                    "selector": "a[href*=\"torrentid=\"]:not([title])",
                    "optional": true
                },
                "description": {
                    "text": "{{ if .Result.description_search }}{{ .Result.description_search }}{{ else }}{{ .Result.description_group }}{{ end }}"
                },
                "details": {
                    "selector": "a[href^=\"torrents.php?id=\"], a[href^=\"torrents.php?torrentid=\"], a[href^=\"series.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"torrents.php?action=download\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(2)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(1)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(3)"
                },
                "date_raw": {
                    "selector": "span.time.bjtooltip",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " -03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if .Result.date_raw }}{{ .Result.date_raw }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "strong.free": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "bluebirdhd": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "bluebirdhd",
        "name": "BlueBird",
        "description": "BlueBird is a RUSSIAN Private Torrent Tracker for HD MOVIES",
        "language": "ru-RU",
        "type": "private",
        "encoding": "windows-1251",
        "links": [
            "https://bluebird-hd.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Фильмы Films"
                },
                {
                    "id": 2,
                    "cat": "TV/Anime",
                    "desc": "Мультфильмы Cartoons"
                },
                {
                    "id": 3,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика Documentary"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "Шоу/Музыка Show/Music"
                },
                {
                    "id": 5,
                    "cat": "TV/Sport",
                    "desc": "Спорт Sport"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "Сериалы TV Series"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "Эротика Erotica"
                },
                {
                    "id": 8,
                    "cat": "Other",
                    "desc": "Дэмо/Misc Demo/Misc"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.error",
                    "message": {
                        "text": "Error during login. Its likely your username or password is incorrect."
                    }
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "dsearch": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "genre": "{{ .Query.Genre }}",
                "stype": "and",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[class=\"embedded\"][cellspacing=\"0\"][cellpadding=\"5\"][width=\"100%\"] > tbody#highlighted > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "grabs": {
                    "selector": "td:nth-child(7) > nobr > a, td:nth-child(7) > nobr > b"
                },
                "date": {
                    "selector": "div#frame > div#cleft",
                    "remove": "a",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(7)",
                    "remove": "a"
                },
                "seeders": {
                    "selector": "td:nth-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-child(6)"
                },
                "genre": {
                    "selector": "div#cleft",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Жанр:",
                                ""
                            ]
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/diamond.png\"]": 0,
                        "img[src=\"pic/freedownload.gif\"]": 0,
                        "img[src=\"pic/silver.gif\"]": 0.5,
                        "img[src=\"pic/bronze.gif\"]": 0.75,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"pic/diamond.png\"]": 2,
                        "*": 1
                    }
                }
            }
        }
    },
    "blueroms": {
        "id": "blueroms",
        "name": "BlueRoms",
        "description": "BlueRoms is a Public Torrent Tracker for ROMS",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.blueroms.ws/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "/arcade",
                    "cat": "Console/Other",
                    "desc": "Arcade"
                },
                {
                    "id": "/dreamcast",
                    "cat": "Console/Other",
                    "desc": "Dreamcast"
                },
                {
                    "id": "/gba",
                    "cat": "Console/Other",
                    "desc": "Game Boy Advance"
                },
                {
                    "id": "/genesis",
                    "cat": "Console/Other",
                    "desc": "Mega Drive - Genesis"
                },
                {
                    "id": "/neogeo",
                    "cat": "Console/Other",
                    "desc": "Neo Geo"
                },
                {
                    "id": "/3ds",
                    "cat": "Console/3DS",
                    "desc": "Nintendo 3DS"
                },
                {
                    "id": "/n64",
                    "cat": "Console/NDS",
                    "desc": "Nintendo 64"
                },
                {
                    "id": "/nds",
                    "cat": "Console/NDS",
                    "desc": "Nintendo DS"
                },
                {
                    "id": "/gamecube",
                    "cat": "Console/Other",
                    "desc": "Nintendo GameCube"
                },
                {
                    "id": "/switch",
                    "cat": "Console/NDS",
                    "desc": "Nintendo Switch"
                },
                {
                    "id": "/wii",
                    "cat": "Console/Wii",
                    "desc": "Nintendo Wii"
                },
                {
                    "id": "/wiiu",
                    "cat": "Console/WiiU",
                    "desc": "Nintendo Wii U"
                },
                {
                    "id": "/ps1",
                    "cat": "Console/PS3",
                    "desc": "PlayStation"
                },
                {
                    "id": "/ps2",
                    "cat": "Console/PS3",
                    "desc": "PlayStation 2"
                },
                {
                    "id": "/ps3",
                    "cat": "Console/PS3",
                    "desc": "PlayStation 3"
                },
                {
                    "id": "/ps4",
                    "cat": "Console/PS4",
                    "desc": "PlayStation 4"
                },
                {
                    "id": "/psp",
                    "cat": "Console/PSP",
                    "desc": "PlayStation Portable"
                },
                {
                    "id": "/psvita",
                    "cat": "Console/PS Vita",
                    "desc": "PlayStation Vita"
                },
                {
                    "id": "/saturn",
                    "cat": "Console/Other",
                    "desc": "Saturn"
                },
                {
                    "id": "/snes",
                    "cat": "Console/NDS",
                    "desc": "Super Nintendo"
                },
                {
                    "id": "/xbox",
                    "cat": "Console/XBox",
                    "desc": "Xbox"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "date",
                "options": {
                    "date": "created",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "search"
                }
            ],
            "allowEmptyInputs": true,
            "inputs": {
                "page": 1,
                "q": "{{ .Keywords }}",
                "g": 0,
                "p": 0,
                "ord": "{{ .Config.type }}",
                "at": "{{ .Config.sort }}"
            },
            "rows": {
                "selector": "div.row > div.col-xs-12"
            },
            "fields": {
                "category": {
                    "selector": "p.card-text a",
                    "attribute": "href"
                },
                "title_platform": {
                    "selector": "p.card-text a"
                },
                "title": {
                    "selector": "h4.card-title a",
                    "filters": [
                        {
                            "name": "append",
                            "args": " - {{ .Result.title_platform }}"
                        }
                    ]
                },
                "details": {
                    "selector": "h4.card-title a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "div.card-footer a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "size": {
                    "selector": "p.card-text",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([\\d\\.]+[T|G|M|K]iB)"
                        }
                    ]
                },
                "date": {
                    "text": "now"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "p.card-text",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(Score: .+)"
                        }
                    ]
                }
            }
        }
    },
    "bluetorrents": {
        "credentials": {
            "apikey": ""
        },
        "id": "bluetorrents",
        "name": "BlueTorrents",
        "description": "BlueTorrents is a Private Torrent Tracker for MOVIES / TV / MUSIC / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bluetorrents.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "TV Shows"
                },
                {
                    "id": 1000,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4000,
                    "cat": "PC/0day",
                    "desc": "Apps"
                },
                {
                    "id": 6000,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 8000,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 7000,
                    "cat": "Books",
                    "desc": "Books"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowtvsearchimdb": true
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API Key"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "You can find your API Key by accessing the <a href=\"https://bluetorrents.com/settings\" target=\"_blank\">BlueTorrents Settings</a> page, and scrolling down to the <b>API keys</b> section."
            },
            {
                "name": "info_3x",
                "type": "info",
                "label": "Including 3X",
                "default": "IF you want to see 3x torrents access your <a href=\"https://bluetorrents.com/settings\" target=\"_blank\">BlueTorrents Settings</a> page and tick the <b>Show NSFW content</b> checkbox."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Accounts with no activity for 90+ days may be disabled."
            }
        ],
        "login": {
            "path": "api/external",
            "method": "get",
            "inputs": {
                "t": "search",
                "apikey": "{{ .Config.apikey }}",
                "limit": 1
            },
            "error": [
                {
                    "selector": "error",
                    "message": {
                        "selector": "error[description]",
                        "attribute": "description"
                    }
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/external",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "{{ if .Query.TMDBID }}movie{{ else }}{{ end }}{{ if or .Query.Season .Query.Ep }}tvsearch{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.TMDBID .Query.Season .Query.Ep }}{{ else }}search{{ end }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "imdbid": "{{ .Query.IMDBID }}",
                "tmdbid": "{{ .Query.TMDBID }}",
                "limit": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\W+",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title": {
                    "selector": "title"
                },
                "details": {
                    "selector": "link"
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "infohash": {
                    "selector": "[name=infohash]",
                    "attribute": "value"
                },
                "imdbid": {
                    "selector": "[name=imdbid]",
                    "attribute": "value"
                },
                "tmdbid": {
                    "selector": "[name=tmdbid]",
                    "attribute": "value"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=peers]",
                    "attribute": "value"
                },
                "grabs": {
                    "selector": "[name=grabs]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "selector": "[name=downloadvolumefactor]",
                    "attribute": "value"
                },
                "uploadvolumefactor": {
                    "selector": "[name=uploadvolumefactor]",
                    "attribute": "value"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "bluraytracker": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "bluraytracker",
        "name": "BlurayTracker",
        "description": "BlurayTracker is a CZECH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "cs-CZ",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bluraytracker.cz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "-----Filmy-----"
                },
                {
                    "id": 34,
                    "cat": "Movies",
                    "desc": " |- Filmy CZ/SK Dabing"
                },
                {
                    "id": 33,
                    "cat": "Movies",
                    "desc": " |- Filmy CZ/SK Titulky"
                },
                {
                    "id": 49,
                    "cat": "Movies/HD",
                    "desc": " |- HD/FHD Filmy"
                },
                {
                    "id": 17,
                    "cat": "Movies/UHD",
                    "desc": " |- 4k/UHD Filmy "
                },
                {
                    "id": 31,
                    "cat": "Movies/BluRay",
                    "desc": " |- Bluray DB/BD/DVD"
                },
                {
                    "id": 51,
                    "cat": "Movies/3D",
                    "desc": " |- 3D Filmy"
                },
                {
                    "id": 45,
                    "cat": "Movies/Other",
                    "desc": " |- Kreslené/Anime"
                },
                {
                    "id": 40,
                    "cat": "TV",
                    "desc": "-----TV-----"
                },
                {
                    "id": 32,
                    "cat": "TV",
                    "desc": " |- Serialy CZ/SK/EN"
                },
                {
                    "id": 47,
                    "cat": "TV",
                    "desc": " |- Serialy"
                },
                {
                    "id": 38,
                    "cat": "TV/Documentary",
                    "desc": " |- Dokumenty / TV Reality"
                },
                {
                    "id": 35,
                    "cat": "TV/Sport",
                    "desc": " |- Sport"
                },
                {
                    "id": 6,
                    "cat": "PC",
                    "desc": "Aplikace/Programy"
                },
                {
                    "id": 18,
                    "cat": "PC/0day",
                    "desc": " |- Programy PC"
                },
                {
                    "id": 19,
                    "cat": "PC/Mac",
                    "desc": " |- Programy MacOS"
                },
                {
                    "id": 7,
                    "cat": "Audio",
                    "desc": "-----Hudba-----"
                },
                {
                    "id": 39,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Mluvene Slovo"
                },
                {
                    "id": 21,
                    "cat": "Audio/MP3",
                    "desc": " |- MP3"
                },
                {
                    "id": 43,
                    "cat": "Audio/Other",
                    "desc": " |- SoundTrack"
                },
                {
                    "id": 53,
                    "cat": "Audio/Lossless",
                    "desc": " |- Flac"
                },
                {
                    "id": 2,
                    "cat": "PC/Games",
                    "desc": "--Hry--"
                },
                {
                    "id": 3,
                    "cat": "Console/PS3",
                    "desc": " |- Sony PS"
                },
                {
                    "id": 4,
                    "cat": "Console/Wii",
                    "desc": " |- Wii"
                },
                {
                    "id": 26,
                    "cat": "Console/XBox",
                    "desc": " |- XboX"
                },
                {
                    "id": 27,
                    "cat": "PC/Games",
                    "desc": " |- PC"
                },
                {
                    "id": 28,
                    "cat": "Console/NDS",
                    "desc": " |- Nintendo"
                },
                {
                    "id": 42,
                    "cat": "Books",
                    "desc": "Knihy A Časopisy"
                },
                {
                    "id": 36,
                    "cat": "Other",
                    "desc": "Ostatní"
                },
                {
                    "id": 41,
                    "cat": "Movies",
                    "desc": "VIP Torrent"
                },
                {
                    "id": 48,
                    "cat": "Movies",
                    "desc": " |- RLS"
                }
            ],
            "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": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "?p=home&pid=1",
            "method": "form",
            "form": "form#sls_form",
            "submitpath": "ajax/login.php",
            "inputs": {
                "action": "login",
                "loginbox_membername": "{{ .Config.username }}",
                "loginbox_password": "{{ .Config.password }}",
                "loginbox_remember": true
            },
            "error": [
                {
                    "selector": "div.error"
                }
            ],
            "test": {
                "path": "?p=home&pid=1",
                "selector": "div#member_info_bar"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "p": "torrents",
                "pid": 32,
                "$raw": "{{ range .Categories }}cid[]={{.}}&{{end}}",
                "keywords": "{{ .Keywords }}",
                "search_type": "name",
                "sortOptions[sortBy]": "{{ .Config.sort }}",
                "sortOptions[sortOrder]": "{{ .Config.type }}"
            },
            "error": [
                {
                    "selector": "div.error:not(:contains(\"There are no results found.\"))"
                }
            ],
            "rows": {
                "selector": "div.torrent-box[id^=\"torrent_\"]{{ if .Config.freeleech }}:has(img[src$=\"/torrent_free.png\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?p=torrents&pid=10&cid=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cid"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details&tid=\"]"
                },
                "details": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details&tid=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=download&tid=\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href",
                    "optional": true
                },
                "poster": {
                    "selector": "a[href*=\"data/torrents/torrent_images/\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "a[rel=\"torrent_size\"]"
                },
                "grabs": {
                    "selector": "a[rel=\"times_completed\"]"
                },
                "seeders": {
                    "selector": "a[rel=\"torrent_seeders\"]"
                },
                "leechers": {
                    "selector": "a[rel=\"torrent_leechers\"]"
                },
                "date_day": {
                    "selector": "div.torrentOwner:contains(\"day\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.torrentOwner:contains(\"-\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "date_unix": {
                    "selector": "div.torrentOwner abbr",
                    "optional": true,
                    "attribute": "data-time"
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year .Result.date_unix }}{{ or .Result.date_day .Result.date_year .Result.date_unix }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/torrent_free.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "blutopia-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "blutopia-api",
        "name": "Blutopia (API)",
        "description": "Blutopia (BLU) is a Private Torrent Tracker for HD MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://blutopia.cc/"
        ],
        "legacylinks": [
            "https://blutopia.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 8,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV Show"
                },
                {
                    "id": 3,
                    "cat": "Movies/Other",
                    "desc": "FANRES"
                },
                {
                    "id": 5,
                    "cat": "Movies/Other",
                    "desc": "Trailer"
                },
                {
                    "id": 9,
                    "cat": "Audio/Video",
                    "desc": "Live Concert"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            },
            "allowtvsearchimdb": true
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://blutopia.cc/\" target=\"_blank\">Blutopia</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Your membership requires that you stay active at Blutopia. To not get disabled, you are required to login to the site at least once every 30 days or be actively seeding at least 1 torrent."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "booktracker": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "booktracker",
        "name": "BookTracker",
        "description": "BookTracker is a RUSSIAN Semi-Private Torrent Tracker for EBOOKS",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://booktracker.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Books/EBook",
                    "desc": "Ebooks"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action$=\"/login.php\"]",
            "inputs": {
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "redirect": "index.php",
                "autologin": 1
            },
            "selectorinputs": {
                "cookie_test": {
                    "selector": "input[name=\"cookie_test\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "h4.warnColor1"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"./login.php?logout=1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker.php"
                }
            ],
            "inputs": {
                "nm": "{{ .Keywords }}",
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "tm": -1,
                "sns": -1
            },
            "rows": {
                "selector": "tr[id^=\"tor_\"]:has(a[href^=\"./download.php?id=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "a.tLink"
                },
                "details": {
                    "selector": "a.tLink",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(6) > u"
                },
                "seeders": {
                    "selector": "td.seedmed > b"
                },
                "leechers": {
                    "selector": "td.leechmed > b"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "date": {
                    "selector": "td:last-child > u"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "bootytape": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "bootytape",
        "name": "BootyTape",
        "description": "BootyTape is a Semi-Private Torrent Tracker for 3X",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "requestDelay": 3,
        "links": [
            "https://ssl.bootytape.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 70,
                    "cat": "XXX",
                    "desc": "Animation"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "Girl on Girl"
                },
                {
                    "id": 43,
                    "cat": "XXX",
                    "desc": "Images"
                },
                {
                    "id": 52,
                    "cat": "XXX",
                    "desc": "Straight"
                },
                {
                    "id": 82,
                    "cat": "XXX",
                    "desc": "X Play Hard"
                },
                {
                    "id": 92,
                    "cat": "XXX",
                    "desc": "X Play Soft"
                }
            ],
            "modes": {
                "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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "take_login": 1,
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.mainouter2:has(h1:contains(\"Failed\"))"
                }
            ],
            "test": {
                "path": "my.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "tagsearch": "",
                "cat": 0,
                "freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "tags": 1,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.red > tbody > tr:not(:has(th))"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrents.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "description": {
                    "selector": "div.specg"
                },
                "poster": {
                    "selector": "img[src*=\"/thbx/imgx/\"]",
                    "attribute": "src"
                },
                "files": {
                    "selector": "a[href$=\"filelist=1\"]",
                    "optional": true,
                    "default": 1
                },
                "size": {
                    "selector": "td:nth-child(3)",
                    "optional": true,
                    "default": 0
                },
                "seeders": {
                    "selector": "a[href$=\"toseeders=1\"]",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "a[href$=\"todlers=1\"]",
                    "optional": true,
                    "default": 0
                },
                "date": {
                    "text": "now"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"pic/freedownload.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"pic/double-upload.gif\"]": 2,
                        "*": 1
                    }
                }
            }
        }
    },
    "borgzelle": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "borgzelle",
        "name": "Borgzelle",
        "description": "Borgzelle is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://borgzelle.borg/"
        ],
        "certificates": [
            "a3f8822c97fbfe5bd00760cf8e6b75c4284f657d"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 17,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 32,
                    "cat": "TV",
                    "desc": "Serien-Pakete"
                },
                {
                    "id": 12,
                    "cat": "TV",
                    "desc": "Serien"
                },
                {
                    "id": 14,
                    "cat": "Audio/Video",
                    "desc": "Musikvideo"
                },
                {
                    "id": 15,
                    "cat": "TV/Documentary",
                    "desc": "Doku"
                },
                {
                    "id": 16,
                    "cat": "TV/Other",
                    "desc": "Comedy"
                },
                {
                    "id": 18,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 6,
                    "cat": "Movies/SD",
                    "desc": "Movie XviD/DivX"
                },
                {
                    "id": 34,
                    "cat": "Movies/UHD",
                    "desc": "Movie UHD"
                },
                {
                    "id": 13,
                    "cat": "Movies",
                    "desc": "Movie Kinder"
                },
                {
                    "id": 11,
                    "cat": "Movies/HD",
                    "desc": "Movie HD2DVD"
                },
                {
                    "id": 9,
                    "cat": "Movies/HD",
                    "desc": "Movie HD"
                },
                {
                    "id": 33,
                    "cat": "Movies/HD",
                    "desc": "Movie h265"
                },
                {
                    "id": 7,
                    "cat": "Movies/HD",
                    "desc": "Movie h264"
                },
                {
                    "id": 10,
                    "cat": "Movies/DVD",
                    "desc": "Movie DVD"
                },
                {
                    "id": 28,
                    "cat": "PC/Games",
                    "desc": "Spiele PDA/Handy"
                },
                {
                    "id": 25,
                    "cat": "PC/Games",
                    "desc": "Spiele PC"
                },
                {
                    "id": 27,
                    "cat": "PC/Games",
                    "desc": "Spiele MAC"
                },
                {
                    "id": 26,
                    "cat": "Console",
                    "desc": "Spiele Konsolen"
                },
                {
                    "id": 30,
                    "cat": "Other",
                    "desc": "Diverse Wallpaper"
                },
                {
                    "id": 31,
                    "cat": "Other",
                    "desc": "Sonstiges"
                },
                {
                    "id": 29,
                    "cat": "Books/EBook",
                    "desc": "E-Book"
                },
                {
                    "id": 19,
                    "cat": "Audio",
                    "desc": "Musik"
                },
                {
                    "id": 20,
                    "cat": "Audio/Audiobook",
                    "desc": "Hörbuch"
                },
                {
                    "id": 21,
                    "cat": "PC/0day",
                    "desc": "Software Windows"
                },
                {
                    "id": 23,
                    "cat": "PC/Mobile-Other",
                    "desc": "Software PDA/Handy"
                },
                {
                    "id": 22,
                    "cat": "PC/Mac",
                    "desc": "Software MAC"
                },
                {
                    "id": 24,
                    "cat": "PC",
                    "desc": "Software Linux"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_sitelink",
                "type": "info",
                "label": "About Site Link",
                "default": "If the Site Link domain returns a DNS error then you have not yet been assimilated."
            },
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "keeplogged": 1
            },
            "error": [
                {
                    "selector": "font[color=\"red\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?auth=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "action": "browse",
                "showsearch": 1,
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[style=\"width: 100%;\"] > tbody > tr{{ if .Config.freeleech }}:has(span:contains(\"[OnlyUpload]\")){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents.php?torrentid=\"]"
                },
                "details": {
                    "selector": "a[href^=\"torrents.php?torrentid=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"torrents.php?torrentid=\"] span img",
                    "attribute": "src"
                },
                "date": {
                    "selector": "td:nth-child(2) > table > tbody > tr > td:nth-child(2)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\((.+?)\\)"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(önce|tagasi|geleden|fa|temu|siden|há|atrás|nazpět|назад|acum|în urmă|hace|il y a|vor|преди|前|sedan)",
                                " ago"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(saniye|sekundit|sekunder|secondi|sekund|segundos|sekundami|секунд|secunde|secondes|Sekunden|секунди|seconden|秒前)",
                                "seconds"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(minutit|minutter|minuti|minuty|minutos|минуты|минут|Minuten|минути|minuten|minuter)",
                                "minutes"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(dakika|minut|minuto|minuta|minutt|минута|Minute|minuut|分钟|分)",
                                " minute"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(tundi|timer|ore|godziny|horas|hodiny|hoden|часа|часов|ore|heures|Stunden|timmar)",
                                "hours"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(saat|tund|time|ora|godzina|hora|hodina|час|oră|heure|Stunde|uur|小时|時間|timme)",
                                " hour"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(päeva|dage|giorni|dni|dias|dny|дня|дней|zile|días|jours|Tagen|дни|dagen|dagar)",
                                "days"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(gün|päev|dag|giorno|dzień|dia|den|день|zi|día|jour|Tag|ден|天|日)",
                                " day"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(nädalat|uger|settimane|tygodnie|uker|semanas|týdny|недели|недель|săptămâni|semaines|Wochen|седмици|weken|veckor)",
                                "weeks"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(hafta|nädal|uge|settimana|tydzień|uke|semana|týden|неделю|săptămână|semaine|Woche|седмица|周|週間|vecka)",
                                " week"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i) (ay)",
                                "month"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(kuud|måneder|mesi|miesiące|meses|měsíce|месяца|месяцев|luni|meses|mois|Monaten|месеца|maanden|månader)",
                                "months"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(kuu|måned|mese|miesiąc|mês|měsíc|месяц|lună|mes|Monat|месец|maand|个月|ヶ月|månad)",
                                " month"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(aastat|anni|lata|anos|roky|года|ani|años|ans|Jahren|години)",
                                " years"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(yil|aasta|år|anno|rok|ano|год|año|Jahr|година|jaar|年)",
                                " year"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i) (an)",
                                "year"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(För |und)",
                                ""
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(1) b"
                },
                "files": {
                    "selector": "td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(1) a span"
                },
                "seeders": {
                    "selector": "td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(2) a span"
                },
                "leechers": {
                    "selector": "td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(2) a span:nth-child(2)"
                },
                "grabs": {
                    "selector": "td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(3) a span"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span:contains(\"[OnlyUpload]\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.7
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "boxingtorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "boxingtorrents",
        "name": "Boxing Torrents",
        "description": "Boxing Torrents is a Private Torrent Tracker for BOXING",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tc-boxing.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 17,
                    "cat": "TV/Sport",
                    "desc": "4K"
                },
                {
                    "id": 16,
                    "cat": "TV/Sport",
                    "desc": "Blu-ray"
                },
                {
                    "id": 14,
                    "cat": "TV/Sport",
                    "desc": "HD"
                },
                {
                    "id": 8,
                    "cat": "TV/Sport",
                    "desc": "DVD"
                },
                {
                    "id": 1,
                    "cat": "TV/Sport",
                    "desc": "Full - Excellent"
                },
                {
                    "id": 3,
                    "cat": "TV/Sport",
                    "desc": "Full - Fair"
                },
                {
                    "id": 2,
                    "cat": "TV/Sport",
                    "desc": "Full - Good"
                },
                {
                    "id": 4,
                    "cat": "TV/Sport",
                    "desc": "Full - Poor"
                },
                {
                    "id": 10,
                    "cat": "TV/Sport",
                    "desc": "Foreign - Excellent"
                },
                {
                    "id": 11,
                    "cat": "TV/Sport",
                    "desc": "Foreign - Fair"
                },
                {
                    "id": 6,
                    "cat": "TV/Sport",
                    "desc": "Foreign - Good"
                },
                {
                    "id": 12,
                    "cat": "TV/Sport",
                    "desc": "Foreign - Poor"
                },
                {
                    "id": 13,
                    "cat": "TV/Sport",
                    "desc": "Career Set"
                },
                {
                    "id": 19,
                    "cat": "TV/Documentary",
                    "desc": "Documentary"
                },
                {
                    "id": 9,
                    "cat": "TV/Sport",
                    "desc": "Amateur - Full"
                },
                {
                    "id": 18,
                    "cat": "TV/Sport",
                    "desc": "Instructional"
                },
                {
                    "id": 7,
                    "cat": "TV/Sport",
                    "desc": "Misc"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_download",
                "type": "info",
                "label": "Download Restrictions",
                "default": "You must have uploaded at least 10GB before you are able to access all torrent sizes. Until then, you are restricted to torrents no larger than 2.5GB."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:contains(\"Login failed!\")"
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}c{{.}}=1&{{end}}{{ else }}cat=0{{ end }}",
                "incldead": 1,
                "free": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "search": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "table.torrenttable > tbody > tr:has(a[href^=\"details.php?id=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ],
                "dateheaders": {
                    "selector": "td[colspan] > b",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Torrents added ",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dddd, d. MMM, yyyy zzz"
                        }
                    ]
                }
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-last-child(7)"
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "b:contains(\"FreeLeech\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "brasiltracker": {
        "credentials": {
            "cookie": ""
        },
        "id": "brasiltracker",
        "name": "BrasilTracker",
        "description": "BrasilTracker is a BRAZILIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pt-BR",
        "encoding": "UTF-8",
        "type": "private",
        "links": [
            "https://brasiltracker.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 16,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobooks"
                },
                {
                    "id": 6,
                    "cat": "TV/Anime",
                    "desc": "Animes"
                },
                {
                    "id": 11,
                    "cat": "PC/0day",
                    "desc": "Aplicativos"
                },
                {
                    "id": 15,
                    "cat": "Other",
                    "desc": "Cursos"
                },
                {
                    "id": 8,
                    "cat": "TV/Documentary",
                    "desc": "Documentários"
                },
                {
                    "id": 14,
                    "cat": "TV/Sport",
                    "desc": "Esportes"
                },
                {
                    "id": 3,
                    "cat": "XXX",
                    "desc": "Filmes XXX"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Filmes"
                },
                {
                    "id": 12,
                    "cat": "Books/Comics",
                    "desc": "Histórias em Quadrinhos"
                },
                {
                    "id": 9,
                    "cat": "PC/Games",
                    "desc": "Jogos"
                },
                {
                    "id": 13,
                    "cat": "Books/EBook",
                    "desc": "Livros"
                },
                {
                    "id": 10,
                    "cat": "Books/Mags",
                    "desc": "Revistas"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Séries"
                },
                {
                    "id": 5,
                    "cat": "Audio/Video",
                    "desc": "Show"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "Televisão"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?auth=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchstr": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "group_results": 0,
                "action": "basic",
                "freetorrent": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "searchsubmit": 1
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr.torrent"
            },
            "fields": {
                "category": {
                    "selector": "td.big_info div.group_info",
                    "case": {
                        "div:contains(\"[Audiobooks]\")": 16,
                        "div:contains(\"[Animes]\")": 6,
                        "div:contains(\"[Aplicativos]\")": 11,
                        "div:contains(\"[Cursos]\")": 15,
                        "div:contains(\"[Documentários]\")": 8,
                        "div:contains(\"[Esportes]\")": 14,
                        "div:contains(\"[Filmes XXX]\")": 3,
                        "div:contains(\"[Filmes]\")": 1,
                        "div:contains(\"[Histórias em Quadrinhos]\")": 12,
                        "div:contains(\"[Jogos]\")": 9,
                        "div:contains(\"[Livros]\")": 13,
                        "div:contains(\"[Revistas]\")": 10,
                        "div:contains(\"[Séries]\")": 2,
                        "div:contains(\"[Show]\")": 5,
                        "div:contains(\"[Televisão]\")": 7,
                        "*": 0
                    }
                },
                "details": {
                    "selector": "a[href^=\"torrents.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "description": {
                    "selector": "div.tags"
                },
                "poster": {
                    "selector": "img[alt=\"Cover\"]",
                    "attribute": "src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "tmdbid": {
                    "selector": "a[href*=\"themoviedb.org/movie/\"], a[href*=\"themoviedb.org/tv/\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "span.time",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM d yyyy, HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "strong.tl_free": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "title_details": {
                    "selector": "div.torrent_info",
                    "remove": "strong"
                },
                "year": {
                    "selector": "td.big_info div.group_info",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[((?:19|20)\\d{2})\\]"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[([^\\]]+)\\]",
                                " / $1"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Result.year }} ({{ .Result.year }}){{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": " {{ .Result.title_details }}"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\bWEB\\b(?![-_. ]?DL)",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b4K\\b",
                                "2160p"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bFull HD\\b",
                                "1080p"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?<!Full )HD\\b",
                                "720p"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bLegendado\\b",
                                "Subs"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(Dual|[Nn]acional|[Dd]ublado)",
                                "Brazilian $1"
                            ]
                        }
                    ]
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "btarg": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "btarg",
        "name": "BTArg",
        "description": "BTArg is an ARGENTINIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "es-AR",
        "type": "private",
        "encoding": "iso-8859-1",
        "links": [
            "https://www.btarg.com.ar/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Cine Arg."
                },
                {
                    "id": 2,
                    "cat": "Movies/Foreign",
                    "desc": "Cine Int."
                },
                {
                    "id": 3,
                    "cat": "TV",
                    "desc": "TV Arg."
                },
                {
                    "id": 4,
                    "cat": "TV/Foreign",
                    "desc": "TV Int."
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 6,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 7,
                    "cat": "TV/Sport",
                    "desc": "Deportes"
                },
                {
                    "id": "08",
                    "cat": "Audio/Video",
                    "desc": "Video Clips"
                },
                {
                    "id": "09",
                    "cat": "Audio",
                    "desc": "Musica Arg."
                },
                {
                    "id": 10,
                    "cat": "Audio/Foreign",
                    "desc": "Musica Int."
                },
                {
                    "id": 11,
                    "cat": "Movies/DVD",
                    "desc": "DVD-R"
                },
                {
                    "id": 12,
                    "cat": "PC/Games",
                    "desc": "Juegos"
                },
                {
                    "id": 13,
                    "cat": "PC/0day",
                    "desc": "Software Arg."
                },
                {
                    "id": 14,
                    "cat": "PC/0day",
                    "desc": "Software Int."
                },
                {
                    "id": 15,
                    "cat": "Other",
                    "desc": "Otros"
                },
                {
                    "id": 16,
                    "cat": "Other",
                    "desc": "Subpacks"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-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": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Por página Torrents:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Those new accounts that do not register a transfer or have any movement in the forum after 4 weeks will be disabled."
            }
        ],
        "login": {
            "path": "tracker/takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"fallado\"))"
                }
            ],
            "test": {
                "path": "tracker/index.php",
                "selector": "a[href=\"logout.php\"], a[href^=\"download.php/\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker/browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat[]={{.}}&{{end}}",
                "keywords": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "type": "{{ if .Query.IMDBID }}2{{ else }}0{{ end }}",
                "incldead": 0,
                "inclfree": "{{ if .Config.freeleech }}1{{ else }}0{{ end }}",
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}",
                "list": 1
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)(S(\\d{1,3}))(?![\\dE])",
                        "Temporada"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(\\w+)",
                        "+$1"
                    ]
                }
            ],
            "rows": {
                "selector": "table > tbody > tr:not(tr:first-child):not(tr.browse)",
                "after": 1
            },
            "fields": {
                "categorydesc": {
                    "selector": "a[href*=\"?cat=\"] img",
                    "attribute": "title"
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Primera Temporada)",
                                "S01"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Segunda Temporada)",
                                "S02"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Tercera Temporada)",
                                "S03"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Cuarta Temporada)",
                                "S04"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Quinta Temporada)",
                                "S05"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Sexta Temporada)",
                                "S06"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Septima Temporada)",
                                "S07"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Octava Temporada)",
                                "S08"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Novena Temporada)",
                                "S09"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Decima Temporada)",
                                "S10"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Onceava Temporada)",
                                "S11"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Decimosegunda Temporada)",
                                "S12"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Temporada (\\d{1,3})\\s*y\\s*(\\d{1,3})",
                                "S$1-$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Temporada (\\d{1,3})",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\[ARG\\]) (.+?)$",
                                "$2 $1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\[.+?\\]) (.+?)$",
                                "$2 $1"
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Primera Temporada)",
                                "S01"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Segunda Temporada)",
                                "S02"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Tercera Temporada)",
                                "S03"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Cuarta Temporada)",
                                "S04"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Quinta Temporada)",
                                "S05"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Sexta Temporada)",
                                "S06"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Septima Temporada)",
                                "S07"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Octava Temporada)",
                                "S08"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Novena Temporada)",
                                "S09"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Decima Temporada)",
                                "S10"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Onceava Temporada)",
                                "S11"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Decimosegunda Temporada)",
                                "S12"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Temporada (\\d{1,3})\\s*y\\s*(\\d{1,3})",
                                "S$1-$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Temporada (\\d{1,3})",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\[ARG\\]) (.+?)$",
                                "$2 $1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\[.+?\\]) (.+?)$",
                                "$2 $1"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "remove": "font",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "^(\\d+) /"
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "/ (\\d+)$"
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-child(9)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\ (\\d+)\\ "
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "font[color=\"red\"]:contains(\"FREE!\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.5
                },
                "description_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "description": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.description_default }}"
                }
            }
        }
    },
    "btdirectory": {
        "id": "btdirectory",
        "name": "BTdirectory",
        "description": "BTdirectory (BT目录) is a Public DHT Crawler",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://btmulu.live/",
            "https://www.btmulu.cyou/",
            "https://www.btmulu.quest/",
            "https://www.btmulu.cfd/",
            "https://www.btmulu.help/"
        ],
        "legacylinks": [
            "https://www.btmulu.asia/",
            "https://www.btmulu.digital/",
            "https://www.btmulu.pw/",
            "https://www.btmulu.one/",
            "https://btmulu.work/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "Other",
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_category_8000",
                "type": "info_category_8000"
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search.html{{ else }}search-create.html{{ end }}"
                }
            ],
            "inputs": {
                "name": "{{ re_replace .Keywords \"[\\s]+\" \"+\" }}"
            },
            "rows": {
                "selector": "article.item:has(a[href^=\"/hash/\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": "Other"
                },
                "title": {
                    "selector": "h4",
                    "remove": "span"
                },
                "details": {
                    "selector": "a[href^=\"/hash/\"]",
                    "attribute": "href"
                },
                "infohash": {
                    "selector": "a[href^=\"/hash/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "date": {
                    "selector": "p",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2})"
                        }
                    ]
                },
                "files": {
                    "selector": "p",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "File Count：(\\d+)"
                        }
                    ]
                },
                "size": {
                    "selector": "p",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Size：(\\d+\\.?\\d+ [K|M|G]B)"
                        }
                    ]
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "btetree": {
        "id": "btetree",
        "name": "BT.etree",
        "description": "BT.etree is a Public Tracker dedicated to Bootleg FLAC MUSIC",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://bt.etree.org/"
        ],
        "legacylinks": [
            "http://bt.etree.org/"
        ],
        "caps": {
            "categories": {
                "Music": "Audio/Lossless"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "artist"
                ]
            }
        },
        "settings": [
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "name": "title"
                }
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "searchzzzz": "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}",
                "cat": 0,
                "sort": "{{ .Config.sort }}"
            },
            "rows": {
                "selector": "table[bgcolor=\"#CCCCCC\"] tbody tr:has(a[href^=\"download.php\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": "Music"
                },
                "title": {
                    "selector": "a.details_link"
                },
                "details": {
                    "selector": "a.details_link",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "  ",
                                " 0"
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "btnext": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "btnext",
        "name": "BTNext",
        "description": "BTNext (BTNT) is a PORTUGUESE Private Torrent Tracker for 0DAY / GENERAL",
        "language": "pt-PT",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tracker.btnext.com/"
        ],
        "legacylinks": [
            "http://tracker.btnext.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 86,
                    "cat": "Other",
                    "desc": "Freeleech"
                },
                {
                    "id": 88,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 89,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 87,
                    "cat": "TV",
                    "desc": "Series"
                },
                {
                    "id": 93,
                    "cat": "Audio",
                    "desc": "Musica"
                },
                {
                    "id": 108,
                    "cat": "Movies",
                    "desc": "ViP"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 70,
                    "cat": "Movies/3D",
                    "desc": "Movies 3D"
                },
                {
                    "id": 71,
                    "cat": "Movies/SD",
                    "desc": "Movies 480p"
                },
                {
                    "id": 72,
                    "cat": "Movies/BluRay",
                    "desc": "Movies BD-R"
                },
                {
                    "id": 31,
                    "cat": "Movies/HD",
                    "desc": "Movies BDRIP/BRRip"
                },
                {
                    "id": 16,
                    "cat": "Movies/SD",
                    "desc": "Movies CAM"
                },
                {
                    "id": 74,
                    "cat": "Movies/DVD",
                    "desc": "Movies DvD-R"
                },
                {
                    "id": 76,
                    "cat": "Movies",
                    "desc": "Movies Packs"
                },
                {
                    "id": 115,
                    "cat": "Movies/Other",
                    "desc": "Movies Kids"
                },
                {
                    "id": 91,
                    "cat": "Movies/Other",
                    "desc": "Movies Kids Inglês"
                },
                {
                    "id": 113,
                    "cat": "Movies/Other",
                    "desc": "Movies Kids PT-BR"
                },
                {
                    "id": 114,
                    "cat": "Movies/Other",
                    "desc": "Movies Kids PT-PT"
                },
                {
                    "id": 77,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies WEB-DL"
                },
                {
                    "id": 85,
                    "cat": "Movies/DVD",
                    "desc": "Movies Custom-DVDR"
                },
                {
                    "id": 14,
                    "cat": "Movies/SD",
                    "desc": "Movies DVDRip/XViD"
                },
                {
                    "id": 98,
                    "cat": "Movies/Other",
                    "desc": "Movies Juvenil"
                },
                {
                    "id": 104,
                    "cat": "Movies/UHD",
                    "desc": "Movies Bluray-UHD"
                },
                {
                    "id": 102,
                    "cat": "Movies/HD",
                    "desc": "Movies HD-720p"
                },
                {
                    "id": 101,
                    "cat": "Movies/HD",
                    "desc": "Movies HD-1080p"
                },
                {
                    "id": 103,
                    "cat": "Movies/UHD",
                    "desc": "Movies HD-2160p"
                },
                {
                    "id": 42,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 45,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries"
                },
                {
                    "id": 46,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 47,
                    "cat": "TV/HD",
                    "desc": "TV Bluray"
                },
                {
                    "id": 48,
                    "cat": "TV/SD",
                    "desc": "TV Dvd-R"
                },
                {
                    "id": 49,
                    "cat": "TV/SD",
                    "desc": "TV DVDRiP"
                },
                {
                    "id": 50,
                    "cat": "TV",
                    "desc": "TV Packs"
                },
                {
                    "id": 92,
                    "cat": "TV",
                    "desc": "TV Kids"
                },
                {
                    "id": 112,
                    "cat": "TV",
                    "desc": "TV Juvenil"
                },
                {
                    "id": 52,
                    "cat": "TV/SD",
                    "desc": "TV SDx264"
                },
                {
                    "id": 53,
                    "cat": "TV/WEB-DL",
                    "desc": "TV WEB-DL"
                },
                {
                    "id": 55,
                    "cat": "TV/HD",
                    "desc": "TV X264"
                },
                {
                    "id": 56,
                    "cat": "TV/SD",
                    "desc": "TV-XViD"
                },
                {
                    "id": 7,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 20,
                    "cat": "Audio/Video",
                    "desc": "Music MVideo"
                },
                {
                    "id": 21,
                    "cat": "Audio/MP3",
                    "desc": "Music MP3"
                },
                {
                    "id": 33,
                    "cat": "Audio/Video",
                    "desc": "Music MP4"
                },
                {
                    "id": 32,
                    "cat": "Audio/Lossless",
                    "desc": "Music FLAC"
                },
                {
                    "id": 2,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 78,
                    "cat": "PC/Games",
                    "desc": "Games Linux"
                },
                {
                    "id": 79,
                    "cat": "PC/Mac",
                    "desc": "Games MacOSX"
                },
                {
                    "id": 28,
                    "cat": "Console/NDS",
                    "desc": "Games Nintendo DS"
                },
                {
                    "id": 27,
                    "cat": "PC/Games",
                    "desc": "Games PC/Windows"
                },
                {
                    "id": 111,
                    "cat": "Console",
                    "desc": "Games Nintendo Sw"
                },
                {
                    "id": 80,
                    "cat": "Console/PS3",
                    "desc": "Games PS2"
                },
                {
                    "id": 81,
                    "cat": "Console/PS3",
                    "desc": "Games PS3"
                },
                {
                    "id": 82,
                    "cat": "Console/PS4",
                    "desc": "Games PS4"
                },
                {
                    "id": 83,
                    "cat": "Console/PSP",
                    "desc": "Games PSP"
                },
                {
                    "id": 95,
                    "cat": "Console/PS Vita",
                    "desc": "Games PSVITA"
                },
                {
                    "id": 4,
                    "cat": "Console/Wii",
                    "desc": "Games Wii"
                },
                {
                    "id": 26,
                    "cat": "Console/XBox 360",
                    "desc": "Games XBOX360"
                },
                {
                    "id": 84,
                    "cat": "Console/XBox",
                    "desc": "Games XONE"
                },
                {
                    "id": 6,
                    "cat": "PC",
                    "desc": "Applications"
                },
                {
                    "id": 18,
                    "cat": "PC/ISO",
                    "desc": "Applications PC"
                },
                {
                    "id": 19,
                    "cat": "PC/Mac",
                    "desc": "Applications Macintosh"
                },
                {
                    "id": 34,
                    "cat": "PC/ISO",
                    "desc": "Applications Linux"
                },
                {
                    "id": 44,
                    "cat": "Other",
                    "desc": "Miscellaneous"
                },
                {
                    "id": 54,
                    "cat": "Audio/Audiobook",
                    "desc": "Books Audiobook"
                },
                {
                    "id": 57,
                    "cat": "Books/EBook",
                    "desc": "Books E-Books"
                },
                {
                    "id": 58,
                    "cat": "Books/Comics",
                    "desc": "Books Comics"
                },
                {
                    "id": 59,
                    "cat": "Books",
                    "desc": "Books Educational"
                },
                {
                    "id": 60,
                    "cat": "Books/Mags",
                    "desc": "Books Magazines/Journals"
                },
                {
                    "id": 61,
                    "cat": "Other",
                    "desc": "Pics/Wallpapers"
                },
                {
                    "id": 62,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 63,
                    "cat": "PC/Mobile-iOS",
                    "desc": "iOS"
                },
                {
                    "id": 66,
                    "cat": "PC/Mobile-Other",
                    "desc": "WindowsPhone"
                },
                {
                    "id": 90,
                    "cat": "Other",
                    "desc": "GPS"
                },
                {
                    "id": 68,
                    "cat": "Other",
                    "desc": "Others"
                },
                {
                    "id": 100,
                    "cat": "Other",
                    "desc": "Revistas"
                },
                {
                    "id": 109,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 51,
                    "cat": "TV/Anime",
                    "desc": "Anime Filmes"
                },
                {
                    "id": 99,
                    "cat": "TV/Anime",
                    "desc": "Anime Hentai"
                },
                {
                    "id": 110,
                    "cat": "TV/Anime",
                    "desc": "Anime TV Séries"
                },
                {
                    "id": 41,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 64,
                    "cat": "XXX",
                    "desc": "XXX-Magazines"
                },
                {
                    "id": 65,
                    "cat": "XXX",
                    "desc": "XXX-Movies"
                },
                {
                    "id": 67,
                    "cat": "XXX/Pack",
                    "desc": "XXX-Packs"
                },
                {
                    "id": 69,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX-Pics/Wallpapers"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "info",
                "type": "info",
                "label": "Layout",
                "default": "<ol><li>Only the English Classic profile is supported.</li><li>Make sure to set the <b>Torrent Listing (Lista de Torrents)</b> option in your profile to <b>Classic (Clássico)</b></li><li>Using the <i>Moderna</i> theme will prevent results.</li></ol>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "If you get 0 results check the log for error: <b>An error has occurred!You can't view this page unless you read all your unread messages</b>, then access the site with your browser and <b>mark as read</b> all PMs."
            }
        ],
        "login": {
            "path": "?p=home&pid=1",
            "method": "form",
            "form": "form#loginbox_form",
            "submitpath": "/ajax/login.php",
            "inputs": {
                "action": "login",
                "loginbox_membername": "{{ .Config.username }}",
                "loginbox_password": "{{ .Config.password }}",
                "loginbox_remember": 1
            },
            "selectorinputs": {
                "securitytoken": {
                    "selector": "script:contains(\"stKey: \")",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "stKey: \"(.+?)\","
                        }
                    ]
                }
            },
            "error": [
                {
                    "selector": ":contains(\"-ERROR-\")"
                }
            ],
            "test": {
                "path": "?p=torrents&pid=32",
                "selector": "a#logout"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[^a-zA-Z0-9]+",
                        "%25"
                    ]
                }
            ],
            "inputs": {
                "p": "torrents",
                "pid": 32,
                "$raw": "{{ range .Categories }}cid[]={{.}}&{{end}}",
                "keywords": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "search_type": "{{ if .Query.IMDBID }}description{{ else }}name{{ end }}",
                "sortOptions[sortBy]": "{{ .Config.sort }}",
                "sortOptions[sortOrder]": "{{ .Config.type }}"
            },
            "error": [
                {
                    "selector": "div.error:not(:contains(\"Não existem resultados encontrados.\")):not(:contains(\"There are no results found.\"))"
                }
            ],
            "rows": {
                "selector": "table#torrents_table_classic > tbody > tr:has(td.torrent_name)"
            },
            "fields": {
                "category": {
                    "selector": "div.category_image > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cid"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details\"]"
                },
                "details": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=download\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "a[rel=\"torrent_size\"]"
                },
                "seeders": {
                    "selector": "a[rel=\"torrent_seeders\"]"
                },
                "leechers": {
                    "selector": "a[rel=\"torrent_leechers\"]"
                },
                "grabs": {
                    "selector": "a[rel=\"times_completed\"]"
                },
                "poster": {
                    "selector": "a[rel=\"fancybox\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"/imdb/tt\"]",
                    "attribute": "href"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[title=\"FREE!\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "date_ago": {
                    "selector": "td.torrent_name > abbr.timeago",
                    "optional": true,
                    "attribute": "data-time"
                },
                "date_year": {
                    "selector": "td.torrent_name:not(:has(abbr.timeago)):not(:contains(\"day\")):not(:contains(\"Domingo\")):not(:contains(\"Sábado\")):not(:contains(\"Sexta\")):not(:contains(\"Quinta\")):not(:contains(\"Quarta\")):not(:contains(\"Terça\")):not(:contains(\"Segunda\")):not(:contains(\"ontem\")):not(:contains(\"Hoje\"))",
                    "optional": true,
                    "remove": "span, a, br",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Enviado ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Uploaded ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " por",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " by",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "às ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "at ",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm zzz"
                        }
                    ]
                },
                "date_day": {
                    "selector": "td.torrent_name:not(:has(abbr.timeago)):contains(\"day\"), td.torrent_name:not(:has(abbr.timeago)):contains(\"Domingo\"), td.torrent_name:not(:has(abbr.timeago)):contains(\"Sábado\"), td.torrent_name:not(:has(abbr.timeago)):contains(\"Quinta\"), td.torrent_name:not(:has(abbr.timeago)):contains(\"Sexta\"), td.torrent_name:not(:has(abbr.timeago)):contains(\"Quarta\"), td.torrent_name:not(:has(abbr.timeago)):contains(\"Terça\"), td.torrent_name:not(:has(abbr.timeago)):contains(\"Segunda\"), td.torrent_name:not(:has(abbr.timeago)):contains(\"ontem\"), td.torrent_name:not(:has(abbr.timeago)):contains(\"Hoje\")",
                    "optional": true,
                    "remove": "span, a, br",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Enviado ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Uploaded ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " por",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " by",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "às ",
                                "at "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Hoje",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ontem",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Segunda",
                                "Monday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Terça",
                                "Tuesday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Quarta",
                                "Wednesday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Quinta",
                                "Thursday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Sexta",
                                "Friday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Sábado",
                                "Saturday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Domingo",
                                "Sunday"
                            ]
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day .Result.date_ago }}{{ or .Result.date_year .Result.date_day .Result.date_ago }}{{ else }}now{{ end }}"
                }
            }
        }
    },
    "btschool": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "btschool",
        "name": "BTSCHOOL",
        "description": "BTSCHOOL is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.btschool.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 405,
                    "cat": "Movies",
                    "desc": "电影/Movies"
                },
                {
                    "id": 406,
                    "cat": "TV",
                    "desc": "连续剧/TV-Series"
                },
                {
                    "id": 407,
                    "cat": "TV/Anime",
                    "desc": "动漫/Animation"
                },
                {
                    "id": 408,
                    "cat": "TV/Documentary",
                    "desc": "纪录片/Documentary"
                },
                {
                    "id": 412,
                    "cat": "TV",
                    "desc": "综艺/TV-Show"
                },
                {
                    "id": 404,
                    "cat": "PC/0day",
                    "desc": "软件/Software"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "资料/Education"
                },
                {
                    "id": 411,
                    "cat": "PC/Games",
                    "desc": "游戏/Game"
                },
                {
                    "id": 409,
                    "cat": "Audio",
                    "desc": "音乐/Music"
                },
                {
                    "id": 410,
                    "cat": "TV/Sport",
                    "desc": "体育/Sports"
                },
                {
                    "id": 415,
                    "cat": "Other",
                    "desc": "其他/Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-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": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Extreme User or above would never be deleted.</li><li>Veteran User or above would never be deleted if parked (at User CP).</li><li>Parked accounts would be deleted if users have not logged in for more than 365 days in a row.</li><li>Unparked accounts would be deleted if users have not logged in for more than 150 days in a row.</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 30 days in a row.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"登錄失敗\"))"
                },
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": 4,
                "type": "desc",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "btstate": {
        "id": "btstate",
        "replaces": [
            "btsate"
        ],
        "name": "btstate",
        "description": "btstate is a Public BitTorrent DHT search engine.",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://btstate.com/"
        ],
        "caps": {
            "categories": {
                "Other": "Other"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_category_8000",
                "type": "info_category_8000"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "api/searchByKeyword/{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "page": 1,
                "pageSize": 20,
                "category": "all",
                "timeSpan": "all"
            },
            "headers": {
                "Referer": [
                    "{{ .Config.sitelink }}"
                ]
            },
            "rows": {
                "selector": "items",
                "attribute": "_source",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": "Other"
                },
                "title": {
                    "selector": "name"
                },
                "details": {
                    "text": "{{ .Config.sitelink }}"
                },
                "infohash": {
                    "selector": "infohash"
                },
                "date": {
                    "selector": "createTime",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "^(\\d{10})"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "bwtorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "bwtorrents",
        "name": "BwTorrents",
        "description": "BwTorrents is an INDIAN Private Torrent Tracker for MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bwtorrents.tv/",
            "https://www.bwtorrents.pro/",
            "https://bwtorrents.cc/",
            "https://bwtorrents.live/"
        ],
        "legacylinks": [
            "https://bwtorrents.fun/",
            "https://bwtorrents.xyz/",
            "https://bwtorrents.us/",
            "https://bwtorrents.co/",
            "https://www.bwtorrents.life/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 113,
                    "cat": "Movies",
                    "desc": "Bollywood-Pre-Release"
                },
                {
                    "id": 114,
                    "cat": "Movies/UHD",
                    "desc": "Bollywood-4K Ultra HD / Upscaled"
                },
                {
                    "id": 115,
                    "cat": "Movies/BluRay",
                    "desc": "Bollywood-Untouched BluRay"
                },
                {
                    "id": 116,
                    "cat": "Movies/HD",
                    "desc": "Bollywood-1080p BluRay Rips"
                },
                {
                    "id": 117,
                    "cat": "Movies/HD",
                    "desc": "Bollywood-720p BluRay Rips"
                },
                {
                    "id": 118,
                    "cat": "Movies",
                    "desc": "Bollywood-Remuxes BluRay"
                },
                {
                    "id": 119,
                    "cat": "Movies/WEB-DL",
                    "desc": "Bollywood-Untouched WEB-DLs"
                },
                {
                    "id": 120,
                    "cat": "Movies/WEB-DL",
                    "desc": "Bollywood-1080p WEB-Rips"
                },
                {
                    "id": 121,
                    "cat": "Movies/DVD",
                    "desc": "Bollywood-Untouched DVDs"
                },
                {
                    "id": 122,
                    "cat": "Movies/WEB-DL",
                    "desc": "Bollywood-DVDRips 1080p/720p"
                },
                {
                    "id": 123,
                    "cat": "Movies/WEB-DL",
                    "desc": "Bollywood-SDRips WEB/DVD"
                },
                {
                    "id": 124,
                    "cat": "Movies/3D",
                    "desc": "Bollywood-3D-Movies"
                },
                {
                    "id": 125,
                    "cat": "Movies/WEB-DL",
                    "desc": "Bollywood-Web Series"
                },
                {
                    "id": 126,
                    "cat": "Movies/UHD",
                    "desc": "Hollywood-4K Ultra HD / Upscaled"
                },
                {
                    "id": 127,
                    "cat": "Movies/BluRay",
                    "desc": "Hollywood-Untouched BluRay"
                },
                {
                    "id": 128,
                    "cat": "Movies/HD",
                    "desc": "Hollywood-1080p BluRay Rips"
                },
                {
                    "id": 129,
                    "cat": "Movies/HD",
                    "desc": "Hollywood-720p BluRay Rips"
                },
                {
                    "id": 130,
                    "cat": "Movies",
                    "desc": "Hollywood-BluRay Remuxes"
                },
                {
                    "id": 131,
                    "cat": "Movies/WEB-DL",
                    "desc": "Hollywood-Untouched WEB-DLs"
                },
                {
                    "id": 132,
                    "cat": "Movies",
                    "desc": "Hollywood-1080p WEB-Rips"
                },
                {
                    "id": 133,
                    "cat": "Movies/DVD",
                    "desc": "Hollywood-Untouched DVDs"
                },
                {
                    "id": 134,
                    "cat": "Movies/WEB-DL",
                    "desc": "Hollywood-DVDRips 1080p/720p"
                },
                {
                    "id": 135,
                    "cat": "Movies/3D",
                    "desc": "Hollywood-3D-Movies"
                },
                {
                    "id": 136,
                    "cat": "Movies",
                    "desc": "Hollywood-Pre-Release"
                },
                {
                    "id": 137,
                    "cat": "Movies",
                    "desc": "Malayalam-Movies"
                },
                {
                    "id": 140,
                    "cat": "Movies",
                    "desc": "Punjabi-Movies"
                },
                {
                    "id": 141,
                    "cat": "Movies",
                    "desc": "Kannada-Movies"
                },
                {
                    "id": 142,
                    "cat": "Movies",
                    "desc": "Lollywood-Movies"
                },
                {
                    "id": 143,
                    "cat": "Movies",
                    "desc": "Bhoipuri-Movies"
                },
                {
                    "id": 144,
                    "cat": "Movies",
                    "desc": "Marathi-Movies"
                },
                {
                    "id": 145,
                    "cat": "Movies",
                    "desc": "Bangla-Movies"
                },
                {
                    "id": 146,
                    "cat": "TV",
                    "desc": "TV-Colors"
                },
                {
                    "id": 147,
                    "cat": "TV",
                    "desc": "TV-TV"
                },
                {
                    "id": 148,
                    "cat": "TV",
                    "desc": "TV-Life OK"
                },
                {
                    "id": 149,
                    "cat": "TV",
                    "desc": "TV-Pakistan Drams"
                },
                {
                    "id": 150,
                    "cat": "TV",
                    "desc": "TV-Sab TV"
                },
                {
                    "id": 151,
                    "cat": "TV",
                    "desc": "TV-Sony"
                },
                {
                    "id": 152,
                    "cat": "TV",
                    "desc": "TV-Star Bharat"
                },
                {
                    "id": 153,
                    "cat": "TV",
                    "desc": "TV-Star Plus"
                },
                {
                    "id": 154,
                    "cat": "TV",
                    "desc": "TV-Zee TV"
                },
                {
                    "id": 155,
                    "cat": "TV/Sport",
                    "desc": "TV-Sports"
                },
                {
                    "id": 156,
                    "cat": "TV/Documentary",
                    "desc": "TV-Documentaries"
                },
                {
                    "id": 157,
                    "cat": "TV",
                    "desc": "TV-Hollywood Tv Shows"
                },
                {
                    "id": 158,
                    "cat": "TV",
                    "desc": "TV-Other Tv Shows"
                },
                {
                    "id": 159,
                    "cat": "Audio",
                    "desc": "Music-Religion & Spirituality"
                },
                {
                    "id": 160,
                    "cat": "Audio",
                    "desc": "Music-Classical"
                },
                {
                    "id": 161,
                    "cat": "Audio/Lossless",
                    "desc": "Music-Flacs"
                },
                {
                    "id": 162,
                    "cat": "Audio",
                    "desc": "Music-Ghazals"
                },
                {
                    "id": 163,
                    "cat": "Audio",
                    "desc": "Music-Hindi OSTs"
                },
                {
                    "id": 164,
                    "cat": "Audio",
                    "desc": "Music-Instrumental"
                },
                {
                    "id": 165,
                    "cat": "Audio",
                    "desc": "Music-Kannada"
                },
                {
                    "id": 166,
                    "cat": "Audio",
                    "desc": "Music-Lollywood"
                },
                {
                    "id": 167,
                    "cat": "Audio",
                    "desc": "Music-Malayalam"
                },
                {
                    "id": 168,
                    "cat": "Audio",
                    "desc": "Music-Marathi"
                },
                {
                    "id": 169,
                    "cat": "Audio/Video",
                    "desc": "Music-Videos"
                },
                {
                    "id": 170,
                    "cat": "Audio",
                    "desc": "Music-Pop"
                },
                {
                    "id": 171,
                    "cat": "Audio",
                    "desc": "Music-Punjabi"
                },
                {
                    "id": 172,
                    "cat": "Audio",
                    "desc": "Music-Remix"
                },
                {
                    "id": 173,
                    "cat": "Audio",
                    "desc": "Music-Tamil"
                },
                {
                    "id": 174,
                    "cat": "Audio",
                    "desc": "Music-Telugu"
                },
                {
                    "id": 175,
                    "cat": "Books/EBook",
                    "desc": "Ebooks"
                },
                {
                    "id": 176,
                    "cat": "PC/Games",
                    "desc": "Games PC"
                },
                {
                    "id": 177,
                    "cat": "Console",
                    "desc": "Games Console"
                },
                {
                    "id": 178,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 179,
                    "cat": "PC",
                    "desc": "Appz"
                },
                {
                    "id": 180,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile Stuff"
                },
                {
                    "id": 181,
                    "cat": "Other",
                    "desc": "Pics/Wallpapers"
                },
                {
                    "id": 182,
                    "cat": "Movies",
                    "desc": "Other Movies"
                },
                {
                    "id": 183,
                    "cat": "Movies",
                    "desc": "English Hindi Dubbed"
                },
                {
                    "id": 184,
                    "cat": "Movies",
                    "desc": "South Hindi Dubbed"
                },
                {
                    "id": 185,
                    "cat": "Movies",
                    "desc": "Gujarati-Movies"
                },
                {
                    "id": 186,
                    "cat": "TV",
                    "desc": "TV-Dangal Tv"
                },
                {
                    "id": 187,
                    "cat": "XXX",
                    "desc": "Adult XXX 18+"
                },
                {
                    "id": 188,
                    "cat": "Movies/WEB-DL",
                    "desc": "Bollywood-720p WEB-Rips"
                },
                {
                    "id": 189,
                    "cat": "Movies/DVD",
                    "desc": "Bollywood-Encoded DVDs"
                },
                {
                    "id": 190,
                    "cat": "Movies",
                    "desc": "Bollywood-Movie packs"
                },
                {
                    "id": 191,
                    "cat": "Movies/WEB-DL",
                    "desc": "Hollywood-Encoded DVDs"
                },
                {
                    "id": 192,
                    "cat": "Movies",
                    "desc": "Hollywood-720p WEB-Rips"
                },
                {
                    "id": 193,
                    "cat": "Movies/SD",
                    "desc": "Hollywood-SDRips - WEB/DVD"
                },
                {
                    "id": 194,
                    "cat": "Movies",
                    "desc": "Hollywood-Movie packs"
                },
                {
                    "id": 195,
                    "cat": "TV",
                    "desc": "TV-Tv Packs"
                },
                {
                    "id": 196,
                    "cat": "Audio",
                    "desc": "Music-Packs"
                },
                {
                    "id": 197,
                    "cat": "Movies",
                    "desc": "Turkish Hindi Dubbed"
                },
                {
                    "id": 198,
                    "cat": "Movies",
                    "desc": "TV-MTV"
                },
                {
                    "id": 199,
                    "cat": "Movies",
                    "desc": "Telgu-Movies | 4K Ultra HD - Upscaled"
                },
                {
                    "id": 200,
                    "cat": "Movies",
                    "desc": "Telgu-Movies | Untouched WEB-DLs"
                },
                {
                    "id": 201,
                    "cat": "Movies",
                    "desc": "Telgu-Movies | 1080p/720p WEBRips"
                },
                {
                    "id": 202,
                    "cat": "Movies",
                    "desc": "Telgu-Movies | Untouched BluRay"
                },
                {
                    "id": 203,
                    "cat": "Movies",
                    "desc": "Telgu-Movies | Untouched DVDs"
                },
                {
                    "id": 204,
                    "cat": "Movies",
                    "desc": "Telgu-Movies | SD-WEBRips / DVDRips"
                },
                {
                    "id": 205,
                    "cat": "Movies",
                    "desc": "Telgu-Movies | Movie Packs"
                },
                {
                    "id": 207,
                    "cat": "Movies",
                    "desc": "Telgu-Movies | BluRay Rips"
                },
                {
                    "id": 208,
                    "cat": "Movies",
                    "desc": "Telgu-Movies | Remuxes BluRay"
                },
                {
                    "id": 209,
                    "cat": "Movies",
                    "desc": "Tamil-Movies | 4K Ultra HD - Upscaled"
                },
                {
                    "id": 210,
                    "cat": "Movies",
                    "desc": "Tamil-Movies | Untouched WEB-DLs"
                },
                {
                    "id": 211,
                    "cat": "Movies",
                    "desc": "Tamil-Movies | 1080p/720p WEBRips"
                },
                {
                    "id": 212,
                    "cat": "Movies",
                    "desc": "Tamil-Movies | Untouched BluRay"
                },
                {
                    "id": 213,
                    "cat": "Movies",
                    "desc": "Tamil-Movies | Untouched DVDs"
                },
                {
                    "id": 214,
                    "cat": "Movies",
                    "desc": "Tamil-Movies | SD-WEBRips / DVDRips"
                },
                {
                    "id": 215,
                    "cat": "Movies",
                    "desc": "Tamil-Movies | Movie Packs"
                },
                {
                    "id": 216,
                    "cat": "Movies",
                    "desc": "Tamil-Movies | BluRay Rips"
                },
                {
                    "id": 217,
                    "cat": "Movies",
                    "desc": "Tamil-Movies | Remuxes BluRay"
                },
                {
                    "id": 218,
                    "cat": "TV",
                    "desc": "TV-Ishara TV"
                },
                {
                    "id": 219,
                    "cat": "TV",
                    "desc": "TV-Bengali Tv"
                },
                {
                    "id": 220,
                    "cat": "TV",
                    "desc": "TV-Shemaroo Umang"
                },
                {
                    "id": 221,
                    "cat": "TV",
                    "desc": "TV-JioTv"
                }
            ],
            "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": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account activity:<ol><li>Zero activity accounts (0 bytes download and 0 bytes upload) are automatically deleted after 30 days</li><li>Inactive accounts under VIP and without parked are automatically deleted after 40 days.</li></ol>"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"failed\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "blah": 0
            },
            "rows": {
                "selector": "table[width=\"1200\"] > tbody > tr:has(a[href^=\"download.php/\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"index.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"] b"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyyHH:mm:ss"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "font:contains(\"FreeLeech\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"pic/double_upload.png\"]": 2,
                        "*": 1
                    }
                },
                "genre": {
                    "selector": "td:nth-child(2)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Genre:\\s(.+?)$"
                        },
                        {
                            "name": "replace",
                            "args": [
                                ", ",
                                ","
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                "_"
                            ]
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "byrbt": {
        "credentials": {
            "cookie": ""
        },
        "id": "byrbt",
        "name": "BYRBT",
        "description": "BYRBT is a CHINESE Private Torrent Tracker for HD MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://byr.pt/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 408,
                    "cat": "Movies",
                    "desc": "电影Movies"
                },
                {
                    "id": 401,
                    "cat": "TV",
                    "desc": "剧集TV Series"
                },
                {
                    "id": 404,
                    "cat": "TV/Anime",
                    "desc": "动漫Animations"
                },
                {
                    "id": 402,
                    "cat": "Audio",
                    "desc": "音乐Music"
                },
                {
                    "id": 405,
                    "cat": "Other",
                    "desc": "综艺Arts"
                },
                {
                    "id": 403,
                    "cat": "Console",
                    "desc": "游戏Games"
                },
                {
                    "id": 406,
                    "cat": "PC",
                    "desc": "软件Software"
                },
                {
                    "id": 407,
                    "cat": "TV/Documentary",
                    "desc": "资料Documentaries"
                },
                {
                    "id": 409,
                    "cat": "TV/Sport",
                    "desc": "体育Sports"
                },
                {
                    "id": 410,
                    "cat": "Other/Misc",
                    "desc": "纪录Records"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_ipv6",
                "type": "info",
                "label": "IPv6 only",
                "default": "This site only accepts IPv6 addresses. If you are using IPv4 you will get a DNS Lookup Error."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Newly registered users who have not generated any traffic within 14 days (that is, the upload/download data are both 0) will be deleted</li><li>Users with a user level of Peasant that have failed to successfully improve their sharing rate within 14 days will be deleted.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?key=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrents.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details",
                                "download"
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-last-of-type(6) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-last-of-type(6):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-last-of-type(5)"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-last-of-type(4)"
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-last-of-type(3)"
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-last-of-type(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "byrutor": {
        "id": "byrutor",
        "name": "Byrutor",
        "description": "Byrutor is a RUSSIAN Public Torrent Tracker for GAMES",
        "language": "ru-RU",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://byrutgame.org/"
        ],
        "legacylinks": [
            "https://byrutor.org/",
            "https://byrutdb.org/",
            "https://byrut.org/",
            "https://thebyrut.org/",
            "https://byruthub.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "PC/Games",
                    "desc": "Экшены"
                },
                {
                    "id": 2,
                    "cat": "PC/Games",
                    "desc": "Приключения"
                },
                {
                    "id": 3,
                    "cat": "PC/Games",
                    "desc": "Гонки"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "RPG"
                },
                {
                    "id": 5,
                    "cat": "PC/Games",
                    "desc": "Головоломка"
                },
                {
                    "id": 6,
                    "cat": "PC/Games",
                    "desc": "Инди"
                },
                {
                    "id": 7,
                    "cat": "PC/Games",
                    "desc": "Стратегии"
                },
                {
                    "id": 8,
                    "cat": "PC/Games",
                    "desc": "Выживание"
                },
                {
                    "id": 9,
                    "cat": "PC/Games",
                    "desc": "Шутеры"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Симуляторы"
                },
                {
                    "id": 11,
                    "cat": "PC/Games",
                    "desc": "Спортивные"
                },
                {
                    "id": 12,
                    "cat": "PC/Games",
                    "desc": "Аркады"
                },
                {
                    "id": 13,
                    "cat": "PC/Games",
                    "desc": "Файтинги"
                },
                {
                    "id": 14,
                    "cat": "PC/Games",
                    "desc": "Хорроры"
                },
                {
                    "id": 15,
                    "cat": "PC/Games",
                    "desc": "Открытый мир"
                },
                {
                    "id": 16,
                    "cat": "PC/Games",
                    "desc": "Аниме"
                },
                {
                    "id": 248,
                    "cat": "PC/Games",
                    "desc": "Repack от Chovka"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Repack от Механики"
                },
                {
                    "id": 20,
                    "cat": "PC/Games",
                    "desc": "RePack от FitGirl"
                },
                {
                    "id": 18,
                    "cat": "PC/Games",
                    "desc": "Repack от Xatab"
                },
                {
                    "id": 232,
                    "cat": "PC/Games",
                    "desc": "RePack от SpaceX"
                },
                {
                    "id": 233,
                    "cat": "PC/Games",
                    "desc": "RePack от Pioneer"
                },
                {
                    "id": 19,
                    "cat": "PC/Games",
                    "desc": "Repack от Catalyst"
                },
                {
                    "id": 249,
                    "cat": "PC/Games",
                    "desc": "GOG игры"
                },
                {
                    "id": 22,
                    "cat": "PC/Games",
                    "desc": "Русская озвучка"
                },
                {
                    "id": 25,
                    "cat": "PC/Games",
                    "desc": "Старые игры"
                },
                {
                    "id": 26,
                    "cat": "PC/Games",
                    "desc": "Игры с геймпадом"
                },
                {
                    "id": 27,
                    "cat": "PC/Games",
                    "desc": "Мультиплеер"
                },
                {
                    "id": 28,
                    "cat": "PC/Games",
                    "desc": "На двоих"
                },
                {
                    "id": 29,
                    "cat": "PC/Games",
                    "desc": "Рогалик"
                },
                {
                    "id": 30,
                    "cat": "PC/Games",
                    "desc": "Слэшер"
                },
                {
                    "id": 31,
                    "cat": "PC/Games",
                    "desc": "Стелс"
                },
                {
                    "id": 32,
                    "cat": "PC/Games",
                    "desc": "Фэнтези"
                },
                {
                    "id": 33,
                    "cat": "PC/Games",
                    "desc": "Платформер"
                },
                {
                    "id": 34,
                    "cat": "PC/Games",
                    "desc": "Песочница"
                },
                {
                    "id": 35,
                    "cat": "PC/Games",
                    "desc": "Игры в 2D"
                },
                {
                    "id": 36,
                    "cat": "PC/Games",
                    "desc": "Казуальная"
                },
                {
                    "id": 37,
                    "cat": "PC/Games",
                    "desc": "Point and click"
                },
                {
                    "id": 38,
                    "cat": "PC/Games",
                    "desc": "Вид сбоку"
                },
                {
                    "id": 39,
                    "cat": "PC/Games",
                    "desc": "Вид сверху"
                },
                {
                    "id": 40,
                    "cat": "PC/Games",
                    "desc": "Tower Defense"
                },
                {
                    "id": 41,
                    "cat": "PC/Games",
                    "desc": "Экономика"
                },
                {
                    "id": 42,
                    "cat": "PC/Games",
                    "desc": "Тактика"
                },
                {
                    "id": 43,
                    "cat": "PC/Games",
                    "desc": "Пошаговые стратегии (TBS)"
                },
                {
                    "id": 44,
                    "cat": "PC/Games",
                    "desc": "Глобальные стратегии"
                },
                {
                    "id": 45,
                    "cat": "PC/Games",
                    "desc": "Стратегии в реальном времени"
                },
                {
                    "id": 48,
                    "cat": "PC/Games",
                    "desc": "Для взрослых"
                },
                {
                    "id": 49,
                    "cat": "PC/Games",
                    "desc": "От первого лица"
                },
                {
                    "id": 50,
                    "cat": "PC/Games",
                    "desc": "От третьего лица"
                },
                {
                    "id": 51,
                    "cat": "PC/Games",
                    "desc": "Шутер от первого лица"
                },
                {
                    "id": 52,
                    "cat": "PC/Games",
                    "desc": "Шутер от третьего лица"
                },
                {
                    "id": 53,
                    "cat": "PC/Games",
                    "desc": "Игры для слабых ПК"
                },
                {
                    "id": 58,
                    "cat": "PC/Games",
                    "desc": "Психологический хоррор"
                },
                {
                    "id": 59,
                    "cat": "PC/Games",
                    "desc": "Хоррор на выживание"
                },
                {
                    "id": 60,
                    "cat": "PC/Games",
                    "desc": "Ролевой экшен"
                },
                {
                    "id": 61,
                    "cat": "PC/Games",
                    "desc": "Приключенческий экшен"
                },
                {
                    "id": 63,
                    "cat": "PC/Games",
                    "desc": "Головоломка-платформер"
                },
                {
                    "id": 64,
                    "cat": "PC/Games",
                    "desc": "Скролл-шутер"
                },
                {
                    "id": 65,
                    "cat": "PC/Games",
                    "desc": "Шутер с видом сверху"
                },
                {
                    "id": 66,
                    "cat": "PC/Games",
                    "desc": "Градостроительный симулятор"
                },
                {
                    "id": 67,
                    "cat": "PC/Games",
                    "desc": "Космический симулятор"
                },
                {
                    "id": 68,
                    "cat": "PC/Games",
                    "desc": "Научная фантастика"
                },
                {
                    "id": 69,
                    "cat": "PC/Games",
                    "desc": "Ролевая стратегия"
                },
                {
                    "id": 70,
                    "cat": "PC/Games",
                    "desc": "Тактическая ролевая игра"
                },
                {
                    "id": 71,
                    "cat": "PC/Games",
                    "desc": "Тактика в реальном времени"
                },
                {
                    "id": 72,
                    "cat": "PC/Games",
                    "desc": "Японская ролевая игра"
                },
                {
                    "id": 73,
                    "cat": "PC/Games",
                    "desc": "Тёмное фэнтези"
                },
                {
                    "id": 74,
                    "cat": "PC/Games",
                    "desc": "Сложная"
                },
                {
                    "id": 75,
                    "cat": "PC/Games",
                    "desc": "Атмосфера"
                },
                {
                    "id": 76,
                    "cat": "PC/Games",
                    "desc": "Смешная"
                },
                {
                    "id": 77,
                    "cat": "PC/Games",
                    "desc": "Пиксельная графика"
                },
                {
                    "id": 78,
                    "cat": "PC/Games",
                    "desc": "Юмор"
                },
                {
                    "id": 79,
                    "cat": "PC/Games",
                    "desc": "Классика"
                },
                {
                    "id": 80,
                    "cat": "PC/Games",
                    "desc": "Космос"
                },
                {
                    "id": 81,
                    "cat": "PC/Games",
                    "desc": "Зомби"
                },
                {
                    "id": 82,
                    "cat": "PC/Games",
                    "desc": "Мрачная"
                },
                {
                    "id": 83,
                    "cat": "PC/Games",
                    "desc": "Тайна"
                },
                {
                    "id": 84,
                    "cat": "PC/Games",
                    "desc": "Физика"
                },
                {
                    "id": 85,
                    "cat": "PC/Games",
                    "desc": "Реализм"
                },
                {
                    "id": 86,
                    "cat": "PC/Games",
                    "desc": "Короткая"
                },
                {
                    "id": 87,
                    "cat": "PC/Games",
                    "desc": "Строительство"
                },
                {
                    "id": 88,
                    "cat": "PC/Games",
                    "desc": "Война"
                },
                {
                    "id": 89,
                    "cat": "PC/Games",
                    "desc": "Крафтинг"
                },
                {
                    "id": 90,
                    "cat": "PC/Games",
                    "desc": "Будущее"
                },
                {
                    "id": 91,
                    "cat": "PC/Games",
                    "desc": "Средневековье"
                },
                {
                    "id": 92,
                    "cat": "PC/Games",
                    "desc": "Затягивающая"
                },
                {
                    "id": 93,
                    "cat": "PC/Games",
                    "desc": "Строительство базы"
                },
                {
                    "id": 94,
                    "cat": "PC/Games",
                    "desc": "Управление ресурсами"
                },
                {
                    "id": 95,
                    "cat": "PC/Games",
                    "desc": "Насилие"
                },
                {
                    "id": 96,
                    "cat": "PC/Games",
                    "desc": "Для всей семьи"
                },
                {
                    "id": 97,
                    "cat": "PC/Games",
                    "desc": "Исследование"
                },
                {
                    "id": 98,
                    "cat": "PC/Games",
                    "desc": "Расслабляющая"
                },
                {
                    "id": 99,
                    "cat": "PC/Games",
                    "desc": "Реиграбельность"
                },
                {
                    "id": 100,
                    "cat": "PC/Games",
                    "desc": "Поиск предметов"
                },
                {
                    "id": 101,
                    "cat": "PC/Games",
                    "desc": "Пост-апокалипсис"
                },
                {
                    "id": 102,
                    "cat": "PC/Games",
                    "desc": "Вторая мировая война"
                },
                {
                    "id": 103,
                    "cat": "PC/Games",
                    "desc": "Военные действия"
                },
                {
                    "id": 105,
                    "cat": "PC/Games",
                    "desc": "Вождение"
                },
                {
                    "id": 189,
                    "cat": "PC/Games",
                    "desc": "Пошаговая"
                },
                {
                    "id": 106,
                    "cat": "PC/Games",
                    "desc": "Пошаговая тактика"
                },
                {
                    "id": 328,
                    "cat": "PC/Games",
                    "desc": "2D-платформер"
                },
                {
                    "id": 107,
                    "cat": "PC/Games",
                    "desc": "3D-платформер"
                },
                {
                    "id": 108,
                    "cat": "PC/Games",
                    "desc": "Одна жизнь"
                },
                {
                    "id": 109,
                    "cat": "PC/Games",
                    "desc": "Паркур"
                },
                {
                    "id": 110,
                    "cat": "PC/Games",
                    "desc": "Детектив"
                },
                {
                    "id": 111,
                    "cat": "PC/Games",
                    "desc": "Криминал"
                },
                {
                    "id": 112,
                    "cat": "PC/Games",
                    "desc": "Разрушения"
                },
                {
                    "id": 113,
                    "cat": "PC/Games",
                    "desc": "90-е"
                },
                {
                    "id": 114,
                    "cat": "PC/Games",
                    "desc": "80-е"
                },
                {
                    "id": 115,
                    "cat": "PC/Games",
                    "desc": "Разделение экрана"
                },
                {
                    "id": 116,
                    "cat": "PC/Games",
                    "desc": "Военные конфликты"
                },
                {
                    "id": 117,
                    "cat": "PC/Games",
                    "desc": "Драконы"
                },
                {
                    "id": 118,
                    "cat": "PC/Games",
                    "desc": "Пираты"
                },
                {
                    "id": 119,
                    "cat": "PC/Games",
                    "desc": "Ниндзя"
                },
                {
                    "id": 120,
                    "cat": "PC/Games",
                    "desc": "Поезда"
                },
                {
                    "id": 121,
                    "cat": "PC/Games",
                    "desc": "Динозавры"
                },
                {
                    "id": 122,
                    "cat": "PC/Games",
                    "desc": "Раннер"
                },
                {
                    "id": 123,
                    "cat": "PC/Games",
                    "desc": "Супергерои"
                },
                {
                    "id": 124,
                    "cat": "PC/Games",
                    "desc": "По комиксу"
                },
                {
                    "id": 125,
                    "cat": "PC/Games",
                    "desc": "Хакерство"
                },
                {
                    "id": 126,
                    "cat": "PC/Games",
                    "desc": "Эмоциональная"
                },
                {
                    "id": 127,
                    "cat": "PC/Games",
                    "desc": "Футбол"
                },
                {
                    "id": 128,
                    "cat": "PC/Games",
                    "desc": "Рыбалка"
                },
                {
                    "id": 129,
                    "cat": "PC/Games",
                    "desc": "Бездорожье"
                },
                {
                    "id": 130,
                    "cat": "PC/Games",
                    "desc": "Программирование"
                },
                {
                    "id": 131,
                    "cat": "PC/Games",
                    "desc": "Вампиры"
                },
                {
                    "id": 132,
                    "cat": "PC/Games",
                    "desc": "Снайпер"
                },
                {
                    "id": 133,
                    "cat": "PC/Games",
                    "desc": "Ремейк"
                },
                {
                    "id": 134,
                    "cat": "PC/Games",
                    "desc": "Отличный саундтрек"
                },
                {
                    "id": 135,
                    "cat": "PC/Games",
                    "desc": "Глубокий сюжет"
                },
                {
                    "id": 136,
                    "cat": "PC/Games",
                    "desc": "Женщина-протагонист"
                },
                {
                    "id": 137,
                    "cat": "PC/Games",
                    "desc": "Кровь"
                },
                {
                    "id": 138,
                    "cat": "PC/Games",
                    "desc": "Киберпанк"
                },
                {
                    "id": 139,
                    "cat": "PC/Games",
                    "desc": "Эпичная"
                },
                {
                    "id": 140,
                    "cat": "PC/Games",
                    "desc": "Мясо"
                },
                {
                    "id": 141,
                    "cat": "PC/Games",
                    "desc": "Нагота"
                },
                {
                    "id": 142,
                    "cat": "PC/Games",
                    "desc": "Цветастая"
                },
                {
                    "id": 143,
                    "cat": "PC/Games",
                    "desc": "Education"
                },
                {
                    "id": 144,
                    "cat": "PC/Games",
                    "desc": "Менеджмент"
                },
                {
                    "id": 145,
                    "cat": "PC/Games",
                    "desc": "Упрощённый рогалик"
                },
                {
                    "id": 146,
                    "cat": "PC/Games",
                    "desc": "Музыка"
                },
                {
                    "id": 147,
                    "cat": "PC/Games",
                    "desc": "Кастомизация персонажа"
                },
                {
                    "id": 148,
                    "cat": "PC/Games",
                    "desc": "История"
                },
                {
                    "id": 149,
                    "cat": "PC/Games",
                    "desc": "Охота"
                },
                {
                    "id": 150,
                    "cat": "PC/Games",
                    "desc": "По мотивам книги"
                },
                {
                    "id": 151,
                    "cat": "PC/Games",
                    "desc": "Первая мировая война"
                },
                {
                    "id": 152,
                    "cat": "PC/Games",
                    "desc": "Тайм-менеджмент"
                },
                {
                    "id": 153,
                    "cat": "PC/Games",
                    "desc": "Психоделия"
                },
                {
                    "id": 154,
                    "cat": "PC/Games",
                    "desc": "Наука"
                },
                {
                    "id": 155,
                    "cat": "PC/Games",
                    "desc": "Морские бои"
                },
                {
                    "id": 156,
                    "cat": "PC/Games",
                    "desc": "Сельское хозяйство"
                },
                {
                    "id": 157,
                    "cat": "PC/Games",
                    "desc": "Кинематографичная"
                },
                {
                    "id": 158,
                    "cat": "PC/Games",
                    "desc": "Вестерн"
                },
                {
                    "id": 159,
                    "cat": "PC/Games",
                    "desc": "Три в ряд"
                },
                {
                    "id": 160,
                    "cat": "PC/Games",
                    "desc": "Стимпанк"
                },
                {
                    "id": 161,
                    "cat": "PC/Games",
                    "desc": "Редактор уровней"
                },
                {
                    "id": 162,
                    "cat": "PC/Games",
                    "desc": "Культовая классика"
                },
                {
                    "id": 163,
                    "cat": "PC/Games",
                    "desc": "Минимализм"
                },
                {
                    "id": 164,
                    "cat": "PC/Games",
                    "desc": "Shoot'em up"
                },
                {
                    "id": 165,
                    "cat": "PC/Games",
                    "desc": "Решения с последствиями"
                },
                {
                    "id": 166,
                    "cat": "PC/Games",
                    "desc": "Процедурная генерация"
                },
                {
                    "id": 167,
                    "cat": "PC/Games",
                    "desc": "Мультипликация"
                },
                {
                    "id": 168,
                    "cat": "PC/Games",
                    "desc": "Мультфильм"
                },
                {
                    "id": 169,
                    "cat": "PC/Games",
                    "desc": "Пошаговые сражения"
                },
                {
                    "id": 170,
                    "cat": "PC/Games",
                    "desc": "Магия"
                },
                {
                    "id": 171,
                    "cat": "PC/Games",
                    "desc": "Изометрия"
                },
                {
                    "id": 172,
                    "cat": "PC/Games",
                    "desc": "Карточная игра"
                },
                {
                    "id": 173,
                    "cat": "PC/Games",
                    "desc": "Чёрный юмор"
                },
                {
                    "id": 174,
                    "cat": "PC/Games",
                    "desc": "Beat'em up"
                },
                {
                    "id": 175,
                    "cat": "PC/Games",
                    "desc": "Свобода выбора"
                },
                {
                    "id": 176,
                    "cat": "PC/Games",
                    "desc": "Рисованная графика"
                },
                {
                    "id": 177,
                    "cat": "PC/Games",
                    "desc": "Инопланетяне"
                },
                {
                    "id": 178,
                    "cat": "PC/Games",
                    "desc": "Твин-стик шутер"
                },
                {
                    "id": 179,
                    "cat": "PC/Games",
                    "desc": "Настольная игра"
                },
                {
                    "id": 180,
                    "cat": "PC/Games",
                    "desc": "Полёты"
                },
                {
                    "id": 181,
                    "cat": "PC/Games",
                    "desc": "Лут"
                },
                {
                    "id": 183,
                    "cat": "PC/Games",
                    "desc": "MOBA"
                },
                {
                    "id": 184,
                    "cat": "PC/Games",
                    "desc": "Демоны"
                },
                {
                    "id": 185,
                    "cat": "PC/Games",
                    "desc": "Расследование"
                },
                {
                    "id": 186,
                    "cat": "PC/Games",
                    "desc": "Мифология"
                },
                {
                    "id": 187,
                    "cat": "PC/Games",
                    "desc": "VR"
                },
                {
                    "id": 191,
                    "cat": "PC/Games",
                    "desc": "Психологическая"
                },
                {
                    "id": 193,
                    "cat": "PC/Games",
                    "desc": "Подземелье"
                },
                {
                    "id": 196,
                    "cat": "PC/Games",
                    "desc": "Шедевр"
                },
                {
                    "id": 197,
                    "cat": "PC/Games",
                    "desc": "Ретро"
                },
                {
                    "id": 198,
                    "cat": "PC/Games",
                    "desc": "Олдскул"
                },
                {
                    "id": 251,
                    "cat": "PC/Games",
                    "desc": "Визуальная новелла"
                },
                {
                    "id": 252,
                    "cat": "PC/Games",
                    "desc": "Образование"
                },
                {
                    "id": 253,
                    "cat": "PC/Games",
                    "desc": "Партийная RPG"
                },
                {
                    "id": 254,
                    "cat": "PC/Games",
                    "desc": "Симулятор ходьбы"
                },
                {
                    "id": 255,
                    "cat": "PC/Games",
                    "desc": "Симулятор жизни"
                },
                {
                    "id": 256,
                    "cat": "PC/Games",
                    "desc": "Автосимулятор"
                },
                {
                    "id": 257,
                    "cat": "PC/Games",
                    "desc": "Ритм-игра"
                },
                {
                    "id": 258,
                    "cat": "PC/Games",
                    "desc": "Королевская битва"
                },
                {
                    "id": 259,
                    "cat": "PC/Games",
                    "desc": "Симулятор колонии"
                },
                {
                    "id": 260,
                    "cat": "PC/Games",
                    "desc": "Симулятор фермы"
                },
                {
                    "id": 261,
                    "cat": "PC/Games",
                    "desc": "Иммерсивный симулятор"
                },
                {
                    "id": 262,
                    "cat": "PC/Games",
                    "desc": "Кликер"
                },
                {
                    "id": 263,
                    "cat": "PC/Games",
                    "desc": "Арена-шутер"
                },
                {
                    "id": 264,
                    "cat": "PC/Games",
                    "desc": "Платформер на точность"
                },
                {
                    "id": 265,
                    "cat": "PC/Games",
                    "desc": "Метроидвания"
                },
                {
                    "id": 266,
                    "cat": "PC/Games",
                    "desc": "Похожа на Dark Souls"
                },
                {
                    "id": 267,
                    "cat": "PC/Games",
                    "desc": "Коллектатон"
                },
                {
                    "id": 268,
                    "cat": "PC/Games",
                    "desc": "Idle-игра"
                },
                {
                    "id": 269,
                    "cat": "PC/Games",
                    "desc": "Поиск существ"
                },
                {
                    "id": 270,
                    "cat": "PC/Games",
                    "desc": "Зрелищные сражения"
                },
                {
                    "id": 271,
                    "cat": "PC/Games",
                    "desc": "Пасьянс"
                },
                {
                    "id": 272,
                    "cat": "PC/Games",
                    "desc": "Боевые гонки"
                },
                {
                    "id": 273,
                    "cat": "PC/Games",
                    "desc": "Лутер-шутер"
                },
                {
                    "id": 274,
                    "cat": "PC/Games",
                    "desc": "Политический симулятор"
                },
                {
                    "id": 275,
                    "cat": "PC/Games",
                    "desc": "Традиционный рогалик"
                },
                {
                    "id": 276,
                    "cat": "PC/Games",
                    "desc": "Милая"
                },
                {
                    "id": 277,
                    "cat": "PC/Games",
                    "desc": "Стилизация"
                },
                {
                    "id": 278,
                    "cat": "PC/Games",
                    "desc": "Псевдотрёхмерность"
                },
                {
                    "id": 279,
                    "cat": "PC/Games",
                    "desc": "Абстрактная"
                },
                {
                    "id": 280,
                    "cat": "PC/Games",
                    "desc": "Красивая"
                },
                {
                    "id": 281,
                    "cat": "PC/Games",
                    "desc": "Воксельная графика"
                },
                {
                    "id": 282,
                    "cat": "PC/Games",
                    "desc": "Логика"
                },
                {
                    "id": 283,
                    "cat": "PC/Games",
                    "desc": "Драма"
                },
                {
                    "id": 284,
                    "cat": "PC/Games",
                    "desc": "Романтика"
                },
                {
                    "id": 285,
                    "cat": "PC/Games",
                    "desc": "Сюрреалистичная"
                },
                {
                    "id": 286,
                    "cat": "PC/Games",
                    "desc": "Мемы"
                },
                {
                    "id": 287,
                    "cat": "PC/Games",
                    "desc": "Природа"
                },
                {
                    "id": 288,
                    "cat": "PC/Games",
                    "desc": "Роботы"
                },
                {
                    "id": 289,
                    "cat": "PC/Games",
                    "desc": "Проработанная вселенная"
                },
                {
                    "id": 290,
                    "cat": "PC/Games",
                    "desc": "Триллер"
                },
                {
                    "id": 291,
                    "cat": "PC/Games",
                    "desc": "Антиутопия"
                },
                {
                    "id": 292,
                    "cat": "PC/Games",
                    "desc": "Сверхъестественное"
                },
                {
                    "id": 293,
                    "cat": "PC/Games",
                    "desc": "Альтернативная история"
                },
                {
                    "id": 294,
                    "cat": "PC/Games",
                    "desc": "Сражения на мечах"
                },
                {
                    "id": 295,
                    "cat": "PC/Games",
                    "desc": "Котики"
                },
                {
                    "id": 296,
                    "cat": "PC/Games",
                    "desc": "Америка"
                },
                {
                    "id": 297,
                    "cat": "PC/Games",
                    "desc": "Иллюминаты"
                },
                {
                    "id": 298,
                    "cat": "PC/Games",
                    "desc": "Капитализм"
                },
                {
                    "id": 299,
                    "cat": "PC/Games",
                    "desc": "Заговор"
                },
                {
                    "id": 300,
                    "cat": "PC/Games",
                    "desc": "Сатира"
                },
                {
                    "id": 301,
                    "cat": "PC/Games",
                    "desc": "Готика"
                },
                {
                    "id": 303,
                    "cat": "PC/Games",
                    "desc": "Шахты"
                },
                {
                    "id": 304,
                    "cat": "PC/Games",
                    "desc": "Боевые искусства"
                },
                {
                    "id": 305,
                    "cat": "PC/Games",
                    "desc": "Танки"
                },
                {
                    "id": 306,
                    "cat": "PC/Games",
                    "desc": "Подводный мир"
                },
                {
                    "id": 307,
                    "cat": "PC/Games",
                    "desc": "Кулинария"
                },
                {
                    "id": 308,
                    "cat": "PC/Games",
                    "desc": "Флот"
                },
                {
                    "id": 309,
                    "cat": "PC/Games",
                    "desc": "Транспорт"
                },
                {
                    "id": 311,
                    "cat": "PC/Games",
                    "desc": "Марс"
                },
                {
                    "id": 312,
                    "cat": "PC/Games",
                    "desc": "Оборотни"
                },
                {
                    "id": 313,
                    "cat": "PC/Games",
                    "desc": "Бой"
                },
                {
                    "id": 314,
                    "cat": "PC/Games",
                    "desc": "Несколько концовок"
                },
                {
                    "id": 315,
                    "cat": "PC/Games",
                    "desc": "Игра против ИИ"
                },
                {
                    "id": 316,
                    "cat": "PC/Games",
                    "desc": "Линейная"
                },
                {
                    "id": 192,
                    "cat": "PC/Games",
                    "desc": "Нелинейная"
                },
                {
                    "id": 317,
                    "cat": "PC/Games",
                    "desc": "Повествовательная"
                },
                {
                    "id": 318,
                    "cat": "PC/Games",
                    "desc": "Набор очков"
                },
                {
                    "id": 319,
                    "cat": "PC/Games",
                    "desc": "Менеджмент инвентаря"
                },
                {
                    "id": 320,
                    "cat": "PC/Games",
                    "desc": "Перемещение по сетке"
                },
                {
                    "id": 321,
                    "cat": "PC/Games",
                    "desc": "Разделение на классы"
                },
                {
                    "id": 322,
                    "cat": "PC/Games",
                    "desc": "Кастомизация оружия"
                },
                {
                    "id": 323,
                    "cat": "PC/Games",
                    "desc": "Построение колоды"
                },
                {
                    "id": 324,
                    "cat": "PC/Games",
                    "desc": "Гонки на выживание"
                },
                {
                    "id": 325,
                    "cat": "PC/Games",
                    "desc": "Свобода движения"
                },
                {
                    "id": 326,
                    "cat": "PC/Games",
                    "desc": "Замедление времени"
                },
                {
                    "id": 327,
                    "cat": "PC/Games",
                    "desc": "Динамическое повествование"
                },
                {
                    "id": 238,
                    "cat": "PC/Games",
                    "desc": "Игры 2024 года"
                },
                {
                    "id": 237,
                    "cat": "PC/Games",
                    "desc": "Игры 2023 года"
                },
                {
                    "id": 236,
                    "cat": "PC/Games",
                    "desc": "Игры 2022 года"
                },
                {
                    "id": 235,
                    "cat": "PC/Games",
                    "desc": "Игры 2021 года"
                },
                {
                    "id": 199,
                    "cat": "PC/Games",
                    "desc": "Игры 2020 года"
                },
                {
                    "id": 200,
                    "cat": "PC/Games",
                    "desc": "Игры 2019 года"
                },
                {
                    "id": 201,
                    "cat": "PC/Games",
                    "desc": "Игры 2018 года"
                },
                {
                    "id": 202,
                    "cat": "PC/Games",
                    "desc": "Игры 2017 года"
                },
                {
                    "id": 203,
                    "cat": "PC/Games",
                    "desc": "Игры 2016 года"
                },
                {
                    "id": 204,
                    "cat": "PC/Games",
                    "desc": "Игры 2015 года"
                },
                {
                    "id": 205,
                    "cat": "PC/Games",
                    "desc": "Игры 2014 года"
                },
                {
                    "id": 206,
                    "cat": "PC/Games",
                    "desc": "Игры 2013 года"
                },
                {
                    "id": 207,
                    "cat": "PC/Games",
                    "desc": "Игры 2012 года"
                },
                {
                    "id": 208,
                    "cat": "PC/Games",
                    "desc": "Игры 2011 года"
                },
                {
                    "id": 209,
                    "cat": "PC/Games",
                    "desc": "Игры 2010 года"
                },
                {
                    "id": 210,
                    "cat": "PC/Games",
                    "desc": "Игры 2009 года"
                },
                {
                    "id": 211,
                    "cat": "PC/Games",
                    "desc": "Игры 2008 года"
                },
                {
                    "id": 212,
                    "cat": "PC/Games",
                    "desc": "Игры 2007 года"
                },
                {
                    "id": 213,
                    "cat": "PC/Games",
                    "desc": "Игры 2006 года"
                },
                {
                    "id": 214,
                    "cat": "PC/Games",
                    "desc": "Игры 2005 года"
                },
                {
                    "id": 215,
                    "cat": "PC/Games",
                    "desc": "Игры 2004 года"
                },
                {
                    "id": 216,
                    "cat": "PC/Games",
                    "desc": "Игры 2003 года"
                },
                {
                    "id": 217,
                    "cat": "PC/Games",
                    "desc": "Игры 2002 года"
                },
                {
                    "id": 218,
                    "cat": "PC/Games",
                    "desc": "Игры 2001 года"
                },
                {
                    "id": 219,
                    "cat": "PC/Games",
                    "desc": "Игры 2000 года"
                },
                {
                    "id": 220,
                    "cat": "PC/Games",
                    "desc": "Игры 1999 года"
                },
                {
                    "id": 221,
                    "cat": "PC/Games",
                    "desc": "Игры 1998 года"
                },
                {
                    "id": 222,
                    "cat": "PC/Games",
                    "desc": "Игры 1997 года"
                },
                {
                    "id": 223,
                    "cat": "PC/Games",
                    "desc": "Игры 1996 года"
                },
                {
                    "id": 224,
                    "cat": "PC/Games",
                    "desc": "Игры 1995 года"
                },
                {
                    "id": 225,
                    "cat": "PC/Games",
                    "desc": "Игры 1994 года"
                },
                {
                    "id": 226,
                    "cat": "PC/Games",
                    "desc": "Игры 1993 года"
                },
                {
                    "id": 227,
                    "cat": "PC/Games",
                    "desc": "Игры 1992 года"
                },
                {
                    "id": 228,
                    "cat": "PC/Games",
                    "desc": "Игры 1991 года"
                },
                {
                    "id": 229,
                    "cat": "PC/Games",
                    "desc": "Игры 1990 года"
                },
                {
                    "id": 231,
                    "cat": "PC/Games",
                    "desc": "Дополнения"
                },
                {
                    "id": 250,
                    "cat": "PC/Games",
                    "desc": "Модификации"
                },
                {
                    "id": 23,
                    "cat": "PC/Games",
                    "desc": "Ранний Доступ"
                },
                {
                    "id": 246,
                    "cat": "PC/Games",
                    "desc": "Обновление"
                },
                {
                    "id": 230,
                    "cat": "PC/Games",
                    "desc": "Все Топ игры"
                },
                {
                    "id": 329,
                    "cat": "PC/Games",
                    "desc": "Актуальные Топ игры"
                },
                {
                    "id": 24,
                    "cat": "PC/Games",
                    "desc": "Новинка"
                },
                {
                    "id": 194,
                    "cat": "PC/Games",
                    "desc": "Игры по сети"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a.itemdown_games",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}catlist[]={{.}}&{{end}}",
                "do": "search",
                "subaction": "search",
                "search_start": 0,
                "full_search": 1,
                "result_from": 1,
                "showposts": 1,
                "titleonly": "{{ if .Keywords }}3{{ else }}0{{ end }}",
                "searchdate": 0,
                "story": "{{ if .Keywords }}{{ .Keywords }}{{ else }}game{{ end }}",
                "sortby": "date",
                "resorder": "desc"
            },
            "rows": {
                "selector": "a.search_res:has(div.search_res_sub span:nth-child(2):contains(\" \"))"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "year": {
                    "selector": "div.search_res_sub span",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)"
                        }
                    ]
                },
                "title": {
                    "selector": "a.search_res",
                    "filters": [
                        {
                            "name": "append",
                            "args": " [{{ .Result.year }}]"
                        }
                    ]
                },
                "details": {
                    "selector": "a.search_res",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.search_res",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "size_rus": {
                    "selector": "div.search_res_sub span:nth-child(2):contains(\"Б\")",
                    "optional": true,
                    "default": "0 B",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "ТБ",
                                "TB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ГБ",
                                "GB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "МБ",
                                "MB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "КБ",
                                "KB"
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "div.search_res_sub span:nth-child(2):contains(\"B\")",
                    "optional": true,
                    "default": "{{ .Result.size_rus }}"
                },
                "date": {
                    "text": "now"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "c411": {
        "credentials": {
            "apikey": ""
        },
        "id": "c411",
        "name": "C411",
        "description": "C411 (Community 411) is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://c411.org/"
        ],
        "legacylinks": [
            "https://staging-68d548c5bd4.c411.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1000,
                    "cat": "Console",
                    "desc": "Jeux Vidéo & Emulation & VR"
                },
                {
                    "id": 1030,
                    "cat": "Console/Wii",
                    "desc": "Nintendo"
                },
                {
                    "id": 1040,
                    "cat": "Console/XBox",
                    "desc": "Microsoft"
                },
                {
                    "id": 1080,
                    "cat": "Console/PS4",
                    "desc": "Sony"
                },
                {
                    "id": 1090,
                    "cat": "Console/Other",
                    "desc": "Jeux Autre & ROM/ISO"
                },
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Films & Vidéos"
                },
                {
                    "id": 2010,
                    "cat": "Movies/Other",
                    "desc": "Films Collection"
                },
                {
                    "id": 2030,
                    "cat": "Movies/Foreign",
                    "desc": "Films Foreign"
                },
                {
                    "id": 2050,
                    "cat": "Movies/Other",
                    "desc": "Vidéo-clips"
                },
                {
                    "id": 2060,
                    "cat": "Movies/Other",
                    "desc": "Films Animation"
                },
                {
                    "id": 2070,
                    "cat": "Movies",
                    "desc": "Films Documentaire"
                },
                {
                    "id": 2080,
                    "cat": "Movies/Other",
                    "desc": "Films Spectacle"
                },
                {
                    "id": 2090,
                    "cat": "Movies/Other",
                    "desc": "Films Concert"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 3010,
                    "cat": "Audio/MP3",
                    "desc": "Musique"
                },
                {
                    "id": 3030,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobooks"
                },
                {
                    "id": 3050,
                    "cat": "Audio/Other",
                    "desc": "Karaoké & Podcast Radio & Samples"
                },
                {
                    "id": 4000,
                    "cat": "PC/0day",
                    "desc": "Applications & Windows & Nulled"
                },
                {
                    "id": 4030,
                    "cat": "PC/0day",
                    "desc": "Linux & MacOS"
                },
                {
                    "id": 4040,
                    "cat": "PC",
                    "desc": "Formation"
                },
                {
                    "id": 4050,
                    "cat": "PC",
                    "desc": "Games-Linux & Games-MacOS & Games-Divers & Autre & Émulateur & GPS & Scripts PHP & CMS & Wordpress"
                },
                {
                    "id": 4060,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android Mobile & Smartphone & Tablette & Applications & Cartes"
                },
                {
                    "id": 4070,
                    "cat": "PC/Mobile-iOS",
                    "desc": "iOS Smartphone & Tablette"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "Série TV"
                },
                {
                    "id": 5060,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 5070,
                    "cat": "TV/Anime",
                    "desc": "Animation Série"
                },
                {
                    "id": 5080,
                    "cat": "TV/Documentary",
                    "desc": "Emission TV"
                },
                {
                    "id": 6000,
                    "cat": "XXX",
                    "desc": "3X & 3X VR"
                },
                {
                    "id": 6010,
                    "cat": "XXX/DVD",
                    "desc": "3X Films"
                },
                {
                    "id": 6050,
                    "cat": "XXX/Other",
                    "desc": "3X Ebooks"
                },
                {
                    "id": 6060,
                    "cat": "XXX/ImageSet",
                    "desc": "3X Images"
                },
                {
                    "id": 6070,
                    "cat": "XXX/Other",
                    "desc": "Hentai"
                },
                {
                    "id": 6080,
                    "cat": "XXX/Other",
                    "desc": "3X Jeux"
                },
                {
                    "id": 7000,
                    "cat": "Books",
                    "desc": "Ebook"
                },
                {
                    "id": 7010,
                    "cat": "Books/Mags",
                    "desc": "Presse"
                },
                {
                    "id": 7020,
                    "cat": "Books/EBook",
                    "desc": "Livres"
                },
                {
                    "id": 7030,
                    "cat": "Books/Comics",
                    "desc": "BDs & Comics & Manga"
                },
                {
                    "id": 8010,
                    "cat": "Other/Misc",
                    "desc": "Imprimante 3D & Objets & Pack & Personnages"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowtvsearchimdb": true,
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API Key"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "You can find or generate a new API Key by accessing the <a href=\"https://c411.org/user/integrations\" target=\"_blank\">C411 Intégrations API</a> page."
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi.FRENCH": "MULTi.FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi.ENGLISH": "MULTi.ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi.VOSTFR": "MULTi.VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "info_3x",
                "type": "info",
                "label": "Including 3X",
                "default": "IF you want to see 3x torrents access your <a href=\"https://c411.org/user/settings\" target=\"_blank\">C411 Paramètres</a> page and tick the <b>Afficher le contenu XXX</b> checkbox."
            }
        ],
        "login": {
            "path": "api/torznab",
            "method": "get",
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "search",
                "limit": 1
            }
        },
        "search": {
            "paths": [
                {
                    "path": "api/torznab",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "{{ .Query.Type }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "imdbid": "{{ .Query.IMDBID }}",
                "tmdbid": "{{ .Query.TMDBID }}",
                "limit": 100
            },
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title_phase1": {
                    "selector": "title"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR|VF2|VFF|VFQ|VOQ|VFI|VOF)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "details": {
                    "selector": "link"
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "infohash": {
                    "selector": "[name=infohash]",
                    "attribute": "value"
                },
                "imdbid": {
                    "selector": "[name=imdbid]",
                    "attribute": "value"
                },
                "tmdbid": {
                    "selector": "[name=tmdbid]",
                    "attribute": "value"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=peers]",
                    "attribute": "value"
                },
                "grabs": {
                    "selector": "[name=grabs]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "selector": "[name=downloadvolumefactor]",
                    "attribute": "value"
                },
                "uploadvolumefactor": {
                    "selector": "[name=uploadvolumefactor]",
                    "attribute": "value"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "cangbaoge": {
        "credentials": {
            "cookie": ""
        },
        "id": "cangbaoge",
        "name": "cangbaoge (CBG)",
        "description": "cangbaoge (CBG) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://cangbao.ge/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/剧集"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "Playlet/短剧"
                },
                {
                    "id": 404,
                    "cat": "TV/Anime",
                    "desc": "Animations/动画"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Anime/动漫"
                },
                {
                    "id": 406,
                    "cat": "TV/Other",
                    "desc": "Children/儿童"
                },
                {
                    "id": 407,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 408,
                    "cat": "TV/Documentary",
                    "desc": "Documentary/纪录"
                },
                {
                    "id": 409,
                    "cat": "Audio",
                    "desc": "Music/音乐"
                },
                {
                    "id": 410,
                    "cat": "Books",
                    "desc": "Books/书籍"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "capybarabr": {
        "credentials": {
            "apikey": ""
        },
        "id": "capybarabr",
        "name": "CapybaraBR (API)",
        "description": "CapybaraBR is a BRAZILIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pt-BR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://capybarabr.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Filmes"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Series"
                },
                {
                    "id": 4,
                    "cat": "TV/Anime",
                    "desc": "Animes"
                },
                {
                    "id": 8,
                    "cat": "TV/Sport",
                    "desc": "Esportes"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "Desenhos Animados"
                },
                {
                    "id": 5,
                    "cat": "Console",
                    "desc": "Jogos"
                },
                {
                    "id": 9,
                    "cat": "PC",
                    "desc": "Programas"
                },
                {
                    "id": 10,
                    "cat": "Books/Comics",
                    "desc": "HQs"
                },
                {
                    "id": 11,
                    "cat": "Books/EBook",
                    "desc": "Livros"
                },
                {
                    "id": 12,
                    "cat": "Other",
                    "desc": "Cursos"
                },
                {
                    "id": 13,
                    "cat": "Books/Mags",
                    "desc": "Revistas"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://capybarabr.com/\" target=\"_blank\">CapybaraBR</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "use_single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as the title for single file releases",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "The system automatically makes an account inactive when not logged in for a period of 90 days. So just log in within this time so that it is not inactivated."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.use_single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Ficção científica)",
                                "Ficção_científica"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Cinema TV)",
                                "Cinema_TV"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "carpathians": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "carpathians",
        "name": "Carpathians",
        "description": "Carpathians is a HUNGARIAN Private Torrent Tracker for 0DAY / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://mycarpathians.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 186,
                    "cat": "Books/EBook",
                    "desc": "E-book"
                },
                {
                    "id": 199,
                    "cat": "Movies/SD",
                    "desc": "Film/Bluray/Hun"
                },
                {
                    "id": 194,
                    "cat": "Movies/SD",
                    "desc": "Film/CAM"
                },
                {
                    "id": 60,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD-R/Eng"
                },
                {
                    "id": 10,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD-R/Hun"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD9/Hun"
                },
                {
                    "id": 181,
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Eng"
                },
                {
                    "id": 183,
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Hun"
                },
                {
                    "id": 200,
                    "cat": "Movies/UHD",
                    "desc": "Film/UHD/Hun"
                },
                {
                    "id": 192,
                    "cat": "Movies/HD",
                    "desc": "Film/x264/Eng"
                },
                {
                    "id": 190,
                    "cat": "Movies/HD",
                    "desc": "Film/x264/Hun"
                },
                {
                    "id": 70,
                    "cat": "Movies/SD",
                    "desc": "Film/XviD/Eng"
                },
                {
                    "id": 30,
                    "cat": "Movies/SD",
                    "desc": "Film/XviD/Hun"
                },
                {
                    "id": 150,
                    "cat": "Console",
                    "desc": "Játék/Konzol"
                },
                {
                    "id": 130,
                    "cat": "PC/Games",
                    "desc": "Játék/PC"
                },
                {
                    "id": 182,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless"
                },
                {
                    "id": 90,
                    "cat": "Audio/MP3",
                    "desc": "Mp3/Eng"
                },
                {
                    "id": 50,
                    "cat": "Audio/MP3",
                    "desc": "Mp3/Hun"
                },
                {
                    "id": 100,
                    "cat": "Audio/Video",
                    "desc": "Music-Video"
                },
                {
                    "id": 180,
                    "cat": "PC/Mobile-Other",
                    "desc": "Program/Mobil"
                },
                {
                    "id": 170,
                    "cat": "PC/0day",
                    "desc": "Program/PC"
                },
                {
                    "id": 80,
                    "cat": "TV",
                    "desc": "Sorozat/Eng"
                },
                {
                    "id": 40,
                    "cat": "TV",
                    "desc": "Sorozat/Hun"
                },
                {
                    "id": 110,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 5,
                "options": {
                    "5": "created",
                    "8": "seeders",
                    "6": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "table.main:contains(\"Sikertelen bejelentkezés\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}https://www.imdb.com/title/{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "onlyname": 1,
                "onlyname2": true,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[id!=\"torrent_ajanlo\"] > tbody > tr[id]"
            },
            "fields": {
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "title": {
                    "selector": "a[id][href^=\"details.php?\"]",
                    "attribute": "title"
                },
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "details": {
                    "selector": "a[id][href^=\"details.php?\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[rel^=\"prettyPhoto[\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "font.line",
                    "filters": [
                        {
                            "name": "validate",
                            "args": "Akció, Animáció, Beszélgetős, Családi, Dokumentum, Dráma, Életrajzi, Fantasztikus, Film-Noir, Game-Show, Háborús, Horror, Kaland, Krimi, Misztikus, Musical, News, Reality-TV, Romantikus, Rövidfilm, Sci-Fi, Sport, Thriller, Történelmi, Vígjáték, Western, Zene"
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "date": {
                    "selector": "font.line",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                0
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Feltöltve: ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Feltöltve : ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "perce",
                                "minute"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "órája",
                                "hour"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "napja",
                                "day"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "hete",
                                "week"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "éve",
                                "year"
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"pic/double.png\"]": 2,
                        "img[src=\"pic/doubledouble2.png\"]": 4,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "carpt": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "carpt",
        "name": "CarPT",
        "description": "CarPT is a CHINESE Private Torrent Tracker for HD MOVIES / TV / MUSIC",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://carpt.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/连续剧"
                },
                {
                    "id": 403,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 406,
                    "cat": "Audio",
                    "desc": "Music/音乐"
                },
                {
                    "id": 407,
                    "cat": "Other",
                    "desc": "Misc/其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the CarPT Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account Retention Rules:<ol><li>Extreme User and above will be retained forever</li><li> Elite Users and above will not be banned after parking (in the Control Panel)</li><li>Users with a parked account will be banned if they do not log in for 150 consecutive days</li><li>Users with a non-parked account will be banned if they do not log in for 90 consecutive days</li><li> Users with no traffic (i.e., upload/download data is 0) who do not log in for 14 consecutive days will be banned.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 10
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "cathoderaytube": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "cathoderaytube",
        "name": "Cathode-Ray.Tube",
        "description": "Cathode-Ray.Tube (CRT) is a Private Torrent Tracker for CLASSIC MOVIES / TV",
        "language": "en-GB",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.cathode-ray.tube/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 13,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 4,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Other",
                    "desc": "WOC"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "genre"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "genre"
                ]
            }
        },
        "settings": [
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA",
                "default": "If you want to enable 2FA then use the CRT2FA indexer instead."
            },
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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": "New members must generate some torrent activity (upload, download, or cross-seed) in their account within the first 30 days of joining, otherwise their account will be automatically disabled."
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "cinfo": "2550|1350|1.25|24|-60",
                "iplocked": 0,
                "keeploggedin": 1
            },
            "error": [
                {
                    "selector": "div.error"
                }
            ],
            "test": {
                "path": "/",
                "selector": "#nav_userinfo"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchtext": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}",
                "title": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ end }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "taglist": "{{ .Query.Genre }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "$1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "$1"
                    ]
                }
            ],
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent row\"]:has(a[href*=\"action=download\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/torrents.php?filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[(\\d+)\\]"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeasons?\\s*(\\d)\\s*-\\s*(\\d)\\b",
                                "S0$1-S0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeasons?\\s*(\\d)\\s*-\\s*(\\d+)\\b",
                                "S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeasons?\\s*(\\d+)\\s*-\\s*(\\d+)\\b",
                                "S$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeasons?\\s*(\\d)\\b",
                                "S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeasons?\\s*(\\d+)\\b",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bComplete\\s+Series\\b",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "div.tags",
                    "filters": [
                        {
                            "name": "validate",
                            "args": "Action, Adventure, Animation, Comedy, Crime, Documentary, Drama, Family, Fantasy, History, Horror, Kids, Music, Mystery, News, Reality, Romance, SciFi, Soap, Talk, Thriller, War, Western"
                        }
                    ]
                },
                "description_tags": {
                    "selector": "div.tags"
                },
                "description": {
                    "case": {
                        "span.icon_okay": "Verified: {{ .Result.description_tags }}",
                        "*": "Unverified: {{ .Result.description_tags }}"
                    }
                },
                "poster": {
                    "selector": "td:nth-child(2) > script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\\"(.*?)\\\\\""
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\\\(.)",
                                "$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "/static/styles/modern/crt.png",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5) > span",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"Freeleech\"]": 0,
                        "img[alt=\"Freeleech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"DoubleSeed\"]": 2,
                        "img[alt=\"DoubleSeed\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "catorrent": {
        "id": "catorrent",
        "name": "Catorrent",
        "description": "Catorrent is a RUSSIAN Public Torrent Tracker for GAMES",
        "language": "ru-RU",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://catorrent.net/"
        ],
        "legacylinks": [
            "https://catorrent.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "PC",
                    "cat": "PC/Games",
                    "desc": "PC"
                },
                {
                    "id": "PS1",
                    "cat": "Console/Other",
                    "desc": "Playstation 1"
                },
                {
                    "id": "PS2",
                    "cat": "Console/Other",
                    "desc": "Playstation 2"
                },
                {
                    "id": "PS3",
                    "cat": "Console/PS3",
                    "desc": "Playstation 3"
                },
                {
                    "id": "PS4",
                    "cat": "Console/PS4",
                    "desc": "Playstation 4"
                },
                {
                    "id": "PS5",
                    "cat": "Console/Other",
                    "desc": "Playstation 5"
                },
                {
                    "id": "SWITCH",
                    "cat": "Console/Other",
                    "desc": "Nintendo Switch"
                },
                {
                    "id": "PSP",
                    "cat": "Console/PSP",
                    "desc": "Playstation (portable) PSP"
                },
                {
                    "id": "PSVITA",
                    "cat": "Console/PS Vita",
                    "desc": "Playstation Vita"
                },
                {
                    "id": "XONE",
                    "cat": "Console/XBox One",
                    "desc": "Xbox ONE"
                },
                {
                    "id": "X360",
                    "cat": "Console/XBox 360",
                    "desc": "Xbox 360"
                },
                {
                    "id": "WIIU",
                    "cat": "Console/WiiU",
                    "desc": "Nintendo WIIU"
                },
                {
                    "id": "WII",
                    "cat": "Console/Wii",
                    "desc": "Nintendo WII"
                },
                {
                    "id": "3DS",
                    "cat": "Console/3DS",
                    "desc": "Nintendo 3DS"
                },
                {
                    "id": "NDS",
                    "cat": "Console/NDS",
                    "desc": "Nintendo DS"
                },
                {
                    "id": "N64",
                    "cat": "Console/Other",
                    "desc": "Nintendo 64"
                },
                {
                    "id": "NGC",
                    "cat": "Console/Other",
                    "desc": "Nintendo Game Cube"
                },
                {
                    "id": "DREAMCAST",
                    "cat": "Console/Other",
                    "desc": "Dreamcast"
                },
                {
                    "id": "SAT",
                    "cat": "Console/Other",
                    "desc": "Sega Saturn"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a[href*=\"/index.php?do=download&id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "do": "search",
                "subaction": "search",
                "search_start": 0,
                "result_from": 1,
                "story": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
            },
            "rows": {
                "selector": "div.short_game_search"
            },
            "fields": {
                "category": {
                    "selector": "div.icon_default",
                    "optional": true,
                    "default": "PS1"
                },
                "title": {
                    "selector": "div.short_game_title"
                },
                "details": {
                    "selector": "a[href$=\".html\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href$=\".html\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "genre": {
                    "selector": "div.short_game_genre"
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "date": {
                    "text": "now"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "size": {
                    "text": "512 MB"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "ceskeforum": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "ceskeforum",
        "name": "CeskeForum",
        "description": "CeskeForum is a CZECH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "cs-CZ",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://t.ceskeforum.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Filmy (Movies)"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV pořady (TV Shows)"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "TV dokumenty (Documentaries)"
                },
                {
                    "id": 408,
                    "cat": "TV",
                    "desc": "TV seriály - kompletní série (TV Series complete)"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV seriály - jednotlivé díly (TV Series episodes)"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 411,
                    "cat": "Books",
                    "desc": "Knihy (Books)"
                },
                {
                    "id": 413,
                    "cat": "Audio/Audiobook",
                    "desc": "Knihy ve zvukové podobě (AudioBooks)"
                },
                {
                    "id": 406,
                    "cat": "Audio",
                    "desc": "Hudba (Music)"
                },
                {
                    "id": 410,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 412,
                    "cat": "PC/Games",
                    "desc": "Software - Hry (Games)"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Nezařazené (Misc)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"Přihlášení selhalo!\"))",
                    "message": {
                        "selector": "td.text"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                },
                "genre": {
                    "selector": "table.torrentname > tbody > tr > td:first-child",
                    "remove": "a",
                    "filters": [
                        {
                            "name": "validate",
                            "args": "Akční, Animovaný, Dobrodružný, Dokumentární, Drama, Fantasy, Horor, Komedie, Krimi, Pohádka, Rodinný, Romantický, Sci-Fi, Thriller, Válečný, Western"
                        }
                    ]
                }
            }
        }
    },
    "cgpeers": {
        "credentials": {
            "cookie": ""
        },
        "id": "cgpeers",
        "name": "CGPeers",
        "description": "CGPeers is a Private Torrent Tracker for GRAPHICS SOFTWARE / TUTORIALS / ETC",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://cgpeers.to/"
        ],
        "legacylinks": [
            "https://www.cgpeers.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 17,
                    "cat": "Other",
                    "desc": "Web Development"
                },
                {
                    "id": 1,
                    "cat": "PC/ISO",
                    "desc": "Applications"
                },
                {
                    "id": 8,
                    "cat": "PC/ISO",
                    "desc": "Audio"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Game Development"
                },
                {
                    "id": 5,
                    "cat": "Other",
                    "desc": "Materials"
                },
                {
                    "id": 6,
                    "cat": "Other/Misc",
                    "desc": "Miscellaneous"
                },
                {
                    "id": 4,
                    "cat": "Other",
                    "desc": "Models"
                },
                {
                    "id": 2,
                    "cat": "PC/0day",
                    "desc": "Plugins"
                },
                {
                    "id": 3,
                    "cat": "Other",
                    "desc": "Tutorials"
                },
                {
                    "id": 9,
                    "cat": "Other",
                    "desc": "Web Development"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a.quick-action-logout"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrent/browse"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "title": "{{ .Keywords }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr:has(a[href*=\"torrent/download/\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)]=1"
                        }
                    ]
                },
                "title": {
                    "selector": "td:nth-child(2) div a[href*=\"torrent/\"]"
                },
                "details": {
                    "selector": "td:nth-child(2) div a[href*=\"torrent/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"torrent/download/\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "td:nth-child(2) div a[href*=\"torrent/\"]",
                    "attribute": "data-bs-content",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\"(.*?)\\\""
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(6) > span",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "i.unlimited_leech": 0,
                        "i.sitewide_leech": 0,
                        "img[alt=\"Freeleech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"DoubleSeed\"]": 2,
                        "img[alt=\"DoubleSeed\"]": 2,
                        "*": 1
                    }
                }
            }
        }
    },
    "chdbits": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "chdbits",
        "name": "CHDBits",
        "description": "CHDBits is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://ptchdbits.co/",
            "https://chdbits.co/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "headers": {
                "user-agent": [
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
                ]
            },
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                },
                {
                    "selector": "td.embedded:has(h2:contains(\"failed\"))"
                },
                {
                    "selector": "td.embedded:has(h2:contains(\"错误\"))"
                },
                {
                    "selector": "td.embedded:has(h2:contains(\"error\"))"
                },
                {
                    "selector": "font[color=\"red\"]"
                }
            ],
            "test": {
                "path": "torrents.php",
                "selector": "a[href*=\"logout\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 1,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-last-child(7) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-last-child(7):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-last-child(6)"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-last-child(5)"
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-last-child(4)"
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-last-child(3)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "table.torrentname font.subtitle",
                    "remove": "div"
                }
            }
        }
    },
    "chilebt-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "chilebt-api",
        "name": "ChileBT (API)",
        "description": "ChileBT is a CHILEAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "es-CL",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://chilebt.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 10,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 11,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 9,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Cultura / Educativos"
                },
                {
                    "id": 8,
                    "cat": "PC/Games",
                    "desc": "Juegos"
                },
                {
                    "id": 6,
                    "cat": "Books",
                    "desc": "EBook"
                },
                {
                    "id": 4,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 5,
                    "cat": "PC/0day",
                    "desc": "Aplicaciones / Programas"
                },
                {
                    "id": 14,
                    "cat": "Movies",
                    "desc": "Infantil"
                },
                {
                    "id": 12,
                    "cat": "Other/Misc",
                    "desc": "VIP"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://chilebt.com/\" target=\"_blank\">ChileBT</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "cinemageddon": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "cinemageddon",
        "name": "Cinemageddon",
        "description": "Cinemageddon is a Private Torrent Tracker for B-movies",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://cinemageddon.net/"
        ],
        "legacylinks": [
            "http://cinemageddon.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Action"
                },
                {
                    "id": 2,
                    "cat": "Movies",
                    "desc": "Horror"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Martial Arts"
                },
                {
                    "id": 4,
                    "cat": "Movies",
                    "desc": "Comedy"
                },
                {
                    "id": 5,
                    "cat": "Movies",
                    "desc": "Other"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "Hidden Gems"
                },
                {
                    "id": 7,
                    "cat": "Movies",
                    "desc": "Sci-Fi"
                },
                {
                    "id": 8,
                    "cat": "Movies",
                    "desc": "Gore"
                },
                {
                    "id": 9,
                    "cat": "Movies",
                    "desc": "Exploitation"
                },
                {
                    "id": 11,
                    "cat": "Movies",
                    "desc": "OST"
                },
                {
                    "id": 12,
                    "cat": "Movies",
                    "desc": "XXX"
                },
                {
                    "id": 13,
                    "cat": "Movies",
                    "desc": "Thriller"
                },
                {
                    "id": 14,
                    "cat": "Movies",
                    "desc": "Adventure"
                },
                {
                    "id": 15,
                    "cat": "Movies",
                    "desc": "Documentary"
                },
                {
                    "id": 16,
                    "cat": "Movies",
                    "desc": "Western"
                },
                {
                    "id": 17,
                    "cat": "Movies",
                    "desc": "Family"
                },
                {
                    "id": 18,
                    "cat": "Movies",
                    "desc": "Drama"
                },
                {
                    "id": 19,
                    "cat": "Movies",
                    "desc": "Ebooks"
                },
                {
                    "id": 20,
                    "cat": "Movies",
                    "desc": "Softcore"
                },
                {
                    "id": 21,
                    "cat": "Movies",
                    "desc": "Tinfoil Hat"
                },
                {
                    "id": 22,
                    "cat": "Movies",
                    "desc": "Trailers"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "table:contains(\"Login failed!\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href$=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
            },
            "rows": {
                "selector": "table.torrenttable > tbody > tr:has(a[href*=\"browse.php?cat=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+.*(MB|GB)+)"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)\\s+file"
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/golden10.gif\"]": 0,
                        "img[src$=\"/golden1.gif\"]": 0.9,
                        "img[src$=\"/golden2.gif\"]": 0.8,
                        "img[src$=\"/golden3.gif\"]": 0.7,
                        "img[src$=\"/golden4.gif\"]": 0.6,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"/golden10.gif\"]": 2,
                        "img[src$=\"/golden1.gif\"]": 1.1,
                        "img[src$=\"/golden2.gif\"]": 1.2,
                        "img[src$=\"/golden3.gif\"]": 1.3,
                        "img[src$=\"/golden4.gif\"]": 1.4,
                        "*": 1
                    }
                }
            }
        }
    },
    "cinemamovies": {
        "credentials": {
            "cookie": ""
        },
        "id": "cinemamovies",
        "name": "CinemaMovieS_ZT",
        "description": "CinemaMovieS_ZT is a POLISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pl-PL",
        "type": "private",
        "encoding": "ISO-8859-2",
        "links": [
            "https://cinemamovies.pl/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 3,
                    "cat": "Movies/BluRay",
                    "desc": "Filmy BD25/50_5/9"
                },
                {
                    "id": 5,
                    "cat": "Movies/3D",
                    "desc": "Filmy 3D"
                },
                {
                    "id": 6,
                    "cat": "Movies/DVD",
                    "desc": "Filmy DVD5/9"
                },
                {
                    "id": 8,
                    "cat": "Movies/HD",
                    "desc": "Filmy HD"
                },
                {
                    "id": 11,
                    "cat": "Movies/SD",
                    "desc": "Filmy SD"
                },
                {
                    "id": 12,
                    "cat": "Movies/Other",
                    "desc": "Filmy Inne"
                },
                {
                    "id": 32,
                    "cat": "Movies/UHD",
                    "desc": "Filmy UHD 4K"
                },
                {
                    "id": 33,
                    "cat": "TV/UHD",
                    "desc": "TV UHD"
                },
                {
                    "id": 2,
                    "cat": "TV/Anime",
                    "desc": "Bajki/Anime"
                },
                {
                    "id": 10,
                    "cat": "TV/Documentary",
                    "desc": "TV Dokumentalne"
                },
                {
                    "id": 20,
                    "cat": "TV",
                    "desc": "TV Paczki"
                },
                {
                    "id": 22,
                    "cat": "TV/Sport",
                    "desc": "TV Sport"
                },
                {
                    "id": 24,
                    "cat": "TV/HD",
                    "desc": "TV HD"
                },
                {
                    "id": 25,
                    "cat": "TV/SD",
                    "desc": "TV SD"
                },
                {
                    "id": 1,
                    "cat": "PC",
                    "desc": "Aplikacje"
                },
                {
                    "id": 15,
                    "cat": "PC/Games",
                    "desc": "Gry"
                },
                {
                    "id": 16,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile"
                },
                {
                    "id": 17,
                    "cat": "Other",
                    "desc": "Inne"
                },
                {
                    "id": 19,
                    "cat": "Audio",
                    "desc": "Muzyka"
                },
                {
                    "id": 21,
                    "cat": "Books",
                    "desc": "Book"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "drop_polish_prefix",
                "type": "checkbox",
                "label": "Drop the Polish title prefix",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 2,
                "options": {
                    "2": "created",
                    "5": "seeders",
                    "3": "size",
                    "1": "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": "Failure to use an account for a period of 180 days will result in the removal of the account from the CMS_ZT community."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": "{{ if .Config.freeleech }}8{{ else }}1{{ end }}",
                "blah": "{{ if .Query.IMDBID }}1{{ else }}0{{ end }}",
                "gatunek": 0,
                "quality": "none",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[width=\"100%\"] > tbody > tr:has(a[href^=\"browse.php?cat=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_raw": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_raw }}",
                    "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_phase1": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_raw }}{{ end }}"
                },
                "title_stripped": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(.* / )(.*)$",
                                "$2"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.drop_polish_prefix }}{{ .Result.title_stripped }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.+?) "
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "td[align=\"right\"][width=\"66%\"][valign=\"bottom\"]",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "validate",
                            "args": "Akcja, Animacja, Anime, Basn, Biblijny, Biograficzny, Czarna komedia, Dla dzieci, Dla mlodziezy, Dokumentalizowany, Dokumentalny, Dramat, Dramat historyczny, Dramat obyczajowy, Dramat sadowy, Dramat spoleczny, Dreszczowiec, Edukacyjny, Erotyczny, Etiuda, Fabularyzowany dok., Familijny, Fantasy, Film-Noir, Gangsterski, Groteska filmowa, Historyczny, Horror, Karate, Katastroficzny, Komedia, Komedia dokumentalna, Komedia kryminalna, Komedia obycz., Komedia rom., Kostiumowy, Krótkometrażowy, Kryminał, Melodramat, Motoryzacyjny, Musical, Muzyczny, Kulinarny, Nowele filmowe, Obyczajowy, Poetycki, Polityczny, Prawniczy, Przygodowy, Przyrodniczy, Psychologiczny, Plaszcza i szpady, Religijny, Romans, Rozrywka, Satyra, Sci-Fi, Sensacyjny, Sportowy, Surreallistyczny, Szpiegowski, Sztuki walki, Świąteczne, Thriller, Western, Wojenny, Kabaret, Action, Adventure, Arcade, Fps, Fighting, MMO, Puzzle, Racing, Rpg, RTS, Shooter, Simulation, Stealth, Strategy, Sport , Tps, Early Access, DOX, PC, X360, PlayStation, PSP, Alternative, Ambient, Classical, Dubstep, Drum and bass, Dance, Disco polo, Disco, Dla dzieci, Electronic, Folc, Hardstyle, Hardcore, Hip-hop, House, Jazz, Kompilacje muzyczne, Metal, Progressive house, Pop, Punk, Rap, Reggae, Rnb, Rock, Soul, Techno, Trance, Breaks, Chill out, Club, Deep house, Electro house, Tech house, GOA/PSY, Instrumental, Minimal, Soundtrack, Sety, Prasa, Czasopisma, Książka, Audiobook, Polskie, Klasyka, Poezja, Literatura piękna, Literatura faktu, Autobiografia, Pamiętnik"
                        }
                    ]
                },
                "description": {
                    "selector": "img[src=\"pic/Poland.png\"]",
                    "attribute": "src",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ if .Result.genre }}{{ .Result.genre }} - {{ else }}{{ end }}"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "pic/Poland.png",
                                "Polish"
                            ]
                        }
                    ]
                },
                "date": {
                    "selector": "td[width=\"66%\"] > span > span",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(4)"
                },
                "seeders": {
                    "selector": "a[href$=\"#seedy\"]"
                },
                "leechers": {
                    "selector": "a[href$=\"#leechy\"]"
                },
                "grabs": {
                    "selector": "td:last-child > small> span"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/free.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"pic/double.png\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "cinematik": {
        "credentials": {
            "apikey": ""
        },
        "id": "cinematik",
        "name": "Cinematik (API)",
        "description": "Cinematik is a Private tracker for full BD and DVD discs of non-mainstream movies, niche cinema and arthouse.",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://cinematik.net/"
        ],
        "legacylinks": [
            "https://www.cinematik.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Film"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Movies/Foreign",
                    "desc": "Foreign Film"
                },
                {
                    "id": 4,
                    "cat": "TV/Foreign",
                    "desc": "Foreign TV"
                },
                {
                    "id": 5,
                    "cat": "Movies/Other",
                    "desc": "Opera & Musical"
                },
                {
                    "id": 6,
                    "cat": "Movies/Foreign",
                    "desc": "Asian Film"
                },
                {
                    "id": 8,
                    "cat": "PC",
                    "desc": "Ripping Apps"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://cinematik.net/\" target=\"_blank\">Cinematik</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "With 2FA enabled, there are no specific requirements for uploading, downloading, or posting. Your membership continues based on the staff's fair assessment of your overall activity and contributions."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "clearjav-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "clearjav-api",
        "name": "ClearJAV (API)",
        "description": "ClearJAV is a Private Torrent Tracker for Japanese Adult Video (JAV) content from official JAV studios only.",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://clearjav.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "XXX",
                    "desc": "JAV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://clearjav.com/\" target=\"_blank\">ClearJAV</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "You must download or upload data within 30 days of joining, or your account may be pruned for lurking."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "name": "{{ .Keywords }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "name"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "files": {
                    "selector": "num_file"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "coastalcrew": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "coastalcrew",
        "name": "Coastal-Music-Crew",
        "description": "Coastal-Music-Crew (C-M-C) is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://coastal-crew.bounceme.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 32,
                    "cat": "Movies/HD",
                    "desc": "Movie HD"
                },
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Movie SD"
                },
                {
                    "id": 140,
                    "cat": "Movies/3D",
                    "desc": "Movie 3D"
                },
                {
                    "id": 138,
                    "cat": "Movies/BluRay",
                    "desc": "Movie BluRay"
                },
                {
                    "id": 127,
                    "cat": "Movies",
                    "desc": "Movie Pack"
                },
                {
                    "id": 124,
                    "cat": "Movies",
                    "desc": "Movie Kids"
                },
                {
                    "id": 142,
                    "cat": "Movies",
                    "desc": "Movie Anime"
                },
                {
                    "id": 122,
                    "cat": "Movies",
                    "desc": "Movie Klassiker"
                },
                {
                    "id": 141,
                    "cat": "Movies",
                    "desc": "Movie Klassiker 4K/UHD"
                },
                {
                    "id": 114,
                    "cat": "Movies/DVD",
                    "desc": "Movie DVD-R"
                },
                {
                    "id": 26,
                    "cat": "Movies/UHD",
                    "desc": "Movie 4K"
                },
                {
                    "id": 133,
                    "cat": "TV/Anime",
                    "desc": "Serien Anime"
                },
                {
                    "id": 57,
                    "cat": "TV/HD",
                    "desc": "Serien HD"
                },
                {
                    "id": 59,
                    "cat": "TV",
                    "desc": "Serien Pack"
                },
                {
                    "id": 60,
                    "cat": "TV/SD",
                    "desc": "Serien SD"
                },
                {
                    "id": 56,
                    "cat": "TV/SD",
                    "desc": "Serien DVD-R"
                },
                {
                    "id": 123,
                    "cat": "TV",
                    "desc": "Serien Klassiker"
                },
                {
                    "id": 126,
                    "cat": "TV",
                    "desc": "Serien Kids"
                },
                {
                    "id": 132,
                    "cat": "TV/UHD",
                    "desc": "Serien UHD"
                },
                {
                    "id": 92,
                    "cat": "TV/Documentary",
                    "desc": "Doku Avi"
                },
                {
                    "id": 94,
                    "cat": "TV/Documentary",
                    "desc": "Doku Audio"
                },
                {
                    "id": 135,
                    "cat": "TV/Documentary",
                    "desc": "Doku UHD"
                },
                {
                    "id": 13,
                    "cat": "TV/Documentary",
                    "desc": "Doku DVD-R"
                },
                {
                    "id": 14,
                    "cat": "TV/Documentary",
                    "desc": "Doku HD"
                },
                {
                    "id": 15,
                    "cat": "TV/Documentary",
                    "desc": "Doku SD"
                },
                {
                    "id": 136,
                    "cat": "TV/Documentary",
                    "desc": "Doku Pack"
                },
                {
                    "id": 134,
                    "cat": "Other",
                    "desc": "Sonstiges Pack"
                },
                {
                    "id": 63,
                    "cat": "Audio/Audiobook",
                    "desc": "Sonstiges A-Book"
                },
                {
                    "id": 96,
                    "cat": "Books/EBook",
                    "desc": "Sonstiges E-Book"
                },
                {
                    "id": 69,
                    "cat": "Other",
                    "desc": "Sonstiges Tutorial"
                },
                {
                    "id": 71,
                    "cat": "Other/Misc",
                    "desc": "Sonstiges Other"
                },
                {
                    "id": 12,
                    "cat": "PC/0day",
                    "desc": "App Win"
                },
                {
                    "id": 9,
                    "cat": "PC",
                    "desc": "App Linux"
                },
                {
                    "id": 139,
                    "cat": "PC/Mobile-Android",
                    "desc": "App Android Apps"
                },
                {
                    "id": 11,
                    "cat": "PC/Mobile-Other",
                    "desc": "App Other"
                },
                {
                    "id": 10,
                    "cat": "PC/Mac",
                    "desc": "App Mac"
                },
                {
                    "id": 143,
                    "cat": "Console/PS4",
                    "desc": "Game PS4/PS5"
                },
                {
                    "id": 144,
                    "cat": "Console/Other",
                    "desc": "Game Nintendo Switch"
                },
                {
                    "id": 16,
                    "cat": "Console",
                    "desc": "Game Misc"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Game PC"
                },
                {
                    "id": 18,
                    "cat": "Console/PS3",
                    "desc": "Game PS2"
                },
                {
                    "id": 19,
                    "cat": "Console/PS3",
                    "desc": "Game PS3"
                },
                {
                    "id": 20,
                    "cat": "Console/PSP",
                    "desc": "Game PSP"
                },
                {
                    "id": 21,
                    "cat": "Console/PS4",
                    "desc": "Game PSX"
                },
                {
                    "id": 22,
                    "cat": "Console/Wii",
                    "desc": "Game Wii"
                },
                {
                    "id": 23,
                    "cat": "Console/XBox",
                    "desc": "Game XBOX"
                },
                {
                    "id": 24,
                    "cat": "Console/XBox 360",
                    "desc": "Game XBOX360"
                },
                {
                    "id": 137,
                    "cat": "Audio",
                    "desc": "Music OST"
                },
                {
                    "id": 54,
                    "cat": "Audio",
                    "desc": "Music Single"
                },
                {
                    "id": 48,
                    "cat": "Audio",
                    "desc": "Music Album"
                },
                {
                    "id": 49,
                    "cat": "Audio",
                    "desc": "Music Charts"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "Music Pack"
                },
                {
                    "id": 53,
                    "cat": "Audio",
                    "desc": "Music Sampler"
                },
                {
                    "id": 120,
                    "cat": "Audio",
                    "desc": "Music Xmas"
                },
                {
                    "id": 121,
                    "cat": "Audio/Lossless",
                    "desc": "Music Flac"
                },
                {
                    "id": 55,
                    "cat": "Audio/Video",
                    "desc": "Music Video SD"
                },
                {
                    "id": 109,
                    "cat": "Audio/Video",
                    "desc": "Music Video HD"
                },
                {
                    "id": 110,
                    "cat": "Audio/Video",
                    "desc": "Music DVD-R"
                },
                {
                    "id": 128,
                    "cat": "Audio",
                    "desc": "Music EP"
                },
                {
                    "id": 125,
                    "cat": "Audio",
                    "desc": "Music Kids"
                },
                {
                    "id": 61,
                    "cat": "TV/Sport",
                    "desc": "Sport HD"
                },
                {
                    "id": 117,
                    "cat": "TV/Sport",
                    "desc": "Sport DVD-R"
                },
                {
                    "id": 62,
                    "cat": "TV/Sport",
                    "desc": "Sport SD"
                },
                {
                    "id": 131,
                    "cat": "TV/UHD",
                    "desc": "Internt'l Serie UHD"
                },
                {
                    "id": 103,
                    "cat": "Movies/SD",
                    "desc": "Internt'l Movie SD"
                },
                {
                    "id": 98,
                    "cat": "Movies/HD",
                    "desc": "Internt'l Movie HD"
                },
                {
                    "id": 102,
                    "cat": "TV/SD",
                    "desc": "Internt'l Serie SD"
                },
                {
                    "id": 99,
                    "cat": "TV/HD",
                    "desc": "Internt'l Serie HD"
                },
                {
                    "id": 115,
                    "cat": "Movies/DVD",
                    "desc": "Internt'l DVD-R"
                },
                {
                    "id": 107,
                    "cat": "Audio/Audiobook",
                    "desc": "Internt'l A-Book"
                },
                {
                    "id": 106,
                    "cat": "Books/EBook",
                    "desc": "Internt'l E-Book"
                },
                {
                    "id": 105,
                    "cat": "TV/Documentary",
                    "desc": "Internt'l Doku"
                },
                {
                    "id": 104,
                    "cat": "Other",
                    "desc": "Internt'l Misc"
                },
                {
                    "id": 74,
                    "cat": "XXX/Other",
                    "desc": "XXX Other"
                },
                {
                    "id": 76,
                    "cat": "XXX/SD",
                    "desc": "XXX SD"
                },
                {
                    "id": 73,
                    "cat": "XXX/x264",
                    "desc": "XXX HD"
                },
                {
                    "id": 113,
                    "cat": "XXX/DVD",
                    "desc": "XXX DVD-R"
                },
                {
                    "id": 75,
                    "cat": "XXX/Pack",
                    "desc": "XXX Pack"
                }
            ],
            "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": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "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>Anzahl der Torrents beim Durchsuchen</b> <i>Torrents per page:</i> setting to <b>60</b> on your account profile. The default is <i>15</i>."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "If you do not log in, your account will be automatically deleted after 28 days."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"/login.php\"]",
            "cookies": [
                "JAVA=OK"
            ],
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div#login_error"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "selection.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "blah": 0,
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.selection_wrap"
            },
            "fields": {
                "category_p1": {
                    "selector": "div.kat_cat_pic_name"
                },
                "category_p2": {
                    "selector": "div.kat_cat_pic_name_b"
                },
                "categorydesc": {
                    "text": "{{ .Result.category_p1 }} {{ .Result.category_p2 }}"
                },
                "title": {
                    "selector": "a.selection_a",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^\\[[\\w ]*\\]\\s?",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a.selection_a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download_ssl.php?torrent=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div[id^=\"details\"] img",
                    "attribute": "src"
                },
                "size": {
                    "selector": "div.selection_unter_ad"
                },
                "grabs": {
                    "selector": "div.selection_unter_ae"
                },
                "date_day": {
                    "selector": "div.selection_unter_ab:not(:contains(\".\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Heute",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Gestern",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.selection_unter_ab:contains(\".\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " um",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "seeders": {
                    "selector": "div.selection_unter_aa"
                },
                "leechers": {
                    "selector": "div.selection_unter_aaa"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "comicat": {
        "credentials": [],
        "id": "comicat",
        "name": "comicat",
        "description": "comicat is a CHINESE Semi-Private tracker for Anime / Hentai / Manga",
        "language": "zh-CN",
        "type": "semi-private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://www.comicat.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "动画(Anime)"
                },
                {
                    "id": 2,
                    "cat": "Books/Comics",
                    "desc": "漫画(Manga)"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "音乐(Music)"
                },
                {
                    "id": 4,
                    "cat": "TV/Anime",
                    "desc": "周边(Peripheral)"
                },
                {
                    "id": 5,
                    "cat": "Other",
                    "desc": "其它(Other)"
                },
                {
                    "id": 6,
                    "cat": "TV/Anime",
                    "desc": "Raw"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "login": {
            "path": "addon.php?r=document/view&page=visitor-test",
            "method": "form",
            "form": "form#visitor-test-form",
            "inputs": {
                "visitor_test": "human"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}/search.php?keyword={{ .Keywords }}{{ else }}{{ end }}"
                },
                {
                    "path": "{{ if .Keywords }}/search.php?keyword={{ .Keywords }}&page=2{{ else }}2.html{{ end }}"
                }
            ],
            "rows": {
                "selector": "tr[class^=\"alt\"]:has(a[href^=\"sort\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"sort\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "-(\\d)-"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"show\"]"
                },
                "details": {
                    "selector": "a[href^=\"show\"]",
                    "attribute": "href"
                },
                "infohash": {
                    "selector": "a[href^=\"show\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "-(\\w+).html"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(4)"
                },
                "date_year": {
                    "selector": "td:nth-child(1):contains(\"/\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy/MM/dd zzz"
                        }
                    ]
                },
                "date_today": {
                    "selector": "td:nth-child(1):contains(\"今天\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "今天",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "timeparse",
                            "args": "HH:mm zzz"
                        }
                    ]
                },
                "date_yday": {
                    "selector": "td:nth-child(1):contains(\"昨天\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".+",
                                "yesterday"
                            ]
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_ago": {
                    "selector": "td:nth-child(1):contains(\"前天\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".+",
                                "2 days"
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_today .Result.date_yday .Result.date_ago }}{{ or .Result.date_year .Result.date_today .Result.date_yday .Result.date_ago }}{{ else }}now{{ end }}"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "concen": {
        "credentials": [],
        "id": "concen",
        "name": "ConCen",
        "description": "ConCen (Conspiracy Central) is a Private conspiracy related torrent index",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://concen.org/"
        ],
        "caps": {
            "categories": {
                "1": "Other"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created",
                "options": {
                    "created": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "title": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "torrents"
                }
            ],
            "inputs": {
                "title_op": "allwords",
                "title": "{{ .Keywords }}",
                "title_1_op": "not",
                "title_1": "",
                "seeds": "All",
                "order": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table > tbody > tr:has(td.views-field-title)"
            },
            "fields": {
                "title": {
                    "selector": "td.views-field-title a"
                },
                "category": {
                    "text": 1
                },
                "details": {
                    "selector": "td.views-field-title a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td.views-field-field-torrent a",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "td.views-field-name a",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td.views-field-created"
                },
                "size": {
                    "selector": "td.views-field-size"
                },
                "seeders": {
                    "selector": "td.views-field-seeds"
                },
                "leechers": {
                    "selector": "td.views-field-peers"
                },
                "grabs": {
                    "selector": "td.views-field-completed"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "concertos": {
        "credentials": {
            "apikey": ""
        },
        "id": "concertos",
        "name": "Concertos (API)",
        "description": "Concertos is a Private Torrent Tracker for Live Concerts with Strict Quality Control",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://concertos.live/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV",
                    "desc": "Live Concert"
                },
                {
                    "id": 2,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 4,
                    "cat": "TV",
                    "desc": "Music Documentary"
                },
                {
                    "id": 11,
                    "cat": "TV",
                    "desc": "Music TV Series"
                },
                {
                    "id": 5,
                    "cat": "Audio/Lossless",
                    "desc": "Pure Audio"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "Opera"
                },
                {
                    "id": 8,
                    "cat": "TV",
                    "desc": "Musical"
                },
                {
                    "id": 9,
                    "cat": "Audio",
                    "desc": "Podcast"
                },
                {
                    "id": 10,
                    "cat": "TV",
                    "desc": "Educational"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://concertos.live/\" target=\"_blank\">Concertos</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Your membership requires that you stay active at Blutopia. To not get disabled, you are required to login to the site at least once every 30 days or be actively seeding at least 1 torrent."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "crabpt": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "crabpt",
        "name": "CrabPT (蟹黄堡)",
        "description": "CrabPT (蟹黄堡) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://crabpt.vip/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影 / Movies",
                    "default": true
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧 / TVSeries",
                    "default": true
                },
                {
                    "id": 413,
                    "cat": "TV/Other",
                    "desc": "短剧 / Playlet",
                    "default": true
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐 / Music",
                    "default": true
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫 / Anime",
                    "default": true
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV",
                    "default": true
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺 / TV Shows",
                    "default": true
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育竞技 / Sports",
                    "default": true
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片 / Documentary",
                    "default": true
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他 / Other",
                    "default": true
                },
                {
                    "id": 415,
                    "cat": "Books/Comics",
                    "desc": "漫画 / Cartoon",
                    "default": true
                },
                {
                    "id": 414,
                    "cat": "Console",
                    "desc": "游戏 / Game",
                    "default": true
                },
                {
                    "id": 412,
                    "cat": "Other",
                    "desc": "学习 / Study",
                    "default": true
                },
                {
                    "id": 411,
                    "cat": "Audio/Audiobook",
                    "desc": "有声书 / Audiobook",
                    "default": true
                },
                {
                    "id": 410,
                    "cat": "Books/EBook",
                    "desc": "电子书 / Ebook",
                    "default": true
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the CrabPT Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        401,
                        402,
                        413,
                        408,
                        405,
                        406,
                        403,
                        407,
                        404,
                        409
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        415,
                        414,
                        412,
                        411,
                        410
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "crackingpatching": {
        "id": "crackingpatching",
        "name": "CrackingPatching",
        "description": "CrackingPatching is a Public tracker for Software and Apps",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://crackingpatching.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "adobe-software",
                    "cat": "PC",
                    "desc": "Adobe Software"
                },
                {
                    "id": "adobe-tools",
                    "cat": "PC",
                    "desc": "Adobe Tools"
                },
                {
                    "id": "android",
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": "animations-3d-graphics",
                    "cat": "PC",
                    "desc": "Animations/ 3D Graphics"
                },
                {
                    "id": "antivirus",
                    "cat": "PC",
                    "desc": "Antivirus"
                },
                {
                    "id": "cd-dvd-burners",
                    "cat": "PC",
                    "desc": "CD/ DVD Burners"
                },
                {
                    "id": "compression-tools",
                    "cat": "PC",
                    "desc": "Compression Tools"
                },
                {
                    "id": "converters",
                    "cat": "PC",
                    "desc": "Converters"
                },
                {
                    "id": "crack-serials",
                    "cat": "PC",
                    "desc": "Crack & Serials"
                },
                {
                    "id": "downloader",
                    "cat": "PC",
                    "desc": "Downloader"
                },
                {
                    "id": "drivers-update",
                    "cat": "PC",
                    "desc": "Drivers Update"
                },
                {
                    "id": "games",
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": "home",
                    "cat": "PC",
                    "desc": "Home"
                },
                {
                    "id": "idm",
                    "cat": "PC",
                    "desc": "IDM"
                },
                {
                    "id": "idm-crack-patch",
                    "cat": "PC",
                    "desc": "IDM Crack/ Patch"
                },
                {
                    "id": "ios-mac-os-x-2",
                    "cat": "PC/Mac",
                    "desc": "iOS/ MAC OS X"
                },
                {
                    "id": "keygen-loader",
                    "cat": "PC",
                    "desc": "Keygen / Loader"
                },
                {
                    "id": "keygen-serial",
                    "cat": "PC",
                    "desc": "KeyGen / Serial"
                },
                {
                    "id": "microsoft-office",
                    "cat": "PC",
                    "desc": "Microsoft Office"
                },
                {
                    "id": "multimedia",
                    "cat": "PC",
                    "desc": "Multimedia"
                },
                {
                    "id": "other",
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": "pdf-tools",
                    "cat": "PC",
                    "desc": "PDF Tools"
                },
                {
                    "id": "photo-editing-tools",
                    "cat": "PC",
                    "desc": "Photo Editing Tools"
                },
                {
                    "id": "recovery-software",
                    "cat": "PC",
                    "desc": "Recovery Software"
                },
                {
                    "id": "request-crack-patch",
                    "cat": "PC",
                    "desc": "Request Crack/ Patch"
                },
                {
                    "id": "screen-recorders",
                    "cat": "PC",
                    "desc": "Screen Recorders"
                },
                {
                    "id": "security",
                    "cat": "PC",
                    "desc": "Security"
                },
                {
                    "id": "system-optimizers",
                    "cat": "PC",
                    "desc": "System Optimizers"
                },
                {
                    "id": "uncategorized",
                    "cat": "Other",
                    "desc": "Uncategorized"
                },
                {
                    "id": "vpn",
                    "cat": "PC",
                    "desc": "VPN"
                },
                {
                    "id": "windows",
                    "cat": "PC",
                    "desc": "Windows"
                },
                {
                    "id": "windows-app",
                    "cat": "PC",
                    "desc": "Windows App"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "s": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "article.post-entry",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category_optional": {
                    "selector": "article.post-entry",
                    "attribute": "class",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "category-(.+?) "
                        }
                    ]
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}other{{ end }}"
                },
                "title": {
                    "selector": "h2 > a"
                },
                "details": {
                    "selector": "h2 > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "h2 > a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "text": "512 MB"
                },
                "description": {
                    "selector": "p",
                    "remove": "a"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "crazyspirits-api": {
        "credentials": {
            "passkey": ""
        },
        "id": "crazyspirits-api",
        "name": "CrazySpirits (API)",
        "description": "Crazy Spirits is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 5,
        "links": [
            "https://crazyspirits.com/"
        ],
        "legacylinks": [
            "https://www.crazyspirits.ca/",
            "https://www.crazyspirits.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2010,
                    "cat": "Movies/Foreign",
                    "desc": "Movies/Foreign"
                },
                {
                    "id": 2020,
                    "cat": "Movies/Other",
                    "desc": "Movies/Other"
                },
                {
                    "id": 2030,
                    "cat": "Movies/SD",
                    "desc": "Movies/SD"
                },
                {
                    "id": 2040,
                    "cat": "Movies/HD",
                    "desc": "Movies/HD"
                },
                {
                    "id": 2045,
                    "cat": "Movies/UHD",
                    "desc": "Movies/UHD"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 5030,
                    "cat": "TV/SD",
                    "desc": "TV/SD"
                },
                {
                    "id": 5040,
                    "cat": "TV/HD",
                    "desc": "TV/HD"
                },
                {
                    "id": 5045,
                    "cat": "TV/UHD",
                    "desc": "TV/UHD"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 3010,
                    "cat": "Audio/MP3",
                    "desc": "Audio/MP3"
                },
                {
                    "id": 3040,
                    "cat": "Audio/Lossless",
                    "desc": "Audio/Lossless"
                },
                {
                    "id": 4000,
                    "cat": "PC",
                    "desc": "PC"
                },
                {
                    "id": 4010,
                    "cat": "PC/0day",
                    "desc": "PC/0day"
                },
                {
                    "id": 4030,
                    "cat": "PC/Games",
                    "desc": "PC/Games"
                },
                {
                    "id": 8000,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "passkey",
                "type": "text",
                "label": "PassKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your PassKey",
                "default": "You can find the API PassKey by accessing <a href=\"https://crazyspirits.com/apps.php\" target=\"_blank\">CrazySpirits apps</a> page and scrolling down to <b>Votre API Key (Passkey)</b>."
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi.FRENCH": "MULTi.FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi.ENGLISH": "MULTi.ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi.VOSTFR": "MULTi.VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            }
        ],
        "login": {
            "path": "feed.php",
            "method": "get",
            "inputs": {
                "t": "search",
                "apikey": "{{ .Config.passkey }}",
                "limit": 1
            },
            "error": [
                {
                    "selector": "error",
                    "message": {
                        "selector": "error[description]",
                        "attribute": "description"
                    }
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "feed.php",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "apikey": "{{ .Config.passkey }}",
                "t": "{{ .Query.Type }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "imdbid": "{{ .Query.IMDBID }}",
                "limit": 100
            },
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title_phase1": {
                    "selector": "title"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR|VF2|VFF|VFQ|VOQ|VFI|VOF)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "details": {
                    "selector": "comments"
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "infohash": {
                    "selector": "[name=infohash]",
                    "attribute": "value"
                },
                "imdbid": {
                    "selector": "[name=imdbid]",
                    "attribute": "value"
                },
                "tmdbid": {
                    "selector": "[name=tmdbid]",
                    "attribute": "value"
                },
                "tvdbid": {
                    "selector": "[name=tvdbid]",
                    "attribute": "value"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "[name=size]",
                    "attribute": "value"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=peers]",
                    "attribute": "value"
                },
                "grabs": {
                    "selector": "[name=grabs]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "selector": "[name=downloadvolumefactor]",
                    "attribute": "value"
                },
                "uploadvolumefactor": {
                    "selector": "[name=uploadvolumefactor]",
                    "attribute": "value"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "crnaberza": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "crnaberza",
        "name": "CrnaBerza",
        "description": "CrnaBerza is a BALKAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "sr-SP",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.crnaberza.com/"
        ],
        "legacylinks": [
            "http://www.crnaberza.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 64,
                    "cat": "Movies/HD",
                    "desc": "HD Boxset"
                },
                {
                    "id": 80,
                    "cat": "TV",
                    "desc": "Paketi"
                },
                {
                    "id": 62,
                    "cat": "TV/SD",
                    "desc": "SD Boxset"
                },
                {
                    "id": 58,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless/Domaće"
                },
                {
                    "id": 5,
                    "cat": "Audio/MP3",
                    "desc": "MP3/Domaća"
                },
                {
                    "id": 83,
                    "cat": "Movies/BluRay",
                    "desc": "Film/BluRay Domaće"
                },
                {
                    "id": 84,
                    "cat": "Movies/BluRay",
                    "desc": "Film/Digitalno Restaurisani"
                },
                {
                    "id": 52,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD Domaće"
                },
                {
                    "id": 73,
                    "cat": "Movies/HD",
                    "desc": "Film/HD Domaće"
                },
                {
                    "id": 29,
                    "cat": "Movies/SD",
                    "desc": "Film/SD Domaće"
                },
                {
                    "id": 79,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 61,
                    "cat": "Movies/HD",
                    "desc": "HD Mešano"
                },
                {
                    "id": 50,
                    "cat": "PC/Games",
                    "desc": "Igre"
                },
                {
                    "id": 44,
                    "cat": "Books",
                    "desc": "Knjige"
                },
                {
                    "id": 46,
                    "cat": "Audio",
                    "desc": "Koncerti"
                },
                {
                    "id": 49,
                    "cat": "PC",
                    "desc": "Programi"
                },
                {
                    "id": 38,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 39,
                    "cat": "Audio/Video",
                    "desc": "Spotovi DVD"
                },
                {
                    "id": 45,
                    "cat": "Books/Comics",
                    "desc": "Stripovi"
                },
                {
                    "id": 28,
                    "cat": "Other",
                    "desc": "Svastara"
                },
                {
                    "id": 78,
                    "cat": "TV/Other",
                    "desc": "TV/ostalo"
                },
                {
                    "id": 59,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless/Strano"
                },
                {
                    "id": 57,
                    "cat": "Audio/MP3",
                    "desc": "MP3/Strano"
                },
                {
                    "id": 65,
                    "cat": "Movies/3D",
                    "desc": "3D Film"
                },
                {
                    "id": 82,
                    "cat": "Movies/UHD",
                    "desc": "4K video"
                },
                {
                    "id": 37,
                    "cat": "Movies",
                    "desc": "Deca"
                },
                {
                    "id": 43,
                    "cat": "TV/Documentary",
                    "desc": "Dokumentarci"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD Strano"
                },
                {
                    "id": 48,
                    "cat": "Movies/HD",
                    "desc": "Film/HD Strano"
                },
                {
                    "id": 54,
                    "cat": "Movies/SD",
                    "desc": "Film/SD Strano"
                },
                {
                    "id": 75,
                    "cat": "TV/HD",
                    "desc": "TV/HD Domaće"
                },
                {
                    "id": 30,
                    "cat": "TV/SD",
                    "desc": "TV/SD Domaće"
                },
                {
                    "id": 77,
                    "cat": "TV/HD",
                    "desc": "TV/HD Strano"
                },
                {
                    "id": 34,
                    "cat": "TV/SD",
                    "desc": "TV/SD Strano"
                },
                {
                    "id": 60,
                    "cat": "XXX",
                    "desc": "XXX/Domace"
                },
                {
                    "id": 63,
                    "cat": "XXX",
                    "desc": "XXX/Strano"
                }
            ],
            "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": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the 'Torrenata po stranici' setting to 50 on your 'Torrenti' from the 'Podešavanja naloga' menu on the CrnaBerza webpage."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort2",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "prijava/",
            "method": "form",
            "form": "form#crna-login-form",
            "inputs": {
                "_wp_http_referer": "/prijava/",
                "redirect_to": "{{ .Config.sitelink }}",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "rememberme": true
            },
            "error": [
                {
                    "selector": "p.text-red-300"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href*=\"wp-login.php?action=logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "t/"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}category[]={{.}}&{{end}}",
                "search": "{{ .Keywords }}",
                "sort": "{{ .Config.sort2 }}",
                "dir": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.min-w-full > tbody > tr:has(a[href*=\"/download/\"]){{ if .Config.freeleech }}:has(span.text-green-300:contains(\"Free Leech\")){{ else }}{{ end }}"
            },
            "fields": {
                "categorydesc": {
                    "selector": "td:nth-of-type(1) img",
                    "attribute": "alt"
                },
                "title": {
                    "selector": "a[href*=\"/td/\"]"
                },
                "details": {
                    "selector": "a[href*=\"/td/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/download/\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-of-type(4)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM d yyyy hh:mm tt"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-of-type(6)"
                },
                "seeders": {
                    "selector": "td:nth-of-type(7)"
                },
                "leechers": {
                    "selector": "td:nth-of-type(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.text-green-300:contains(\"Free Leech\")": 0,
                        "span.text-blue-300:contains(\"½ Download\")": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.text-purple-300:contains(\"x5 Upload\")": 5,
                        "span.text-purple-300:contains(\"x4 Upload\")": 4,
                        "span.text-purple-300:contains(\"x3 Upload\")": 3,
                        "span.text-purple-300:contains(\"x2 Upload\")": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "crnaberza2fa": {
        "credentials": {
            "cookie": ""
        },
        "id": "crnaberza2fa",
        "name": "CrnaBerza2FA",
        "description": "CrnaBerza is a BALKAN Private Torrent Tracker for MOVIES / TV / GENERAL. This indexer uses cookie login for 2FA.",
        "language": "sr-SP",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.crnaberza.com/"
        ],
        "legacylinks": [
            "http://www.crnaberza.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 64,
                    "cat": "Movies/HD",
                    "desc": "HD Boxset"
                },
                {
                    "id": 80,
                    "cat": "TV",
                    "desc": "Paketi"
                },
                {
                    "id": 62,
                    "cat": "TV/SD",
                    "desc": "SD Boxset"
                },
                {
                    "id": 58,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless/Domaće"
                },
                {
                    "id": 5,
                    "cat": "Audio/MP3",
                    "desc": "MP3/Domaća"
                },
                {
                    "id": 83,
                    "cat": "Movies/BluRay",
                    "desc": "Film/BluRay Domaće"
                },
                {
                    "id": 84,
                    "cat": "Movies/BluRay",
                    "desc": "Film/Digitalno Restaurisani"
                },
                {
                    "id": 52,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD Domaće"
                },
                {
                    "id": 73,
                    "cat": "Movies/HD",
                    "desc": "Film/HD Domaće"
                },
                {
                    "id": 29,
                    "cat": "Movies/SD",
                    "desc": "Film/SD Domaće"
                },
                {
                    "id": 79,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 61,
                    "cat": "Movies/HD",
                    "desc": "HD Mešano"
                },
                {
                    "id": 50,
                    "cat": "PC/Games",
                    "desc": "Igre"
                },
                {
                    "id": 44,
                    "cat": "Books",
                    "desc": "Knjige"
                },
                {
                    "id": 46,
                    "cat": "Audio",
                    "desc": "Koncerti"
                },
                {
                    "id": 49,
                    "cat": "PC",
                    "desc": "Programi"
                },
                {
                    "id": 38,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 39,
                    "cat": "Audio/Video",
                    "desc": "Spotovi DVD"
                },
                {
                    "id": 45,
                    "cat": "Books/Comics",
                    "desc": "Stripovi"
                },
                {
                    "id": 28,
                    "cat": "Other",
                    "desc": "Svastara"
                },
                {
                    "id": 78,
                    "cat": "TV/Other",
                    "desc": "TV/ostalo"
                },
                {
                    "id": 59,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless/Strano"
                },
                {
                    "id": 57,
                    "cat": "Audio/MP3",
                    "desc": "MP3/Strano"
                },
                {
                    "id": 65,
                    "cat": "Movies/3D",
                    "desc": "3D Film"
                },
                {
                    "id": 82,
                    "cat": "Movies/UHD",
                    "desc": "4K video"
                },
                {
                    "id": 37,
                    "cat": "Movies",
                    "desc": "Deca"
                },
                {
                    "id": 43,
                    "cat": "TV/Documentary",
                    "desc": "Dokumentarci"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD Strano"
                },
                {
                    "id": 48,
                    "cat": "Movies/HD",
                    "desc": "Film/HD Strano"
                },
                {
                    "id": 54,
                    "cat": "Movies/SD",
                    "desc": "Film/SD Strano"
                },
                {
                    "id": 75,
                    "cat": "TV/HD",
                    "desc": "TV/HD Domaće"
                },
                {
                    "id": 30,
                    "cat": "TV/SD",
                    "desc": "TV/SD Domaće"
                },
                {
                    "id": 77,
                    "cat": "TV/HD",
                    "desc": "TV/HD Strano"
                },
                {
                    "id": 34,
                    "cat": "TV/SD",
                    "desc": "TV/SD Strano"
                },
                {
                    "id": 60,
                    "cat": "XXX",
                    "desc": "XXX/Domace"
                },
                {
                    "id": 63,
                    "cat": "XXX",
                    "desc": "XXX/Strano"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the 'Torrenata po stranici' setting to 50 on your 'Torrenti' from the 'Podešavanja naloga' menu on the CrnaBerza webpage."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort2",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[href*=\"wp-login.php?action=logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "t/"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}category[]={{.}}&{{end}}",
                "search": "{{ .Keywords }}",
                "sort": "{{ .Config.sort2 }}",
                "dir": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.min-w-full > tbody > tr:has(a[href*=\"/download/\"]){{ if .Config.freeleech }}:has(span.text-green-300:contains(\"Free Leech\")){{ else }}{{ end }}"
            },
            "fields": {
                "categorydesc": {
                    "selector": "td:nth-of-type(1) img",
                    "attribute": "alt"
                },
                "title": {
                    "selector": "a[href*=\"/td/\"]"
                },
                "details": {
                    "selector": "a[href*=\"/td/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/download/\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-of-type(4)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM d yyyy hh:mm tt"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-of-type(6)"
                },
                "seeders": {
                    "selector": "td:nth-of-type(7)"
                },
                "leechers": {
                    "selector": "td:nth-of-type(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.text-green-300:contains(\"Free Leech\")": 0,
                        "span.text-blue-300:contains(\"½ Download\")": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.text-purple-300:contains(\"x5 Upload\")": 5,
                        "span.text-purple-300:contains(\"x4 Upload\")": 4,
                        "span.text-purple-300:contains(\"x3 Upload\")": 3,
                        "span.text-purple-300:contains(\"x2 Upload\")": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "crt2fa": {
        "credentials": {
            "cookie": ""
        },
        "id": "crt2fa",
        "name": "CRT2FA",
        "description": "Cathode-Ray.Tube (CRT) is a Private Torrent Tracker for CLASSIC MOVIES / TV. This indexer uses cookie login for 2FA.",
        "language": "en-GB",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.cathode-ray.tube/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 13,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 4,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Other",
                    "desc": "WOC"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "genre"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "genre"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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": "New members must generate some torrent activity (upload, download, or cross-seed) in their account within the first 30 days of joining, otherwise their account will be automatically disabled."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "#nav_userinfo"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchtext": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}",
                "title": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ end }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "taglist": "{{ .Query.Genre }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "$1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "$1"
                    ]
                }
            ],
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent row\"]:has(a[href*=\"action=download\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/torrents.php?filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[(\\d+)\\]"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeasons?\\s*(\\d)\\s*-\\s*(\\d)\\b",
                                "S0$1-S0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeasons?\\s*(\\d)\\s*-\\s*(\\d+)\\b",
                                "S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeasons?\\s*(\\d+)\\s*-\\s*(\\d+)\\b",
                                "S$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeasons?\\s*(\\d)\\b",
                                "S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeasons?\\s*(\\d+)\\b",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bComplete\\s+Series\\b",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "div.tags",
                    "filters": [
                        {
                            "name": "validate",
                            "args": "Action, Adventure, Animation, Comedy, Crime, Documentary, Drama, Family, Fantasy, History, Horror, Kids, Music, Mystery, News, Reality, Romance, SciFi, Soap, Talk, Thriller, War, Western"
                        }
                    ]
                },
                "description_tags": {
                    "selector": "div.tags"
                },
                "description": {
                    "case": {
                        "span.icon_okay": "Verified: {{ .Result.description_tags }}",
                        "*": "Unverified: {{ .Result.description_tags }}"
                    }
                },
                "poster": {
                    "selector": "td:nth-child(2) > script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\\"(.*?)\\\\\""
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\\\(.)",
                                "$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "/static/styles/modern/crt.png",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5) > span",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"Freeleech\"]": 0,
                        "img[alt=\"Freeleech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"DoubleSeed\"]": 2,
                        "img[alt=\"DoubleSeed\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "cspt": {
        "credentials": {
            "cookie": ""
        },
        "id": "cspt",
        "name": "Caishen (财神)",
        "description": "Caishen (财神) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://cspt.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ音乐 / HQ Audio"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他 / Misc"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育 / Sports"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV / Music Videos"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片 / Documentary"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺 / TV Shows"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧 / TVSeries"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影 / Movies"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫 / Anime"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users with no traffic (i.e. upload/download data is 0) will be deleted if they have not logged in for more than 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "div.torrents > div > div.torrent-table-sub-info"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "div.torrent-info-text-added > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "div.torrent-info-text-added:not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "div.torrent-info-text-size"
                },
                "seeders": {
                    "selector": "div.torrent-info-text-seeders"
                },
                "leechers": {
                    "selector": "div.torrent-info-text-leechers"
                },
                "grabs": {
                    "selector": "div.torrent-info-text-finished"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"]": "Verified:",
                        "span[title=\"未审\"]": "Unverified:",
                        "span[title=\"拒绝\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "div.text-start",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "cyanbug": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "cyanbug",
        "name": "cyanbug (大青虫)",
        "description": "cyanbug (大青虫) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://cyanbug.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Others/其他"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Music/音轨"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos/MV"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the cyanbug Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))",
                    "message": {
                        "selector": "td.text"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname):has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 1
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 1
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 1
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 259200
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "cyclingarchiveclub": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "cyclingarchiveclub",
        "name": "CyclingArchiveClub",
        "description": "CyclingArchiveClub is a Private tracker for Professional road and Cyclocross racing VIDEOS",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://cyclingarchive.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 25,
                    "cat": "TV",
                    "desc": "BMX"
                },
                {
                    "id": 28,
                    "cat": "TV",
                    "desc": "Cross"
                },
                {
                    "id": 21,
                    "cat": "TV/Documentary",
                    "desc": "Documentary"
                },
                {
                    "id": 24,
                    "cat": "TV",
                    "desc": "MTB"
                },
                {
                    "id": 26,
                    "cat": "TV",
                    "desc": "Real Life Video"
                },
                {
                    "id": 22,
                    "cat": "TV",
                    "desc": "Road"
                },
                {
                    "id": 23,
                    "cat": "TV",
                    "desc": "Track"
                },
                {
                    "id": 27,
                    "cat": "TV",
                    "desc": "Triathlon"
                }
            ],
            "modes": {
                "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": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "DESC",
                "options": {
                    "desc": "DESC",
                    "asc": "ASC"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:contains(\"Login failed\")",
                    "message": {
                        "selector": "td.text"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href$=\"logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href*=\"download.php?\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "_by": 0,
                "format": 0,
                "incldead": 0,
                "language": 0,
                "freebrowse": "{{ if .Config.freeleech }}Free{{ else }}{{ end }}",
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[width=\"95%\"] > tbody > tr.trhover",
                "dateheaders": {
                    "selector": ":has(td.ui-widget-header:contains(\"Torrents added\") > b)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Torrents added ",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dddd dd MMM yyyy"
                        }
                    ]
                }
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "_type": {
                    "selector": "a[href*=\"browse.php?cat=\"]",
                    "attribute": "title"
                },
                "_language": {
                    "selector": "td:nth-child(2) img",
                    "attribute": "title"
                },
                "_format": {
                    "selector": "td:nth-child(3) img",
                    "attribute": "title"
                },
                "title": {
                    "selector": "a[href*=\"details.php?hit=\"]"
                },
                "details": {
                    "selector": "a[href*=\"details.php?hit=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "hit=1&",
                                ""
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "a[href*=\"details.php?hit=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "hit=1&",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(6)"
                },
                "size": {
                    "selector": "td:nth-child(9)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "^(.*?)B"
                        },
                        {
                            "name": "append",
                            "args": "B"
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-child(9) > b"
                },
                "seeders": {
                    "selector": "td:nth-child(10)"
                },
                "leechers": {
                    "selector": "td:nth-child(11)"
                },
                "description": {
                    "text": " {{ .Result._type }} {{ .Result._language }} {{ .Result._format }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span:contains(\"Free\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "czteam-api": {
        "credentials": {
            "passkey": ""
        },
        "id": "czteam-api",
        "name": "CZTeam (API)",
        "description": "CZTeam (CZT) is a ROMANIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ro-RO",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://czteam.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "XXX",
                    "desc": "XxX"
                },
                {
                    "id": 4,
                    "cat": "PC/ISO",
                    "desc": "Games/PC ISO"
                },
                {
                    "id": 5,
                    "cat": "TV/HD",
                    "desc": "TvEps/HD"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "Music/Audio"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "TvEps"
                },
                {
                    "id": 9,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile"
                },
                {
                    "id": 12,
                    "cat": "Console",
                    "desc": "Games/Consoles"
                },
                {
                    "id": 19,
                    "cat": "Movies/SD",
                    "desc": "Movies/XviD"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Movies/DVD-R"
                },
                {
                    "id": 21,
                    "cat": "PC/Games",
                    "desc": "Games/PC Rips"
                },
                {
                    "id": 22,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 23,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 24,
                    "cat": "Other",
                    "desc": "Images"
                },
                {
                    "id": 25,
                    "cat": "Books",
                    "desc": "Docs"
                },
                {
                    "id": 28,
                    "cat": "Movies/DVD",
                    "desc": "Movies/DVD-RO"
                },
                {
                    "id": 29,
                    "cat": "Movies/HD",
                    "desc": "Movies/HD"
                },
                {
                    "id": 30,
                    "cat": "Audio/Video",
                    "desc": "Music/MVID"
                },
                {
                    "id": 31,
                    "cat": "PC/Mac",
                    "desc": "MAC"
                },
                {
                    "id": 32,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 33,
                    "cat": "Movies/HD",
                    "desc": "Movies/HDTV-RO"
                },
                {
                    "id": 34,
                    "cat": "TV/HD",
                    "desc": "TvEps/HD-RO"
                },
                {
                    "id": 35,
                    "cat": "Audio/Lossless",
                    "desc": "Music/Lossless"
                },
                {
                    "id": 36,
                    "cat": "Movies/BluRay",
                    "desc": "Full BluRay-RO"
                },
                {
                    "id": 37,
                    "cat": "Movies/3D",
                    "desc": "Movies/3D"
                },
                {
                    "id": 38,
                    "cat": "Movies",
                    "desc": "Movies-RO"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "passkey",
                "type": "text",
                "label": "Passkey"
            },
            {
                "name": "info_passkey",
                "type": "info",
                "label": "About your Passkey",
                "default": "Find your passkey by accessing your <a href=\"https://czteam.me/my.php\" target=\"_blank\">CZTeam profile</a> and scrolling down to the Passkey section."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            }
        ],
        "login": {
            "path": "api.php",
            "method": "get",
            "inputs": {
                "action": "latest-torrents",
                "passkey": "{{ .Config.passkey }}",
                "limit": 1
            },
            "error": [
                {
                    "selector": ":root:contains(\"error\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api.php",
                    "response": {
                        "type": "json",
                        "noResultsMessage": ""
                    }
                }
            ],
            "inputs": {
                "action": "search-torrents",
                "passkey": "{{ .Config.passkey }}",
                "type": "{{ if .Query.IMDBID }}imdb{{ else }}name{{ end }}",
                "query": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "name": "{{ if .Query.IMDBID }}{{ .Keywords }}{{ else }}{{ end }}",
                "season": "{{ .Query.Season }}",
                "episode": "{{ .Query.Ep }}",
                "category": "{{ range .Categories }}{{.}},{{end}}",
                "freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "limit": 100,
                "tip": 1
            },
            "rows": {
                "selector": "$"
            },
            "fields": {
                "title": {
                    "selector": "name"
                },
                "details": {
                    "selector": "url"
                },
                "download": {
                    "selector": "download_link"
                },
                "category": {
                    "selector": "category_id"
                },
                "imdbid": {
                    "selector": "imdb"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "files": {
                    "selector": "files"
                },
                "size": {
                    "selector": "size"
                },
                "date": {
                    "selector": "upload_date",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "selector": "freeleech",
                    "case": [
                        1,
                        0
                    ]
                },
                "uploadvolumefactor": {
                    "selector": "doubleup",
                    "case": [
                        1,
                        2
                    ]
                },
                "genre": {
                    "selector": "tags"
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "damagnet": {
        "id": "damagnet",
        "name": "DaMagNet",
        "description": "DaMagNet is a Public DHT Crawler",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://damag.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "Other",
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_category_8000",
                "type": "info_category_8000"
            }
        ],
        "download": {
            "infohash": {
                "hash": {
                    "selector": "a[href^=\"magnet:?xt\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "title": {
                    "selector": "input[name=\"q\"]",
                    "attribute": "value",
                    "filters": [
                        {
                            "name": "validfilename"
                        }
                    ]
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "q": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "wanted": 100
            },
            "headers": {
                "Referer": [
                    "{{ .Config.sitelink }}"
                ]
            },
            "rows": {
                "selector": "table.table-striped > tbody > tr:has(a)",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": "Other"
                },
                "title": {
                    "selector": "a"
                },
                "details": {
                    "selector": "a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a",
                    "attribute": "href"
                },
                "date": {
                    "text": "now"
                },
                "files": {
                    "selector": "span.label"
                },
                "size": {
                    "selector": "span[id^=\"size\"]"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "darkpeers-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "darkpeers-api",
        "name": "Darkpeers (API)",
        "description": "Darkpeers is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://darkpeers.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Assorted"
                },
                {
                    "id": 8,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 9,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowtvsearchimdb": true
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://darkpeers.org/\" target=\"_blank\">Darkpeers</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Users must log in or be seeding for their account to be considered active. If the account is not active for a consecutive 90 days, the account will be deactivated. After a consecutive 120 days, the account will be pruned."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 518400
                }
            }
        }
    },
    "dasunerwartete": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "dasunerwartete",
        "name": "Das Unerwartete",
        "description": "Das Unerwartete (D-U) is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://dasunerwartete.biz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Filme > SD"
                },
                {
                    "id": 32,
                    "cat": "Movies/HD",
                    "desc": "Filme > HD"
                },
                {
                    "id": 145,
                    "cat": "Movies",
                    "desc": "Filme > DRG"
                },
                {
                    "id": 114,
                    "cat": "Movies/UHD",
                    "desc": "Filme > UHD"
                },
                {
                    "id": 140,
                    "cat": "Movies/BluRay",
                    "desc": "Filme > BluRay"
                },
                {
                    "id": 143,
                    "cat": "TV/Anime",
                    "desc": "Filme > Anime"
                },
                {
                    "id": 138,
                    "cat": "Movies",
                    "desc": "Filme > Packs"
                },
                {
                    "id": 148,
                    "cat": "Movies",
                    "desc": "Filme > Packs UHD"
                },
                {
                    "id": 60,
                    "cat": "TV/SD",
                    "desc": "Serien > SD"
                },
                {
                    "id": 57,
                    "cat": "TV/HD",
                    "desc": "Serien > HD"
                },
                {
                    "id": 139,
                    "cat": "TV/UHD",
                    "desc": "Serien > UHD"
                },
                {
                    "id": 144,
                    "cat": "TV/Anime",
                    "desc": "Serien > Anime"
                },
                {
                    "id": 59,
                    "cat": "TV",
                    "desc": "Serien > Packs"
                },
                {
                    "id": 147,
                    "cat": "TV",
                    "desc": "Serien > Packs UHD"
                },
                {
                    "id": 110,
                    "cat": "Audio/MP3",
                    "desc": "Audio > MP3"
                },
                {
                    "id": 48,
                    "cat": "Audio/Lossless",
                    "desc": "Audio > Flac"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "Audio > Pack"
                },
                {
                    "id": 63,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio > Hörbuch"
                },
                {
                    "id": 120,
                    "cat": "Audio/Video",
                    "desc": "Audio > Videos"
                },
                {
                    "id": 12,
                    "cat": "PC/0day",
                    "desc": "Apps > Windows"
                },
                {
                    "id": 125,
                    "cat": "PC/Mac",
                    "desc": "Apps > Mac-OSX"
                },
                {
                    "id": 11,
                    "cat": "PC/Mobile-Other",
                    "desc": "Apps > Mobil"
                },
                {
                    "id": 141,
                    "cat": "PC",
                    "desc": "Apps > Other"
                },
                {
                    "id": 15,
                    "cat": "TV/Documentary",
                    "desc": "Doku > SD"
                },
                {
                    "id": 14,
                    "cat": "TV/Documentary",
                    "desc": "Doku > HD"
                },
                {
                    "id": 123,
                    "cat": "TV/Documentary",
                    "desc": "Doku > Reihe"
                },
                {
                    "id": 153,
                    "cat": "TV/Documentary",
                    "desc": "Doku > UHD"
                },
                {
                    "id": 126,
                    "cat": "PC/Mobile-Other",
                    "desc": "Spiel > Mobil"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Spiel > PC"
                },
                {
                    "id": 24,
                    "cat": "Console",
                    "desc": "Spiel > Konsole"
                },
                {
                    "id": 121,
                    "cat": "Console",
                    "desc": "Spiel > Wimmelbild"
                },
                {
                    "id": 61,
                    "cat": "TV/Sport",
                    "desc": "Sport > HD"
                },
                {
                    "id": 62,
                    "cat": "TV/Sport",
                    "desc": "Sport > SD"
                },
                {
                    "id": 96,
                    "cat": "Books/Mags",
                    "desc": "ePaper > Zeitungen"
                },
                {
                    "id": 136,
                    "cat": "Books/EBook",
                    "desc": "ePaper > E-Book"
                },
                {
                    "id": 137,
                    "cat": "Books/Comics",
                    "desc": "ePaper > Comics"
                },
                {
                    "id": 76,
                    "cat": "XXX/SD",
                    "desc": "XXX > SD"
                },
                {
                    "id": 73,
                    "cat": "XXX/x264",
                    "desc": "XXX > HD"
                },
                {
                    "id": 75,
                    "cat": "XXX/Pack",
                    "desc": "XXX > Pack"
                },
                {
                    "id": 142,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX > Pic´s"
                },
                {
                    "id": 129,
                    "cat": "Movies/SD",
                    "desc": "Internal > Film SD"
                },
                {
                    "id": 128,
                    "cat": "Movies/HD",
                    "desc": "Internal > Film HD"
                },
                {
                    "id": 152,
                    "cat": "Movies/UHD",
                    "desc": "Internal > Film UHD"
                },
                {
                    "id": 131,
                    "cat": "TV/SD",
                    "desc": "Internal > Serien SD"
                },
                {
                    "id": 130,
                    "cat": "TV/HD",
                    "desc": "Internal > Serien HD"
                },
                {
                    "id": 132,
                    "cat": "Other",
                    "desc": "Internal > Sonstiges"
                },
                {
                    "id": 149,
                    "cat": "Movies/UHD",
                    "desc": "Internal > Packs UHD"
                },
                {
                    "id": 150,
                    "cat": "Movies/HD",
                    "desc": "Internal > Packs HD"
                },
                {
                    "id": 151,
                    "cat": "Movies/SD",
                    "desc": "Internal > Packs SD"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_password",
                "type": "info",
                "label": "About Password Expiry",
                "default": "D-U has an <b>20 week Password Expiry</b> regime. So if the Indexer has stopped working then the first thing you should do is check if your password has expired by login in at <a href=\"https://dasunerwartete.biz/login.php\" target=\"_blank\">Das Unerwartete</a>, and if necessary use the <b>Passwort anfordern</b> (<i>Request password</i>) button to renew it."
            },
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "onlyupload",
                "type": "checkbox",
                "label": "Search OnlyUpload",
                "default": false
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About OnlyUpload at D-U",
                "default": "OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Jackett dashboard search results these are tagged as Freeleech)."
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Anzahl der Torrents beim Durchsuchen:</b> setting to <b>60</b> on your Control Panel. The default is <i>15</i>."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts will be deactivated after 7 weeks and deleted after another 3 weeks."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form",
            "inputs": {
                "login_identifier": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "loggiin": "Login"
            },
            "error": [
                {
                    "selector": "div#login_error"
                },
                {
                    "selector": "div.error-message"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents_search.php",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "ajax": true,
                "search": "{{ .Keywords }}",
                "page": 1,
                "imdb": "{{ .Query.IMDBIDShort }}",
                "free": "{{ if .Config.onlyupload }}yes{{ else }}{{ end }}",
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}"
            },
            "rows": {
                "selector": "data"
            },
            "fields": {
                "categorydesc": {
                    "selector": "category",
                    "filters": [
                        {
                            "name": "htmldecode"
                        }
                    ]
                },
                "title": {
                    "selector": "name"
                },
                "_id": {
                    "selector": "id"
                },
                "details": {
                    "text": "details.php?id={{ .Result._id }}"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "cover"
                },
                "size": {
                    "selector": "size"
                },
                "date": {
                    "selector": "added",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm zzz"
                        }
                    ]
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "_onlyup": {
                    "selector": "free_button:contains(Only Upload)",
                    "optional": true
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._onlyup }}0{{ else }}1{{ end }}"
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 129600
                }
            }
        }
    },
    "dasunerwartete-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "dasunerwartete-api",
        "name": "Das Unerwartete (API)",
        "description": "Das Unerwartete (D-U) is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL. This is the API version.",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://dasunerwartete.biz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Filme > SD"
                },
                {
                    "id": 32,
                    "cat": "Movies/HD",
                    "desc": "Filme > HD"
                },
                {
                    "id": 145,
                    "cat": "Movies",
                    "desc": "Filme > DRG"
                },
                {
                    "id": 114,
                    "cat": "Movies/UHD",
                    "desc": "Filme > UHD"
                },
                {
                    "id": 140,
                    "cat": "Movies/BluRay",
                    "desc": "Filme > BluRay"
                },
                {
                    "id": 143,
                    "cat": "TV/Anime",
                    "desc": "Filme > Anime"
                },
                {
                    "id": 138,
                    "cat": "Movies",
                    "desc": "Filme > Packs"
                },
                {
                    "id": 148,
                    "cat": "Movies",
                    "desc": "Filme > Packs UHD"
                },
                {
                    "id": 60,
                    "cat": "TV/SD",
                    "desc": "Serien > SD"
                },
                {
                    "id": 57,
                    "cat": "TV/HD",
                    "desc": "Serien > HD"
                },
                {
                    "id": 139,
                    "cat": "TV/UHD",
                    "desc": "Serien > UHD"
                },
                {
                    "id": 144,
                    "cat": "TV/Anime",
                    "desc": "Serien > Anime"
                },
                {
                    "id": 59,
                    "cat": "TV",
                    "desc": "Serien > Packs"
                },
                {
                    "id": 147,
                    "cat": "TV",
                    "desc": "Serien > Packs UHD"
                },
                {
                    "id": 110,
                    "cat": "Audio/MP3",
                    "desc": "Audio > MP3"
                },
                {
                    "id": 48,
                    "cat": "Audio/Lossless",
                    "desc": "Audio > Flac"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "Audio > Pack"
                },
                {
                    "id": 63,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio > Hörbuch"
                },
                {
                    "id": 120,
                    "cat": "Audio/Video",
                    "desc": "Audio > Videos"
                },
                {
                    "id": 12,
                    "cat": "PC/0day",
                    "desc": "Apps > Windows"
                },
                {
                    "id": 125,
                    "cat": "PC/Mac",
                    "desc": "Apps > Mac-OSX"
                },
                {
                    "id": 11,
                    "cat": "PC/Mobile-Other",
                    "desc": "Apps > Mobil"
                },
                {
                    "id": 141,
                    "cat": "PC",
                    "desc": "Apps > Other"
                },
                {
                    "id": 15,
                    "cat": "TV/Documentary",
                    "desc": "Doku > SD"
                },
                {
                    "id": 14,
                    "cat": "TV/Documentary",
                    "desc": "Doku > HD"
                },
                {
                    "id": 123,
                    "cat": "TV/Documentary",
                    "desc": "Doku > Reihe"
                },
                {
                    "id": 153,
                    "cat": "TV/Documentary",
                    "desc": "Doku > UHD"
                },
                {
                    "id": 126,
                    "cat": "PC/Mobile-Other",
                    "desc": "Spiel > Mobil"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Spiel > PC"
                },
                {
                    "id": 24,
                    "cat": "Console",
                    "desc": "Spiel > Konsole"
                },
                {
                    "id": 121,
                    "cat": "Console",
                    "desc": "Spiel > Wimmelbild"
                },
                {
                    "id": 61,
                    "cat": "TV/Sport",
                    "desc": "Sport > HD"
                },
                {
                    "id": 62,
                    "cat": "TV/Sport",
                    "desc": "Sport > SD"
                },
                {
                    "id": 96,
                    "cat": "Books/Mags",
                    "desc": "ePaper > Zeitungen"
                },
                {
                    "id": 136,
                    "cat": "Books/EBook",
                    "desc": "ePaper > E-Book"
                },
                {
                    "id": 137,
                    "cat": "Books/Comics",
                    "desc": "ePaper > Comics"
                },
                {
                    "id": 76,
                    "cat": "XXX/SD",
                    "desc": "XXX > SD"
                },
                {
                    "id": 73,
                    "cat": "XXX/x264",
                    "desc": "XXX > HD"
                },
                {
                    "id": 75,
                    "cat": "XXX/Pack",
                    "desc": "XXX > Pack"
                },
                {
                    "id": 142,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX > Pic´s"
                },
                {
                    "id": 129,
                    "cat": "Movies/SD",
                    "desc": "Internal > Film SD"
                },
                {
                    "id": 128,
                    "cat": "Movies/HD",
                    "desc": "Internal > Film HD"
                },
                {
                    "id": 152,
                    "cat": "Movies/UHD",
                    "desc": "Internal > Film UHD"
                },
                {
                    "id": 131,
                    "cat": "TV/SD",
                    "desc": "Internal > Serien SD"
                },
                {
                    "id": 130,
                    "cat": "TV/HD",
                    "desc": "Internal > Serien HD"
                },
                {
                    "id": 132,
                    "cat": "Other",
                    "desc": "Internal > Sonstiges"
                },
                {
                    "id": 149,
                    "cat": "Movies/UHD",
                    "desc": "Internal > Packs UHD"
                },
                {
                    "id": 150,
                    "cat": "Movies/HD",
                    "desc": "Internal > Packs HD"
                },
                {
                    "id": 151,
                    "cat": "Movies/SD",
                    "desc": "Internal > Packs SD"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find your API Key by accessing your <a href=\"https://dasunerwartete.biz/\" target=\"_blank\">Das Unerwartete</a> profile page and look for the <b>API-Key:</b> tag."
            },
            {
                "name": "onlyupload",
                "type": "checkbox",
                "label": "Search OnlyUpload",
                "default": false
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About OnlyUpload at D-U",
                "default": "OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Jackett dashboard search results these are tagged as Freeleech)."
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "api.php",
                    "method": "get",
                    "response": {
                        "type": "xml"
                    },
                    "inputs": {
                        "apikey": "{{ .Config.apikey }}",
                        "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                        "q": "{{ .Query.Keywords }}",
                        "imdbid": "{{ .Query.IMDBID }}",
                        "tmdbid": "{{ .Query.TMDBID }}",
                        "free": "{{ if .Config.onlyupload }}yes{{ else }}{{ end }}",
                        "page": 1
                    }
                }
            ],
            "rows": {
                "selector": "item"
            },
            "fields": {
                "category": {
                    "selector": "category"
                },
                "title": {
                    "selector": "title"
                },
                "_id": {
                    "selector": "guid"
                },
                "details": {
                    "text": "details.php?id={{ .Result._id }}"
                },
                "download": {
                    "selector": "link",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "&amp;",
                                "&"
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "+0100",
                                "+01:00"
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "imdbid": {
                    "selector": "imdb"
                },
                "tmdbid": {
                    "selector": "tmdb"
                },
                "_onlyup": {
                    "selector": "free_button:contains(Only Upload)",
                    "optional": true
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._onlyup }}0{{ else }}1{{ end }}"
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 129600
                }
            }
        }
    },
    "datascene-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "datascene-api",
        "name": "DataScene (API)",
        "description": "DataScene (DS) is a ROMANIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://datascene.xyz/"
        ],
        "legacylinks": [
            "http://datascene.net/",
            "https://datascene.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies/HD",
                    "desc": "Movie HD"
                },
                {
                    "id": 23,
                    "cat": "Movies/HD",
                    "desc": "Movies HD Ro"
                },
                {
                    "id": 11,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K"
                },
                {
                    "id": 12,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K Ro"
                },
                {
                    "id": 14,
                    "cat": "Movies/BluRay",
                    "desc": "Movies Bluray"
                },
                {
                    "id": 15,
                    "cat": "Movies/BluRay",
                    "desc": "Movies Bluray Ro"
                },
                {
                    "id": 27,
                    "cat": "Movies/DVD",
                    "desc": "DVD"
                },
                {
                    "id": 28,
                    "cat": "Movies/DVD",
                    "desc": "DVD Ro"
                },
                {
                    "id": 19,
                    "cat": "Movies/SD",
                    "desc": "SD"
                },
                {
                    "id": 20,
                    "cat": "Movies/SD",
                    "desc": "SD Ro"
                },
                {
                    "id": 2,
                    "cat": "TV/HD",
                    "desc": "TV HD"
                },
                {
                    "id": 18,
                    "cat": "TV/HD",
                    "desc": "TV HD Ro"
                },
                {
                    "id": 26,
                    "cat": "TV/SD",
                    "desc": "TV SD"
                },
                {
                    "id": 10,
                    "cat": "TV/SD",
                    "desc": "TV SD Ro"
                },
                {
                    "id": 31,
                    "cat": "TV/SD",
                    "desc": "DVD"
                },
                {
                    "id": 32,
                    "cat": "TV/SD",
                    "desc": "DVD Ro"
                },
                {
                    "id": 29,
                    "cat": "TV/UHD",
                    "desc": "TV 4K"
                },
                {
                    "id": 30,
                    "cat": "TV/UHD",
                    "desc": "TV 4K Ro"
                },
                {
                    "id": 22,
                    "cat": "TV",
                    "desc": "TV Pack"
                },
                {
                    "id": 33,
                    "cat": "TV",
                    "desc": "TV Pack Ro"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Game"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 21,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 7,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile"
                },
                {
                    "id": 24,
                    "cat": "PC",
                    "desc": "Linux"
                },
                {
                    "id": 8,
                    "cat": "Books/EBook",
                    "desc": "E-Book"
                },
                {
                    "id": 25,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 5,
                    "cat": "PC/0day",
                    "desc": "Application"
                },
                {
                    "id": 13,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://datascene.xyz/\" target=\"_blank\">DataScene</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "<ul><li>Accounts with zero activity (0 bytes download and 0 bytes upload) are automatically deleted after 30 days.</li><li>Inactive account under the rank of VIP that are unparked are automatically deleted after 40 days.</li></ul>"
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(All Sex)",
                                "All_Sex"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "deildu": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "deildu",
        "name": "Deildu",
        "description": "Deildu is an ICELANDIC Semi-Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "is-IS",
        "type": "semi-private",
        "encoding": "iso-8859-1",
        "links": [
            "https://deildu.net/",
            "https://icetracker.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 15,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 1,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 5,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVDR"
                },
                {
                    "id": 9,
                    "cat": "TV/Documentary",
                    "desc": "TV - Documentaries"
                },
                {
                    "id": 12,
                    "cat": "TV/HD",
                    "desc": "TV HD"
                },
                {
                    "id": 2,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 3,
                    "cat": "PC/Mac",
                    "desc": "Mac"
                },
                {
                    "id": 7,
                    "cat": "Movies/Other",
                    "desc": "Cartoons"
                },
                {
                    "id": 11,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 14,
                    "cat": "PC",
                    "desc": "Windows"
                },
                {
                    "id": 4,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 8,
                    "cat": "TV",
                    "desc": "TV shows"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "keeplogged": 1
            },
            "error": [
                {
                    "selector": "table.main:contains(\"Login failed\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 1,
                "Lysing": "{{ if .Query.IMDBID }}1{{ else }}{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[class=\"torrentlist\"] > tbody > tr:has(a[href*=\"details.php?id=\"])",
                "filters": [
                    {
                        "name": "andmatch",
                        "args": 55
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "td:nth-child(2)"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "depthstudio": {
        "credentials": {
            "cookie": ""
        },
        "id": "depthstudio",
        "name": "Depth Studio",
        "description": "Depth Studio is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://dstudio.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影-Movies"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧-TV Series"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺-TV Shows"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片-Documentaries"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫-Animes"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "演唱会-Music Videos"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育节目-Sports"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐-Music"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他-Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 100 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 60 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 60 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "desitorrents-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "desitorrents-api",
        "name": "DesiTorrents (API)",
        "description": "DesiTorrents is an INDIAN Private Torrent Tracker for MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://torrent.desi/"
        ],
        "legacylinks": [
            "https://desitorrents.tv/",
            "https://desitorrents.rocks/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://desitorrents.tv/\" target=\"_blank\">DesiTorrents</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Inactive accounts will be disabled after 3 months of inactivity, 1 month for new accounts. Members must generate some download or upload activity at least once every 3 months."
            }
        ],
        "login": {
            "path": "/api/v1/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/v1/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "devil-torrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "devil-torrents",
        "name": "Devil-Torrents",
        "description": "Devil-Torrents is a POLISH Semi-Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pl-PL",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://devil-torrents.pl/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies/SD",
                    "desc": "Filmy XviD/DivX"
                },
                {
                    "id": 748,
                    "cat": "Movies/UHD",
                    "desc": "Filmy 4K"
                },
                {
                    "id": 4,
                    "cat": "Movies/BluRay",
                    "desc": "Filmy Blu-Ray/HD"
                },
                {
                    "id": 642,
                    "cat": "Movies/HD",
                    "desc": "Filmy x264/h264"
                },
                {
                    "id": 596,
                    "cat": "Movies/HD",
                    "desc": "Filmy x265/h265"
                },
                {
                    "id": 3,
                    "cat": "Movies/DVD",
                    "desc": "Filmy DVD"
                },
                {
                    "id": 5,
                    "cat": "Movies/3D",
                    "desc": "Filmy 3D"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "TV/Seriale"
                },
                {
                    "id": 702,
                    "cat": "Movies/SD",
                    "desc": "TS/CAM"
                },
                {
                    "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": 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": 699,
                    "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": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "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"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "info_limit",
                "type": "info",
                "label": "Download Limit",
                "default": "If your downloads fail then access the site with your browser and check your messages, you've likely exceeded your limit."
            }
        ],
        "login": {
            "path": "logowanie",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[src^=\"img.php?size=3\"]",
                "input": "vImageCodP"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "returnto": ""
            },
            "error": [
                {
                    "selector": "div#center-side:contains(\"Logowanie nie\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href$=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "szukaj.php"
                }
            ],
            "inputs": {
                "typ": "torrent",
                "search": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "search_in_descr": "{{ if .Keywords }}{{ else }}1{{ end }}"
            },
            "rows": {
                "selector": "div.search-torrent-card"
            },
            "fields": {
                "category": {
                    "selector": "span.search-cat-badge",
                    "case": {
                        "span.search-cat-badge:contains(\"Filmy XviD/DivX\")": 1,
                        "span.search-cat-badge:contains(\"Filmy 4K\")": 748,
                        "span.search-cat-badge:contains(\"Filmy Blu-Ray/HD\")": 4,
                        "span.search-cat-badge:contains(\"Filmy x264/h264\")": 642,
                        "span.search-cat-badge:contains(\"Filmy x265/h265\")": 596,
                        "span.search-cat-badge:contains(\"Filmy DVD\")": 3,
                        "span.search-cat-badge:contains(\"Filmy 3D\")": 5,
                        "span.search-cat-badge:contains(\"TV/Seriale\")": 7,
                        "span.search-cat-badge:contains(\"TS/CAM\")": 702,
                        "span.search-cat-badge:contains(\"Erotyka\")": 8,
                        "span.search-cat-badge:contains(\"Muzyka\")": 10,
                        "span.search-cat-badge:contains(\"Programy\")": 11,
                        "span.search-cat-badge:contains(\"GSM/PDA\")": 12,
                        "span.search-cat-badge:contains(\"Konsole\")": 13,
                        "span.search-cat-badge:contains(\"Gry PC\")": 14,
                        "span.search-cat-badge:contains(\"Dla Dzieci\")": 15,
                        "span.search-cat-badge:contains(\"Książki\")": 16,
                        "span.search-cat-badge:contains(\"Mac\")": 525,
                        "span.search-cat-badge:contains(\"Linux\")": 18,
                        "span.search-cat-badge:contains(\"Sport\")": 19,
                        "span.search-cat-badge:contains(\"Anime\")": 699,
                        "span.search-cat-badge: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.search-poster",
                    "attribute": "data-src"
                },
                "date": {
                    "selector": "div.search-date-badge",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2})"
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "span.search-size-badge",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{1,4}\\.\\d{2}\\s+?[T|G|M|k]B)"
                        }
                    ]
                },
                "seeders": {
                    "selector": "span[id^=\"seed_\"]"
                },
                "leechers": {
                    "selector": "span[id^=\"peer_\"]"
                },
                "grabs": {
                    "selector": "span:contains(\"Pobrano\")",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Pobrano:(\\d{1,4})"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "diablotorrent": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "diablotorrent",
        "name": "Diablo Torrent",
        "description": "Diablo Torrent is a HUNGARIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://diablotorrent.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 49,
                    "cat": "Movies/SD",
                    "desc": "Film > Cam",
                    "default": true
                },
                {
                    "id": 21,
                    "cat": "Movies/SD",
                    "desc": "Film > Cam [magyar]",
                    "default": true
                },
                {
                    "id": 101,
                    "cat": "Movies/SD",
                    "desc": "Film > SD/HUN",
                    "default": true
                },
                {
                    "id": 102,
                    "cat": "Movies/SD",
                    "desc": "Film > SD/ENG",
                    "default": true
                },
                {
                    "id": 103,
                    "cat": "Movies/HD",
                    "desc": "Film > HD/HUN",
                    "default": true
                },
                {
                    "id": 104,
                    "cat": "Movies/HD",
                    "desc": "Film > HD/ENG",
                    "default": true
                },
                {
                    "id": 105,
                    "cat": "Movies/DVD",
                    "desc": "Film > DVD-R/HUN",
                    "default": true
                },
                {
                    "id": 106,
                    "cat": "Movies/DVD",
                    "desc": "Film > DVD-R/ENG",
                    "default": true
                },
                {
                    "id": 107,
                    "cat": "TV/SD",
                    "desc": "Sorozat > SD/HUN",
                    "default": true
                },
                {
                    "id": 108,
                    "cat": "TV/SD",
                    "desc": "Sorozat > SD/ENG",
                    "default": true
                },
                {
                    "id": 109,
                    "cat": "TV/SD",
                    "desc": "Sorozat > DVD-R/HUN",
                    "default": true
                },
                {
                    "id": 110,
                    "cat": "TV/SD",
                    "desc": "Sorozat > DVD-R/ENG",
                    "default": true
                },
                {
                    "id": 111,
                    "cat": "TV/HD",
                    "desc": "Sorozat > HD/HUN",
                    "default": true
                },
                {
                    "id": 112,
                    "cat": "TV/HD",
                    "desc": "Sorozat > HD/ENG",
                    "default": true
                },
                {
                    "id": 34,
                    "cat": "XXX/DVD",
                    "desc": "Pornó > DVD-R",
                    "default": false
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "Pornó > Képek",
                    "default": false
                },
                {
                    "id": 113,
                    "cat": "XXX/XviD",
                    "desc": "Pornó > SD",
                    "default": false
                },
                {
                    "id": 114,
                    "cat": "XXX",
                    "desc": "Pornó > HD",
                    "default": false
                },
                {
                    "id": 12,
                    "cat": "PC/Games",
                    "desc": "Játék > PC",
                    "default": true
                },
                {
                    "id": 14,
                    "cat": "Console/PS4",
                    "desc": "Játék > PS",
                    "default": true
                },
                {
                    "id": 39,
                    "cat": "Console/XBox",
                    "desc": "Játék > Xbox",
                    "default": true
                },
                {
                    "id": 40,
                    "cat": "Console/Other",
                    "desc": "Játék > Egyéb",
                    "default": true
                },
                {
                    "id": 8,
                    "cat": "Audio/MP3",
                    "desc": "Zene > MP3",
                    "default": true
                },
                {
                    "id": 9,
                    "cat": "Audio/MP3",
                    "desc": "Zene > MP3 [magyar]",
                    "default": true
                },
                {
                    "id": 37,
                    "cat": "Audio/Lossless",
                    "desc": "Zene > Lossless [magyar]",
                    "default": true
                },
                {
                    "id": 38,
                    "cat": "Audio/Lossless",
                    "desc": "Zene > Lossless",
                    "default": true
                },
                {
                    "id": 16,
                    "cat": "PC/0day",
                    "desc": "Programok > PC",
                    "default": true
                },
                {
                    "id": 24,
                    "cat": "PC/Mobile-Other",
                    "desc": "Programok > Mobil",
                    "default": true
                },
                {
                    "id": 53,
                    "cat": "PC/0day",
                    "desc": "Programok > Egyéb",
                    "default": true
                },
                {
                    "id": 27,
                    "cat": "Other",
                    "desc": "Egyéb > !! Feltöltési segédlet !!",
                    "default": true
                },
                {
                    "id": 29,
                    "cat": "Other",
                    "desc": "Egyéb > Képek",
                    "default": true
                },
                {
                    "id": 20,
                    "cat": "Books",
                    "desc": "E-Book > Magyar",
                    "default": true
                },
                {
                    "id": 52,
                    "cat": "Books",
                    "desc": "E-Book > Egyéb",
                    "default": true
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 7,
                "options": {
                    "1": "title",
                    "7": "created",
                    "4": "seeders",
                    "2": "size"
                }
            },
            {
                "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>Torrent oldalanként:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "login",
            "submitpath": "login/run",
            "method": "form",
            "inputs": {
                "referer": "",
                "nev": "{{ .Config.username }}",
                "jelszo": "{{ .Config.password }}",
                "fsv": 0,
                "login": 1,
                "belepes": 1,
                "rhash": 123
            },
            "error": [
                {
                    "selector": ":root:contains(\"{\\\"hiba\\\":true,\")"
                }
            ],
            "test": {
                "path": "browse",
                "selector": "a[href*=\"logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse",
                    "categories": [
                        49,
                        21,
                        101,
                        102,
                        103,
                        104,
                        105,
                        106,
                        107,
                        108,
                        109,
                        110,
                        111,
                        112,
                        12,
                        14,
                        39,
                        40,
                        8,
                        9,
                        37,
                        38,
                        16,
                        24,
                        53,
                        27,
                        29,
                        20,
                        52
                    ]
                },
                {
                    "path": "browse/1",
                    "categories": [
                        34,
                        36,
                        113,
                        114
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}category[]={{.}}&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "imdb": "{{ if .Query.IMDBID }}1{{ else }}{{ end }}",
                "s_alapjan": "{{ .Config.sort }}",
                "s_sorrend": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.torrent_row, div.torrent_details",
                "after": 1
            },
            "fields": {
                "category": {
                    "selector": "div.box_category > img",
                    "attribute": "onclick",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "category\\((\\d+),\\d+\\);"
                        }
                    ]
                },
                "title": {
                    "selector": "a.box_name_a > span"
                },
                "details": {
                    "selector": "a.box_name_a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "div.box_download > a",
                    "attribute": "href"
                },
                "seeders": {
                    "selector": "div.box_seeders"
                },
                "leechers": {
                    "selector": "div.box_leechers"
                },
                "grabs": {
                    "selector": "div.box_completed"
                },
                "files": {
                    "selector": "div.box_files"
                },
                "date": {
                    "selector": "div.box_uploaded",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "div.box_size"
                },
                "poster": {
                    "selector": "a.cover_a",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src='(.*?)'"
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "description_text": {
                    "selector": "div.torrent_row_magyarcim",
                    "remove": "span.torrent_row_new"
                },
                "description": {
                    "case": {
                        "img[src=\"/pic/browse/yes.png\"]": "Verified: {{ .Result.description_text}}",
                        "*": "Unverified: {{ .Result.description_text}}"
                    }
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "digitalcore-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "digitalcore-api",
        "replaces": [
            "digitalcore"
        ],
        "name": "DigitalCore (API)",
        "description": "DigitalCore (DC) is a Private Torrent Tracker for 0DAY / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://digitalcore.club/",
            "https://prxy.digitalcore.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2,
                    "cat": "Movies/SD",
                    "desc": "Movies/SD"
                },
                {
                    "id": 1,
                    "cat": "Movies/DVD",
                    "desc": "Movies/DVDR"
                },
                {
                    "id": 5,
                    "cat": "Movies/HD",
                    "desc": "Movies/720p"
                },
                {
                    "id": 6,
                    "cat": "Movies/HD",
                    "desc": "Movies/1080p"
                },
                {
                    "id": 4,
                    "cat": "Movies/UHD",
                    "desc": "Movies/2160p"
                },
                {
                    "id": 3,
                    "cat": "Movies/BluRay",
                    "desc": "Movies/BluRay"
                },
                {
                    "id": 38,
                    "cat": "Movies/UHD",
                    "desc": "Movies/Bluray/UHD"
                },
                {
                    "id": 7,
                    "cat": "Movies/HD",
                    "desc": "Movies/PACKS"
                },
                {
                    "id": 10,
                    "cat": "TV/SD",
                    "desc": "Tv/SD"
                },
                {
                    "id": 11,
                    "cat": "TV/SD",
                    "desc": "Tv/DVDR"
                },
                {
                    "id": 8,
                    "cat": "TV/HD",
                    "desc": "Tv/720p"
                },
                {
                    "id": 9,
                    "cat": "TV/HD",
                    "desc": "Tv/1080p"
                },
                {
                    "id": 13,
                    "cat": "TV/UHD",
                    "desc": "Tv/2160p"
                },
                {
                    "id": 14,
                    "cat": "TV/HD",
                    "desc": "Tv/BluRay"
                },
                {
                    "id": 12,
                    "cat": "TV/HD",
                    "desc": "Tv/PACKS"
                },
                {
                    "id": 15,
                    "cat": "TV/Sport",
                    "desc": "Tv/SPORTS"
                },
                {
                    "id": 17,
                    "cat": "Other",
                    "desc": "Unknown"
                },
                {
                    "id": 18,
                    "cat": "PC/0day",
                    "desc": "Apps/0DAY"
                },
                {
                    "id": 20,
                    "cat": "PC/ISO",
                    "desc": "Apps/PC"
                },
                {
                    "id": 21,
                    "cat": "PC/Mac",
                    "desc": "Apps/Mac"
                },
                {
                    "id": 33,
                    "cat": "PC",
                    "desc": "Apps/Tutorials"
                },
                {
                    "id": 22,
                    "cat": "Audio/MP3",
                    "desc": "Music/MP3"
                },
                {
                    "id": 23,
                    "cat": "Audio/Lossless",
                    "desc": "Music/FLAC"
                },
                {
                    "id": 24,
                    "cat": "Audio/Video",
                    "desc": "Music/MTV"
                },
                {
                    "id": 29,
                    "cat": "Audio",
                    "desc": "Music/PACKS"
                },
                {
                    "id": 39,
                    "cat": "Audio/Video",
                    "desc": "Music/DVD"
                },
                {
                    "id": 40,
                    "cat": "Audio/Video",
                    "desc": "Music/Bluray"
                },
                {
                    "id": 25,
                    "cat": "PC/Games",
                    "desc": "Games/PC"
                },
                {
                    "id": 27,
                    "cat": "PC/Mac",
                    "desc": "Games/Mac"
                },
                {
                    "id": 26,
                    "cat": "Console",
                    "desc": "Games/Consoles"
                },
                {
                    "id": 43,
                    "cat": "Console",
                    "desc": "Games/ROMS"
                },
                {
                    "id": 42,
                    "cat": "XXX/Other",
                    "desc": "Games/XXX"
                },
                {
                    "id": 44,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobooks"
                },
                {
                    "id": 28,
                    "cat": "Books/EBook",
                    "desc": "Ebooks"
                },
                {
                    "id": 30,
                    "cat": "XXX/SD",
                    "desc": "XXX/SD"
                },
                {
                    "id": 31,
                    "cat": "XXX",
                    "desc": "XXX/HD"
                },
                {
                    "id": 32,
                    "cat": "XXX/UHD",
                    "desc": "XXX/4K"
                },
                {
                    "id": 35,
                    "cat": "XXX/SD",
                    "desc": "XXX/Movies/SD"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "XXX/Movies/HD"
                },
                {
                    "id": 37,
                    "cat": "XXX/UHD",
                    "desc": "XXX/Movies/4K"
                },
                {
                    "id": 34,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX/Imagesets"
                },
                {
                    "id": 41,
                    "cat": "XXX",
                    "desc": "XXX/PACKS"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Generate a new API Key by accessing your <a href=\"https://digitalcore.club/\" target=\"_blank\">DigitalCore</a> account <i>Settings</i> page and clicking on the <b>Security</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "p2p_releases_only",
                "type": "checkbox",
                "label": "Search P2P releases only",
                "default": false
            },
            {
                "name": "unrar_releases_only",
                "type": "checkbox",
                "label": "Search UNRAR releases only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "d",
                "options": {
                    "d": "created",
                    "up": "seeders",
                    "s": "size",
                    "0": "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": "If your account is inactive (you do not sign in) for more than 90 days, your account is disabled. Park your account if you are going away for long periods."
            }
        ],
        "login": {
            "method": "get",
            "path": "/api/v1/torrents"
        },
        "search": {
            "paths": [
                {
                    "path": "api/v1/torrents",
                    "response": {
                        "type": "json",
                        "noResultsMessage": ""
                    }
                }
            ],
            "headers": {
                "X-API-KEY": [
                    "{{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}categories[]={{.}}&{{end}}",
                "dead": true,
                "extendedDead": true,
                "extendedSearch": false,
                "freeleech": "{{ if .Config.freeleech }}true{{ else }}false{{ end }}",
                "index": 0,
                "limit": 100,
                "order": "{{ .Config.type }}",
                "p2p": "{{ if .Config.p2p_releases_only }}true{{ else }}{{ end }}",
                "page": "search",
                "searchText": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }} {{ else }}{{ end }}{{ .Keywords }}",
                "section": "all",
                "sort": "{{ .Config.sort }}",
                "stereoscopic": false,
                "unrar": "{{ if .Config.unrar_releases_only }}true{{ else }}{{ end }}",
                "watchview": false
            },
            "rows": {
                "selector": "$",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "category"
                },
                "title": {
                    "selector": "name"
                },
                "_id": {
                    "selector": "id"
                },
                "details": {
                    "text": "/torrent/{{ .Result._id }}/"
                },
                "download": {
                    "text": "/api/v1/torrents/download/{{ .Result._id }}"
                },
                "imdbid": {
                    "selector": "imdbid2"
                },
                "imdbid_full": {
                    "optional": true,
                    "selector": "imdbid2"
                },
                "poster_normal": {
                    "optional": true,
                    "selector": "firstpic"
                },
                "poster_imdb": {
                    "optional": true,
                    "text": "{{ if .Result.imdbid }}/img/imdb/{{ .Result.imdbid_full }}.jpg{{ else }}{{ end }}"
                },
                "poster": {
                    "text": "{{ if .Result.poster_imdb }}{{ .Result.poster_imdb }}{{ else }}{{ .Result.poster_normal }}{{ end }}"
                },
                "date": {
                    "selector": "added",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "files": {
                    "selector": "numfiles"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "downloadvolumefactor": {
                    "selector": "frileech",
                    "case": [
                        1,
                        0
                    ]
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 432000
                },
                "title_desc": {
                    "optional": true,
                    "selector": "title"
                },
                "year": {
                    "optional": true,
                    "selector": "year"
                },
                "genre": {
                    "selector": "genres"
                },
                "_tagline_desc": {
                    "optional": true,
                    "selector": "tagline"
                },
                "_cast_desc": {
                    "optional": true,
                    "selector": "cast"
                },
                "_rating_desc": {
                    "optional": true,
                    "selector": "rating",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^0$",
                                ""
                            ]
                        }
                    ]
                },
                "_section_desc": {
                    "optional": true,
                    "selector": "section"
                },
                "_predate_desc": {
                    "selector": "preDate",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "0000-00-00 00:00:00",
                                ""
                            ]
                        }
                    ]
                },
                "_p2ptag": {
                    "selector": "p2p",
                    "case": [
                        "",
                        "P2P"
                    ]
                },
                "_unrartag": {
                    "selector": "unrar",
                    "case": [
                        "",
                        "UNRAR"
                    ],
                    "optional": true
                },
                "_packtag": {
                    "selector": "pack",
                    "case": [
                        "",
                        "Pack"
                    ]
                },
                "_reqidtag": {
                    "selector": "reqid",
                    "case": {
                        "0": "",
                        "*": "Request"
                    }
                },
                "_tag_desc": {
                    "optional": true,
                    "text": "{{ if .Result._p2ptag }}{{ .Result._p2ptag }}, {{ else }}{{ end }}{{ if .Result._unrartag }}{{ .Result._unrartag }}, {{ else }}{{ end }}{{ if .Result._packtag }}{{ .Result._packtag }}, {{ else }}{{ end }}{{ if .Result._reqidtag }}{{ .Result._reqidtag }}{{ else }}{{ end }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(.+?), $"
                        }
                    ]
                },
                "description": {
                    "text": "{{ if .Result.title_desc }}Title: {{ .Result.title_desc }}</br>{{ else }}{{ end }}{{ if .Result.year }}Year: {{ .Result.year }}</br>{{ else }}{{ end }}{{ if .Result.genre }}Genres: {{ .Result.genre }}</br>{{ else }}{{ end }}{{ if .Result._tagline_desc }}Tagline: {{ .Result._tagline_desc }}</br>{{ else }}{{ end }}{{ if .Result._cast_desc }}Cast: {{ .Result._cast_desc }}</br>{{ else }}{{ end }}{{ if .Result._rating_desc }}Rating: {{ .Result._rating_desc }}</br>{{ else }}{{ end }}{{ if .Result._tag_desc }}Tags: {{ .Result._tag_desc }}</br>{{ else }}{{ end }}{{ if .Result._predate_desc }}PRE: {{ .Result._predate_desc }}</br>{{ else }}{{ end }}{{ if .Result._section_desc }}Section: {{ .Result._section_desc }}{{ else }}{{ end }}"
                }
            }
        }
    },
    "dimeadozen": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "dimeadozen",
        "name": "DimeADozen",
        "description": "DimeADozen (EzTorrent) is a Private Torrent Tracker for BOOTLEG MUSIC",
        "language": "en-GB",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "http://www.dimeadozen.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 51,
                    "cat": "Audio",
                    "desc": "Acoustic"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "Alternate"
                },
                {
                    "id": 47,
                    "cat": "Audio",
                    "desc": "Alternate Country"
                },
                {
                    "id": 7,
                    "cat": "Audio",
                    "desc": "Americana"
                },
                {
                    "id": 45,
                    "cat": "Audio",
                    "desc": "Avantgarde"
                },
                {
                    "id": 23,
                    "cat": "Audio",
                    "desc": "Bluegrass"
                },
                {
                    "id": 10,
                    "cat": "Audio",
                    "desc": "Blues"
                },
                {
                    "id": 17,
                    "cat": "Audio",
                    "desc": "Brit Pop"
                },
                {
                    "id": 42,
                    "cat": "Audio",
                    "desc": "Celtic Soul"
                },
                {
                    "id": 24,
                    "cat": "Audio",
                    "desc": "Chanson"
                },
                {
                    "id": 25,
                    "cat": "Audio",
                    "desc": "Classic"
                },
                {
                    "id": 55,
                    "cat": "Audio",
                    "desc": "Classical"
                },
                {
                    "id": 44,
                    "cat": "Audio",
                    "desc": "Club Rock"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Country"
                },
                {
                    "id": 41,
                    "cat": "Audio",
                    "desc": "Dancefloor"
                },
                {
                    "id": 49,
                    "cat": "Audio",
                    "desc": "Desert Surf"
                },
                {
                    "id": 48,
                    "cat": "Audio",
                    "desc": "Drum'n'Bass"
                },
                {
                    "id": 53,
                    "cat": "Audio",
                    "desc": "Electronica"
                },
                {
                    "id": 26,
                    "cat": "Audio",
                    "desc": "Ethno"
                },
                {
                    "id": 9,
                    "cat": "Audio",
                    "desc": "Folk"
                },
                {
                    "id": 12,
                    "cat": "Audio",
                    "desc": "Funk"
                },
                {
                    "id": 19,
                    "cat": "Audio",
                    "desc": "Garage Rock"
                },
                {
                    "id": 27,
                    "cat": "Audio",
                    "desc": "Gospel"
                },
                {
                    "id": 28,
                    "cat": "Audio",
                    "desc": "Gothic Rock"
                },
                {
                    "id": 40,
                    "cat": "Audio",
                    "desc": "Grunge"
                },
                {
                    "id": 61,
                    "cat": "Audio",
                    "desc": "Hard Rock"
                },
                {
                    "id": 59,
                    "cat": "Audio",
                    "desc": "Hardcore"
                },
                {
                    "id": 34,
                    "cat": "Audio",
                    "desc": "Heavy Metal"
                },
                {
                    "id": 29,
                    "cat": "Audio",
                    "desc": "HipHop"
                },
                {
                    "id": 30,
                    "cat": "Audio",
                    "desc": "House"
                },
                {
                    "id": 31,
                    "cat": "Audio",
                    "desc": "Industrial"
                },
                {
                    "id": 57,
                    "cat": "Audio",
                    "desc": "Irish Folk"
                },
                {
                    "id": 50,
                    "cat": "Audio",
                    "desc": "Jam Bands"
                },
                {
                    "id": 2,
                    "cat": "Audio",
                    "desc": "Jazz"
                },
                {
                    "id": 60,
                    "cat": "Audio",
                    "desc": "Jazz Fusion"
                },
                {
                    "id": 18,
                    "cat": "Audio",
                    "desc": "Kraut Rock"
                },
                {
                    "id": 32,
                    "cat": "Audio",
                    "desc": "Latin Music"
                },
                {
                    "id": 33,
                    "cat": "Audio",
                    "desc": "Mainstream"
                },
                {
                    "id": 46,
                    "cat": "Audio",
                    "desc": "New German Wave"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "New Wave"
                },
                {
                    "id": 14,
                    "cat": "Audio",
                    "desc": "Pop"
                },
                {
                    "id": 13,
                    "cat": "Audio",
                    "desc": "Progressive Rock"
                },
                {
                    "id": 58,
                    "cat": "Audio",
                    "desc": "Psychedelic"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "Punk"
                },
                {
                    "id": 35,
                    "cat": "Audio",
                    "desc": "Rap"
                },
                {
                    "id": 36,
                    "cat": "Audio",
                    "desc": "Rave"
                },
                {
                    "id": 21,
                    "cat": "Audio",
                    "desc": "Reggae"
                },
                {
                    "id": 1,
                    "cat": "Audio",
                    "desc": "Rock"
                },
                {
                    "id": 20,
                    "cat": "Audio",
                    "desc": "Rock'n'Roll"
                },
                {
                    "id": 8,
                    "cat": "Audio",
                    "desc": "Singer/Songwriter"
                },
                {
                    "id": 22,
                    "cat": "Audio",
                    "desc": "Ska"
                },
                {
                    "id": 37,
                    "cat": "Audio",
                    "desc": "Skiffle"
                },
                {
                    "id": 11,
                    "cat": "Audio",
                    "desc": "Soul"
                },
                {
                    "id": 54,
                    "cat": "Audio",
                    "desc": "Southern Rock"
                },
                {
                    "id": 38,
                    "cat": "Audio",
                    "desc": "Swing"
                },
                {
                    "id": 39,
                    "cat": "Audio",
                    "desc": "Techno"
                },
                {
                    "id": 43,
                    "cat": "Audio",
                    "desc": "Tin Pan Alley"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "Unplugged"
                },
                {
                    "id": 15,
                    "cat": "Audio",
                    "desc": "West Coast"
                },
                {
                    "id": 16,
                    "cat": "Audio",
                    "desc": "World Music"
                },
                {
                    "id": 56,
                    "cat": "Audio",
                    "desc": "Zydeco"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            }
        ],
        "login": {
            "path": "take-login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "returnto": "index.php",
                "logout": ""
            },
            "error": [
                {
                    "selector": "table.message:contains(\"Error\")"
                },
                {
                    "selector": "body:contains(\"Error 403\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"account-logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "torrents-browse.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "searchscope": 1
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(\\w+)",
                        "+$1"
                    ]
                }
            ],
            "rows": {
                "selector": "table.torrent > tbody > tr:has(a[href^=\"torrents-details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrents-browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.25
                }
            }
        }
    },
    "discfan": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "discfan",
        "name": "DiscFan",
        "description": "DiscFan is a CHINESE Private Torrent Tracker for MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://discfan.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "中国大陆(CHN)"
                },
                {
                    "id": 404,
                    "cat": "Movies",
                    "desc": "中国香港特别行政区(HKG)"
                },
                {
                    "id": 405,
                    "cat": "Movies",
                    "desc": "中国台湾省(TWN)"
                },
                {
                    "id": 402,
                    "cat": "Movies",
                    "desc": "泰国(THA)"
                },
                {
                    "id": 403,
                    "cat": "Movies",
                    "desc": "日本(JPN)"
                },
                {
                    "id": 406,
                    "cat": "Movies",
                    "desc": "韩国(KOR)"
                },
                {
                    "id": 410,
                    "cat": "Movies",
                    "desc": "世界(World)"
                },
                {
                    "id": 411,
                    "cat": "TV",
                    "desc": "剧集(Series)"
                },
                {
                    "id": 414,
                    "cat": "Audio",
                    "desc": "音乐(Music)"
                },
                {
                    "id": 413,
                    "cat": "TV/Documentary",
                    "desc": "记录(Documentary)"
                },
                {
                    "id": 416,
                    "cat": "TV",
                    "desc": "综艺(Variety Show)"
                },
                {
                    "id": 417,
                    "cat": "TV/Sport",
                    "desc": "体育(Sports)"
                },
                {
                    "id": 419,
                    "cat": "TV/Anime",
                    "desc": "动漫(Animation)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失敗\"))",
                    "message": {
                        "selector": "td.text"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"userdetails.php?id=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "category_title": {
                    "selector": "a[href^=\"?cat=\"] > img",
                    "attribute": "title"
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, img",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "cat={{ .Result.category_title }} - "
                        }
                    ]
                },
                "minimumratio": {
                    "text": 0.9
                }
            }
        }
    },
    "dmhy": {
        "id": "dmhy",
        "name": "dmhy",
        "description": "dmhy is a TAIWANESE Public magnet tracker for ANIME",
        "language": "zh-TW",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://share.dmhy.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2,
                    "cat": "TV/Anime",
                    "desc": "動畫 (Anime)"
                },
                {
                    "id": 31,
                    "cat": "TV/Anime",
                    "desc": "季度全集 (Quarterly Complete)"
                },
                {
                    "id": 3,
                    "cat": "Books/Comics",
                    "desc": "漫畫 (Manga)"
                },
                {
                    "id": 41,
                    "cat": "TV",
                    "desc": "港台原版 (Hong Kong and Taiwan original)"
                },
                {
                    "id": 42,
                    "cat": "TV",
                    "desc": "日文原版 (Japanese original)"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "音樂 (Music)"
                },
                {
                    "id": 43,
                    "cat": "Audio",
                    "desc": "動漫音樂 (Anime Music)"
                },
                {
                    "id": 44,
                    "cat": "Audio",
                    "desc": "同人音樂 (Fan Music)"
                },
                {
                    "id": 15,
                    "cat": "Audio",
                    "desc": "流行音樂 (Pop Music)"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "日劇 (Japanese TV drama)"
                },
                {
                    "id": 7,
                    "cat": "TV/Anime",
                    "desc": "RAW"
                },
                {
                    "id": 9,
                    "cat": "PC/Games",
                    "desc": "遊戲 (games)"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "電腦遊戲 (computer games)"
                },
                {
                    "id": 18,
                    "cat": "Console",
                    "desc": "電視遊戲 (video games)"
                },
                {
                    "id": 19,
                    "cat": "Console",
                    "desc": "掌機遊戲 (console games)"
                },
                {
                    "id": 20,
                    "cat": "Console",
                    "desc": "網絡遊戲 (online games)"
                },
                {
                    "id": 21,
                    "cat": "Console",
                    "desc": "遊戲周邊 (game periphery)"
                },
                {
                    "id": 12,
                    "cat": "Other/Misc",
                    "desc": "特攝 (special photo)"
                },
                {
                    "id": 1,
                    "cat": "Other",
                    "desc": "其他 (other)"
                },
                {
                    "id": 2,
                    "cat": "Movies/Other",
                    "desc": "動畫 (Anime)"
                },
                {
                    "id": 31,
                    "cat": "Movies/Other",
                    "desc": "季度全集 (Quarterly Complete)"
                },
                {
                    "id": 7,
                    "cat": "Movies/Other",
                    "desc": "RAW"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "topics/list"
                }
            ],
            "inputs": {
                "keyword": "{{ .Keywords }}",
                "sort_id": 0,
                "order": "date-desc",
                "team_id": 0
            },
            "rows": {
                "selector": "table tbody tr:has(a[href^=\"magnet:?\"])"
            },
            "fields": {
                "category": {
                    "selector": "td:nth-child(2) a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\/(\\d+)$"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/topics/view/\"]"
                },
                "details": {
                    "selector": "a[href^=\"/topics/view/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"magnet:?\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(1) span",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy/MM/dd HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "docspedia": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "docspedia",
        "name": "DocsPedia",
        "description": "DocsPedia is a Private Torrent Tracker for E-LEARNING",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.docspedia.world/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 77,
                    "cat": "PC",
                    "desc": "3D Models"
                },
                {
                    "id": 83,
                    "cat": "Books/EBook",
                    "desc": "Action/Adventure"
                },
                {
                    "id": 84,
                    "cat": "Books/EBook",
                    "desc": "Art"
                },
                {
                    "id": 65,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 85,
                    "cat": "Books/EBook",
                    "desc": "Biographical"
                },
                {
                    "id": 64,
                    "cat": "Books/EBook",
                    "desc": "Books"
                },
                {
                    "id": 66,
                    "cat": "Books",
                    "desc": "Business"
                },
                {
                    "id": 68,
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": 80,
                    "cat": "Books",
                    "desc": "Coooking"
                },
                {
                    "id": 86,
                    "cat": "Books/EBook",
                    "desc": "Crafts"
                },
                {
                    "id": 92,
                    "cat": "Books/EBook",
                    "desc": "Crime/Thriller"
                },
                {
                    "id": 59,
                    "cat": "TV/Documentary",
                    "desc": "Docs/Movies"
                },
                {
                    "id": 60,
                    "cat": "TV/Documentary",
                    "desc": "Docs/TV"
                },
                {
                    "id": 79,
                    "cat": "TV",
                    "desc": "Educational"
                },
                {
                    "id": 93,
                    "cat": "Books/EBook",
                    "desc": "Fantasy"
                },
                {
                    "id": 71,
                    "cat": "Other",
                    "desc": "Fonts"
                },
                {
                    "id": 94,
                    "cat": "Books/EBook",
                    "desc": "Gaming"
                },
                {
                    "id": 82,
                    "cat": "Books/EBook",
                    "desc": "History"
                },
                {
                    "id": 87,
                    "cat": "Books/EBook",
                    "desc": "Horror"
                },
                {
                    "id": 72,
                    "cat": "Books",
                    "desc": "IT Books"
                },
                {
                    "id": 57,
                    "cat": "Books/Mags",
                    "desc": "Magazine"
                },
                {
                    "id": 88,
                    "cat": "Books/EBook",
                    "desc": "Math/Science/Tech"
                },
                {
                    "id": 58,
                    "cat": "Books",
                    "desc": "Medicine"
                },
                {
                    "id": 95,
                    "cat": "Books/EBook",
                    "desc": "Non-Fiction"
                },
                {
                    "id": 70,
                    "cat": "Books/EBook",
                    "desc": "Occult"
                },
                {
                    "id": 81,
                    "cat": "Books/EBook",
                    "desc": "Photography"
                },
                {
                    "id": 74,
                    "cat": "Audio/Other",
                    "desc": "Podcasts"
                },
                {
                    "id": 69,
                    "cat": "Other",
                    "desc": "PS Resources"
                },
                {
                    "id": 91,
                    "cat": "Books/EBook",
                    "desc": "Romance"
                },
                {
                    "id": 89,
                    "cat": "Books/EBook",
                    "desc": "Scinece Fiction"
                },
                {
                    "id": 76,
                    "cat": "Books",
                    "desc": "Self-Help"
                },
                {
                    "id": 56,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 90,
                    "cat": "Books/EBook",
                    "desc": "Travel"
                },
                {
                    "id": 61,
                    "cat": "Other",
                    "desc": "Tutorials"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "book-search": [
                    "q"
                ],
                "music-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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Accounts without activity in the first 28 days will be deleted automatically by the system."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img.cimage",
                "input": "captcha"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.subheader:contains(\"failed\")"
                }
            ],
            "test": {
                "path": "my.php",
                "selector": "a[href$=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.torrentrow:has(a[href^=\"download.php?torrent=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=([^\\s]+)"
                        }
                    ]
                },
                "files": {
                    "selector": "div.torrenttable:nth-last-child(6)"
                },
                "size": {
                    "selector": "div.torrenttable:nth-last-child(4)"
                },
                "grabs": {
                    "selector": "div.torrenttable:nth-last-child(3)"
                },
                "seeders": {
                    "selector": "div.torrenttable:nth-last-child(2)"
                },
                "leechers": {
                    "selector": "div.torrenttable:nth-last-child(1)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"images/free.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "date_day": {
                    "remove": "a",
                    "selector": "div.torrenttable:nth-child(2):contains(\"day\")",
                    "optional": true
                },
                "date_year": {
                    "remove": "a",
                    "selector": "div.torrenttable:nth-child(2):not(:contains(\"day\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM d yyyy hh:mm tt"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "dreamingtree": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "dreamingtree",
        "name": "DreamingTree",
        "description": "DreamingTree is a Semi-Private Torrent Tracker for DAVE MATHEWS MUSIC / BOOTLEGS",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://dreamingtree.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Audio",
                    "desc": "Music"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "year",
                    "genre"
                ]
            }
        },
        "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": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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>Covers per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"login.php\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "keeplogged": 1,
                "login": "Log in"
            },
            "error": [
                {
                    "selector": "span.warning",
                    "message": {
                        "selector": "span[class=\"warning\"]:not(:contains(\"JavaScript\"))"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchstr": "{{ .Keywords }}",
                "freetorrent": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "group_results": 0,
                "action": "advanced",
                "year": "{{ .Query.Year }}",
                "taglist": "{{ .Query.Genre }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "searchsubmit": 1
            },
            "rows": {
                "selector": "tr.torrent"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title_artist": {
                    "selector": "a[href^=\"artist.php?id=\"]",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " - "
                        }
                    ]
                },
                "title_name": {
                    "selector": "a[href^=\"torrents.php?id=\"]"
                },
                "year": {
                    "selector": "div.group_info.clear",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[(\\d{4})\\]"
                        }
                    ]
                },
                "title": {
                    "text": "{{ .Result.title_artist }}{{ .Result.title_name }} [{{ .Result.year }}]"
                },
                "details": {
                    "selector": "a[href^=\"torrents.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "static/common/noartwork/music.png",
                                ""
                            ]
                        }
                    ]
                },
                "genre": {
                    "selector": "div.tags"
                },
                "description_info": {
                    "selector": "div.torrent_info"
                },
                "description": {
                    "text": "{{ .Result.description_info }}</br>{{ .Result.genre }}"
                },
                "download": {
                    "selector": "span > a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "span.time.tooltip",
                    "filters": [
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "size": {
                    "selector": "td.number_column.nobr"
                },
                "files": {
                    "selector": "td:nth-last-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(2)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(1)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(3)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "div.torrent_info:contains(\"Freeleech\")": 0,
                        "div.torrent_info:contains(\"Neutral Leech\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "div.torrent_info:contains(\"Neutral Leech\")": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.6
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "drugari": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "drugari",
        "name": "Drugari",
        "description": "Drugari is a CROATIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "hr-HR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "http://drugari.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 3,
                    "cat": "TV/Anime",
                    "desc": "ANIMIRANI"
                },
                {
                    "id": 4,
                    "cat": "PC",
                    "desc": "Appz"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "BEZ PRAVILA"
                },
                {
                    "id": 39,
                    "cat": "Movies",
                    "desc": "BEZ PREVODA"
                },
                {
                    "id": 41,
                    "cat": "Movies",
                    "desc": "BEZ PREVODA Filmovi"
                },
                {
                    "id": 40,
                    "cat": "TV",
                    "desc": "BEZ PREVODA Serije"
                },
                {
                    "id": 7,
                    "cat": "TV/Documentary",
                    "desc": "DOKUMENTARNI"
                },
                {
                    "id": 18,
                    "cat": "Movies",
                    "desc": "DOMACI FILMOVI"
                },
                {
                    "id": 49,
                    "cat": "Movies",
                    "desc": "DOMACI FILMOVI Predstava"
                },
                {
                    "id": 10,
                    "cat": "Movies/DVD",
                    "desc": "DVD FILMOVI"
                },
                {
                    "id": 37,
                    "cat": "TV",
                    "desc": "Emisije"
                },
                {
                    "id": 8,
                    "cat": "Movies",
                    "desc": "FILM"
                },
                {
                    "id": 34,
                    "cat": "Movies",
                    "desc": "FILM Kolekcije"
                },
                {
                    "id": 56,
                    "cat": "Movies",
                    "desc": "FILM Kratki"
                },
                {
                    "id": 48,
                    "cat": "Movies",
                    "desc": "FILM Ruski Film"
                },
                {
                    "id": 23,
                    "cat": "Movies/SD",
                    "desc": "FILM TS"
                },
                {
                    "id": 24,
                    "cat": "Movies",
                    "desc": "FILM TV RIP"
                },
                {
                    "id": 38,
                    "cat": "Movies",
                    "desc": "FILM- Western"
                },
                {
                    "id": 22,
                    "cat": "Movies/HD",
                    "desc": "FILM x264/x265-Filmovi"
                },
                {
                    "id": 21,
                    "cat": "Movies/SD",
                    "desc": "FILM XviD/Strani Filmovi"
                },
                {
                    "id": 15,
                    "cat": "Console",
                    "desc": "IGRE"
                },
                {
                    "id": 19,
                    "cat": "Books",
                    "desc": "KNJIGE"
                },
                {
                    "id": 53,
                    "cat": "Audio/Audiobook",
                    "desc": "KNJIGE Audio"
                },
                {
                    "id": 52,
                    "cat": "Books/Mags",
                    "desc": "KNJIGE Casopisi"
                },
                {
                    "id": 55,
                    "cat": "Books/EBook",
                    "desc": "KNJIGE pdf"
                },
                {
                    "id": 14,
                    "cat": "Audio",
                    "desc": "MUZIKA"
                },
                {
                    "id": 50,
                    "cat": "Audio",
                    "desc": "MUZIKA Domaca Diskografija"
                },
                {
                    "id": 29,
                    "cat": "Audio",
                    "desc": "MUZIKA DVD Muzika"
                },
                {
                    "id": 33,
                    "cat": "Audio/Lossless",
                    "desc": "MUZIKA FLAC"
                },
                {
                    "id": 35,
                    "cat": "Audio",
                    "desc": "MUZIKA Karaoke"
                },
                {
                    "id": 32,
                    "cat": "Audio/MP3",
                    "desc": "MUZIKA MP3"
                },
                {
                    "id": 31,
                    "cat": "Audio/Other",
                    "desc": "MUZIKA Muzika Ostalo"
                },
                {
                    "id": 51,
                    "cat": "Audio",
                    "desc": "MUZIKA Strana Diskografija"
                },
                {
                    "id": 30,
                    "cat": "Audio/Video",
                    "desc": "MUZIKA Video Muzika"
                },
                {
                    "id": 11,
                    "cat": "Other",
                    "desc": "RAZNO"
                },
                {
                    "id": 20,
                    "cat": "TV",
                    "desc": "SERIJE"
                },
                {
                    "id": 27,
                    "cat": "TV",
                    "desc": "SERIJE Domace Serije"
                },
                {
                    "id": 54,
                    "cat": "TV",
                    "desc": "SERIJE Ruske Serije"
                },
                {
                    "id": 28,
                    "cat": "TV",
                    "desc": "SERIJE Strane Serije"
                },
                {
                    "id": 16,
                    "cat": "Other",
                    "desc": "SLIKE"
                },
                {
                    "id": 12,
                    "cat": "TV/Sport",
                    "desc": "SPORT"
                },
                {
                    "id": 6,
                    "cat": "Other",
                    "desc": "STRANI TORENTI"
                },
                {
                    "id": 5,
                    "cat": "Other",
                    "desc": "STRIP"
                },
                {
                    "id": 13,
                    "cat": "Other",
                    "desc": "UPUTSTVA"
                },
                {
                    "id": 25,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "XXX XXX-Strip"
                },
                {
                    "id": 42,
                    "cat": "TV",
                    "desc": "Za Decu"
                },
                {
                    "id": 43,
                    "cat": "TV",
                    "desc": "Za Decu Edukativni Programi"
                },
                {
                    "id": 44,
                    "cat": "Console",
                    "desc": "Za Decu Igrice"
                },
                {
                    "id": 45,
                    "cat": "Books",
                    "desc": "Za Decu Knjige"
                },
                {
                    "id": 46,
                    "cat": "Audio",
                    "desc": "Za Decu Muzika"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-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": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>40</b> on your account profile. The Default is <i>30</i>."
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting the error <b>Found no results while trying to browse this tracker</b> then first access the site with your browser and read any new mail you may have received. You cannot browse torrents with unread mail outstanding."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "You must log in to the Drugari web site with your browser once every 60 days to prevent your account from getting disabled."
            }
        ],
        "login": {
            "path": "login.php?",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img#regimage",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": ""
            },
            "error": [
                {
                    "selector": "table:contains(\"Greska\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"/logout.php?logouthash=\"]"
            }
        },
        "download": {
            "before": {
                "path": "takethanks.php",
                "method": "post",
                "inputs": {
                    "torrentid": "{{ .DownloadUri.Query.id }}"
                }
            },
            "selectors": [
                {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[\\s]+",
                        "%"
                    ]
                }
            ],
            "inputs": {
                "do": "search",
                "keywords": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "search_type": "{{ if .Query.IMDBID }}t_genre{{ else }}t_name{{ end }}",
                "category": 0,
                "include_dead_torrents": true,
                "sort": "{{ if .Config.freeleech }}free{{ else }}{{ .Config.sort }}{{ end }}",
                "order": "{{ if .Config.freeleech }}asc{{ else }}{{ .Config.type }}{{ end }}"
            },
            "rows": {
                "selector": "table.sortable tr:has(a[href*=\"/download.php?id=\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"/browse.php?category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"/details.php?id=\"]"
                },
                "title": {
                    "selector": "div.tooltip-content div",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[src*=\"/torrents/images/\"]",
                    "attribute": "src"
                },
                "date": {
                    "selector": "td:nth-child(2)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{2}-\\d{2}-\\d{4} \\d{2}:\\d{2})"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "description": {
                    "selector": "div.tooltip-content > div:last-child"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/freedownload.gif\"]": 0,
                        "img[src$=\"/silverdownload.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"/x2.gif\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1.1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "ds-reloaded": {
        "credentials": {
            "cookie": ""
        },
        "id": "ds-reloaded",
        "name": "DS-Reloaded",
        "description": "DS-Reloaded (DS.R) is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://ds-reloaded.com/"
        ],
        "legacylinks": [
            "https://dark-shadow.ml/",
            "https://projekt.dark-shadow.me/",
            "https://dark-shadow.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 32,
                    "cat": "Movies/HD",
                    "desc": "Filme > HD"
                },
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Filme > SD"
                },
                {
                    "id": 114,
                    "cat": "Movies/UHD",
                    "desc": "Filme > UHD"
                },
                {
                    "id": 140,
                    "cat": "Movies/BluRay",
                    "desc": "Filme > BluRay"
                },
                {
                    "id": 138,
                    "cat": "Movies",
                    "desc": "Filme > Pack's"
                },
                {
                    "id": 147,
                    "cat": "Movies/HD",
                    "desc": "Filme > h266/x266"
                },
                {
                    "id": 150,
                    "cat": "Movies/Foreign",
                    "desc": "Filme >  International"
                },
                {
                    "id": 57,
                    "cat": "TV/HD",
                    "desc": "Serien > HD"
                },
                {
                    "id": 60,
                    "cat": "TV/SD",
                    "desc": "Serien > SD"
                },
                {
                    "id": 139,
                    "cat": "TV/UHD",
                    "desc": "Serien > UHD"
                },
                {
                    "id": 59,
                    "cat": "TV",
                    "desc": "Serien > Pack's"
                },
                {
                    "id": 110,
                    "cat": "Audio/MP3",
                    "desc": "Audio > MP3"
                },
                {
                    "id": 48,
                    "cat": "Audio/Lossless",
                    "desc": "Audio > Flac"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "Audio > Pack"
                },
                {
                    "id": 63,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio > Hörbuch"
                },
                {
                    "id": 120,
                    "cat": "Audio/Video",
                    "desc": "Audio > Videos"
                },
                {
                    "id": 12,
                    "cat": "PC/0day",
                    "desc": "Apps > Windows"
                },
                {
                    "id": 125,
                    "cat": "PC/Mac",
                    "desc": "Apps > Mac-OSX"
                },
                {
                    "id": 11,
                    "cat": "PC/Mobile-Other",
                    "desc": "Apps > Mobil"
                },
                {
                    "id": 141,
                    "cat": "PC/ISO",
                    "desc": "Apps > Other"
                },
                {
                    "id": 15,
                    "cat": "TV/Documentary",
                    "desc": "Doku > SD"
                },
                {
                    "id": 14,
                    "cat": "TV/Documentary",
                    "desc": "Doku > HD"
                },
                {
                    "id": 148,
                    "cat": "TV/Documentary",
                    "desc": "Doku > UHD"
                },
                {
                    "id": 123,
                    "cat": "TV/Documentary",
                    "desc": "Doku > Pack's"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Spiel > PC"
                },
                {
                    "id": 24,
                    "cat": "Console",
                    "desc": "Spiel > Konsole"
                },
                {
                    "id": 126,
                    "cat": "Console/Other",
                    "desc": "Spiel > Mobil"
                },
                {
                    "id": 121,
                    "cat": "Console",
                    "desc": "Spiel > Wimmelbild"
                },
                {
                    "id": 61,
                    "cat": "TV/Sport",
                    "desc": "Sport > HD"
                },
                {
                    "id": 62,
                    "cat": "TV/Sport",
                    "desc": "Sport > SD"
                },
                {
                    "id": 96,
                    "cat": "Books/Mags",
                    "desc": "ePaper > Zeitungen"
                },
                {
                    "id": 136,
                    "cat": "Books/EBook",
                    "desc": "ePaper > E-Book"
                },
                {
                    "id": 137,
                    "cat": "Books/Comics",
                    "desc": "ePaper > Comics"
                },
                {
                    "id": 143,
                    "cat": "XXX/x264",
                    "desc": "XXX > HD / SD"
                },
                {
                    "id": 149,
                    "cat": "XXX/Other",
                    "desc": "XXX > Magazine"
                },
                {
                    "id": 75,
                    "cat": "XXX/Pack",
                    "desc": "XXX > Pack's"
                },
                {
                    "id": 142,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX > Pic's"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_password",
                "type": "info",
                "label": "About Password Expiry",
                "default": "DS.R has an <b>8 week Password Expiry</b> regime. So if the Indexer has stopped working then the first thing you should do is check if your password has expired by login in at <a href=\"https://ds-reloaded.com/login.php\" target=\"_blank\">DS-Reloaded</a>, and if necessary use the <b>Passwort anfordern</b> (<i>Request password</i>) button to renew it."
            },
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "onlyupload",
                "type": "checkbox",
                "label": "Search OnlyUpload",
                "default": false
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About OnlyUpload at DS.R",
                "default": "OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Jackett dashboard search results these are tagged as Freeleech)."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts will be deactivated after 7 weeks and deleted after another 3 weeks."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "selection.php",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "ajax": true,
                "search": "{{ .Keywords }}",
                "page": 1,
                "free": "{{ if .Config.onlyupload }}yes{{ else }}{{ end }}",
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}"
            },
            "rows": {
                "selector": "$"
            },
            "fields": {
                "categorydesc": {
                    "selector": "category",
                    "filters": [
                        {
                            "name": "htmldecode"
                        }
                    ]
                },
                "title": {
                    "selector": "name"
                },
                "_id": {
                    "selector": "id"
                },
                "details": {
                    "text": "details.php?id={{ .Result._id }}"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "cover"
                },
                "size": {
                    "selector": "size"
                },
                "date": {
                    "selector": "added",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm zzz"
                        }
                    ]
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "_onlyup": {
                    "selector": "free_button:contains(Only Upload)",
                    "optional": true
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._onlyup }}0{{ else }}1{{ end }}"
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 129600
                }
            }
        }
    },
    "dubhe": {
        "credentials": {
            "cookie": ""
        },
        "id": "dubhe",
        "name": "dubhe (天枢)",
        "description": "dubhe (天枢) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://dubhe.site/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影/Movies"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "剧集/TV Series"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺/TV Shows"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片/Documentaries"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫/Anime"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "音乐视频/Music Videos"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育运动/Sports"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "高品质音频/HQ Audio"
                },
                {
                    "id": 409,
                    "cat": "Other/Misc",
                    "desc": "其他/Other"
                },
                {
                    "id": 410,
                    "cat": "Books",
                    "desc": "书籍/Books"
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": "照片/Photo"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "dxp": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "dxp",
        "name": "DXP",
        "description": "Deaf Experts (DXP) is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / TV with Russian Subtitles",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://dxp.ru/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 26,
                    "cat": "Movies",
                    "desc": "Новинки кино"
                },
                {
                    "id": 18,
                    "cat": "Other",
                    "desc": "Эксклюзивы"
                },
                {
                    "id": 17,
                    "cat": "Other/Misc",
                    "desc": "VIP"
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "OnLine"
                },
                {
                    "id": 9,
                    "cat": "TV/Documentary",
                    "desc": "Документация"
                },
                {
                    "id": 10,
                    "cat": "Audio",
                    "desc": "Музыка"
                },
                {
                    "id": 11,
                    "cat": "TV",
                    "desc": "Сериалы"
                },
                {
                    "id": 12,
                    "cat": "Movies/Other",
                    "desc": "Мультфильмы"
                },
                {
                    "id": 13,
                    "cat": "Movies/SD",
                    "desc": "Фильмы XviD"
                },
                {
                    "id": 14,
                    "cat": "Movies/HD",
                    "desc": "Фильмы HDTV"
                },
                {
                    "id": 15,
                    "cat": "Movies/DVD",
                    "desc": "Фильмы DVD"
                },
                {
                    "id": 16,
                    "cat": "Books",
                    "desc": "Книги"
                },
                {
                    "id": 20,
                    "cat": "Other",
                    "desc": "DEMO"
                },
                {
                    "id": 21,
                    "cat": "Other",
                    "desc": "Лавка субтитров"
                },
                {
                    "id": 22,
                    "cat": "Other",
                    "desc": "Картинки"
                }
            ],
            "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": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Торрентов на страницу</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "login": "submit"
            },
            "error": [
                {
                    "selector": "div.error"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "wh": "name",
                "incldead": 1,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "div.torrent-item"
            },
            "fields": {
                "categorydesc": {
                    "selector": "div.torrent-badge"
                },
                "title": {
                    "selector": "h3.full-title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)",
                                "$2 $1"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"content.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"content.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"content.php?id=\"] img",
                    "attribute": "src"
                },
                "date": {
                    "selector": "span.date-bottom",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Обновлен: ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Добавлен: ",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "div.info-row:has(i.fa-database)"
                },
                "grabs": {
                    "selector": "span.completed-bottom"
                },
                "seeders": {
                    "selector": "span.seeders-bottom"
                },
                "leechers": {
                    "selector": "span.leechers-bottom"
                },
                "genre": {
                    "selector": "div.info-row:has(i.fa-tags)"
                },
                "description": {
                    "selector": "div.info-row:has(i.fa-globe)",
                    "filters": [
                        {
                            "name": "append",
                            "args": ": {{ .Result.genre }}"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "div.category-badge:contains(\"VIP\")": 1,
                        "*": 0
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.3
                }
            }
        }
    },
    "ebookbay": {
        "id": "ebookbay",
        "name": "EBookBay",
        "description": "EBook Bay (EBB) is a Public Torrent Tracker for E-BOOKS",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "certificates": [
            "1dad798f690521cfb37d6817b66f1f08fe8c8f36"
        ],
        "links": [
            "https://ebb.la/"
        ],
        "legacylinks": [
            "http://ebb.la/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "Action/Adventure",
                    "cat": "Books/EBook",
                    "desc": "Action/Adventure"
                },
                {
                    "id": "Animals",
                    "cat": "Books/EBook",
                    "desc": "Animals"
                },
                {
                    "id": "Arts",
                    "cat": "Books/EBook",
                    "desc": "Arts"
                },
                {
                    "id": "Audio Books",
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Books"
                },
                {
                    "id": "Beauty",
                    "cat": "Books/EBook",
                    "desc": "Beauty"
                },
                {
                    "id": "Business",
                    "cat": "Books/EBook",
                    "desc": "Business"
                },
                {
                    "id": "Certification",
                    "cat": "Books/EBook",
                    "desc": "Certification"
                },
                {
                    "id": "Children/Kids",
                    "cat": "Books/EBook",
                    "desc": "Children/Kids"
                },
                {
                    "id": "Classic/Literary",
                    "cat": "Books/EBook",
                    "desc": "Classic/Literary"
                },
                {
                    "id": "Comics",
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": "Computer",
                    "cat": "Books/EBook",
                    "desc": "Computer"
                },
                {
                    "id": "Contemporary",
                    "cat": "Books/EBook",
                    "desc": "Contemporary"
                },
                {
                    "id": "Cooking",
                    "cat": "Books/EBook",
                    "desc": "Cooking"
                },
                {
                    "id": "Crafts & Hobbies",
                    "cat": "Books/EBook",
                    "desc": "Crafts & Hobbies"
                },
                {
                    "id": "Education",
                    "cat": "Books/EBook",
                    "desc": "Education"
                },
                {
                    "id": "Entertainment",
                    "cat": "Books/EBook",
                    "desc": "Entertainment"
                },
                {
                    "id": "Fantasy",
                    "cat": "Books/EBook",
                    "desc": "Fantasy"
                },
                {
                    "id": "Gardening",
                    "cat": "Books/EBook",
                    "desc": "Gardening"
                },
                {
                    "id": "Health",
                    "cat": "Books/EBook",
                    "desc": "Health"
                },
                {
                    "id": "Historical Fiction",
                    "cat": "Books/EBook",
                    "desc": "Historical Fiction"
                },
                {
                    "id": "History",
                    "cat": "Books/EBook",
                    "desc": "History"
                },
                {
                    "id": "Horror",
                    "cat": "Books/EBook",
                    "desc": "Horror"
                },
                {
                    "id": "Humorous",
                    "cat": "Books/EBook",
                    "desc": "Humorous"
                },
                {
                    "id": "Internet",
                    "cat": "Books/EBook",
                    "desc": "Internet"
                },
                {
                    "id": "Magazine",
                    "cat": "Books/EBook",
                    "desc": "Magazine"
                },
                {
                    "id": "Marketing",
                    "cat": "Books/EBook",
                    "desc": "Marketing"
                },
                {
                    "id": "Medical",
                    "cat": "Books/EBook",
                    "desc": "Medical"
                },
                {
                    "id": "Mystery/Suspense",
                    "cat": "Books/EBook",
                    "desc": "Mystery/Suspense"
                },
                {
                    "id": "Nonfiction",
                    "cat": "Books/EBook",
                    "desc": "Nonfiction"
                },
                {
                    "id": "Novel",
                    "cat": "Books/EBook",
                    "desc": "Novel"
                },
                {
                    "id": "Other",
                    "cat": "Books/EBook",
                    "desc": "Other"
                },
                {
                    "id": "Paranormal",
                    "cat": "Books/EBook",
                    "desc": "Paranormal"
                },
                {
                    "id": "Political",
                    "cat": "Books/EBook",
                    "desc": "Political"
                },
                {
                    "id": "Real Estate",
                    "cat": "Books/EBook",
                    "desc": "Real Estate"
                },
                {
                    "id": "Reference",
                    "cat": "Books/EBook",
                    "desc": "Reference"
                },
                {
                    "id": "Religion",
                    "cat": "Books/EBook",
                    "desc": "Religion"
                },
                {
                    "id": "Romance",
                    "cat": "Books/EBook",
                    "desc": "Romance"
                },
                {
                    "id": "Sci-Fi",
                    "cat": "Books/EBook",
                    "desc": "Sci-Fi"
                },
                {
                    "id": "Science",
                    "cat": "Books/EBook",
                    "desc": "Science"
                },
                {
                    "id": "Self-Help",
                    "cat": "Books/EBook",
                    "desc": "Self-Help"
                },
                {
                    "id": "Society",
                    "cat": "Books/EBook",
                    "desc": "Society"
                },
                {
                    "id": "Software",
                    "cat": "Books/EBook",
                    "desc": "Software"
                },
                {
                    "id": "Sports",
                    "cat": "Books/EBook",
                    "desc": "Sports"
                },
                {
                    "id": "Technical",
                    "cat": "Books/EBook",
                    "desc": "Technical"
                },
                {
                    "id": "Teen/Young Adult",
                    "cat": "Books/EBook",
                    "desc": "Teen/Young Adult"
                },
                {
                    "id": "Textbook",
                    "cat": "Books/EBook",
                    "desc": "Textbook"
                },
                {
                    "id": "Thriller",
                    "cat": "Books/EBook",
                    "desc": "Thriller"
                },
                {
                    "id": "Travel",
                    "cat": "Books/EBook",
                    "desc": "Travel"
                },
                {
                    "id": "Tutorial",
                    "cat": "Books/EBook",
                    "desc": "Tutorial"
                },
                {
                    "id": "Western",
                    "cat": "Books/EBook",
                    "desc": "Western"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "infohash": {
                "hash": {
                    "selector": "td:contains(\"Info Hash:\") ~ td",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "title": {
                    "selector": "div#content > div.poststuff > div.postname",
                    "filters": [
                        {
                            "name": "trim"
                        },
                        {
                            "name": "validfilename"
                        }
                    ]
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                },
                {
                    "path": "page/2/"
                },
                {
                    "path": "page/3/"
                },
                {
                    "path": "page/4/"
                },
                {
                    "path": "page/5/"
                }
            ],
            "inputs": {
                "s": "{{ .Keywords }}"
            },
            "headers": {
                "User-Agent": [
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203"
                ]
            },
            "rows": {
                "selector": "div#content > div.poststuff:has(~ div.entry a.download), div#content > div.poststuff ~ div.entry:has(a.download)",
                "after": 1,
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "span.writer",
                    "optional": true,
                    "default": "Other",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bEbooks?\\b",
                                ""
                            ]
                        },
                        {
                            "name": "regexp",
                            "args": "E book under:\\s+(.+?)\\s?\\ "
                        }
                    ]
                },
                "title": {
                    "selector": "div.postname a"
                },
                "details": {
                    "selector": "a.detail",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "http:",
                                "https:"
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "a.detail",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "http:",
                                "https:"
                            ]
                        }
                    ]
                },
                "poster": {
                    "selector": "img[src^=\"http\"]:not(img[src*=\"images/default_cover.jpg\"])",
                    "attribute": "src"
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "selector": "p:contains(\"File Size\")",
                    "optional": true,
                    "default": 0,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "File Size: (.+?)s?$"
                        }
                    ]
                },
                "seeders": {
                    "selector": "p:contains(\"Seeds\")",
                    "optional": true,
                    "default": 0,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Seeds: (\\d+)"
                        }
                    ]
                },
                "leechers": {
                    "selector": "p:contains(\"Peers\")",
                    "optional": true,
                    "default": 0,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Peers: (\\d+)"
                        }
                    ]
                },
                "grabs": {
                    "selector": "p:contains(\"Completed Downloads\")",
                    "optional": true,
                    "default": 0,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Completed Downloads: (\\d+)"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "ebooks-shares": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "ebooks-shares",
        "name": "Ebooks-Shares",
        "description": "Ebooks-Shares is a Private Torrent Tracker for EBOOKS / AUDIOBOOKS",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "testlinktorrent": false,
        "links": [
            "https://ebooks-shares.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 293,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio: Fiction"
                },
                {
                    "id": 294,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:Sci-Fi/Fantasy"
                },
                {
                    "id": 295,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:Crime/Thriller"
                },
                {
                    "id": 296,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:Horror"
                },
                {
                    "id": 297,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:General"
                },
                {
                    "id": 302,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio: (TTC,TMS,TGC)"
                },
                {
                    "id": 303,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:Autobiography "
                },
                {
                    "id": 308,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:Collections"
                },
                {
                    "id": 309,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:History"
                },
                {
                    "id": 310,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:Children/YA"
                },
                {
                    "id": 311,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:Romance"
                },
                {
                    "id": 317,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:Urbn Fant/para"
                },
                {
                    "id": 319,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:V.I.P"
                },
                {
                    "id": 320,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:Science/engine"
                },
                {
                    "id": 321,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:History/War"
                },
                {
                    "id": 322,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:non fiction"
                },
                {
                    "id": 323,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:Educational"
                },
                {
                    "id": 324,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:Tutorials"
                },
                {
                    "id": 325,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:True Crime"
                },
                {
                    "id": 326,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio:Tech/Computers"
                },
                {
                    "id": 305,
                    "cat": "Books/EBook",
                    "desc": "Same Author"
                },
                {
                    "id": 345,
                    "cat": "Books/Mags",
                    "desc": "Collection: Magazines"
                },
                {
                    "id": 307,
                    "cat": "Books/EBook",
                    "desc": "Collection: Military"
                },
                {
                    "id": 342,
                    "cat": "Books/EBook",
                    "desc": "Collection: Multiple Authors"
                },
                {
                    "id": 343,
                    "cat": "Books/EBook",
                    "desc": "Collection: Fantasy"
                },
                {
                    "id": 359,
                    "cat": "Books/EBook",
                    "desc": "Collection: Same Series"
                },
                {
                    "id": 364,
                    "cat": "Books/EBook",
                    "desc": "Collection: Multiple: Fiction"
                },
                {
                    "id": 365,
                    "cat": "Books/EBook",
                    "desc": "Collection: Multiple:Non Fiction"
                },
                {
                    "id": 281,
                    "cat": "Books/EBook",
                    "desc": "Horror"
                },
                {
                    "id": 282,
                    "cat": "Books/EBook",
                    "desc": "Sci-Fi/Fantasy"
                },
                {
                    "id": 275,
                    "cat": "Books/EBook",
                    "desc": "General Fiction"
                },
                {
                    "id": 280,
                    "cat": "Books/EBook",
                    "desc": "Crime/Thriller/Myste"
                },
                {
                    "id": 312,
                    "cat": "Books/EBook",
                    "desc": "Romance"
                },
                {
                    "id": 313,
                    "cat": "Books/EBook",
                    "desc": "Comedy/Humour"
                },
                {
                    "id": 314,
                    "cat": "Books/EBook",
                    "desc": "Historical Fiction"
                },
                {
                    "id": 315,
                    "cat": "Books/EBook",
                    "desc": "Cozy/Mystery "
                },
                {
                    "id": 318,
                    "cat": "Books/EBook",
                    "desc": "Urbn Fantasy/Para"
                },
                {
                    "id": 340,
                    "cat": "Books/EBook",
                    "desc": "Lit/RPG"
                },
                {
                    "id": 341,
                    "cat": "Books/EBook",
                    "desc": "Collections"
                },
                {
                    "id": 352,
                    "cat": "Books/EBook",
                    "desc": "Westerns"
                },
                {
                    "id": 370,
                    "cat": "Books/EBook",
                    "desc": "Dystopian"
                },
                {
                    "id": 299,
                    "cat": "Books/EBook",
                    "desc": "Young Adult"
                },
                {
                    "id": 298,
                    "cat": "Books/EBook",
                    "desc": "Children's"
                },
                {
                    "id": 278,
                    "cat": "Books/EBook",
                    "desc": "Tutorials"
                },
                {
                    "id": 300,
                    "cat": "Books/EBook",
                    "desc": "Textbooks"
                },
                {
                    "id": 301,
                    "cat": "Books/EBook",
                    "desc": "Educational"
                },
                {
                    "id": 328,
                    "cat": "Books/EBook",
                    "desc": "Engineering/Mech"
                },
                {
                    "id": 339,
                    "cat": "Books/EBook",
                    "desc": "Science/Physics"
                },
                {
                    "id": 346,
                    "cat": "Books/EBook",
                    "desc": "Chemistry"
                },
                {
                    "id": 347,
                    "cat": "Books/EBook",
                    "desc": "Medical"
                },
                {
                    "id": 348,
                    "cat": "Books/EBook",
                    "desc": "Mathematics"
                },
                {
                    "id": 363,
                    "cat": "Books/EBook",
                    "desc": "Sheet Music"
                },
                {
                    "id": 366,
                    "cat": "Books/EBook",
                    "desc": "Astronomy"
                },
                {
                    "id": 331,
                    "cat": "Books/EBook",
                    "desc": "Electronics"
                },
                {
                    "id": 336,
                    "cat": "Books/EBook",
                    "desc": "Video Games"
                },
                {
                    "id": 337,
                    "cat": "Books/EBook",
                    "desc": "Computers"
                },
                {
                    "id": 350,
                    "cat": "Books/EBook",
                    "desc": "Programming"
                },
                {
                    "id": 354,
                    "cat": "Books/EBook",
                    "desc": "Apps"
                },
                {
                    "id": 271,
                    "cat": "Books/EBook",
                    "desc": "Food And Drink"
                },
                {
                    "id": 272,
                    "cat": "Books/EBook",
                    "desc": "General Hobbies"
                },
                {
                    "id": 327,
                    "cat": "Books/EBook",
                    "desc": "Gardening"
                },
                {
                    "id": 329,
                    "cat": "Books/EBook",
                    "desc": "Motorcars/Repairs"
                },
                {
                    "id": 330,
                    "cat": "Books/EBook",
                    "desc": "D.I.Y"
                },
                {
                    "id": 332,
                    "cat": "Books/EBook",
                    "desc": "Trivia/Quiz"
                },
                {
                    "id": 367,
                    "cat": "Books/EBook",
                    "desc": "Health & Fitness"
                },
                {
                    "id": 369,
                    "cat": "Books/EBook",
                    "desc": "Woodworking"
                },
                {
                    "id": 285,
                    "cat": "Books/EBook",
                    "desc": "General Non-fiction"
                },
                {
                    "id": 289,
                    "cat": "Books/EBook",
                    "desc": "Autobiography/Memoir"
                },
                {
                    "id": 274,
                    "cat": "Books/EBook",
                    "desc": "Business"
                },
                {
                    "id": 316,
                    "cat": "Books/EBook",
                    "desc": "True Crime"
                },
                {
                    "id": 335,
                    "cat": "Books/EBook",
                    "desc": "Entertainment"
                },
                {
                    "id": 338,
                    "cat": "Books/EBook",
                    "desc": "Encyclopedia/Ref"
                },
                {
                    "id": 349,
                    "cat": "Books/EBook",
                    "desc": "Self Help"
                },
                {
                    "id": 351,
                    "cat": "Books/EBook",
                    "desc": "Religion"
                },
                {
                    "id": 358,
                    "cat": "Books/EBook",
                    "desc": "History"
                },
                {
                    "id": 362,
                    "cat": "Books/EBook",
                    "desc": "Politics"
                },
                {
                    "id": 287,
                    "cat": "Books/EBook",
                    "desc": "WW1"
                },
                {
                    "id": 288,
                    "cat": "Books/EBook",
                    "desc": "WW2"
                },
                {
                    "id": 12,
                    "cat": "Books/EBook",
                    "desc": "Army,Navy,Airforce"
                },
                {
                    "id": 286,
                    "cat": "Books/EBook",
                    "desc": "General Military "
                },
                {
                    "id": 334,
                    "cat": "Books/EBook",
                    "desc": "Veterinary/Pets"
                },
                {
                    "id": 361,
                    "cat": "Books/EBook",
                    "desc": "Nature And Wildlife"
                },
                {
                    "id": 344,
                    "cat": "Books/EBook",
                    "desc": "Model Making"
                },
                {
                    "id": 357,
                    "cat": "Books/EBook",
                    "desc": "Art"
                },
                {
                    "id": 290,
                    "cat": "Books/Comics",
                    "desc": "General Comics"
                },
                {
                    "id": 291,
                    "cat": "Books/Comics",
                    "desc": "Marvel"
                },
                {
                    "id": 292,
                    "cat": "Books/Comics",
                    "desc": "D/C"
                },
                {
                    "id": 306,
                    "cat": "Books/Mags",
                    "desc": "Music"
                },
                {
                    "id": 10,
                    "cat": "Books/Mags",
                    "desc": "Language Learn"
                },
                {
                    "id": 13,
                    "cat": "Books/Mags",
                    "desc": "Non English Bks"
                },
                {
                    "id": 16,
                    "cat": "Books/Mags",
                    "desc": "VIP"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "vip",
                "type": "checkbox",
                "label": "Include VIP results",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "All members are required to log into their account at least every 89 days or you will be deleted without warning."
            }
        ],
        "login": {
            "path": "index.php?page=login",
            "method": "post",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "tr td span[style=\"color:#FF0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ .Keywords }}",
                "category": 0,
                "active": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.lista:not(table[cellspacing]) > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]){{ if .Config.vip }}{{ else }}:not(:has(a[href$=\"&category=16\"])):not(:has(a[href$=\"&category=319\"])){{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"index.php?page=torrents&category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "_is_vip": {
                    "selector": "a[href$=\"&category=16\"], a[href$=\"&category=319\"]",
                    "attribute": "href",
                    "optional": true
                },
                "title": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ if .Result._is_vip }} VIP{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"index.php?page=downloadcheck\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.*?) "
                        },
                        {
                            "name": "replace",
                            "args": [
                                "torrentimg/nocover.jpg",
                                ""
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "date": {
                    "selector": "td:nth-last-child(8)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-last-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(5)"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "ehentai": {
        "id": "ehentai",
        "name": "E-Hentai",
        "description": "E-Hentai is a Public site for Hentai doujinshi, manga.",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://e-hentai.org/"
        ],
        "settings": [],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href*=\"/get/\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                },
                {
                    "path": "torrents.php",
                    "inputs": {
                        "page": 1
                    }
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "table.itg > tbody > tr:has(td)"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "a[href*=\"/gallerytorrents.php?gid=\"]"
                },
                "details": {
                    "selector": "a[href*=\"/g/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/gallerytorrents.php?gid=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:first-child",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "electro-torrent": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "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": [
                {
                    "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": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "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"
                }
            },
            {
                "name": "info_limit",
                "type": "info",
                "label": "Download Limit",
                "default": "Electro-Torrent has a limit on downloads. If downloads <b>fail</b> then you have exceeded your limit. Try again after a few hours."
            }
        ],
        "login": {
            "path": "logowanie",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[src^=\"/img.php?size=3\"]",
                "input": "vImageCodP"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "returnto": ""
            },
            "error": [
                {
                    "selector": "div#center-side:contains(\"Logowanie nie\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href$=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "szukaj.php"
                }
            ],
            "allowEmptyInputs": true,
            "inputs": {
                "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"
                        },
                        {
                            "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
                }
            }
        }
    },
    "elitetorrent-wf": {
        "id": "elitetorrent-wf",
        "name": "Elitetorrent-wf",
        "description": "Elitetorrent-wf is a SPANISH Public tracker for MOVIES / TV",
        "language": "es-ES",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.elitetorrent.wf/"
        ],
        "caps": {
            "categories": {
                "series": "TV",
                "peliculas": "Movies",
                "other": "Other"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "allowEmptyInputs": true,
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)S0?(\\d{1,2})",
                        " $1 "
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)E(\\d{2,3})",
                        " $1 "
                    ]
                }
            ],
            "inputs": {
                "s": "{{ .Keywords }}",
                "x": 0,
                "1": 0
            },
            "rows": {
                "selector": "#principal .miniboxs-ficha li:has(span:nth-of-type(2))",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category_movie": {
                    "selector": ".meta a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "^.*/(peliculas)/.*$"
                        }
                    ]
                },
                "category_tv": {
                    "selector": ".meta a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "^.*/(series)/.*$"
                        }
                    ]
                },
                "category": {
                    "text": "{{ if or .Result.category_movie .Result.category_tv }}{{ or .Result.category_movie .Result.category_tv }}{{ else }}other{{ end }}"
                },
                "_quality": {
                    "selector": "span:nth-of-type(2) > i",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "---",
                                ""
                            ]
                        }
                    ]
                },
                "_language": {
                    "selector": "span#idiomacio > i > img",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Pelicula en ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Español Latino",
                                "LATiN SPANiSH"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Español Castellano",
                                "SPANiSH"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ingles",
                                "English"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Subtitulado",
                                " SPASUBS"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "VOSE",
                                ""
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "div.imagen > a",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " – ",
                                " "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "(",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                ")",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\d{2})×(\\d{2})",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\d{1})×(\\d{2})",
                                "S0$1E$2"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " {{ .Result._quality }} {{ .Result._language }}"
                        }
                    ]
                },
                "details": {
                    "selector": ".meta a",
                    "attribute": "href"
                },
                "download": {
                    "selector": ".meta a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": ".imagen img",
                    "attribute": "data-src"
                },
                "size_optional": {
                    "selector": ".voto1",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "desc.",
                                "512 MB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "s",
                                ""
                            ]
                        }
                    ]
                },
                "size": {
                    "text": "{{ if .Result.size_optional }}{{ .Result.size_optional }}{{ else }}512 MB{{ end }}"
                },
                "date": {
                    "text": "now"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "empornium": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "empornium",
        "name": "Empornium",
        "description": "Empornium (EMP) is a Private Torrent Tracker for 3X",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.empornium.sx/"
        ],
        "legacylinks": [
            "https://www.empornium.me/",
            "https://empornium.sx/",
            "https://www.empornium.is/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "XXX",
                    "desc": "Amateur"
                },
                {
                    "id": 2,
                    "cat": "XXX",
                    "desc": "Anal"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "Asian"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "BBW"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "BDSM"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "Big Ass"
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "Big Tits"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "Black"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "Classic"
                },
                {
                    "id": 37,
                    "cat": "XXX",
                    "desc": "Creampie"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "Cumshot"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "DVD-R"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Fetish"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Gang Bang / Orgy"
                },
                {
                    "id": 39,
                    "cat": "XXX",
                    "desc": "Gay / Bi"
                },
                {
                    "id": 56,
                    "cat": "XXX",
                    "desc": "Hairy"
                },
                {
                    "id": 35,
                    "cat": "XXX",
                    "desc": "Hardcore"
                },
                {
                    "id": 44,
                    "cat": "XXX",
                    "desc": "HD Porn"
                },
                {
                    "id": 3,
                    "cat": "XXX",
                    "desc": "Hentai / 3D"
                },
                {
                    "id": 25,
                    "cat": "XXX",
                    "desc": "Homemade"
                },
                {
                    "id": 43,
                    "cat": "XXX",
                    "desc": "Interracial"
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "Latina"
                },
                {
                    "id": 23,
                    "cat": "XXX",
                    "desc": "Lesbian"
                },
                {
                    "id": 52,
                    "cat": "XXX",
                    "desc": "Lingerie"
                },
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "Magazines"
                },
                {
                    "id": 53,
                    "cat": "XXX",
                    "desc": "Manga / Comic"
                },
                {
                    "id": 18,
                    "cat": "XXX",
                    "desc": "Masturbation"
                },
                {
                    "id": 26,
                    "cat": "XXX",
                    "desc": "Mature"
                },
                {
                    "id": 40,
                    "cat": "XXX",
                    "desc": "Megapack"
                },
                {
                    "id": 41,
                    "cat": "XXX",
                    "desc": "Natural Tits"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "Oral"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "Other"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "Parody"
                },
                {
                    "id": 24,
                    "cat": "XXX",
                    "desc": "Paysite"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "Pictures / Images"
                },
                {
                    "id": 50,
                    "cat": "XXX",
                    "desc": "Piss"
                },
                {
                    "id": 55,
                    "cat": "XXX",
                    "desc": "Porn Music Videos"
                },
                {
                    "id": 46,
                    "cat": "XXX",
                    "desc": "Pregnant / Preggo"
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "Scat/Puke"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "Siterip"
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "Softcore"
                },
                {
                    "id": 49,
                    "cat": "XXX",
                    "desc": "Squirt"
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "Straight"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "Teen"
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "Transsexual"
                },
                {
                    "id": 45,
                    "cat": "XXX",
                    "desc": "Voyeur"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "XXX Games / Apps"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA",
                "default": "If you want to enable 2FA then use the Empornium2FA indexer instead."
            },
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "cinfo": "2550|1350|24|-60",
                "keeploggedin": 1
            },
            "error": [
                {
                    "selector": "form#loginform > span.warning"
                }
            ],
            "test": {
                "path": "torrents.php",
                "selector": "#nav_userinfo"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchtext": "",
                "title": "{{ .Keywords }}",
                "order_by": "time",
                "order_way": "desc",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "filelist": "",
                "taglist": ""
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent row\"]:has(a[href*=\"action=download\"])"
            },
            "fields": {
                "download": {
                    "selector": "a[href^=\"/torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "description_tags": {
                    "selector": "div.tags"
                },
                "description": {
                    "case": {
                        "span.icon_okay": "Verified: {{ .Result.description_tags }}",
                        "*": "Unverified: {{ .Result.description_tags }}"
                    }
                },
                "title": {
                    "selector": "a[href^=\"/torrents.php?id=\"]"
                },
                "category": {
                    "selector": "a[href*=\"filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)]=1"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "td:nth-child(2) > script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\\"(.*?)\\\\\""
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\\\(.)",
                                "$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "/static/common/noartwork/noimage.png",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5) > span",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"Freeleech\"]": 0,
                        "img[alt=\"Freeleech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"DoubleSeed\"]": 2,
                        "img[alt=\"DoubleSeed\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "empornium2fa": {
        "credentials": {
            "cookie": ""
        },
        "id": "empornium2fa",
        "name": "Empornium2FA",
        "description": "Empornium (EMP) is a Private Torrent Tracker for 3X. This indexer uses cookie login for 2FA.",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.empornium.sx/"
        ],
        "legacylinks": [
            "https://www.empornium.me/",
            "https://empornium.sx/",
            "https://www.empornium.is/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "XXX",
                    "desc": "Amateur"
                },
                {
                    "id": 2,
                    "cat": "XXX",
                    "desc": "Anal"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "Asian"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "BBW"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "BDSM"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "Big Ass"
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "Big Tits"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "Black"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "Classic"
                },
                {
                    "id": 37,
                    "cat": "XXX",
                    "desc": "Creampie"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "Cumshot"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "DVD-R"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Fetish"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Gang Bang / Orgy"
                },
                {
                    "id": 39,
                    "cat": "XXX",
                    "desc": "Gay / Bi"
                },
                {
                    "id": 56,
                    "cat": "XXX",
                    "desc": "Hairy"
                },
                {
                    "id": 35,
                    "cat": "XXX",
                    "desc": "Hardcore"
                },
                {
                    "id": 44,
                    "cat": "XXX",
                    "desc": "HD Porn"
                },
                {
                    "id": 3,
                    "cat": "XXX",
                    "desc": "Hentai / 3D"
                },
                {
                    "id": 25,
                    "cat": "XXX",
                    "desc": "Homemade"
                },
                {
                    "id": 43,
                    "cat": "XXX",
                    "desc": "Interracial"
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "Latina"
                },
                {
                    "id": 23,
                    "cat": "XXX",
                    "desc": "Lesbian"
                },
                {
                    "id": 52,
                    "cat": "XXX",
                    "desc": "Lingerie"
                },
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "Magazines"
                },
                {
                    "id": 53,
                    "cat": "XXX",
                    "desc": "Manga / Comic"
                },
                {
                    "id": 18,
                    "cat": "XXX",
                    "desc": "Masturbation"
                },
                {
                    "id": 26,
                    "cat": "XXX",
                    "desc": "Mature"
                },
                {
                    "id": 40,
                    "cat": "XXX",
                    "desc": "Megapack"
                },
                {
                    "id": 41,
                    "cat": "XXX",
                    "desc": "Natural Tits"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "Oral"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "Other"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "Parody"
                },
                {
                    "id": 24,
                    "cat": "XXX",
                    "desc": "Paysite"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "Pictures / Images"
                },
                {
                    "id": 50,
                    "cat": "XXX",
                    "desc": "Piss"
                },
                {
                    "id": 55,
                    "cat": "XXX",
                    "desc": "Porn Music Videos"
                },
                {
                    "id": 46,
                    "cat": "XXX",
                    "desc": "Pregnant / Preggo"
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "Scat/Puke"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "Siterip"
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "Softcore"
                },
                {
                    "id": 49,
                    "cat": "XXX",
                    "desc": "Squirt"
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "Straight"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "Teen"
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "Transsexual"
                },
                {
                    "id": 45,
                    "cat": "XXX",
                    "desc": "Voyeur"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "XXX Games / Apps"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "torrents.php",
                "selector": "#nav_userinfo"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchtext": "",
                "title": "{{ .Keywords }}",
                "order_by": "time",
                "order_way": "desc",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "filelist": "",
                "taglist": ""
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent row\"]:has(a[href*=\"action=download\"])"
            },
            "fields": {
                "download": {
                    "selector": "a[href^=\"/torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "description_tags": {
                    "selector": "div.tags"
                },
                "description": {
                    "case": {
                        "span.icon_okay": "Verified: {{ .Result.description_tags }}",
                        "*": "Unverified: {{ .Result.description_tags }}"
                    }
                },
                "title": {
                    "selector": "a[href^=\"/torrents.php?id=\"]"
                },
                "category": {
                    "selector": "a[href*=\"filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)]=1"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "td:nth-child(2) > script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\\"(.*?)\\\\\""
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\\\(.)",
                                "$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "/static/common/noartwork/noimage.png",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5) > span",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"Freeleech\"]": 0,
                        "img[alt=\"Freeleech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"DoubleSeed\"]": 2,
                        "img[alt=\"DoubleSeed\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "emuwarez": {
        "credentials": {
            "apikey": ""
        },
        "id": "emuwarez",
        "name": "eMuwarez (API)",
        "description": "eMuwarez is a SPANISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "es-ES",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://emuwarez.com/"
        ],
        "legacylinks": [
            "https://emuwarez.it/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Películas"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Series"
                },
                {
                    "id": 4,
                    "cat": "TV/Documentary",
                    "desc": "Documentales"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Musica"
                },
                {
                    "id": 6,
                    "cat": "Console",
                    "desc": "Juegos"
                },
                {
                    "id": 7,
                    "cat": "PC",
                    "desc": "Software"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://emuwarez.com/\" target=\"_blank\">eMuwarez</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }} Spanish"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Ciencia ficción)",
                                "Ciencia_ficción"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Película de TV)",
                                "Película_de_TV"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "estone": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "estone",
        "name": "eStone",
        "description": "eStone (BigTorrent) is a HUNGARIAN Private Torrent Tracker for 0DAY / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://estone.cc/"
        ],
        "legacylinks": [
            "http://estone.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 24,
                    "cat": "Movies/SD",
                    "desc": "Film/XviD/Hun"
                },
                {
                    "id": 38,
                    "cat": "Movies/SD",
                    "desc": "Film/XviD/Eng"
                },
                {
                    "id": 51,
                    "cat": "Movies/SD",
                    "desc": "Film/SD/Hun"
                },
                {
                    "id": 52,
                    "cat": "Movies/SD",
                    "desc": "Film/SD/Eng"
                },
                {
                    "id": 25,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD/Hun"
                },
                {
                    "id": 26,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD/Eng"
                },
                {
                    "id": 42,
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Hun"
                },
                {
                    "id": 50,
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Eng"
                },
                {
                    "id": 36,
                    "cat": "TV",
                    "desc": "Sorozat/Hun"
                },
                {
                    "id": 47,
                    "cat": "TV",
                    "desc": "Sorozat/Eng"
                },
                {
                    "id": 41,
                    "cat": "Audio/MP3",
                    "desc": "Mp3/Hun"
                },
                {
                    "id": 40,
                    "cat": "Audio/MP3",
                    "desc": "Mp3/Eng"
                },
                {
                    "id": 35,
                    "cat": "PC/0day",
                    "desc": "Program"
                },
                {
                    "id": 28,
                    "cat": "PC/Games",
                    "desc": "Játék/ISO"
                },
                {
                    "id": 30,
                    "cat": "PC/Games",
                    "desc": "Játék/Rip"
                },
                {
                    "id": 32,
                    "cat": "Console",
                    "desc": "Konzol"
                },
                {
                    "id": 34,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil"
                },
                {
                    "id": 44,
                    "cat": "Books",
                    "desc": "Könyv/Hun"
                },
                {
                    "id": 33,
                    "cat": "Books",
                    "desc": "Könyv/Eng"
                },
                {
                    "id": 31,
                    "cat": "Other",
                    "desc": "Képek"
                },
                {
                    "id": 39,
                    "cat": "XXX",
                    "desc": "XXX/Film"
                },
                {
                    "id": 49,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX/Kép"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "genre"
                ],
                "movie-search": [
                    "q",
                    "genre"
                ],
                "music-search": [
                    "q",
                    "genre"
                ],
                "book-search": [
                    "q",
                    "genre"
                ]
            }
        },
        "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": "feltoltve",
                "options": {
                    "feltoltve": "created",
                    "feltoltok": "seeders",
                    "meret": "size"
                }
            },
            {
                "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": "Anyone who does not enter the site for 180 days will be automatically deleted!"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "script:contains(\"hiba(\\\"\")",
                    "message": {
                        "selector": "script:contains(\"hiba(\\\"\")",
                        "filters": [
                            {
                                "name": "replace",
                                "args": [
                                    "hiba(\"",
                                    ""
                                ]
                            },
                            {
                                "name": "replace",
                                "args": [
                                    "\");",
                                    ""
                                ]
                            }
                        ]
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "letoltes.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}kat[]={{.}}&{{end}}{{ .Config.sort }}={{ .Config.type }}",
                "kereses_nev": "{{ .Keywords }}",
                "miben": 0,
                "cimke": "{{ .Query.Genre }}"
            },
            "rows": {
                "selector": "body > div[id=\"felsohatter2\"] > div[id^=\"torrent_\"]{{ if .Config.freeleech }}:has(img[src=\"pic/free.png\"]){{ else }}{{ end }}"
            },
            "fields": {
                "title": {
                    "selector": "a[title]",
                    "attribute": "title"
                },
                "category": {
                    "selector": "div#kategoria_torrent > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "details": {
                    "attribute": "id",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "torrent_",
                                "adatlap.php?id="
                            ]
                        }
                    ]
                },
                "download": {
                    "attribute": "id",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "torrent_",
                                "download.php?id="
                            ]
                        }
                    ]
                },
                "poster": {
                    "selector": "img[onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "borito\\(\"(.*?) +?\","
                        }
                    ]
                },
                "size": {
                    "selector": "input[id^=\"meret_\"]",
                    "attribute": "value"
                },
                "grabs": {
                    "selector": "div:nth-child(8) > div"
                },
                "seeders": {
                    "selector": "div:nth-child(6) > div > a"
                },
                "leechers": {
                    "selector": "div:nth-child(7) > div > a"
                },
                "date": {
                    "selector": "div:nth-child(4)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "(",
                                0
                            ]
                        },
                        {
                            "name": "append",
                            "args": "+01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/free.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"pic/dupla_up.png\"]": 2,
                        "*": 1
                    }
                },
                "genre": {
                    "selector": "div i",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\((.+?)\\)"
                        }
                    ]
                },
                "description": {
                    "case": {
                        "img[src=\"pic/yes.png\"]": "Verified: {{ .Result.genre }}",
                        "img[src=\"pic/nincs.png\"]": "Unverified: {{ .Result.genre }}"
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "ex-torrenty": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "ex-torrenty",
        "name": "Ex-torrenty",
        "description": "Ex-torrenty is a POLISH Semi-Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pl-PL",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://ex-torrenty.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 774,
                    "cat": "Movies",
                    "desc": "Filmy Polskie"
                },
                {
                    "id": 642,
                    "cat": "Movies",
                    "desc": "Filmy/Bajki"
                },
                {
                    "id": 1,
                    "cat": "Movies/SD",
                    "desc": "Filmy XviD/DivX"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Filmy DVD"
                },
                {
                    "id": 23,
                    "cat": "Movies/HD",
                    "desc": "Filmy x264"
                },
                {
                    "id": 573,
                    "cat": "Movies/UHD",
                    "desc": "Filmy 4K UHD"
                },
                {
                    "id": 17,
                    "cat": "Movies/HD",
                    "desc": "Filmy HD"
                },
                {
                    "id": 265,
                    "cat": "Movies/HD",
                    "desc": "Filmy x265 HEVC"
                },
                {
                    "id": 12,
                    "cat": "Movies/3D",
                    "desc": "Filmy 3D"
                },
                {
                    "id": 826,
                    "cat": "Movies/HD",
                    "desc": "REMUX / Complete"
                },
                {
                    "id": 530,
                    "cat": "Movies/SD",
                    "desc": "Filmy TS/CAM"
                },
                {
                    "id": 9,
                    "cat": "PC",
                    "desc": "Programy"
                },
                {
                    "id": 7,
                    "cat": "Console",
                    "desc": "Konsole"
                },
                {
                    "id": 6,
                    "cat": "PC/Games",
                    "desc": "Gry"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Muzyka"
                },
                {
                    "id": 305,
                    "cat": "Audio/Video",
                    "desc": "Teledyski"
                },
                {
                    "id": 829,
                    "cat": "TV",
                    "desc": "Seriale Polskie"
                },
                {
                    "id": 922,
                    "cat": "TV/Foreign",
                    "desc": "Seriale Zagraniczne"
                },
                {
                    "id": 228,
                    "cat": "XXX",
                    "desc": "Erotyka"
                },
                {
                    "id": 25,
                    "cat": "Books/EBook",
                    "desc": "Książki"
                },
                {
                    "id": 739,
                    "cat": "Audio/Audiobook",
                    "desc": "AudioBooki"
                },
                {
                    "id": 26,
                    "cat": "Books/Comics",
                    "desc": "Komiksy"
                },
                {
                    "id": 27,
                    "cat": "PC/Mac",
                    "desc": "Linux/Mac"
                },
                {
                    "id": 28,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 29,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 31,
                    "cat": "PC/Mobile-Other",
                    "desc": "GSM/PDA"
                },
                {
                    "id": 32,
                    "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info",
                "label": "How to get the User-Agent",
                "default": "<ol><li>From the same place you fetched the cookie,</li><li>Find <b>'user-agent:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole user-agent string <i>(everything after 'user-agent: ')</i> and <b>Paste</b> here.</li></ol>"
            },
            {
                "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": "index.php",
                "selector": "a[href^=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "szukaj.php"
                }
            ],
            "inputs": {
                "cat": 0,
                "search": "{{ if .Keywords }}{{ .Keywords }}{{ else }}%{{ end }}"
            },
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "rows": {
                "selector": "table[width=\"100%\"] > tbody > tr:has(a[href*=\"torrent/\"])"
            },
            "fields": {
                "category": {
                    "selector": "td:nth-child(1)",
                    "case": {
                        ":contains(\"Polskie\")": 774,
                        ":contains(\"Filmy/Bajki\")": 642,
                        ":contains(\"XviD/DivX\")": 1,
                        ":contains(\"DVD\")": 20,
                        ":contains(\"x264\")": 23,
                        ":contains(\"4K UHD\")": 573,
                        ":contains(\"HD\")": 17,
                        ":contains(\"x265 HEVC\")": 265,
                        ":contains(\"3D\")": 12,
                        ":contains(\"TS/CAM\")": 530,
                        ":contains(\"REMUX\")": 826,
                        ":contains(\"Programy\")": 9,
                        ":contains(\"Konsole\")": 7,
                        ":contains(\"Gry\")": 6,
                        ":contains(\"Muzyka\")": 5,
                        ":contains(\"Teledyski\")": 305,
                        ":contains(\"Seriale Polskie\")": 829,
                        ":contains(\"Seriale Zagraniczne\")": 922,
                        ":contains(\"Erotyka\")": 228,
                        ":contains(\"Książki\")": 25,
                        ":contains(\"AudioBooki\")": 739,
                        ":contains(\"Komiksy\")": 26,
                        ":contains(\"Linux/Mac\")": 27,
                        ":contains(\"Sport\")": 28,
                        ":contains(\"Anime\")": 29,
                        ":contains(\"GSM/PDA\")": 31,
                        ":contains(\"Inne\")": 32
                    }
                },
                "title_phase1": {
                    "selector": "a[href*=\"torrent/\"]"
                },
                "title_multilang": {
                    "selector": "a[href*=\"torrent/\"]",
                    "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*=\"torrent/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "torrent/",
                                "download/"
                            ]
                        }
                    ]
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "selector": "td:nth-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-child(4)"
                },
                "leechers": {
                    "selector": "td:nth-child(5)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "exitorrent-org": {
        "credentials": {
            "cookie": ""
        },
        "id": "exitorrent-org",
        "name": "exitorrent.org",
        "description": "exitorrent.org is a POLISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pl-PL",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://exitorrent.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "PC",
                    "desc": "Aplikacje PC"
                },
                {
                    "id": 43,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobooki"
                },
                {
                    "id": 33,
                    "cat": "Movies/BluRay",
                    "desc": "BluRay"
                },
                {
                    "id": 28,
                    "cat": "Movies/Other",
                    "desc": "Dla dzieci"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "DVD-R 5/9"
                },
                {
                    "id": 37,
                    "cat": "Movies/SD",
                    "desc": "DVDFan"
                },
                {
                    "id": 31,
                    "cat": "Books/EBook",
                    "desc": "eBooki / PDF"
                },
                {
                    "id": 30,
                    "cat": "Movies/3D",
                    "desc": "Filmy/3D "
                },
                {
                    "id": 38,
                    "cat": "Movies/SD",
                    "desc": "Filmy/BDRip-BRRip"
                },
                {
                    "id": 35,
                    "cat": "Movies/HD",
                    "desc": "Filmy/x264-BluRay/HD"
                },
                {
                    "id": 45,
                    "cat": "Movies/HD",
                    "desc": "Filmy/x265-BluRay/HD"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Gry PC"
                },
                {
                    "id": 21,
                    "cat": "PC/Mobile-Other",
                    "desc": "GSM/PDA"
                },
                {
                    "id": 2,
                    "cat": "TV/HD",
                    "desc": "HDTV"
                },
                {
                    "id": 19,
                    "cat": "Movies/SD",
                    "desc": "HQ / DVDRip"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "Muzyka"
                },
                {
                    "id": 39,
                    "cat": "Movies/HD",
                    "desc": "Remux"
                },
                {
                    "id": 29,
                    "cat": "Other",
                    "desc": "Różne"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "Seriale"
                },
                {
                    "id": 22,
                    "cat": "Audio/Video",
                    "desc": "Teledyski / Koncerty"
                },
                {
                    "id": 44,
                    "cat": "Movies/UHD",
                    "desc": "UHD BluRay"
                },
                {
                    "id": 42,
                    "cat": "Movies/UHD",
                    "desc": "UHD Remux"
                },
                {
                    "id": 23,
                    "cat": "Movies/WEB-DL",
                    "desc": "WEB-DL / WEBRip"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "drop_polish_prefix",
                "type": "checkbox",
                "label": "Drop the Polish title prefix",
                "default": true
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[href$=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "blah": "{{ if .Query.IMDBID }}1{{ else }}0{{ end }}",
                "podkat": 0,
                "hashTag": 0,
                "incldead": 0,
                "polish": "{{ if .Config.freeleech }}3{{ else }}0{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        " +(?:19|20)\\d{2} *$",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "table[class=\"text\"][border=\"0\"][cellspacing=\"0\"][cellpadding=\"4\"] > tbody > tr:has(a[href^=\"details.php?id=\"]):has(td[class*=\"tableBody1\"], td[class*=\"tableBody1B\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_raw": {
                    "selector": "div[class=\"span_title\"] > a[href^=\"details.php?id=\"]"
                },
                "title_stripped": {
                    "selector": "div[class=\"span_title\"] > a[href^=\"details.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(.*/)(.*)$",
                                "$2"
                            ]
                        },
                        {
                            "name": "trim"
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.drop_polish_prefix }}{{ .Result.title_stripped }}{{ else }}{{ .Result.title_raw }}{{ end }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "div.span_icon > a[onclick^=\"return downloadTorrent\"]",
                    "attribute": "onclick",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^return downloadTorrent\\('([^']+)', '([^']+)', '[^']*'\\);$",
                                "download.php/$1/$2.torrent"
                            ]
                        }
                    ]
                },
                "genre": {
                    "selector": "div.span_title span div"
                },
                "_language": {
                    "optional": true,
                    "selector": "span.span_style_pl",
                    "attribute": "title"
                },
                "_subbed": {
                    "optional": true,
                    "selector": "span.span_style_plsub",
                    "attribute": "title"
                },
                "description": {
                    "text": "{{ if .Result._language }}Language: {{ .Result._language }} {{ else }}{{ end }}{{ if .Result._subbed }}Subbed: {{ .Result._subbed }} {{ else }}{{ end }}{{ if .Result.genre }}Genres: {{ .Result.genre }}{{ else }}{{ end }}"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "a[href^=\"downloadfl.php/\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "exkinoray": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "exkinoray",
        "name": "ExKinoRay",
        "description": "ExKinoRay is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / TV",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://exkinoray.ru/"
        ],
        "legacylinks": [
            "http://exkinoray.tv/",
            "http://exkinoray.fun/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 92,
                    "cat": "TV",
                    "desc": "Кино Сериал"
                },
                {
                    "id": 46,
                    "cat": "Movies",
                    "desc": "Кино Комедия"
                },
                {
                    "id": 47,
                    "cat": "Movies",
                    "desc": "Кино Боевик"
                },
                {
                    "id": 48,
                    "cat": "Movies",
                    "desc": "Кино Военный"
                },
                {
                    "id": 49,
                    "cat": "Movies",
                    "desc": "Кино Вестерн"
                },
                {
                    "id": 50,
                    "cat": "Movies",
                    "desc": "Кино Триллер"
                },
                {
                    "id": 51,
                    "cat": "Movies",
                    "desc": "Кино Детектив"
                },
                {
                    "id": 52,
                    "cat": "Movies",
                    "desc": "Кино Драма"
                },
                {
                    "id": 53,
                    "cat": "Movies",
                    "desc": "Кино Мелодрама"
                },
                {
                    "id": 54,
                    "cat": "Movies",
                    "desc": "Кино Индийское"
                },
                {
                    "id": 55,
                    "cat": "Movies",
                    "desc": "Кино Азиатское"
                },
                {
                    "id": 59,
                    "cat": "Movies",
                    "desc": "Кино Фантастика"
                },
                {
                    "id": 60,
                    "cat": "Movies",
                    "desc": "Кино Фэнтези"
                },
                {
                    "id": 61,
                    "cat": "Movies",
                    "desc": "Кино Ужас"
                },
                {
                    "id": 62,
                    "cat": "Movies",
                    "desc": "Кино Мистика"
                },
                {
                    "id": 63,
                    "cat": "Movies",
                    "desc": "Кино Приключения"
                },
                {
                    "id": 64,
                    "cat": "Movies",
                    "desc": "Кино Наше кино"
                },
                {
                    "id": 65,
                    "cat": "Movies",
                    "desc": "Кино Исторический"
                },
                {
                    "id": 66,
                    "cat": "TV/Documentary",
                    "desc": "Кино Документальный"
                },
                {
                    "id": 67,
                    "cat": "TV/Sport",
                    "desc": "Кино Спорт"
                },
                {
                    "id": 68,
                    "cat": "Movies",
                    "desc": "Кино Семейный"
                },
                {
                    "id": 69,
                    "cat": "Movies",
                    "desc": "Кино Детский"
                },
                {
                    "id": 70,
                    "cat": "Movies",
                    "desc": "Кино Классика"
                },
                {
                    "id": 71,
                    "cat": "Movies",
                    "desc": "Кино Концерт"
                },
                {
                    "id": 72,
                    "cat": "TV",
                    "desc": "Кино ТВ-шоу"
                },
                {
                    "id": 73,
                    "cat": "Movies",
                    "desc": "Кино Театр, опера"
                },
                {
                    "id": 74,
                    "cat": "Movies",
                    "desc": "Кино Мюзикл"
                },
                {
                    "id": 75,
                    "cat": "Movies",
                    "desc": "Кино Эротика"
                },
                {
                    "id": 77,
                    "cat": "TV",
                    "desc": "Мульт Буржуйский"
                },
                {
                    "id": 78,
                    "cat": "TV",
                    "desc": "Мульт Русский"
                },
                {
                    "id": 79,
                    "cat": "TV/Anime",
                    "desc": "Мульт Аниме"
                },
                {
                    "id": 80,
                    "cat": "Audio",
                    "desc": "Музыка Буржуйская"
                },
                {
                    "id": 81,
                    "cat": "Audio",
                    "desc": "Музыка Русская"
                },
                {
                    "id": 82,
                    "cat": "Audio",
                    "desc": "Музыка Сборники"
                },
                {
                    "id": 83,
                    "cat": "Audio/Audiobook",
                    "desc": "Другое Аудио книги"
                },
                {
                    "id": 84,
                    "cat": "Audio/Video",
                    "desc": "Другое Видеоклипы"
                },
                {
                    "id": 85,
                    "cat": "PC/Games",
                    "desc": "Другое Игры"
                },
                {
                    "id": 86,
                    "cat": "PC/0day",
                    "desc": "Другое Программы"
                },
                {
                    "id": 87,
                    "cat": "Console/XBox",
                    "desc": "Другое XBox"
                },
                {
                    "id": 88,
                    "cat": "Console/PSP",
                    "desc": "Другое PSP"
                },
                {
                    "id": 89,
                    "cat": "Books/Mags",
                    "desc": "Другое Журналы"
                },
                {
                    "id": 90,
                    "cat": "Other",
                    "desc": "Другое Графика"
                },
                {
                    "id": 93,
                    "cat": "Other",
                    "desc": "Другое Библиотека"
                },
                {
                    "id": 94,
                    "cat": "Console/PS3",
                    "desc": "Другое PS3"
                }
            ],
            "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": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 4,
                "options": {
                    "4": "created",
                    "7": "seeders",
                    "5": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "autologin": 1,
                "returnto": "index.php"
            },
            "error": [
                {
                    "selector": "td.embedded:contains(\"Ошибка входа\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}c{{.}}=1&{{end}}{{ else }}cat=0{{ end }}",
                "incldead": 1,
                "search": "{{ .Keywords }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "table.begins > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)",
                                "$2 $1"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(2) i",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "a[href^=\"details.php?id=\"]"
                }
            }
        }
    },
    "explosiv-world": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "explosiv-world",
        "replaces": [
            "torrent-explosiv"
        ],
        "name": "Explosiv-World",
        "description": "Explosiv-World (E-W) is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://explosiv-world.biz/"
        ],
        "legacylinks": [
            "https://torrent-explosiv.eu/",
            "https://torrent-explosiv.hopto.org/",
            "https://torrent-explosiv.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 114,
                    "cat": "Movies/UHD",
                    "desc": "Filme > UHD"
                },
                {
                    "id": 32,
                    "cat": "Movies/HD",
                    "desc": "Filme > HD"
                },
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Filme > SD"
                },
                {
                    "id": 145,
                    "cat": "Movies/UHD",
                    "desc": "Filme > Pack UHD"
                },
                {
                    "id": 138,
                    "cat": "Movies/HD",
                    "desc": "Filme > Pack HD"
                },
                {
                    "id": 140,
                    "cat": "Movies/SD",
                    "desc": "Filme > Pack SD"
                },
                {
                    "id": 143,
                    "cat": "Movies/Other",
                    "desc": "Filme > Anime"
                },
                {
                    "id": 139,
                    "cat": "TV/UHD",
                    "desc": "Serien > UHD"
                },
                {
                    "id": 57,
                    "cat": "TV/HD",
                    "desc": "Serien > HD"
                },
                {
                    "id": 60,
                    "cat": "TV/SD",
                    "desc": "Serien > SD"
                },
                {
                    "id": 144,
                    "cat": "TV/Anime",
                    "desc": "Serien > Anime"
                },
                {
                    "id": 146,
                    "cat": "TV/UHD",
                    "desc": "Serien > Pack UHD/HD"
                },
                {
                    "id": 59,
                    "cat": "TV/SD",
                    "desc": "Serien > Pack SD"
                },
                {
                    "id": 110,
                    "cat": "Audio",
                    "desc": "Audio > Alben"
                },
                {
                    "id": 148,
                    "cat": "Audio",
                    "desc": "Audio > Mixe"
                },
                {
                    "id": 149,
                    "cat": "Audio",
                    "desc": "Audio > Sampler/OST"
                },
                {
                    "id": 150,
                    "cat": "Audio",
                    "desc": "Audio > Charts/Singles"
                },
                {
                    "id": 48,
                    "cat": "Audio/Lossless",
                    "desc": "Audio > Flac"
                },
                {
                    "id": 52,
                    "cat": "Audio/MP3",
                    "desc": "Audio > Pack mp3"
                },
                {
                    "id": 147,
                    "cat": "Audio/Lossless",
                    "desc": "Audio > Pack Flac"
                },
                {
                    "id": 63,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio > Hörbuch"
                },
                {
                    "id": 120,
                    "cat": "Audio/Video",
                    "desc": "Audio > Videos"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Spiele > Windows"
                },
                {
                    "id": 24,
                    "cat": "Console",
                    "desc": "Spiele > Konsole"
                },
                {
                    "id": 126,
                    "cat": "Console/Other",
                    "desc": "Spiele > Mobil"
                },
                {
                    "id": 121,
                    "cat": "Console",
                    "desc": "Spiele > andere"
                },
                {
                    "id": 12,
                    "cat": "PC/0day",
                    "desc": "Software > Windows"
                },
                {
                    "id": 11,
                    "cat": "PC/Mobile-Other",
                    "desc": "Software > Mobil"
                },
                {
                    "id": 141,
                    "cat": "PC/Mobile-Other",
                    "desc": "Software > andere"
                },
                {
                    "id": 61,
                    "cat": "TV/Sport",
                    "desc": "Sport > UHD/HD"
                },
                {
                    "id": 62,
                    "cat": "TV/Sport",
                    "desc": "Sport > SD"
                },
                {
                    "id": 14,
                    "cat": "TV/Documentary",
                    "desc": "Doku > UHD/HD"
                },
                {
                    "id": 15,
                    "cat": "TV/Documentary",
                    "desc": "Doku > SD"
                },
                {
                    "id": 123,
                    "cat": "TV/Documentary",
                    "desc": "Doku > Pack UHD/HD"
                },
                {
                    "id": 151,
                    "cat": "TV/Documentary",
                    "desc": "Doku > Pack SD"
                },
                {
                    "id": 96,
                    "cat": "Books/Other",
                    "desc": "ePaper > Zeitungen"
                },
                {
                    "id": 136,
                    "cat": "Books/EBook",
                    "desc": "ePaper > E-Book"
                },
                {
                    "id": 137,
                    "cat": "Books/Mags",
                    "desc": "ePaper > Magazine"
                },
                {
                    "id": 73,
                    "cat": "XXX/x264",
                    "desc": "XXX > HD"
                },
                {
                    "id": 76,
                    "cat": "XXX/SD",
                    "desc": "XXX > SD"
                },
                {
                    "id": 75,
                    "cat": "XXX/Pack",
                    "desc": "XXX > Pack"
                },
                {
                    "id": 142,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX > andere"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_password",
                "type": "info",
                "label": "About Password Expiry",
                "default": "E-W has an <b>8 week Password Expiry</b> regime. So if the Indexer has stopped working then the first thing you should do is check if your password has expired by login in at <a href=\"https://explosiv-world.biz/login.php\" target=\"_blank\">Explosiv-World</a>, and if necessary use the <b>Passwort anfordern</b> (<i>Request password</i>) button to renew it."
            },
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "onlyupload",
                "type": "checkbox",
                "label": "Search OnlyUpload",
                "default": false
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About OnlyUpload at E-W",
                "default": "OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Jackett dashboard search results these are tagged as Freeleech)."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form",
            "inputs": {
                "login_identifier": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "loggiin": "Einloggen"
            },
            "error": [
                {
                    "selector": "div.alert"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents_search.php",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "ajax": true,
                "search": "{{ .Keywords }}",
                "page": 1,
                "free": "{{ if .Config.onlyupload }}yes{{ else }}{{ end }}",
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}"
            },
            "rows": {
                "selector": "data"
            },
            "fields": {
                "categorydesc": {
                    "selector": "category",
                    "filters": [
                        {
                            "name": "htmldecode"
                        }
                    ]
                },
                "title": {
                    "selector": "name"
                },
                "_id": {
                    "selector": "id"
                },
                "details": {
                    "text": "details.php?id={{ .Result._id }}"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "cover"
                },
                "size": {
                    "selector": "size"
                },
                "date": {
                    "selector": "added",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm zzz"
                        }
                    ]
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "_onlyup": {
                    "selector": "free_button:contains(Only Upload)",
                    "optional": true
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._onlyup }}0{{ else }}1{{ end }}"
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "extratorrent-st": {
        "id": "extratorrent-st",
        "name": "ExtraTorrent.st",
        "description": "ExtraTorrent.st is a Public tracker for MOVIE / TV / GENERAL magnets",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://extratorrent.st/",
            "https://extratorrent.ninjaproxy1.com/",
            "https://extratorrent.proxyninja.org/",
            "https://extratorrent.proxyninja.net/"
        ],
        "legacylinks": [
            "https://extratorrent.mrunblock.bond/",
            "https://extratorrent.nocensor.cloud/",
            "https://extratorrent.unblockit.download/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "3D Movies",
                    "cat": "Movies/3D",
                    "desc": "Movies 3D"
                },
                {
                    "id": "AAC",
                    "cat": "Audio",
                    "desc": "Music AAC"
                },
                {
                    "id": "Adult / Porn",
                    "cat": "XXX",
                    "desc": "Adult / Porn"
                },
                {
                    "id": "Android",
                    "cat": "PC/Mobile-Android",
                    "desc": "Software Android"
                },
                {
                    "id": "Anime",
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": "Audio books",
                    "cat": "Audio/Audiobook",
                    "desc": "Books Audiobook"
                },
                {
                    "id": "Bollywood",
                    "cat": "Movies",
                    "desc": "Bollywood"
                },
                {
                    "id": "Comics",
                    "cat": "Books/Comics",
                    "desc": "Books Comics"
                },
                {
                    "id": "DVD",
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD"
                },
                {
                    "id": "Documentary",
                    "cat": "TV/Documentary",
                    "desc": "Documentary"
                },
                {
                    "id": "Dubbed Movies",
                    "cat": "Movies/Foreign",
                    "desc": "Movies Dubbed"
                },
                {
                    "id": "Ebooks",
                    "cat": "Books/EBook",
                    "desc": "Books Ebook"
                },
                {
                    "id": "English-translated",
                    "cat": "TV/Anime",
                    "desc": "Anime  English-translated"
                },
                {
                    "id": "Episodes HD",
                    "cat": "TV/HD",
                    "desc": "Episodes HD"
                },
                {
                    "id": "Episodes 4K UHD",
                    "cat": "TV/UHD",
                    "desc": "Episodes 4K UHD"
                },
                {
                    "id": "Games",
                    "cat": "XXX/Other",
                    "desc": "Adult Games"
                },
                {
                    "id": "Hentai",
                    "cat": "XXX/Other",
                    "desc": "Adult Hentai"
                },
                {
                    "id": "Highres Movies",
                    "cat": "Movies/HD",
                    "desc": "Movies HD"
                },
                {
                    "id": "Linux",
                    "cat": "PC",
                    "desc": "Software Linux"
                },
                {
                    "id": "Live Action [Non-English]",
                    "cat": "TV/Anime",
                    "desc": "Live Action [Non-English]"
                },
                {
                    "id": "Lossless",
                    "cat": "Audio/Lossless",
                    "desc": "Music Lossless"
                },
                {
                    "id": "Manga [English-translated]",
                    "cat": "Books/Comics",
                    "desc": "Manga [English-translated]"
                },
                {
                    "id": "Manga [Raw]",
                    "cat": "Books/Comics",
                    "desc": "Manga [Raw]"
                },
                {
                    "id": "MP3",
                    "cat": "Audio/MP3",
                    "desc": "Music MP3"
                },
                {
                    "id": "MP4",
                    "cat": "Movies",
                    "desc": "Movies MP4"
                },
                {
                    "id": "Mac",
                    "cat": "PC/Mac",
                    "desc": "Software Mac"
                },
                {
                    "id": "Magazines",
                    "cat": "XXX/Other",
                    "desc": "Adult Magazines"
                },
                {
                    "id": "Movie clips",
                    "cat": "Movies",
                    "desc": "Movies clips"
                },
                {
                    "id": "Movies",
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": "Music",
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": "Music videos",
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": "NDS",
                    "cat": "Console/NDS",
                    "desc": "Games NDS"
                },
                {
                    "id": "Other Applications",
                    "cat": "PC",
                    "desc": "Other Applications"
                },
                {
                    "id": "Other Games",
                    "cat": "Console/Other",
                    "desc": "Games Other"
                },
                {
                    "id": "Other Movies",
                    "cat": "Movies/Other",
                    "desc": "Movies Other"
                },
                {
                    "id": "Other Music",
                    "cat": "Audio/Other",
                    "desc": "Music Other"
                },
                {
                    "id": "Other",
                    "cat": "Other/Misc",
                    "desc": "Other"
                },
                {
                    "id": "PC Games",
                    "cat": "PC/Games",
                    "desc": "PC Games"
                },
                {
                    "id": "PS3",
                    "cat": "Console/PS3",
                    "desc": "Games PS3"
                },
                {
                    "id": "PS4",
                    "cat": "Console/PS4",
                    "desc": "Games PS4"
                },
                {
                    "id": "PSP",
                    "cat": "Console/PSP",
                    "desc": "Games PSP"
                },
                {
                    "id": "Pictures",
                    "cat": "XXX/ImageSet",
                    "desc": "Adult Pictures"
                },
                {
                    "id": "Radio Shows",
                    "cat": "Audio/Other",
                    "desc": "Music Radio"
                },
                {
                    "id": "Raw",
                    "cat": "TV/Anime",
                    "desc": "Anime Raw"
                },
                {
                    "id": "Season Packs",
                    "cat": "TV",
                    "desc": "Season Packs"
                },
                {
                    "id": "Software",
                    "cat": "PC/0day",
                    "desc": "Software"
                },
                {
                    "id": "Sports",
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": "Subs",
                    "cat": "TV/Anime",
                    "desc": "Anime Subs"
                },
                {
                    "id": "Switch",
                    "cat": "Console/Other",
                    "desc": "Games Switch"
                },
                {
                    "id": "TV",
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": "UltraHD",
                    "cat": "Movies/UHD",
                    "desc": "Movies UHD"
                },
                {
                    "id": "Video",
                    "cat": "XXX",
                    "desc": "Adult / Porn"
                },
                {
                    "id": "Wii",
                    "cat": "Console/Wii",
                    "desc": "Games Wii"
                },
                {
                    "id": "Windows",
                    "cat": "PC",
                    "desc": "Software Windows"
                },
                {
                    "id": "Xbox360",
                    "cat": "Console/XBox 360",
                    "desc": "Games Xbox360"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search/?srt=added&order=desc&search={{ .Keywords }}&new=1&x=0&y=0{{ else }}{{ end }}"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[\\s]+",
                        "."
                    ]
                }
            ],
            "rows": {
                "selector": "tr[class^=\"tl\"]:has(a[href^=\"magnet:?xt=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "span.c_tor",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "in ",
                                ""
                            ]
                        },
                        {
                            "name": "trim"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/torrent/\"]:not([href$=\"comments\"])"
                },
                "details": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-last-of-type(5)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "m",
                                " minutes"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "h",
                                " hours"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "y",
                                " years"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "d",
                                " days"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "w",
                                " weeks"
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-of-type(4)"
                },
                "seeders": {
                    "selector": "td.sy, td.sn",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.ly, td.ln",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "extremebits": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "extremebits",
        "name": "ExtremeBits",
        "description": "ExtremeBits is a Private Torrent Tracker for EXTREME SPORTS",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "certificates": [
            "f31a18c5e097512324e47b20f67ab4607553ae3c"
        ],
        "links": [
            "https://extremebits.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "BASE jump"
                },
                {
                    "id": 10,
                    "cat": "Movies",
                    "desc": "BMX"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Climbing"
                },
                {
                    "id": 19,
                    "cat": "Other",
                    "desc": "Covers"
                },
                {
                    "id": 20,
                    "cat": "Movies",
                    "desc": "Fiddy/MiniMX"
                },
                {
                    "id": 22,
                    "cat": "Movies",
                    "desc": "Graffiti"
                },
                {
                    "id": 18,
                    "cat": "Movies",
                    "desc": "Homevid"
                },
                {
                    "id": 16,
                    "cat": "Movies",
                    "desc": "Inline Skate"
                },
                {
                    "id": 25,
                    "cat": "Movies",
                    "desc": "Kayaking"
                },
                {
                    "id": 28,
                    "cat": "Movies",
                    "desc": "Kiteboard"
                },
                {
                    "id": 17,
                    "cat": "Movies",
                    "desc": "MC"
                },
                {
                    "id": 13,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 4,
                    "cat": "Movies",
                    "desc": "MotoX"
                },
                {
                    "id": 11,
                    "cat": "Movies",
                    "desc": "MTB"
                },
                {
                    "id": 21,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 26,
                    "cat": "Movies",
                    "desc": "Paintball"
                },
                {
                    "id": 5,
                    "cat": "Movies",
                    "desc": "Parkour"
                },
                {
                    "id": 24,
                    "cat": "Movies",
                    "desc": "Quad/ATV"
                },
                {
                    "id": 29,
                    "cat": "Movies",
                    "desc": "Rally/4x4"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "Skateboard"
                },
                {
                    "id": 12,
                    "cat": "Movies",
                    "desc": "Ski"
                },
                {
                    "id": 14,
                    "cat": "Movies",
                    "desc": "Skydive"
                },
                {
                    "id": 7,
                    "cat": "Movies",
                    "desc": "Snowboard"
                },
                {
                    "id": 9,
                    "cat": "Movies",
                    "desc": "Snowmobile"
                },
                {
                    "id": 15,
                    "cat": "Movies",
                    "desc": "Streetrace"
                },
                {
                    "id": 2,
                    "cat": "Movies",
                    "desc": "Surf"
                },
                {
                    "id": 23,
                    "cat": "TV",
                    "desc": "Tv"
                },
                {
                    "id": 8,
                    "cat": "Movies",
                    "desc": "Wakeboard/W.Ski"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-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": 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"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "If you don't log in, you will be deleted for inactivity after a few months."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "inputs": {
                "input[placeholder=\"Username\"]": "{{ .Config.username }}",
                "input[placeholder=\"Password\"]": "{{ .Config.password }}"
            },
            "selectors": true,
            "error": [
                {
                    "selector": "h2:contains(\"fail\")",
                    "message": {
                        "selector": "div.contentframe"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incl": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "searchin": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.crowdedtablecenter > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details.php",
                                "download.php"
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-of-type(5)"
                },
                "seeders": {
                    "selector": "td:nth-of-type(7)"
                },
                "leechers": {
                    "selector": "td:nth-of-type(8)"
                },
                "grabs": {
                    "selector": "td:nth-of-type(10) a"
                },
                "size": {
                    "selector": "td:nth-of-type(10)",
                    "remove": "a"
                },
                "category_title": {
                    "selector": "td:nth-of-type(1) a img",
                    "attribute": "alt"
                },
                "description": {
                    "selector": "td:nth-of-type(4)",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "cat={{ .Result.category_title }}, wait="
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"img/freedownload.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "date": {
                    "selector": "td:nth-of-type(2)",
                    "remove": "a",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "minimumratio": {
                    "text": 0.6
                }
            }
        }
    },
    "eztv": {
        "id": "eztv",
        "name": "EZTV",
        "description": "EZTV is a Public torrent site for TV shows",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://eztvx.to/",
            "https://eztv.wf/",
            "https://eztv.tf/",
            "https://eztv.yt/",
            "https://eztv1.xyz/"
        ],
        "legacylinks": [
            "https://eztv.ag/",
            "https://eztv.it/",
            "https://eztv.ch/",
            "https://eztv.io/",
            "https://eztv.re/",
            "https://eztv.li/",
            "https://eztv.mrunblock.bond/",
            "https://eztv.nocensor.cloud/",
            "https://eztv.unblockninja.com/",
            "https://eztv.ninjaproxy1.com/",
            "https://eztv.proxyninja.org/",
            "https://eztv.abcproxy.org/",
            "https://eztv.unblockit.download/"
        ],
        "caps": {
            "categories": {
                "1": "TV"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search/{{ .Keywords }}{{ else }}home{{ end }}"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\bS\\d{2,3}\\b",
                        ""
                    ]
                },
                {
                    "name": "trim"
                },
                {
                    "name": "replace",
                    "args": [
                        "-",
                        ""
                    ]
                },
                {
                    "name": "replace",
                    "args": [
                        " ",
                        "-"
                    ]
                },
                {
                    "name": "replace",
                    "args": [
                        "&",
                        ""
                    ]
                }
            ],
            "headers": {
                "cookie": [
                    "sort_no=100; q_filter=all; q_filter_web=on; q_filter_reality=on; q_filter_x265=on; layout=def_wlinks"
                ]
            },
            "rows": {
                "selector": "table.forum_header_border:contains('Latest') tr[name='hover'].forum_header_border:has(a.magnet), table.forum_header_border:contains('Releases') tr[name='hover'].forum_header_border:has(a.magnet)",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "td:nth-child(2) a",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "[eztv]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\(.*\\)$",
                                ""
                            ]
                        },
                        {
                            "name": "trim"
                        }
                    ]
                },
                "details": {
                    "selector": "td:nth-child(2) a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td:nth-child(3) a.magnet, td:nth-child(3) a",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(4)",
                    "optional": true,
                    "default": "512 MB"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " ago"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "text": 0
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "eztvl": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "eztvl",
        "name": "EZTVL",
        "description": "EZTV is a Public torrent site for TV shows. This indexer supports login.",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://eztvx.to/",
            "https://eztv.wf/",
            "https://eztv.tf/",
            "https://eztv.yt/",
            "https://eztv1.xyz/"
        ],
        "legacylinks": [
            "https://eztv.ag/",
            "https://eztv.it/",
            "https://eztv.ch/",
            "https://eztv.io/",
            "https://eztv.re/",
            "https://eztv.li/",
            "https://eztv.mrunblock.bond/",
            "https://eztv.nocensor.cloud/",
            "https://eztv.unblockninja.com/",
            "https://eztv.ninjaproxy1.com/",
            "https://eztv.proxyninja.org/",
            "https://eztv.abcproxy.org/",
            "https://eztv.unblockit.download/"
        ],
        "caps": {
            "categories": {
                "1": "TV"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "login/",
            "method": "post",
            "inputs": {
                "loginname": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "submit": "Login"
            },
            "error": [
                {
                    "selector": "span.text-error"
                }
            ],
            "test": {
                "path": "home",
                "selector": "a[href=\"/logout/\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search/{{ .Keywords }}{{ else }}home{{ end }}"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\bS\\d{2,3}\\b",
                        ""
                    ]
                },
                {
                    "name": "trim"
                },
                {
                    "name": "replace",
                    "args": [
                        "-",
                        ""
                    ]
                },
                {
                    "name": "replace",
                    "args": [
                        " ",
                        "-"
                    ]
                },
                {
                    "name": "replace",
                    "args": [
                        "&",
                        ""
                    ]
                }
            ],
            "headers": {
                "cookie": [
                    "sort_no=100; q_filter=all; q_filter_web=on; q_filter_reality=on; q_filter_x265=on; layout=def_wlinks"
                ]
            },
            "rows": {
                "selector": "table.forum_header_border:contains('Latest') tr[name='hover'].forum_header_border:has(a.magnet), table.forum_header_border:contains('Releases') tr[name='hover'].forum_header_border:has(a.magnet)",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "td:nth-child(2) a",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "[eztv]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\(.*\\)$",
                                ""
                            ]
                        },
                        {
                            "name": "trim"
                        }
                    ]
                },
                "details": {
                    "selector": "td:nth-child(2) a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td:nth-child(3) a.magnet, td:nth-child(3) a",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(4)",
                    "optional": true,
                    "default": "512 MB"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " ago"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "text": 0
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "f1carreras-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "f1carreras-api",
        "name": "F1Carreras (API)",
        "description": "F1Carreras is a SPANISH Private Torrent Tracker for Motor Racing TV Releases",
        "language": "es-MX",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://f1carreras.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "TV/Sport",
                    "desc": "Formula 1"
                },
                {
                    "id": 4,
                    "cat": "TV/Sport",
                    "desc": "IndyCar Series"
                },
                {
                    "id": 5,
                    "cat": "TV/Sport",
                    "desc": "Formula 2"
                },
                {
                    "id": 6,
                    "cat": "TV/Sport",
                    "desc": "Formula E"
                },
                {
                    "id": 7,
                    "cat": "TV/Sport",
                    "desc": "MotoGP"
                },
                {
                    "id": 8,
                    "cat": "TV/Sport",
                    "desc": "Nascar"
                },
                {
                    "id": 9,
                    "cat": "TV/Sport",
                    "desc": "Formula 3"
                },
                {
                    "id": 10,
                    "cat": "TV/Sport",
                    "desc": "DTM"
                },
                {
                    "id": 11,
                    "cat": "TV/Sport",
                    "desc": "Rally"
                },
                {
                    "id": 12,
                    "cat": "TV/Sport",
                    "desc": "WEC"
                },
                {
                    "id": 13,
                    "cat": "TV/Sport",
                    "desc": "Other Series"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://f1carreras.xyz/\" target=\"_blank\">F1Carreras</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "\\bS(\\d{2,4})\\b",
                        "$1"
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "f1gp": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "f1gp",
        "replaces": [
            "tsdb"
        ],
        "name": "F1GP",
        "description": "F1GP is a Private Torrent Tracker for SPORTS",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://f1gp.xyz/"
        ],
        "legacylinks": [
            "https://f1gp.site/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 11,
                    "cat": "TV/Sport",
                    "desc": "F1 Races"
                },
                {
                    "id": 1,
                    "cat": "TV/Sport",
                    "desc": "F1 Qualifying"
                },
                {
                    "id": 2,
                    "cat": "TV/Sport",
                    "desc": "F1 Sprint Races"
                },
                {
                    "id": 3,
                    "cat": "TV/Sport",
                    "desc": "F1 Free Practice"
                },
                {
                    "id": 5,
                    "cat": "TV/Sport",
                    "desc": "F1 Pre Races"
                },
                {
                    "id": 6,
                    "cat": "TV/Sport",
                    "desc": "F1 Warm Up"
                },
                {
                    "id": 4,
                    "cat": "TV/Sport",
                    "desc": "F1 Documentary"
                },
                {
                    "id": 7,
                    "cat": "TV/Sport",
                    "desc": "F1 Oldies"
                },
                {
                    "id": 8,
                    "cat": "TV/Sport",
                    "desc": "F1 Press Conferences"
                },
                {
                    "id": 9,
                    "cat": "TV/Sport",
                    "desc": "F1 Post Races"
                },
                {
                    "id": 14,
                    "cat": "TV/Sport",
                    "desc": "F1 Academy"
                },
                {
                    "id": 15,
                    "cat": "TV/Sport",
                    "desc": "F1 Movies"
                },
                {
                    "id": 16,
                    "cat": "TV/Sport",
                    "desc": "F1 Series"
                },
                {
                    "id": 17,
                    "cat": "TV/Sport",
                    "desc": "F2 Championship"
                },
                {
                    "id": 18,
                    "cat": "TV/Sport",
                    "desc": "F3 Championship"
                },
                {
                    "id": 19,
                    "cat": "TV/Sport",
                    "desc": "FE Championship"
                },
                {
                    "id": 21,
                    "cat": "TV/Sport",
                    "desc": "UFC"
                },
                {
                    "id": 22,
                    "cat": "TV/Sport",
                    "desc": "MotoGP"
                },
                {
                    "id": 23,
                    "cat": "TV/Sport",
                    "desc": "Boxing"
                },
                {
                    "id": 24,
                    "cat": "Other",
                    "desc": "Magazines - Books"
                },
                {
                    "id": 25,
                    "cat": "TV/Sport",
                    "desc": "NASCAR"
                },
                {
                    "id": 26,
                    "cat": "TV/Sport",
                    "desc": "Tennis"
                },
                {
                    "id": 27,
                    "cat": "TV/Sport",
                    "desc": "World Cup 2026"
                },
                {
                    "id": 28,
                    "cat": "TV/Sport",
                    "desc": "NBA"
                },
                {
                    "id": 29,
                    "cat": "TV/Sport",
                    "desc": "Indy 500"
                },
                {
                    "id": 30,
                    "cat": "TV/Sport",
                    "desc": "Football/Soccer"
                },
                {
                    "id": 33,
                    "cat": "TV/Sport",
                    "desc": "WRC/Rally"
                },
                {
                    "id": 34,
                    "cat": "TV/Sport",
                    "desc": "BTCC"
                },
                {
                    "id": 35,
                    "cat": "TV/Sport",
                    "desc": "Isle of Man TT"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "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": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile. Default is <i>20</i>."
            }
        ],
        "login": {
            "path": "index.php?page=login",
            "method": "post",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "tr td span[style=\"color:#FF0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ .Keywords }}",
                "category": "{{ range .Categories }}{{.}};{{end}}",
                "options": "{{ if .Config.freeleech }}5{{ else }}0{{ end }}",
                "active": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "table.lista > tbody > tr:has(a[href*=\"downloadcheck&id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"index.php?page=torrents&category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"index.php?page=downloadcheck&id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.+?) width"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "torrentimg/nocover.jpg",
                                ""
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(9)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "optional": true,
                    "selector": "td:nth-child(7)",
                    "default": 0
                },
                "grabs": {
                    "optional": true,
                    "selector": "td:nth-child(8)",
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/freeleech.gif\"]": 0,
                        "img[src=\"images/gold.gif\"]": 0,
                        "img[src=\"images/silver.gif\"]": 0.5,
                        "img[src=\"images/bronze.gif\"]": 0.75,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1.4
                },
                "minimumseedtime": {
                    "text": 432000
                }
            }
        }
    },
    "fanoin": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "fanoin",
        "name": "FANO.IN",
        "description": "Fano.in is a LATVIAN Private Torrent Tracker for 0DAY / GENERAL",
        "language": "lv-LV",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.fano.in/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 20,
                    "cat": "Movies/SD",
                    "desc": "Movies/SD"
                },
                {
                    "id": 6,
                    "cat": "TV/SD",
                    "desc": "TV/SD"
                },
                {
                    "id": 7,
                    "cat": "PC/Games",
                    "desc": "Games/PC ISO"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 47,
                    "cat": "Movies",
                    "desc": "Packs/Movies"
                },
                {
                    "id": 44,
                    "cat": "Audio/Audiobook",
                    "desc": "A-Books"
                },
                {
                    "id": 27,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 17,
                    "cat": "Movies/Foreign",
                    "desc": "Movies/Rus"
                },
                {
                    "id": 33,
                    "cat": "TV/Foreign",
                    "desc": "TV/Rus"
                },
                {
                    "id": 12,
                    "cat": "PC/Games",
                    "desc": "Games/PC Rips"
                },
                {
                    "id": 31,
                    "cat": "Audio/Lossless",
                    "desc": "Music/HQ"
                },
                {
                    "id": 49,
                    "cat": "TV",
                    "desc": "Packs/TV"
                },
                {
                    "id": 41,
                    "cat": "Books",
                    "desc": "E-Books"
                },
                {
                    "id": 29,
                    "cat": "Books",
                    "desc": "Cartoons"
                },
                {
                    "id": 24,
                    "cat": "Movies/Foreign",
                    "desc": "Movies/Lat"
                },
                {
                    "id": 25,
                    "cat": "TV/Foreign",
                    "desc": "TV/Lat"
                },
                {
                    "id": 34,
                    "cat": "Console/XBox",
                    "desc": "Games/Xbox"
                },
                {
                    "id": 19,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": 46,
                    "cat": "Console",
                    "desc": "Packs/Games"
                },
                {
                    "id": 42,
                    "cat": "Other",
                    "desc": "Study"
                },
                {
                    "id": 52,
                    "cat": "Movies/3D",
                    "desc": "3D"
                },
                {
                    "id": 37,
                    "cat": "Movies/HD",
                    "desc": "Movies/HD"
                },
                {
                    "id": 35,
                    "cat": "TV/HD",
                    "desc": "TV/HD"
                },
                {
                    "id": 43,
                    "cat": "Console/PS4",
                    "desc": "Games/PS"
                },
                {
                    "id": 38,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile"
                },
                {
                    "id": 48,
                    "cat": "Audio",
                    "desc": "Packs/Music"
                },
                {
                    "id": 36,
                    "cat": "Other",
                    "desc": "X-mas"
                },
                {
                    "id": 53,
                    "cat": "Movies/SD",
                    "desc": "Movies/CAM"
                },
                {
                    "id": 4,
                    "cat": "Movies/DVD",
                    "desc": "Movies/DVD-R"
                },
                {
                    "id": 32,
                    "cat": "TV",
                    "desc": "TV/Facts"
                },
                {
                    "id": 40,
                    "cat": "Console/Wii",
                    "desc": "Games/Wii"
                },
                {
                    "id": 22,
                    "cat": "PC/0day",
                    "desc": "Appz/misc"
                },
                {
                    "id": 50,
                    "cat": "XXX/Pack",
                    "desc": "Packs/XXX"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 45,
                    "cat": "XXX",
                    "desc": "XXX/HD"
                },
                {
                    "id": 54,
                    "cat": "Movies",
                    "desc": "Movies/Retro"
                },
                {
                    "id": 23,
                    "cat": "TV/Sport",
                    "desc": "TV/Sport"
                },
                {
                    "id": 51,
                    "cat": "Console",
                    "desc": "Games/Misc"
                },
                {
                    "id": 1,
                    "cat": "PC/0day",
                    "desc": "Appz/PC ISO"
                },
                {
                    "id": 55,
                    "cat": "Movies/UHD",
                    "desc": "Movies/4K"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"failed\"))"
                }
            ],
            "test": {
                "path": "browse_old.php",
                "selector": "a[href=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse_old.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 1,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "tr.browse_actions"
            },
            "fields": {
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "category": {
                    "selector": "a[href^=\"browse_old.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details.php",
                                "download.php"
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "date": {
                    "selector": "td:nth-child(2) > small:nth-last-child(2), td:nth-child(2) > small",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Šodien",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Vakar",
                                "Yesterday"
                            ]
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[alt=\"Free\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[alt=\"x2\"]": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2) > small:nth-last-child(1)",
                    "remove": "a[href^=\"details.php?id=\"]"
                }
            }
        }
    },
    "fappaizuri": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "fappaizuri",
        "name": "Fappaizuri",
        "description": "Fappaizuri is a Private Torrent Tracker for HENTAI / JAV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.fappaizuri.me/"
        ],
        "legacylinks": [
            "https://fappaizuri.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "JAV"
                },
                {
                    "id": 6,
                    "cat": "Books",
                    "desc": "Manga"
                },
                {
                    "id": 7,
                    "cat": "Console",
                    "desc": "H-games"
                },
                {
                    "id": 8,
                    "cat": "TV/Anime",
                    "desc": "Hentai"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "OFFS"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA",
                "default": "If you want to enable 2FA then use the Fappaizuri2FA indexer instead."
            },
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "lang",
                "type": "select",
                "label": "Language",
                "default": 0,
                "options": {
                    "0": "All",
                    "4": "Japanese",
                    "5": "Chinese",
                    "6": "Malaysia",
                    "7": "North Korea",
                    "8": "English"
                }
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "id",
                "options": {
                    "id": "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_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "method": "post",
            "path": "account-login.php",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "b:contains(\"The specified username or password was incorrect.\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"account-logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "torrents-search.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}&c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "freeleech": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "lang": "{{ .Config.lang }}",
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "tr.t-row"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrents-search.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents-details.php?id=\"] > b"
                },
                "details": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "onMouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.+?)>"
                        }
                    ]
                },
                "_language": {
                    "selector": "img[src*=\"images/languages/\"]",
                    "attribute": "alt",
                    "optional": true
                },
                "description": {
                    "selector": "font[color=\"red\"]",
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ if .Result._language }} - {{ .Result._language }}{{ else }}{{ end }}"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "date": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/free.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"images/doubleupload.gif\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 345600
                }
            }
        }
    },
    "fappaizuri2fa": {
        "credentials": {
            "cookie": ""
        },
        "id": "fappaizuri2fa",
        "name": "Fappaizuri2FA",
        "description": "Fappaizuri is a Private Torrent Tracker for HENTAI / JAV. This indexer uses cookie login for 2FA.",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.fappaizuri.me/"
        ],
        "legacylinks": [
            "https://fappaizuri.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "JAV"
                },
                {
                    "id": 6,
                    "cat": "Books",
                    "desc": "Manga"
                },
                {
                    "id": 7,
                    "cat": "Console",
                    "desc": "H-games"
                },
                {
                    "id": 8,
                    "cat": "TV/Anime",
                    "desc": "Hentai"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "OFFS"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "lang",
                "type": "select",
                "label": "Language",
                "default": 0,
                "options": {
                    "0": "All",
                    "4": "Japanese",
                    "5": "Chinese",
                    "6": "Malaysia",
                    "7": "North Korea",
                    "8": "English"
                }
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "id",
                "options": {
                    "id": "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_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"account-logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "torrents-search.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}&c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "freeleech": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "lang": "{{ .Config.lang }}",
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "tr.t-row"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrents-search.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents-details.php?id=\"] > b"
                },
                "details": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "onMouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.+?)>"
                        }
                    ]
                },
                "_language": {
                    "selector": "img[src*=\"images/languages/\"]",
                    "attribute": "alt",
                    "optional": true
                },
                "description": {
                    "selector": "font[color=\"red\"]",
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ if .Result._language }} - {{ .Result._language }}{{ else }}{{ end }}"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "date": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/free.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"images/doubleupload.gif\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 345600
                }
            }
        }
    },
    "femdomcult": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "femdomcult",
        "name": "Femdomcult",
        "description": "Femdomcult is a Private Torrent Tracker for FETISH 3X",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://femdomcult.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 58,
                    "cat": "XXX",
                    "desc": "Amateur/Mainstream"
                },
                {
                    "id": 60,
                    "cat": "XXX",
                    "desc": "Anime Comics"
                },
                {
                    "id": 73,
                    "cat": "XXX",
                    "desc": "Asian Femdom"
                },
                {
                    "id": 61,
                    "cat": "XXX",
                    "desc": "Audio"
                },
                {
                    "id": 78,
                    "cat": "XXX",
                    "desc": "EBook"
                },
                {
                    "id": 74,
                    "cat": "XXX",
                    "desc": "Female Muscles"
                },
                {
                    "id": 59,
                    "cat": "XXX",
                    "desc": "Femdom"
                },
                {
                    "id": 62,
                    "cat": "XXX",
                    "desc": "Femdom Vip"
                },
                {
                    "id": 63,
                    "cat": "XXX",
                    "desc": "Fetish"
                },
                {
                    "id": 68,
                    "cat": "XXX",
                    "desc": "Fetish Vip"
                },
                {
                    "id": 76,
                    "cat": "XXX",
                    "desc": "Game"
                },
                {
                    "id": 64,
                    "cat": "XXX",
                    "desc": "Gts-Vore-Crush"
                },
                {
                    "id": 72,
                    "cat": "XXX",
                    "desc": "Images"
                },
                {
                    "id": 69,
                    "cat": "XXX",
                    "desc": "Lezdom"
                },
                {
                    "id": 70,
                    "cat": "XXX",
                    "desc": "Pov"
                },
                {
                    "id": 65,
                    "cat": "XXX",
                    "desc": "Scat"
                },
                {
                    "id": 71,
                    "cat": "XXX",
                    "desc": "Strapon"
                },
                {
                    "id": 66,
                    "cat": "XXX",
                    "desc": "Transdom"
                },
                {
                    "id": 77,
                    "cat": "XXX",
                    "desc": "Unknown & Low Quality"
                },
                {
                    "id": 75,
                    "cat": "XXX",
                    "desc": "Virtual Reality"
                },
                {
                    "id": 0,
                    "cat": "XXX/Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "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": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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": "User classes Beginner and Perv have to be inactive (= not logged in on the site, tracker activity/seeding does not count) for 4 months before getting disabled automatically. Member class and higher are exempt."
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "cinfo": "2550|1350|24|-60",
                "keeplogged": 1
            },
            "error": [
                {
                    "selector": "form#loginform > span.warning"
                }
            ],
            "test": {
                "path": "torrents.php",
                "selector": "#nav_userinfo"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "title": "{{ .Keywords }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent row\"]:has(a[href*=\"action=download\"])"
            },
            "fields": {
                "download": {
                    "selector": "a[href^=\"/torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "description_tags": {
                    "selector": "div.tags"
                },
                "description": {
                    "case": {
                        "span.icon[title*=\"okay\"]": "Verified: {{ .Result.description_tags }}",
                        "*": "Unverified: {{ .Result.description_tags }}"
                    }
                },
                "title": {
                    "selector": "a[href^=\"/torrents.php?id=\"]"
                },
                "category": {
                    "selector": "a[href*=\"filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)]=1"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "td:nth-child(2) > script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.*?)>"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\\\\"]",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "/static/common/noartwork/noimage.png",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5) > span",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "i.unlimited_leech": 0,
                        "i.sitewide_leech": 0,
                        "img[alt=\"Freeleech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"DoubleSeed\"]": 2,
                        "img[alt=\"DoubleSeed\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "fenyarnyek-tracker": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "fenyarnyek-tracker",
        "name": "Fenyarnyek-Tracker",
        "description": "Fenyarnyek-Tracker is a HUNGARIAN Semi-Private site for TV / MOVIES / GENERAL",
        "language": "hu-HU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "http://tracker.fenyarnyek.com/"
        ],
        "legacylinks": [
            "https://tracker.fenyarnyek.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 13,
                    "cat": "Movies/SD",
                    "desc": "SD Hun"
                },
                {
                    "id": 14,
                    "cat": "Movies/SD",
                    "desc": "SD Eng"
                },
                {
                    "id": 15,
                    "cat": "Movies/SD",
                    "desc": "Xvid Hun"
                },
                {
                    "id": 16,
                    "cat": "Movies/SD",
                    "desc": "Xvid Eng"
                },
                {
                    "id": 17,
                    "cat": "Movies/HD",
                    "desc": "HD Hun"
                },
                {
                    "id": 18,
                    "cat": "Movies/HD",
                    "desc": "HD Eng"
                },
                {
                    "id": 19,
                    "cat": "Movies/DVD",
                    "desc": "DVD Hun"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "DVD Eng"
                },
                {
                    "id": 21,
                    "cat": "Movies/SD",
                    "desc": "Cam Hun"
                },
                {
                    "id": 22,
                    "cat": "Movies/SD",
                    "desc": "Cam Eng"
                },
                {
                    "id": 23,
                    "cat": "TV",
                    "desc": "Sorozat Hun"
                },
                {
                    "id": 24,
                    "cat": "TV",
                    "desc": "Sorozat Eng"
                },
                {
                    "id": 25,
                    "cat": "TV/Anime",
                    "desc": "Animációs"
                },
                {
                    "id": 26,
                    "cat": "Books",
                    "desc": "Ebook Hun"
                },
                {
                    "id": 27,
                    "cat": "Books",
                    "desc": "Ebook Eng"
                },
                {
                    "id": 28,
                    "cat": "PC/Games",
                    "desc": "Game Iso"
                },
                {
                    "id": 29,
                    "cat": "PC/Games",
                    "desc": "Game Rip"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "XXX Film"
                },
                {
                    "id": 31,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX kép"
                },
                {
                    "id": 32,
                    "cat": "Audio",
                    "desc": "Zene Hun"
                },
                {
                    "id": 33,
                    "cat": "Audio",
                    "desc": "Zene Eng"
                },
                {
                    "id": 34,
                    "cat": "Other",
                    "desc": "Képek"
                },
                {
                    "id": 35,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil"
                }
            ],
            "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": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "post",
            "path": "index.php?page=login",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.lista span[style=\"color:#FF0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ .Keywords }}",
                "category": 0,
                "active": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.lista > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"index.php?page=torrent-details\"]"
                },
                "details": {
                    "selector": "a[href^=\"index.php?page=torrent-details\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"index.php?page=torrent-details\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.+?) "
                        }
                    ]
                },
                "date": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy"
                        }
                    ]
                },
                "size": {
                    "selector": "a[href^=\"index.php?page=torrent-details\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Méret: (.+?)<"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-last-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(7)"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "file-tracker": {
        "credentials": {
            "username": "",
            "password": "",
            "uploader": ""
        },
        "id": "file-tracker",
        "name": "File-Tracker",
        "description": "File Tracker is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / GENERAL",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "windows-1251",
        "links": [
            "https://file-tracker.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 387,
                    "cat": "Movies/DVD",
                    "desc": " |- Отечественные фильмы DVD Master's"
                },
                {
                    "id": 386,
                    "cat": "Movies/DVD",
                    "desc": " |- Зарубежные фильмы DVD Master's"
                },
                {
                    "id": 390,
                    "cat": "TV/SD",
                    "desc": " |- Сериалы DVD Master's"
                },
                {
                    "id": 388,
                    "cat": "Movies/DVD",
                    "desc": " |- Мультфильмы DVD Master's"
                },
                {
                    "id": 601,
                    "cat": "TV/Anime",
                    "desc": " |- Мультсериалы DVD Master's"
                },
                {
                    "id": 1002,
                    "cat": "Movies",
                    "desc": " |- Зарубежные фильмы , мультфильмы [HD/UHD]"
                },
                {
                    "id": 987,
                    "cat": "Movies",
                    "desc": " |- Зарубежные фильмы , мультфильмы [SD]"
                },
                {
                    "id": 1003,
                    "cat": "Movies",
                    "desc": " |- Отечественные фильмы , мультфильмы [HD/UHD]"
                },
                {
                    "id": 988,
                    "cat": "Movies",
                    "desc": " |- Отечественные фильмы , мультфильмы [SD]"
                },
                {
                    "id": 337,
                    "cat": "Movies",
                    "desc": " |- Зарубежные фильмы , мультфильмы на других языках [SD/HD/UHD]"
                },
                {
                    "id": 994,
                    "cat": "Movies",
                    "desc": " |- Новинки с рекламой (фильмы, мультфильмы) [SD/HD/UHD]"
                },
                {
                    "id": 385,
                    "cat": "Movies",
                    "desc": " |- Экранки (фильмы , мультфильмы) [SD/HD/UHD]"
                },
                {
                    "id": 999,
                    "cat": "Movies",
                    "desc": " |- Фильмы (2021-2022)"
                },
                {
                    "id": 996,
                    "cat": "Movies",
                    "desc": " |- Фильмы (2019-2020)"
                },
                {
                    "id": 921,
                    "cat": "Movies",
                    "desc": " |- Фильмы (2016-2018)"
                },
                {
                    "id": 382,
                    "cat": "Movies",
                    "desc": " |- Фильмы (2012-2015)"
                },
                {
                    "id": 381,
                    "cat": "Movies",
                    "desc": " |- Фильмы (2009-2011)"
                },
                {
                    "id": 734,
                    "cat": "Movies",
                    "desc": " |- Фильмы (2006-2008)"
                },
                {
                    "id": 380,
                    "cat": "Movies",
                    "desc": " |- Фильмы (2001-2005)"
                },
                {
                    "id": 379,
                    "cat": "Movies",
                    "desc": " |- Фильмы до 2000 года"
                },
                {
                    "id": 613,
                    "cat": "Movies",
                    "desc": " |- Кино для детей"
                },
                {
                    "id": 638,
                    "cat": "Movies",
                    "desc": " |- Азиатское кино/Япония"
                },
                {
                    "id": 136,
                    "cat": "Movies",
                    "desc": " |- Индийское кино"
                },
                {
                    "id": 443,
                    "cat": "Movies",
                    "desc": " |- Антология зарубежного кино"
                },
                {
                    "id": 1000,
                    "cat": "Movies",
                    "desc": " |- Наше кино (2021 - 2022)"
                },
                {
                    "id": 997,
                    "cat": "Movies",
                    "desc": " |- Наше кино (2019 - 2020)"
                },
                {
                    "id": 922,
                    "cat": "Movies",
                    "desc": " |- Наше кино (2016 - 2018)"
                },
                {
                    "id": 229,
                    "cat": "Movies",
                    "desc": " |- Наше кино (2012 - 2015)"
                },
                {
                    "id": 733,
                    "cat": "Movies",
                    "desc": " |- Наше кино (2008 - 2011)"
                },
                {
                    "id": 334,
                    "cat": "Movies",
                    "desc": " |- Наше кино (2001 - 2007)"
                },
                {
                    "id": 333,
                    "cat": "Movies",
                    "desc": " |- Наше кино (1990 - 2000)"
                },
                {
                    "id": 250,
                    "cat": "Movies",
                    "desc": " |- Советское кино (классика)"
                },
                {
                    "id": 62,
                    "cat": "Movies",
                    "desc": " |- Кино для детей"
                },
                {
                    "id": 962,
                    "cat": "Movies",
                    "desc": " |- Антология отечественного кино"
                },
                {
                    "id": 990,
                    "cat": "Movies",
                    "desc": " |- Фильмы , мультфильмы и сериалы на языках ближнего..."
                },
                {
                    "id": 991,
                    "cat": "Movies",
                    "desc": " |- Зарубежные фильмы , мультфильмы и сериалы в оригинале"
                },
                {
                    "id": 74,
                    "cat": "Movies",
                    "desc": " |- Зарубежные мультфильмы"
                },
                {
                    "id": 73,
                    "cat": "Movies",
                    "desc": " |- Отечественные мультфильмы"
                },
                {
                    "id": 599,
                    "cat": "TV",
                    "desc": " |- Сказки русских писателей"
                },
                {
                    "id": 575,
                    "cat": "TV",
                    "desc": " |- Интерны"
                },
                {
                    "id": 271,
                    "cat": "TV",
                    "desc": " |- Реальные пацаны"
                },
                {
                    "id": 377,
                    "cat": "TV",
                    "desc": " |- МарГоша"
                },
                {
                    "id": 612,
                    "cat": "TV",
                    "desc": " |- Воронины"
                },
                {
                    "id": 731,
                    "cat": "TV",
                    "desc": " |- Сваты"
                },
                {
                    "id": 968,
                    "cat": "TV",
                    "desc": " |- Разные сериалы"
                },
                {
                    "id": 639,
                    "cat": "TV",
                    "desc": " |- Теория большого взрыва"
                },
                {
                    "id": 89,
                    "cat": "TV",
                    "desc": " |- Друзья"
                },
                {
                    "id": 92,
                    "cat": "TV",
                    "desc": " |- Тайны Смолвиля"
                },
                {
                    "id": 95,
                    "cat": "TV",
                    "desc": " |- Секретные материалы"
                },
                {
                    "id": 383,
                    "cat": "TV",
                    "desc": " |- Альф"
                },
                {
                    "id": 384,
                    "cat": "TV",
                    "desc": " |- Доктор Хаус"
                },
                {
                    "id": 632,
                    "cat": "TV",
                    "desc": " |- Дневники Вампира"
                },
                {
                    "id": 969,
                    "cat": "TV",
                    "desc": " |- Разные сериалы"
                },
                {
                    "id": 600,
                    "cat": "TV",
                    "desc": " |- Том и Джерри"
                },
                {
                    "id": 609,
                    "cat": "TV",
                    "desc": " |- Разное (иностранные мультсериалы)"
                },
                {
                    "id": 701,
                    "cat": "TV",
                    "desc": " |- Маша и Медведь"
                },
                {
                    "id": 594,
                    "cat": "TV",
                    "desc": " |- Ну, погоди!"
                },
                {
                    "id": 598,
                    "cat": "TV",
                    "desc": " |- Смешарики"
                },
                {
                    "id": 610,
                    "cat": "TV",
                    "desc": " |- Сборники мультфильмов"
                },
                {
                    "id": 870,
                    "cat": "TV",
                    "desc": " |- Разные (отечественные мультсериалы)"
                },
                {
                    "id": 741,
                    "cat": "Movies/3D",
                    "desc": " |- 3D | Кинофильмы"
                },
                {
                    "id": 742,
                    "cat": "Movies/3D",
                    "desc": " |- 3D | Мультфильмы"
                },
                {
                    "id": 981,
                    "cat": "Movies/3D",
                    "desc": " |- 3D | Blu-ray и BD Remux"
                },
                {
                    "id": 743,
                    "cat": "Movies/3D",
                    "desc": " |- 3D | Документальные фильмы"
                },
                {
                    "id": 744,
                    "cat": "Movies/3D",
                    "desc": " |- 3D | Спорт"
                },
                {
                    "id": 335,
                    "cat": "Movies/DVD",
                    "desc": " |- Наше кино (DVD)"
                },
                {
                    "id": 336,
                    "cat": "Movies/HD",
                    "desc": " |- Наше кино (HD Video)"
                },
                {
                    "id": 747,
                    "cat": "Movies/BluRay",
                    "desc": " |- Наше кино (Blu-ray и BD Remux) [HD/UHD]"
                },
                {
                    "id": 985,
                    "cat": "Movies/UHD",
                    "desc": " |- Наше кино (Ultra HD)"
                },
                {
                    "id": 69,
                    "cat": "Movies/DVD",
                    "desc": " |- Зарубежное кино (DVD)"
                },
                {
                    "id": 70,
                    "cat": "Movies/HD",
                    "desc": " |- Зарубежное кино (HD Video)"
                },
                {
                    "id": 748,
                    "cat": "Movies/BluRay",
                    "desc": " |- Зарубежное кино (Blu-ray и BD Remux) [HD/UHD]"
                },
                {
                    "id": 984,
                    "cat": "Movies/UHD",
                    "desc": " |- Зарубежное кино (Ultra HD)"
                },
                {
                    "id": 907,
                    "cat": "Movies",
                    "desc": " |- Кино для детей (DVD, HD Video, Blu-ray, BD Remux, Ultra HD)"
                },
                {
                    "id": 339,
                    "cat": "Movies",
                    "desc": " |- Мультфильмы (DVD, HD Video и Blu-ray)"
                },
                {
                    "id": 602,
                    "cat": "TV/Anime",
                    "desc": " |- Мультсериалы (DVD, HD Video и Blu-ray)"
                },
                {
                    "id": 906,
                    "cat": "Movies",
                    "desc": " |- Азиатское кино/Япония (DVD, HD Video, Blu-ray, BD Remux, Ult.."
                },
                {
                    "id": 442,
                    "cat": "Movies",
                    "desc": " |- Антология (DVD, HD Video, Blu-ray, BD Remux)"
                },
                {
                    "id": 898,
                    "cat": "TV",
                    "desc": " |- Отечественные сериалы (DVD, HD Video, Blu-ray, BD Remux)"
                },
                {
                    "id": 970,
                    "cat": "TV",
                    "desc": " |- Иностранные сериалы (DVD, HD Video, Blu-ray, BD Remux)"
                },
                {
                    "id": 71,
                    "cat": "Movies",
                    "desc": " |- Арт-хаус и авторское кино (DVD, HD Video, Blu-ray, BD Remux)"
                },
                {
                    "id": 180,
                    "cat": "Audio/Video",
                    "desc": " |- Музыкальное (DVD, HD Video, Blu-ray, BD Remux)"
                },
                {
                    "id": 681,
                    "cat": "TV",
                    "desc": " |- Осторожно Модерн!"
                },
                {
                    "id": 341,
                    "cat": "TV",
                    "desc": " |- Ералаш"
                },
                {
                    "id": 332,
                    "cat": "TV",
                    "desc": " |- Прожекторпэрисхилтон"
                },
                {
                    "id": 330,
                    "cat": "TV",
                    "desc": " |- Маски-шоу"
                },
                {
                    "id": 279,
                    "cat": "TV",
                    "desc": " |- Юмористы"
                },
                {
                    "id": 65,
                    "cat": "TV",
                    "desc": " |- КВН / Пост КВН"
                },
                {
                    "id": 66,
                    "cat": "TV",
                    "desc": " |- Вечерний Квартал"
                },
                {
                    "id": 64,
                    "cat": "TV",
                    "desc": " |- Даешь,молодежь!"
                },
                {
                    "id": 10,
                    "cat": "TV",
                    "desc": " |- Наша Russia"
                },
                {
                    "id": 879,
                    "cat": "TV",
                    "desc": " |- Другие телепередачи"
                },
                {
                    "id": 614,
                    "cat": "TV",
                    "desc": " |- Строительство и дизайн"
                },
                {
                    "id": 252,
                    "cat": "TV",
                    "desc": " |- BBC"
                },
                {
                    "id": 81,
                    "cat": "TV",
                    "desc": " |- Discovery"
                },
                {
                    "id": 80,
                    "cat": "TV",
                    "desc": " |- Фильмы National Geographic"
                },
                {
                    "id": 910,
                    "cat": "TV",
                    "desc": " |- Флора и Фауна"
                },
                {
                    "id": 573,
                    "cat": "TV",
                    "desc": " |- Секретные файлы"
                },
                {
                    "id": 359,
                    "cat": "TV",
                    "desc": " |- Запретные темы истории"
                },
                {
                    "id": 358,
                    "cat": "TV",
                    "desc": " |- Секретные материалы"
                },
                {
                    "id": 357,
                    "cat": "TV",
                    "desc": " |- Русские сенсации"
                },
                {
                    "id": 356,
                    "cat": "TV",
                    "desc": " |- Среда обитания"
                },
                {
                    "id": 355,
                    "cat": "TV",
                    "desc": " |- Медицина и здоровье"
                },
                {
                    "id": 354,
                    "cat": "TV",
                    "desc": " |- Тайны века"
                },
                {
                    "id": 351,
                    "cat": "TV",
                    "desc": " |- Апокалипсис"
                },
                {
                    "id": 350,
                    "cat": "TV",
                    "desc": " |- Профессия репортёр"
                },
                {
                    "id": 349,
                    "cat": "TV",
                    "desc": " |- Криминальная Россия"
                },
                {
                    "id": 251,
                    "cat": "TV",
                    "desc": " |- Военное видео и вооружение"
                },
                {
                    "id": 82,
                    "cat": "TV",
                    "desc": " |- Все о Охоте и Рыбалке"
                },
                {
                    "id": 79,
                    "cat": "TV",
                    "desc": " |- Непознанное и сверхъестественное"
                },
                {
                    "id": 474,
                    "cat": "TV",
                    "desc": " |- Одиссея Жака Кусто"
                },
                {
                    "id": 268,
                    "cat": "TV",
                    "desc": " |- Разное"
                },
                {
                    "id": 365,
                    "cat": "TV/Sport",
                    "desc": " |- Олимпийские игры"
                },
                {
                    "id": 364,
                    "cat": "TV/Sport",
                    "desc": " |- Фигурное катание"
                },
                {
                    "id": 363,
                    "cat": "TV/Sport",
                    "desc": " |- Бодибилдинг/Силовые виды спорта"
                },
                {
                    "id": 362,
                    "cat": "TV/Sport",
                    "desc": " |- Бильярд"
                },
                {
                    "id": 361,
                    "cat": "TV/Sport",
                    "desc": " |- Волейбол/Гандбол"
                },
                {
                    "id": 360,
                    "cat": "TV/Sport",
                    "desc": " |- Формула 1"
                },
                {
                    "id": 272,
                    "cat": "TV/Sport",
                    "desc": " |- Футбол"
                },
                {
                    "id": 249,
                    "cat": "TV/Sport",
                    "desc": " |- Рестлинг"
                },
                {
                    "id": 248,
                    "cat": "TV/Sport",
                    "desc": " |- Скейтборд / Сноуборд / Паркур"
                },
                {
                    "id": 220,
                    "cat": "TV/Sport",
                    "desc": " |- Авто/Мото"
                },
                {
                    "id": 219,
                    "cat": "TV/Sport",
                    "desc": " |- Хоккей"
                },
                {
                    "id": 218,
                    "cat": "TV/Sport",
                    "desc": " |- Баскетбол"
                },
                {
                    "id": 217,
                    "cat": "TV/Sport",
                    "desc": " |- Бокс"
                },
                {
                    "id": 216,
                    "cat": "TV/Sport",
                    "desc": " |- Теннис"
                },
                {
                    "id": 215,
                    "cat": "TV/Sport",
                    "desc": " |- Экстрим"
                },
                {
                    "id": 214,
                    "cat": "TV/Sport",
                    "desc": " |- Бои без правил"
                },
                {
                    "id": 468,
                    "cat": "TV/Sport",
                    "desc": " |- Игровое видео"
                },
                {
                    "id": 545,
                    "cat": "TV",
                    "desc": " |- Видеоуроки по программному обеспечению"
                },
                {
                    "id": 673,
                    "cat": "TV",
                    "desc": " |- Видеоуроки по медицине (обучение, лечение, профилактика)"
                },
                {
                    "id": 463,
                    "cat": "TV",
                    "desc": " |- Видеообучение ин. языкам"
                },
                {
                    "id": 735,
                    "cat": "TV",
                    "desc": " |- Для родителей"
                },
                {
                    "id": 702,
                    "cat": "TV",
                    "desc": " |- Для студентов"
                },
                {
                    "id": 678,
                    "cat": "TV",
                    "desc": " |- Для школьного возраста"
                },
                {
                    "id": 677,
                    "cat": "TV",
                    "desc": " |- Для самых маленьких"
                },
                {
                    "id": 200,
                    "cat": "TV",
                    "desc": " |- Русский стиль и рукопашный бой"
                },
                {
                    "id": 199,
                    "cat": "TV",
                    "desc": " |- Джиу-джитсу"
                },
                {
                    "id": 198,
                    "cat": "TV",
                    "desc": " |- Айкидо и айки-дзюцу"
                },
                {
                    "id": 277,
                    "cat": "TV",
                    "desc": "Разное (Видеоуроки, обучающее видео)"
                },
                {
                    "id": 657,
                    "cat": "TV",
                    "desc": " |- Школа || Сёнэн || Сёдзё"
                },
                {
                    "id": 656,
                    "cat": "TV",
                    "desc": " |- Боевые искусства"
                },
                {
                    "id": 655,
                    "cat": "TV",
                    "desc": " |- Ужасы || Мистика || Вампиры"
                },
                {
                    "id": 654,
                    "cat": "TV",
                    "desc": " |- Фэнтези || Апокалиптика || Постапокалиптика"
                },
                {
                    "id": 653,
                    "cat": "TV",
                    "desc": " |- Меха"
                },
                {
                    "id": 658,
                    "cat": "TV",
                    "desc": " |- Романтика"
                },
                {
                    "id": 659,
                    "cat": "TV",
                    "desc": " |- Комедия"
                },
                {
                    "id": 660,
                    "cat": "TV",
                    "desc": " |- Для детей"
                },
                {
                    "id": 661,
                    "cat": "TV",
                    "desc": " |- Разное"
                },
                {
                    "id": 620,
                    "cat": "TV",
                    "desc": " |- Призрак в доспехах"
                },
                {
                    "id": 635,
                    "cat": "TV",
                    "desc": " |- Хеллсинг"
                },
                {
                    "id": 619,
                    "cat": "TV",
                    "desc": " |- Мобильный воин ГАНДАМ"
                },
                {
                    "id": 618,
                    "cat": "TV",
                    "desc": " |- Наруто"
                },
                {
                    "id": 617,
                    "cat": "TV",
                    "desc": " |- Блич"
                },
                {
                    "id": 308,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме (озвучка/SD и DVD)"
                },
                {
                    "id": 307,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме (RAW/DVD)"
                },
                {
                    "id": 306,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме (RAW/SD)"
                },
                {
                    "id": 715,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме (DVD)"
                },
                {
                    "id": 317,
                    "cat": "TV/Anime",
                    "desc": " |- 720p и 1080p (озвучка)"
                },
                {
                    "id": 316,
                    "cat": "TV/Anime",
                    "desc": " |- 1080p (RAW)"
                },
                {
                    "id": 315,
                    "cat": "TV/Anime",
                    "desc": " |- 720p (RAW)"
                },
                {
                    "id": 304,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме (озвучка)"
                },
                {
                    "id": 303,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме (RAW)"
                },
                {
                    "id": 471,
                    "cat": "Console",
                    "desc": " |- Раздачи игр от R.G. FTN Gaming RePack"
                },
                {
                    "id": 19,
                    "cat": "Console",
                    "desc": " |- Новинки игр"
                },
                {
                    "id": 99,
                    "cat": "Console",
                    "desc": " |- Demo, Alpha, Beta версии"
                },
                {
                    "id": 16,
                    "cat": "Console",
                    "desc": " |- Action FPS (1st Person)"
                },
                {
                    "id": 885,
                    "cat": "Console",
                    "desc": " |- Action TPS (3rd Person)"
                },
                {
                    "id": 17,
                    "cat": "Console",
                    "desc": " |- RPG"
                },
                {
                    "id": 104,
                    "cat": "Console",
                    "desc": " |- Авто/мото симуляторы"
                },
                {
                    "id": 105,
                    "cat": "Console",
                    "desc": " |- Авиасимуляторы"
                },
                {
                    "id": 923,
                    "cat": "Console",
                    "desc": " |- Спортивные симуляторы"
                },
                {
                    "id": 258,
                    "cat": "Console",
                    "desc": " |- Другие симуляторы"
                },
                {
                    "id": 102,
                    "cat": "Console",
                    "desc": " |- Аркады, Файтинги"
                },
                {
                    "id": 103,
                    "cat": "Console",
                    "desc": " |- Приключения и Квесты"
                },
                {
                    "id": 101,
                    "cat": "Console",
                    "desc": " |- Стратегии / Логические игры"
                },
                {
                    "id": 108,
                    "cat": "Console",
                    "desc": " |- Мини игры"
                },
                {
                    "id": 20,
                    "cat": "Console",
                    "desc": " |- Online-игры"
                },
                {
                    "id": 107,
                    "cat": "Console",
                    "desc": " |- Детские и обучающие игры"
                },
                {
                    "id": 109,
                    "cat": "Console",
                    "desc": " |- Аниме-игры"
                },
                {
                    "id": 722,
                    "cat": "Console",
                    "desc": " |- Action (старые игры)"
                },
                {
                    "id": 721,
                    "cat": "Console",
                    "desc": " |- RPG (старые игры)"
                },
                {
                    "id": 720,
                    "cat": "Console",
                    "desc": " |- Симуляторы (старые игры)"
                },
                {
                    "id": 719,
                    "cat": "Console",
                    "desc": " |- Аркады (старые игры)"
                },
                {
                    "id": 718,
                    "cat": "Console",
                    "desc": " |- Приключения и Квесты (старые игры)"
                },
                {
                    "id": 717,
                    "cat": "Console",
                    "desc": " |- Стратегии (старые игры)"
                },
                {
                    "id": 989,
                    "cat": "Console",
                    "desc": " |- Модифицированные версии игр"
                },
                {
                    "id": 18,
                    "cat": "Console",
                    "desc": " |- Моды, русификаторы, патчи, дополнения и обновления для игр"
                },
                {
                    "id": 724,
                    "cat": "Console",
                    "desc": " |- Игровой софт"
                },
                {
                    "id": 450,
                    "cat": "Console",
                    "desc": " |- S.T.A.L.K.E.R."
                },
                {
                    "id": 920,
                    "cat": "Console",
                    "desc": " |- Игры для Mac OS"
                },
                {
                    "id": 695,
                    "cat": "Console",
                    "desc": " |- PlayStation 1/2/3"
                },
                {
                    "id": 113,
                    "cat": "Console",
                    "desc": " |- Xbox (Xbox 360)"
                },
                {
                    "id": 112,
                    "cat": "Console",
                    "desc": " |- PSX-PSP"
                },
                {
                    "id": 111,
                    "cat": "Console",
                    "desc": " |- Dreamcast"
                },
                {
                    "id": 679,
                    "cat": "Console",
                    "desc": " |- Видео для PSP"
                },
                {
                    "id": 662,
                    "cat": "Console",
                    "desc": " |- Софт для консолей"
                },
                {
                    "id": 116,
                    "cat": "Console",
                    "desc": " |- Портативные и Консольные (Игры)"
                },
                {
                    "id": 529,
                    "cat": "PC/0day",
                    "desc": " |- Информация и диагностика"
                },
                {
                    "id": 518,
                    "cat": "PC/0day",
                    "desc": " |- Системные утилиты"
                },
                {
                    "id": 516,
                    "cat": "PC/0day",
                    "desc": " |- Безопасность: Защита информации. Антивирусы/файерволы"
                },
                {
                    "id": 515,
                    "cat": "PC/0day",
                    "desc": " |- Архиваторы и файловые менеджеры"
                },
                {
                    "id": 514,
                    "cat": "PC/0day",
                    "desc": " |- Сервисное обслуживание ПК"
                },
                {
                    "id": 513,
                    "cat": "PC/0day",
                    "desc": " |- Настройка и оптимизация ОС"
                },
                {
                    "id": 530,
                    "cat": "PC/0day",
                    "desc": " |- Сборники смешанного ПО"
                },
                {
                    "id": 437,
                    "cat": "PC/0day",
                    "desc": " |- Активаторы (лоадеры) OS Windows / Office, SP и оф патчи"
                },
                {
                    "id": 520,
                    "cat": "PC/0day",
                    "desc": " |- Офис"
                },
                {
                    "id": 528,
                    "cat": "PC/0day",
                    "desc": " |- Работа с PDF и DjVu"
                },
                {
                    "id": 522,
                    "cat": "PC/0day",
                    "desc": " |- Программы для бизнеса и делопроизводства"
                },
                {
                    "id": 521,
                    "cat": "PC/0day",
                    "desc": " |- Словари, Переводчики"
                },
                {
                    "id": 527,
                    "cat": "PC/0day",
                    "desc": " |- Распознавание текста, звука и синтез речи"
                },
                {
                    "id": 508,
                    "cat": "PC/0day",
                    "desc": " |- Консультант+"
                },
                {
                    "id": 509,
                    "cat": "PC/0day",
                    "desc": " |- Гарант"
                },
                {
                    "id": 510,
                    "cat": "PC/0day",
                    "desc": " |- Другие справочно-правовые системы и обучающее ПО"
                },
                {
                    "id": 511,
                    "cat": "PC/0day",
                    "desc": " |- Справочное ПО: справочники, каталоги"
                },
                {
                    "id": 543,
                    "cat": "PC/0day",
                    "desc": " |- Запись CD, DVD"
                },
                {
                    "id": 526,
                    "cat": "PC/0day",
                    "desc": " |- Графика / Просмотрщики графики"
                },
                {
                    "id": 525,
                    "cat": "PC/0day",
                    "desc": " |- Для работы с аудио"
                },
                {
                    "id": 524,
                    "cat": "PC/0day",
                    "desc": " |- Для работы с видео"
                },
                {
                    "id": 887,
                    "cat": "PC/0day",
                    "desc": " |- Интернет TV & Radio"
                },
                {
                    "id": 561,
                    "cat": "PC/0day",
                    "desc": " |- Удаленный доступ и ПО для свободного доступа в интернет"
                },
                {
                    "id": 555,
                    "cat": "PC/0day",
                    "desc": " |- 3G USB-модем и Webcam"
                },
                {
                    "id": 537,
                    "cat": "PC/0day",
                    "desc": " |- Утилиты для удаления всплывающих окон и баннерной рекламы"
                },
                {
                    "id": 536,
                    "cat": "PC/0day",
                    "desc": " |- Программы общения"
                },
                {
                    "id": 535,
                    "cat": "PC/0day",
                    "desc": " |- Почта и файлообмен"
                },
                {
                    "id": 533,
                    "cat": "PC/0day",
                    "desc": " |- Браузеры и дополнения к ним"
                },
                {
                    "id": 534,
                    "cat": "PC/0day",
                    "desc": " |- Разное"
                },
                {
                    "id": 542,
                    "cat": "PC/0day",
                    "desc": " |- Сборники драйверов и ПО для обновления драйверов"
                },
                {
                    "id": 541,
                    "cat": "PC/0day",
                    "desc": " |- Звуковые карты"
                },
                {
                    "id": 540,
                    "cat": "PC/0day",
                    "desc": " |- Видеокарты"
                },
                {
                    "id": 539,
                    "cat": "PC/0day",
                    "desc": " |- Материнские платы"
                },
                {
                    "id": 554,
                    "cat": "PC/0day",
                    "desc": " |- Темы, скринсейверы ..."
                },
                {
                    "id": 551,
                    "cat": "PC/0day",
                    "desc": " |- Обои"
                },
                {
                    "id": 553,
                    "cat": "PC/0day",
                    "desc": " |- Гаджеты рабочего стола"
                },
                {
                    "id": 739,
                    "cat": "PC/0day",
                    "desc": " |- Аватары, Иконки, Смайлы"
                },
                {
                    "id": 607,
                    "cat": "PC/0day",
                    "desc": " |- САПР"
                },
                {
                    "id": 344,
                    "cat": "PC/0day",
                    "desc": " |- ГИС (Геоинформационные системы)"
                },
                {
                    "id": 965,
                    "cat": "PC/0day",
                    "desc": " |- Программирование и разработка ПО"
                },
                {
                    "id": 345,
                    "cat": "PC/0day",
                    "desc": " |- Карты, снабженные программной оболочкой"
                },
                {
                    "id": 348,
                    "cat": "PC/0day",
                    "desc": " |- Разное - системы навигации и карты"
                },
                {
                    "id": 680,
                    "cat": "PC/0day",
                    "desc": " |- ПО по диагностике и ремонту автомобилей"
                },
                {
                    "id": 675,
                    "cat": "PC/0day",
                    "desc": " |- Программное обеспечение по медицине"
                },
                {
                    "id": 560,
                    "cat": "PC/0day",
                    "desc": " |- Photostoсks"
                },
                {
                    "id": 559,
                    "cat": "PC/0day",
                    "desc": " |- Футажи"
                },
                {
                    "id": 558,
                    "cat": "PC/0day",
                    "desc": " |- Заготовки, виньетки, рамки"
                },
                {
                    "id": 557,
                    "cat": "PC/0day",
                    "desc": " |- Растровые и Векторные Клипарты"
                },
                {
                    "id": 960,
                    "cat": "PC/0day",
                    "desc": " |- Вспомогательный софт для релизера"
                },
                {
                    "id": 961,
                    "cat": "PC/0day",
                    "desc": " |- Разное"
                },
                {
                    "id": 972,
                    "cat": "PC",
                    "desc": " |- Windows 10 / 11 (Оригинальные версии)"
                },
                {
                    "id": 909,
                    "cat": "PC",
                    "desc": " |- Windows 8 / 8.1 (Оригинальные версии)"
                },
                {
                    "id": 822,
                    "cat": "PC",
                    "desc": " |- Windows 7 (Оригинальные версии)"
                },
                {
                    "id": 823,
                    "cat": "PC",
                    "desc": " |- Windows Vista (Оригинальные версии)"
                },
                {
                    "id": 824,
                    "cat": "PC",
                    "desc": " |- Windows XP (Оригинальные версии)"
                },
                {
                    "id": 434,
                    "cat": "PC",
                    "desc": " |- Windows OS, выпущенные до 2001 года (Оригинальные версии)"
                },
                {
                    "id": 973,
                    "cat": "PC",
                    "desc": " |- Windows 10 / 11 (сборки)"
                },
                {
                    "id": 883,
                    "cat": "PC",
                    "desc": " |- Windows 8 / 8.1 (сборки)"
                },
                {
                    "id": 264,
                    "cat": "PC",
                    "desc": " |- Windows 7 (сборки)"
                },
                {
                    "id": 166,
                    "cat": "PC",
                    "desc": " |- Windows Vista (сборки)"
                },
                {
                    "id": 165,
                    "cat": "PC",
                    "desc": " |- Windows XP (сборки)"
                },
                {
                    "id": 167,
                    "cat": "PC",
                    "desc": " |- Серверные OS Windows"
                },
                {
                    "id": 998,
                    "cat": "PC",
                    "desc": " |- Insider Preview, RC, Beta версии, Service Packs"
                },
                {
                    "id": 265,
                    "cat": "PC",
                    "desc": " |- Cборники разных операционных систем"
                },
                {
                    "id": 281,
                    "cat": "PC",
                    "desc": " |- Помощь/Опросы/Общение"
                },
                {
                    "id": 168,
                    "cat": "PC",
                    "desc": " |- Операционные системы"
                },
                {
                    "id": 280,
                    "cat": "PC",
                    "desc": " |- Программное обеспечение"
                },
                {
                    "id": 169,
                    "cat": "PC",
                    "desc": " |- Другие ОС и ПО под них"
                },
                {
                    "id": 732,
                    "cat": "PC",
                    "desc": " |- Игры для Linux"
                },
                {
                    "id": 328,
                    "cat": "PC",
                    "desc": " |- Видеоуроки по Linux"
                },
                {
                    "id": 286,
                    "cat": "PC",
                    "desc": " |- Общение"
                },
                {
                    "id": 285,
                    "cat": "PC/Mac",
                    "desc": " |- Аудио редакторы и конверторы для Mac OS"
                },
                {
                    "id": 284,
                    "cat": "PC/Mac",
                    "desc": " |- Программы для создания и обработки графики Mac OS"
                },
                {
                    "id": 283,
                    "cat": "PC/Mac",
                    "desc": " |- Программы для просмотра и обработки видео Mac OS"
                },
                {
                    "id": 282,
                    "cat": "PC/Mac",
                    "desc": " |- Mac OS"
                },
                {
                    "id": 171,
                    "cat": "PC/Mac",
                    "desc": " |- Системные программы для Mac OS"
                },
                {
                    "id": 170,
                    "cat": "PC/Mac",
                    "desc": " |- Mac OS (для Macintosh)"
                },
                {
                    "id": 436,
                    "cat": "Other",
                    "desc": " |- WYSIWYG Редакторы для веб-дизайна"
                },
                {
                    "id": 435,
                    "cat": "Other",
                    "desc": " |- Обмен исходниками"
                },
                {
                    "id": 376,
                    "cat": "Other",
                    "desc": " |- Среды программирования, компиляторы и вспомогательные програ.."
                },
                {
                    "id": 370,
                    "cat": "Other",
                    "desc": " |- Системы управления базами данных"
                },
                {
                    "id": 369,
                    "cat": "Other",
                    "desc": " |- Скрипты и шаблоны"
                },
                {
                    "id": 368,
                    "cat": "Other",
                    "desc": " |- Компоненты для сред программирования"
                },
                {
                    "id": 367,
                    "cat": "Other",
                    "desc": " |- Ищу и предлагаю (Веб-разработка и программирование)"
                },
                {
                    "id": 430,
                    "cat": "PC/Mobile-iOS",
                    "desc": " |- База знаний"
                },
                {
                    "id": 967,
                    "cat": "PC/Mobile-iOS",
                    "desc": " |- Прошивки и ОС"
                },
                {
                    "id": 426,
                    "cat": "PC/Mobile-iOS",
                    "desc": " |- Программы"
                },
                {
                    "id": 429,
                    "cat": "PC/Mobile-iOS",
                    "desc": " |- Игры"
                },
                {
                    "id": 428,
                    "cat": "PC/Mobile-iOS",
                    "desc": " |- Видео"
                },
                {
                    "id": 913,
                    "cat": "PC/Mobile-iOS",
                    "desc": " |- Видео"
                },
                {
                    "id": 175,
                    "cat": "PC/Mobile-iOS",
                    "desc": " |- Приложения"
                },
                {
                    "id": 174,
                    "cat": "PC/Mobile-iOS",
                    "desc": " |- Игры"
                },
                {
                    "id": 939,
                    "cat": "Audio/Lossless",
                    "desc": " |- Дискографии в Lossless"
                },
                {
                    "id": 948,
                    "cat": "Audio/MP3",
                    "desc": " |- Дискографии в MP3"
                },
                {
                    "id": 129,
                    "cat": "Audio",
                    "desc": " |- Многоканальная музыка (Электронная музыка)"
                },
                {
                    "id": 825,
                    "cat": "Audio/Lossless",
                    "desc": " |- Lossless (Электронная Музыка)"
                },
                {
                    "id": 829,
                    "cat": "Audio/MP3",
                    "desc": " |- Techno / Hardcore / Acid (mp3)"
                },
                {
                    "id": 828,
                    "cat": "Audio/MP3",
                    "desc": " |- Radioshows, Podcasts, Live Sets, Mixes (mp3)"
                },
                {
                    "id": 827,
                    "cat": "Audio/MP3",
                    "desc": " |- D'n'B / Jungle / Breaks (mp3)"
                },
                {
                    "id": 826,
                    "cat": "Audio/MP3",
                    "desc": " |- Ambient / ChillOut (mp3)"
                },
                {
                    "id": 288,
                    "cat": "Audio/MP3",
                    "desc": " |- Drum and Bass (mp3)"
                },
                {
                    "id": 128,
                    "cat": "Audio/MP3",
                    "desc": " |- Garage (mp3)"
                },
                {
                    "id": 127,
                    "cat": "Audio/MP3",
                    "desc": " |- Mixadance (mp3)"
                },
                {
                    "id": 126,
                    "cat": "Audio/MP3",
                    "desc": " |- House / Electro / Dance / Synthpop (mp3)"
                },
                {
                    "id": 125,
                    "cat": "Audio/MP3",
                    "desc": " |- Trance / ProgressiveTranсе / HardStyle (mp3)"
                },
                {
                    "id": 124,
                    "cat": "Audio/MP3",
                    "desc": " |- Электронная музыка других жанров (mp3)"
                },
                {
                    "id": 929,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники разных исполнителей (mp3)"
                },
                {
                    "id": 940,
                    "cat": "Audio/Lossless",
                    "desc": " |- Дискографии в Lossless"
                },
                {
                    "id": 951,
                    "cat": "Audio/MP3",
                    "desc": " |- Дискографии в MP3"
                },
                {
                    "id": 130,
                    "cat": "Audio",
                    "desc": " |- Многоканальная музыка (Рэп, Хип-Хоп, R.n.B)"
                },
                {
                    "id": 830,
                    "cat": "Audio/Lossless",
                    "desc": " |- Lossless (Рэп, Хип-Хоп, R.n.B)"
                },
                {
                    "id": 134,
                    "cat": "Audio/MP3",
                    "desc": " |- Отечественный Рэп, Хип-Хоп (mр3)"
                },
                {
                    "id": 133,
                    "cat": "Audio/MP3",
                    "desc": " |- Зарубежный Рэп, Хип-Хоп (mр3)"
                },
                {
                    "id": 132,
                    "cat": "Audio/MP3",
                    "desc": " |- Отечественный R.n.B (mр3)"
                },
                {
                    "id": 131,
                    "cat": "Audio/MP3",
                    "desc": " |- Зарубежный R.n.B (mр3)"
                },
                {
                    "id": 930,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники разных исполнителей (mp3)"
                },
                {
                    "id": 941,
                    "cat": "Audio/Lossless",
                    "desc": " |- Дискографии в Lossless"
                },
                {
                    "id": 952,
                    "cat": "Audio/MP3",
                    "desc": " |- Дискографии в MP3"
                },
                {
                    "id": 831,
                    "cat": "Audio",
                    "desc": " |- Многоканальная музыка (Зарубежный рок)"
                },
                {
                    "id": 454,
                    "cat": "Audio/Lossless",
                    "desc": " |- Lossless (Зарубежный рок)"
                },
                {
                    "id": 149,
                    "cat": "Audio/MP3",
                    "desc": " |- Аltеrnаtivе, Hard, Indереndеnt (mp3)"
                },
                {
                    "id": 839,
                    "cat": "Audio/MP3",
                    "desc": " |- Reggae, Ska, Dub (mp3)"
                },
                {
                    "id": 148,
                    "cat": "Audio/MP3",
                    "desc": " |- Punk, Hardcore, Emo (mp3)"
                },
                {
                    "id": 147,
                    "cat": "Audio/MP3",
                    "desc": " |- Rock, Metalcore, Metal (mp3)"
                },
                {
                    "id": 931,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники разных исполнителей (mp3)"
                },
                {
                    "id": 942,
                    "cat": "Audio/Lossless",
                    "desc": " |- Дискографии в Lossless"
                },
                {
                    "id": 954,
                    "cat": "Audio/MP3",
                    "desc": " |- Дискографии в MP3"
                },
                {
                    "id": 832,
                    "cat": "Audio",
                    "desc": " |- Многоканальная музыка (Отечественный рок)"
                },
                {
                    "id": 455,
                    "cat": "Audio/Lossless",
                    "desc": " |- Lossless (Отечественный рок)"
                },
                {
                    "id": 834,
                    "cat": "Audio/MP3",
                    "desc": " |- Nu Metal, Metalcore, Metal (mp3)"
                },
                {
                    "id": 833,
                    "cat": "Audio/MP3",
                    "desc": " |- Аltеrnаtivе, Hard, Indереndеnt (mp3)"
                },
                {
                    "id": 152,
                    "cat": "Audio/MP3",
                    "desc": " |- Punk, Hardcore, Emo (mp3)"
                },
                {
                    "id": 151,
                    "cat": "Audio/MP3",
                    "desc": " |- Reggae, Ska, Dub (mp3)"
                },
                {
                    "id": 932,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники разных исполнителей (mp3)"
                },
                {
                    "id": 943,
                    "cat": "Audio/Lossless",
                    "desc": " |- Дискографии в Lossless"
                },
                {
                    "id": 956,
                    "cat": "Audio/MP3",
                    "desc": " |- Дискографии в MP3"
                },
                {
                    "id": 845,
                    "cat": "Audio",
                    "desc": " |- Многоканальная музыка (Industrial)"
                },
                {
                    "id": 844,
                    "cat": "Audio/Lossless",
                    "desc": " |- Lossless (Industrial)"
                },
                {
                    "id": 843,
                    "cat": "Audio/MP3",
                    "desc": " |- Отечественный Industrial (mp3)"
                },
                {
                    "id": 842,
                    "cat": "Audio/MP3",
                    "desc": " |- Зарубежный Industrial (mp3)"
                },
                {
                    "id": 936,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники разных исполнителей (mp3)"
                },
                {
                    "id": 944,
                    "cat": "Audio/Lossless",
                    "desc": " |- Дискографии в Lossless"
                },
                {
                    "id": 955,
                    "cat": "Audio/MP3",
                    "desc": " |- Дискографии в MP3"
                },
                {
                    "id": 853,
                    "cat": "Audio",
                    "desc": " |- Многоканальная музыка (Folk, NewAge, Flamenco)"
                },
                {
                    "id": 852,
                    "cat": "Audio/Lossless",
                    "desc": " |- Lossless (Folk, NewAge, Flamenco)"
                },
                {
                    "id": 851,
                    "cat": "Audio/MP3",
                    "desc": " |- Flamenco и акустическая гитара (mp3)"
                },
                {
                    "id": 850,
                    "cat": "Audio/MP3",
                    "desc": " |- Этническая музыка Африки и Азии (mp3)"
                },
                {
                    "id": 849,
                    "cat": "Audio/MP3",
                    "desc": " |- Country, Bluegrass (mp3)"
                },
                {
                    "id": 848,
                    "cat": "Audio/MP3",
                    "desc": " |- Этническая музыка Кавказа и Закавказья (mp3)"
                },
                {
                    "id": 847,
                    "cat": "Audio/MP3",
                    "desc": " |- NewAge & Meditative (mp3)"
                },
                {
                    "id": 846,
                    "cat": "Audio/MP3",
                    "desc": " |- Folk и neo-folk, celtic, medieval (mp3)"
                },
                {
                    "id": 935,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники разных исполнителей (mp3)"
                },
                {
                    "id": 945,
                    "cat": "Audio/Lossless",
                    "desc": " |- Дискографии в Lossless"
                },
                {
                    "id": 953,
                    "cat": "Audio/MP3",
                    "desc": " |- Дискографии в MP3"
                },
                {
                    "id": 222,
                    "cat": "Audio",
                    "desc": " |- Многоканальная музыка (Поп-музыка)"
                },
                {
                    "id": 221,
                    "cat": "Audio/Lossless",
                    "desc": " |- Lossless (Поп-музыка)"
                },
                {
                    "id": 326,
                    "cat": "Audio/MP3",
                    "desc": " |- Отечественная Eurodance, Technopop, Disco (mp3)"
                },
                {
                    "id": 223,
                    "cat": "Audio/MP3",
                    "desc": " |- Зарубежная Eurodance, Technopop, Disco (mp3)"
                },
                {
                    "id": 156,
                    "cat": "Audio/MP3",
                    "desc": " |- Отечественная Поп музыка (mp3)"
                },
                {
                    "id": 157,
                    "cat": "Audio/MP3",
                    "desc": " |- Зарубежная Поп музыка (mp3)"
                },
                {
                    "id": 158,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники отечественной Поп-музыки (mp3)"
                },
                {
                    "id": 224,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники зарубежной Поп-музыки (mp3)"
                },
                {
                    "id": 924,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники разных исполнителей (mp3)"
                },
                {
                    "id": 946,
                    "cat": "Audio/Lossless",
                    "desc": " |- Дискографии в Lossless"
                },
                {
                    "id": 950,
                    "cat": "Audio/MP3",
                    "desc": " |- Дискографии в MP3"
                },
                {
                    "id": 840,
                    "cat": "Audio",
                    "desc": " |- Многоканальная музыка (Классическая музыка)"
                },
                {
                    "id": 841,
                    "cat": "Audio/Lossless",
                    "desc": " |- Lossless (Классическая музыка)"
                },
                {
                    "id": 153,
                    "cat": "Audio/MP3",
                    "desc": " |- Классическая музыка (mp3)"
                },
                {
                    "id": 933,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники разных исполнителей (mp3)"
                },
                {
                    "id": 947,
                    "cat": "Audio/Lossless",
                    "desc": " |- Дискографии в Lossless"
                },
                {
                    "id": 949,
                    "cat": "Audio/MP3",
                    "desc": " |- Дискографии в MP3"
                },
                {
                    "id": 928,
                    "cat": "Audio",
                    "desc": " |- Многоканальная музыка"
                },
                {
                    "id": 938,
                    "cat": "Audio/Lossless",
                    "desc": " |- Lossless (Музыка других жанров)"
                },
                {
                    "id": 572,
                    "cat": "Audio/MP3",
                    "desc": " |- Blues, Lounge,Cillout, Bossa Nova (mp3)"
                },
                {
                    "id": 155,
                    "cat": "Audio/MP3",
                    "desc": " |- Джаз (mp3)"
                },
                {
                    "id": 871,
                    "cat": "Audio/MP3",
                    "desc": " |- Военная и Патриотическая песня (mp3)"
                },
                {
                    "id": 259,
                    "cat": "Audio/MP3",
                    "desc": " |- Шансон и Бардовская песня (mp3)"
                },
                {
                    "id": 448,
                    "cat": "Audio/MP3",
                    "desc": " |- Музыка для детей (mp3)"
                },
                {
                    "id": 934,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники разных исполнителей (mp3)"
                },
                {
                    "id": 867,
                    "cat": "Audio",
                    "desc": " |- Рок-музыка (муз видео)"
                },
                {
                    "id": 866,
                    "cat": "Audio",
                    "desc": " |- Электронная музыка (муз видео)"
                },
                {
                    "id": 865,
                    "cat": "Audio",
                    "desc": " |- Поп-музыка ( муз видео)"
                },
                {
                    "id": 864,
                    "cat": "Audio",
                    "desc": " |- Народная музыка (Folk) (муз видео)"
                },
                {
                    "id": 863,
                    "cat": "Audio",
                    "desc": " |- Джаз (муз видео)"
                },
                {
                    "id": 862,
                    "cat": "Audio",
                    "desc": " |- Блюз (муз видео)"
                },
                {
                    "id": 861,
                    "cat": "Audio",
                    "desc": " |- Классика (муз видео)"
                },
                {
                    "id": 860,
                    "cat": "Audio",
                    "desc": " |- Рэп, Хип-Хоп, R.n.B (муз видео)"
                },
                {
                    "id": 859,
                    "cat": "Audio",
                    "desc": " |- Русский шансон (муз видео)"
                },
                {
                    "id": 858,
                    "cat": "Audio",
                    "desc": " |- Детское муз видео"
                },
                {
                    "id": 289,
                    "cat": "Audio",
                    "desc": " |- К играм"
                },
                {
                    "id": 290,
                    "cat": "Audio",
                    "desc": " |- К фильмам"
                },
                {
                    "id": 291,
                    "cat": "Audio",
                    "desc": " |- К сериалам"
                },
                {
                    "id": 61,
                    "cat": "Books",
                    "desc": " |- Художественная литература"
                },
                {
                    "id": 664,
                    "cat": "Books",
                    "desc": " |- Художественная литература для детей"
                },
                {
                    "id": 467,
                    "cat": "Books",
                    "desc": " |- Художественная литература на иностранных языках"
                },
                {
                    "id": 703,
                    "cat": "Books",
                    "desc": "Программы и библиотеки для электронных книг"
                },
                {
                    "id": 966,
                    "cat": "Books",
                    "desc": " |- Кулинария"
                },
                {
                    "id": 666,
                    "cat": "Books",
                    "desc": " |- Обучающая литература для родителей"
                },
                {
                    "id": 665,
                    "cat": "Books",
                    "desc": " |- Обучающая литература для детей"
                },
                {
                    "id": 182,
                    "cat": "Books",
                    "desc": " |- Учебники, справочники, энциклопедии"
                },
                {
                    "id": 466,
                    "cat": "Books",
                    "desc": " |- Книги, учебники и справочная литература по обучению ин. язык.."
                },
                {
                    "id": 185,
                    "cat": "Books",
                    "desc": " |- Философия и религия"
                },
                {
                    "id": 184,
                    "cat": "Books",
                    "desc": " |- Психология"
                },
                {
                    "id": 183,
                    "cat": "Books",
                    "desc": " |- Хобби (увлечения и досуг)"
                },
                {
                    "id": 181,
                    "cat": "Books",
                    "desc": " |- Литература по компьютерам и ПО"
                },
                {
                    "id": 782,
                    "cat": "Books",
                    "desc": " |- Радиоэлектроника"
                },
                {
                    "id": 585,
                    "cat": "Books",
                    "desc": " |- Литература по авто и мото транспорту"
                },
                {
                    "id": 584,
                    "cat": "Books",
                    "desc": " |- Руководства по ремонту/обслуживанию/эксплуатации авто"
                },
                {
                    "id": 586,
                    "cat": "Books",
                    "desc": " |- Авто - Тюнинг, чиптюнинг, настройка, отделка и укращения"
                },
                {
                    "id": 672,
                    "cat": "Books",
                    "desc": " |- Литература по медицине"
                },
                {
                    "id": 793,
                    "cat": "Books",
                    "desc": "Журналы научно-прикладные и познавательно-образовательные"
                },
                {
                    "id": 708,
                    "cat": "PC",
                    "desc": "ЖИнтерактивный и компьтерный материал"
                },
                {
                    "id": 875,
                    "cat": "PC",
                    "desc": " |- Интерактивные компьютерные диски для хобби"
                },
                {
                    "id": 583,
                    "cat": "PC",
                    "desc": " |- Интерактивные справочники и каталоги для авто/мото транспорт.."
                },
                {
                    "id": 465,
                    "cat": "PC",
                    "desc": " |- Интерактивные и компьютерные диски для обучения ин. языкам"
                },
                {
                    "id": 674,
                    "cat": "PC",
                    "desc": " |- Интерактивные и компьютерные диски по медицине"
                },
                {
                    "id": 710,
                    "cat": "PC",
                    "desc": " |- Прочие материалы для детей и родителей"
                },
                {
                    "id": 888,
                    "cat": "Books",
                    "desc": "Литература разных направлений"
                },
                {
                    "id": 897,
                    "cat": "Books",
                    "desc": " |- Прочее"
                },
                {
                    "id": 896,
                    "cat": "Books",
                    "desc": " |- Автомобили"
                },
                {
                    "id": 895,
                    "cat": "Books",
                    "desc": " |- Домашним мастерам"
                },
                {
                    "id": 894,
                    "cat": "Books",
                    "desc": " |- Для женщин"
                },
                {
                    "id": 893,
                    "cat": "Books",
                    "desc": " |- Для мужчин"
                },
                {
                    "id": 892,
                    "cat": "Books",
                    "desc": " |- Научно-популярное"
                },
                {
                    "id": 891,
                    "cat": "Books",
                    "desc": " |- Мир техники"
                },
                {
                    "id": 890,
                    "cat": "Books",
                    "desc": " |- Игры"
                },
                {
                    "id": 889,
                    "cat": "Books",
                    "desc": " |- История"
                },
                {
                    "id": 21,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги"
                },
                {
                    "id": 736,
                    "cat": "Audio/Audiobook",
                    "desc": " |- S.T.A.L.K.E.R."
                },
                {
                    "id": 693,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Романы"
                },
                {
                    "id": 464,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Аудиообучение ин. языкам"
                },
                {
                    "id": 686,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Обучающие и познавательные аудиокниги"
                },
                {
                    "id": 685,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Аудиокниги на иностранных языках"
                },
                {
                    "id": 684,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Детективы"
                },
                {
                    "id": 441,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Фантастика"
                },
                {
                    "id": 192,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Классика"
                },
                {
                    "id": 816,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Современная литература"
                },
                {
                    "id": 190,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Аудио книги для детей"
                },
                {
                    "id": 191,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Обучающие аудиокниги и аудиоупражнения для детей"
                },
                {
                    "id": 749,
                    "cat": "Audio",
                    "desc": "Аудио концерты, спектакли, пьесы"
                },
                {
                    "id": 687,
                    "cat": "Audio",
                    "desc": " |- Аудиоспектакли и литературные чтения"
                },
                {
                    "id": 751,
                    "cat": "Audio",
                    "desc": " |- Аудио юмористические концерты (выступления)"
                },
                {
                    "id": 963,
                    "cat": "XXX",
                    "desc": "Эротические художественные фильмы"
                },
                {
                    "id": 964,
                    "cat": "XXX",
                    "desc": "Эротические документальные фильмы"
                },
                {
                    "id": 178,
                    "cat": "XXX",
                    "desc": "Русская эротика"
                },
                {
                    "id": 179,
                    "cat": "XXX",
                    "desc": "Иностранная эротика"
                },
                {
                    "id": 176,
                    "cat": "XXX",
                    "desc": "Фото, ролики"
                },
                {
                    "id": 577,
                    "cat": "XXX",
                    "desc": "Нетрадиционная эротика"
                },
                {
                    "id": 571,
                    "cat": "XXX",
                    "desc": "Мультипликационные фильмы для взрослых"
                },
                {
                    "id": 177,
                    "cat": "XXX",
                    "desc": "Хентай"
                },
                {
                    "id": 812,
                    "cat": "XXX",
                    "desc": "3D | Стерео эротика"
                },
                {
                    "id": 882,
                    "cat": "XXX",
                    "desc": " |- 3D | мульт"
                },
                {
                    "id": 817,
                    "cat": "XXX",
                    "desc": " |- 3D | Хентай"
                },
                {
                    "id": 815,
                    "cat": "XXX",
                    "desc": " |- 3D | Видеоролики"
                },
                {
                    "id": 814,
                    "cat": "XXX",
                    "desc": " |- 3D | Русская эротика"
                },
                {
                    "id": 813,
                    "cat": "XXX",
                    "desc": " |- 3D | Иностранная эротика"
                },
                {
                    "id": 820,
                    "cat": "XXX",
                    "desc": "Литература"
                },
                {
                    "id": 912,
                    "cat": "Other",
                    "desc": "Нарушение правил оформления"
                },
                {
                    "id": 57,
                    "cat": "Other",
                    "desc": "Временный склад (TEMP)"
                },
                {
                    "id": 433,
                    "cat": "Other",
                    "desc": "Архив раздач"
                }
            ],
            "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": "uploader",
                "type": "text",
                "label": "Search by Uploader"
            },
            {
                "name": "info_uploader",
                "type": "info",
                "label": "About searching by Uploader",
                "default": "You can search by Uploader (Author) by entering an Author username, or leave empty to get all results."
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action$=\"/login.php\"]",
            "inputs": {
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "autologin": 1
            },
            "selectorinputs": {
                "cookie_test": {
                    "selector": "input[name=\"cookie_test\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "h4.warnColor1"
                }
            ],
            "test": {
                "path": "search.php",
                "selector": "a[href=\"/login.php?logout=1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker.php",
                    "method": "post"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "prev_allw": 1,
                "prev_a": 0,
                "prev_dla": 0,
                "prev_dlc": 0,
                "prev_dld": 0,
                "prev_dlw": 0,
                "prev_my": 0,
                "prev_new": 0,
                "prev_sd": 0,
                "prev_da": 1,
                "prev_dc": 0,
                "prev_df": 1,
                "prev_ds": 0,
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "dc": 0,
                "df": 1,
                "da": 1,
                "pn": "{{ if .Config.uploader }}{{ .Config.uploader }}{{ else }}{{ end }}",
                "ds": 0,
                "tm": -1,
                "sns": -1,
                "nm": "{{ .Keywords }}",
                "allw": 1,
                "submit": "%A0%A0Search%A0%A0"
            },
            "keywordsfilters": [
                {
                    "name": "diacritics",
                    "args": "replace"
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "tr[id^=\"tor_\"]:has(a[href^=\"/download.php?id=\"]){{ if .Config.freeleech }}:has(img[src=\"images/tor_gold.gif\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a.gen",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "title": {
                    "selector": "a.genmed, a.seedmed",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:(?:-|–)\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:(?:-|–)\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:(?:-|–)\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:(?:-|–)\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:(?:-|–)\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:(?:-|–)\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:(?:-|–)\\d+)?).+?(\\d+(?:(?:-|–)\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:(?:-|–)\\d+)?).+?(\\d+(?:(?:-|–)\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:(?:-|–)\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:(?:-|–)\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:(?:-|–)\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:(?:-|–)\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:(?:-|–)\\d+)?).+?(\\d+(?:(?:-|–)\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:(?:-|–)\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:(?:-|–)\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:(?:-|–)\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:(?:-|–)\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:(?:-|–)\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:(?:-|–)\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:(?:-|–)\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bКураж-Бамбей\\b",
                                "kurazh"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bКубик в Кубе\\b",
                                "Kubik"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bКравец\\b",
                                "Kravec"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bПифагор\\b",
                                "Pifagor"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bНевафильм\\b",
                                "Nevafilm"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bЛицензия\\b",
                                "Lic"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bселезень\\b",
                                "selezen"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a.genmed, a.seedmed",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(6) > u"
                },
                "seeders": {
                    "selector": "td.seedmed > b"
                },
                "leechers": {
                    "selector": "td.leechmed > b"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "date": {
                    "selector": "td:last-child > u"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/tor_gold.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "_username": {
                    "selector": "td:nth-child(5)"
                },
                "description": {
                    "selector": "a.genmed, a.seedmed",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "Uploader: {{ .Result._username }}<br>"
                        }
                    ]
                }
            }
        }
    },
    "filemood": {
        "id": "filemood",
        "name": "FileMood",
        "description": "FileMood is a Public BitTorrent DHT search engine.",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://filemood.com/"
        ],
        "caps": {
            "categories": {
                "Other": "Other"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_category_8000",
                "type": "info_category_8000"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "result",
                    "followredirect": true
                }
            ],
            "inputs": {
                "q": "{{ .Keywords }}{{ if .Keywords }} in:title{{ else }}{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "tolower"
                }
            ],
            "headers": {
                "Referer": [
                    "{{ .Config.sitelink }}"
                ]
            },
            "rows": {
                "selector": "table > tbody > tr:has(a.btn-success)"
            },
            "fields": {
                "category": {
                    "text": "Other"
                },
                "title": {
                    "selector": "a",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a",
                    "attribute": "href"
                },
                "infohash": {
                    "selector": "a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "size": {
                    "selector": "td.dn-size"
                },
                "date": {
                    "text": "now"
                },
                "seeders": {
                    "selector": "td.dn-status",
                    "optional": true,
                    "default": 0,
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "td.dn-status",
                    "optional": true,
                    "default": 0,
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                1
                            ]
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "finelite": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "finelite",
        "name": "FinElite",
        "description": "FinElite (FE) is a FINNISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fi-FI",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://finelite.org/"
        ],
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "text",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "7": "seeders",
                    "5": "size",
                    "4": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_finelite",
                "type": "info",
                "label": "Login Requirement",
                "default": "To successfully login, members must first <a href=\"https://finelite.org/staff.php\" target=\"_blank\">message FinElite staff</a>, asking that their account be whitelisted from captcha validation.</br></br>Onnistuakseen sisäänkirjautumisessa jäsenten on ensin lähetettävä <a href=\"https://finelite.org/staff.php\" target=\"_blank\">viesti FinElite henkilökunnalle</a> ja pyydettävä, että heidän tilinsä poistetaan captcha-varmennuksesta."
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Julkaisuja per sivu</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Unused IDs in the User and Power User categories are automatically deleted after 90 days. The account can be parked and stored on the site for 180 days."
            }
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 33,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobooks"
                },
                {
                    "id": 29,
                    "cat": "TV/Documentary",
                    "desc": "Documentary"
                },
                {
                    "id": 24,
                    "cat": "Books/EBook",
                    "desc": "Ebooks"
                },
                {
                    "id": 10,
                    "cat": "Console",
                    "desc": "Games - Console"
                },
                {
                    "id": 11,
                    "cat": "PC/Games",
                    "desc": "Games - PC"
                },
                {
                    "id": 26,
                    "cat": "Movies/Other",
                    "desc": "Kids"
                },
                {
                    "id": 12,
                    "cat": "Movies",
                    "desc": "Movie Pack"
                },
                {
                    "id": 31,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K"
                },
                {
                    "id": 38,
                    "cat": "Movies/BluRay",
                    "desc": "Movies BD"
                },
                {
                    "id": 13,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD-r"
                },
                {
                    "id": 14,
                    "cat": "Movies/HD",
                    "desc": "Movies HD"
                },
                {
                    "id": 15,
                    "cat": "Movies/SD",
                    "desc": "Movies SD"
                },
                {
                    "id": 22,
                    "cat": "Audio/Lossless",
                    "desc": "Music FLAC"
                },
                {
                    "id": 23,
                    "cat": "Audio/MP3",
                    "desc": "Music MP3"
                },
                {
                    "id": 34,
                    "cat": "Audio/Video",
                    "desc": "Music video"
                },
                {
                    "id": 35,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 37,
                    "cat": "TV/UHD",
                    "desc": "TV 4K"
                },
                {
                    "id": 36,
                    "cat": "TV/SD",
                    "desc": "TV DVD-R"
                },
                {
                    "id": 19,
                    "cat": "TV/HD",
                    "desc": "TV HD"
                },
                {
                    "id": 16,
                    "cat": "TV",
                    "desc": "TV Pack"
                },
                {
                    "id": 17,
                    "cat": "TV/SD",
                    "desc": "TV SD"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"/take_login.php\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.notice.notice-error"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "hae": "{{ if .Query.IMDBID }}4{{ else }}1{{ end }}",
                "incldead": 1,
                "freeleech": "{{ if .Config.freeleech }}yes{{ else }}{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.main > tbody > tr:has(a[href^=\"/lataa/\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/browse.php?c\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "c(\\d+)=1"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/details/\"]"
                },
                "details": {
                    "selector": "a[href^=\"/details/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/lataa/\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"/details/\"] img",
                    "attribute": "src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-last-child(4)",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                " (\\d{1}):(\\d{2})",
                                " 0$1:$2"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "d.M.yyyy  HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(2)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(1)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span[title=\"Freeleech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "flood": {
        "credentials": {
            "apikey": ""
        },
        "id": "flood",
        "name": "Flood",
        "description": "Flood (FLD) is a Private Torrent Tracker for MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://flood.st/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "movie",
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": "show_season",
                    "cat": "TV",
                    "desc": "TV season"
                },
                {
                    "id": "show_episode",
                    "cat": "TV",
                    "desc": "TV episode"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "tmdbid",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "tmdbid",
                    "imdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API key"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or generate a new API key by accessing the <b>Security</b> tab of your <a href=\"https://flood.st/settings/security\" target=\"_blank\">account settings</a>."
            },
            {
                "name": "order_by",
                "type": "select",
                "label": "Sort requested from site",
                "default": "id",
                "options": {
                    "id": "created",
                    "name": "title",
                    "size": "size",
                    "seeders": "seeders"
                }
            },
            {
                "name": "order_dir",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/test",
            "method": "get"
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "name": "{{ .Keywords }}",
                "show_season_number": "{{ .Query.Season }}",
                "show_episode_number": "{{ .Query.Ep }}",
                "tmdb_id": "{{ .Query.TMDBID }}",
                "imdb_id": "{{ .Query.IMDBID }}",
                "order_by": "{{ .Config.order_by }}",
                "order_dir": "{{ .Config.order_dir }}",
                "limit": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "items",
                "count": {
                    "selector": "total"
                }
            },
            "fields": {
                "title": {
                    "selector": "name"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "category": {
                    "selector": "media_type"
                },
                "details": {
                    "selector": "main_url"
                },
                "download": {
                    "selector": "download_url"
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "description": {
                    "selector": "description"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "minimumseedtime": {
                    "text": 432000
                },
                "downloadvolumefactor": {
                    "selector": "download_accounting_factor"
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "freefarm": {
        "credentials": {
            "cookie": ""
        },
        "id": "freefarm",
        "name": "Free Farm (自由农场)",
        "description": "Free Farm (自由农场) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://pt.0ff.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies|电影",
                    "default": true
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series|电视剧",
                    "default": true
                },
                {
                    "id": 403,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries|纪录片",
                    "default": true
                },
                {
                    "id": 404,
                    "cat": "TV",
                    "desc": "TV Shows|综艺",
                    "default": true
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations|动漫",
                    "default": true
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos|音乐视频",
                    "default": true
                },
                {
                    "id": 407,
                    "cat": "Audio/Lossless",
                    "desc": "HD Music|无损音乐",
                    "default": true
                },
                {
                    "id": 408,
                    "cat": "TV/Sport",
                    "desc": "Sports|体育",
                    "default": true
                },
                {
                    "id": 427,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": true
                },
                {
                    "id": 412,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": true
                },
                {
                    "id": 411,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": true
                },
                {
                    "id": 410,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": true
                },
                {
                    "id": 409,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": true
                },
                {
                    "id": 428,
                    "cat": "Other",
                    "desc": "Others|其他",
                    "default": true
                },
                {
                    "id": 413,
                    "cat": "Other",
                    "desc": "Education|学习教育",
                    "default": false
                },
                {
                    "id": 414,
                    "cat": "Other",
                    "desc": "Course|网络教程",
                    "default": false
                },
                {
                    "id": 415,
                    "cat": "Books",
                    "desc": "book|书籍",
                    "default": false
                },
                {
                    "id": 416,
                    "cat": "PC/0day",
                    "desc": "Resources|网络资源",
                    "default": false
                },
                {
                    "id": 417,
                    "cat": "PC/Games",
                    "desc": "Game|游戏",
                    "default": false
                },
                {
                    "id": 425,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": false
                },
                {
                    "id": 424,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": false
                },
                {
                    "id": 423,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": false
                },
                {
                    "id": 422,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": false
                },
                {
                    "id": 421,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": false
                },
                {
                    "id": 420,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": false
                },
                {
                    "id": 419,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": false
                },
                {
                    "id": 418,
                    "cat": "Other/Misc",
                    "desc": "待定",
                    "default": false
                },
                {
                    "id": 426,
                    "cat": "Other",
                    "desc": "Others|其他",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted.</li><li>Elite User or above would never be deleted if parked (at User CP).</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row.</li><li>Unparked accounts would be deleted if users have not logged in for more than 150 days in a row.</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        401,
                        402,
                        403,
                        404,
                        405,
                        406,
                        407,
                        408,
                        427,
                        412,
                        411,
                        410,
                        409,
                        428
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        413,
                        414,
                        415,
                        416,
                        417,
                        425,
                        424,
                        423,
                        422,
                        421,
                        420,
                        419,
                        418,
                        426
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "case": {
                        "img[title=\"H&R\"]": 604800,
                        "*": 259200
                    }
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "freejavtorrent": {
        "id": "freejavtorrent",
        "name": "Free JAV Torrent",
        "description": "Free JAV Torrent is a Public tracker for Asian 3X (JAV)",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.freejavtorrent.com/"
        ],
        "caps": {
            "categories": {
                "Japanese Movies": "XXX",
                "Japanese Movies Packs": "XXX/Pack",
                "Chinese Movies": "XXX",
                "Japanese Movies SiteRip 1991-2014": "XXX/Pack",
                "Japanese Movies SiteRip 2015-2024": "XXX/Pack"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a.download-button",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "s.php?search={{ if .Keywords }}{{ .Keywords }}{{ else }}%20{{ end }}"
                }
            ],
            "rows": {
                "selector": "div.image-wrapper"
            },
            "fields": {
                "category": {
                    "selector": "div.catalog a"
                },
                "title": {
                    "selector": "a.overlay",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^.+?\\] ",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a.overlay",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.overlay",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "-(\\d+).html"
                        },
                        {
                            "name": "prepend",
                            "args": "/dl.php?t="
                        }
                    ]
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "selector": "a.overlay",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "^\\[(\\d+(?:\\.\\d+)?\\s?[KMGT]B)\\]"
                        }
                    ]
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "funkytorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "funkytorrents",
        "name": "FunkyTorrents",
        "description": "FunkyTorrents (FT) is a Private Torrent Tracker for MUSIC",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://funkytorrents.com/"
        ],
        "legacylinks": [
            "http://funkytorrents.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "PC/0day",
                    "desc": "Apps"
                },
                {
                    "id": 2,
                    "cat": "Books/EBook",
                    "desc": "eBooks"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 33,
                    "cat": "Audio/Video",
                    "desc": "Music DVDs"
                },
                {
                    "id": 5,
                    "cat": "Audio/Video",
                    "desc": "Music Vids"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "OST"
                },
                {
                    "id": 19,
                    "cat": "Audio",
                    "desc": "Music Alternative"
                },
                {
                    "id": 28,
                    "cat": "Audio",
                    "desc": "Music Ambient"
                },
                {
                    "id": 12,
                    "cat": "Audio",
                    "desc": "Music Classical"
                },
                {
                    "id": 17,
                    "cat": "Audio",
                    "desc": "Music Dance"
                },
                {
                    "id": 16,
                    "cat": "Audio",
                    "desc": "Music Drum 'n' Bass"
                },
                {
                    "id": 20,
                    "cat": "Audio",
                    "desc": "Music Electronic"
                },
                {
                    "id": 14,
                    "cat": "Audio",
                    "desc": "Music Emo"
                },
                {
                    "id": 23,
                    "cat": "Audio",
                    "desc": "Music Experimental"
                },
                {
                    "id": 34,
                    "cat": "Audio",
                    "desc": "Music Funk"
                },
                {
                    "id": 18,
                    "cat": "Audio",
                    "desc": "Music Hardcore"
                },
                {
                    "id": 13,
                    "cat": "Audio",
                    "desc": "Music House"
                },
                {
                    "id": 31,
                    "cat": "Audio",
                    "desc": "Music IDM"
                },
                {
                    "id": 21,
                    "cat": "Audio",
                    "desc": "Music Indie"
                },
                {
                    "id": 26,
                    "cat": "Audio",
                    "desc": "Music Industrial"
                },
                {
                    "id": 25,
                    "cat": "Audio",
                    "desc": "Music Jazz/Blues/Soul"
                },
                {
                    "id": 37,
                    "cat": "Audio",
                    "desc": "Music Lo-Fi"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "Music Metal"
                },
                {
                    "id": 22,
                    "cat": "Audio",
                    "desc": "Music Misc"
                },
                {
                    "id": 7,
                    "cat": "Audio",
                    "desc": "Music Pop/RnB"
                },
                {
                    "id": 29,
                    "cat": "Audio",
                    "desc": "Music Post-Rock"
                },
                {
                    "id": 30,
                    "cat": "Audio",
                    "desc": "Music Psychedelic"
                },
                {
                    "id": 8,
                    "cat": "Audio",
                    "desc": "Music Punk"
                },
                {
                    "id": 9,
                    "cat": "Audio",
                    "desc": "Music Rap/Hip-Hop"
                },
                {
                    "id": 35,
                    "cat": "Audio",
                    "desc": "Music Reggae"
                },
                {
                    "id": 10,
                    "cat": "Audio",
                    "desc": "Music Rock"
                },
                {
                    "id": 15,
                    "cat": "Audio",
                    "desc": "Music Ska"
                },
                {
                    "id": 32,
                    "cat": "Audio",
                    "desc": "Music Techno"
                },
                {
                    "id": 11,
                    "cat": "Audio",
                    "desc": "Music Trance"
                },
                {
                    "id": 36,
                    "cat": "Audio",
                    "desc": "Music Trip-Hop"
                },
                {
                    "id": 24,
                    "cat": "Audio",
                    "desc": "Music World/Ethnic"
                },
                {
                    "id": 3010,
                    "cat": "Audio/MP3",
                    "desc": "Music MP3"
                },
                {
                    "id": 3040,
                    "cat": "Audio/Lossless",
                    "desc": "Music Lossless"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "artist"
                ],
                "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": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive users will be removed in 180 days, users that haven't downloaded/uploaded anything will be removed in 90 days after registration. You can park your account in your Profile to prevent it from being deleted because of inactivity if you go away on for example a vacation. When the account has been parked limits are put on the account, for example you cannot use the tracker and browse some of the pages."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"failed\"))"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "cat": 0,
                "search": "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 1,
                "free": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
            },
            "rows": {
                "selector": "table.mainouter > tbody > tr > td.outer > table > tbody > tr.mouse_out"
            },
            "fields": {
                "description": {
                    "selector": "td:nth-child(2) > font"
                },
                "title": {
                    "selector": "td:nth-child(2)",
                    "remove": "font"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "category|append": {
                    "optional": true,
                    "case": {
                        "a[href=\"/browse.php?ext=1&bitrate=Lossless\"]": 3040,
                        "a[href=\"/browse.php?ext=1&format=MP3\"]": 3010
                    }
                },
                "download": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(5)"
                },
                "date": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(8)"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "seeders": {
                    "selector": "td:nth-child(10)"
                },
                "leechers": {
                    "selector": "td:nth-child(11)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[alt=\"Free Leech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.6
                }
            }
        }
    },
    "funzone-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "funzone-api",
        "name": "funZone (API)",
        "description": "funZone is a ROMANIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ro-RO",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://myfunzone.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 3,
                    "cat": "Movies/HD",
                    "desc": "Movies HD-RO"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies HD"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Games PC"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 23,
                    "cat": "Movies/UHD",
                    "desc": "Movies UHD-RO"
                },
                {
                    "id": 6,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 7,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 8,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries"
                },
                {
                    "id": 9,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 10,
                    "cat": "Console",
                    "desc": "Games Console"
                },
                {
                    "id": 11,
                    "cat": "Movies",
                    "desc": "Movies Romanian"
                },
                {
                    "id": 12,
                    "cat": "Movies/Other",
                    "desc": "Cartoons"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 18,
                    "cat": "PC/Games",
                    "desc": "Classic Games"
                },
                {
                    "id": 24,
                    "cat": "Audio",
                    "desc": "Music/Packs"
                },
                {
                    "id": 19,
                    "cat": "Audio/Video",
                    "desc": "Videos"
                },
                {
                    "id": 25,
                    "cat": "TV",
                    "desc": "TV/Packs"
                },
                {
                    "id": 20,
                    "cat": "Movies/SD",
                    "desc": "Movies SD-RO"
                },
                {
                    "id": 27,
                    "cat": "Other",
                    "desc": "Pics/Wallpapers"
                },
                {
                    "id": 21,
                    "cat": "Books",
                    "desc": "EBooks"
                },
                {
                    "id": 28,
                    "cat": "PC",
                    "desc": "Software/Packs"
                },
                {
                    "id": 22,
                    "cat": "Movies",
                    "desc": "Classic Movies"
                },
                {
                    "id": 29,
                    "cat": "Movies/UHD",
                    "desc": "Movies UHD"
                },
                {
                    "id": 30,
                    "cat": "TV",
                    "desc": "Shows"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://myfunzone.org/\" target=\"_blank\">funZone</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "futuretorrent": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "futuretorrent",
        "name": "FutureTorrent",
        "description": "FutureTorrent is an ITALIAN Private PAY2DL Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "it-IT",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://futuretorrent.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 3,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 4,
                    "cat": "PC/Mobile-Android",
                    "desc": "  |-- Smartphone"
                },
                {
                    "id": 16,
                    "cat": "Movies/HD",
                    "desc": "Bluray"
                },
                {
                    "id": 17,
                    "cat": "Movies/HD",
                    "desc": "  |-- 1080p"
                },
                {
                    "id": 18,
                    "cat": "Movies/3D",
                    "desc": "  |-- 3D"
                },
                {
                    "id": 19,
                    "cat": "Movies/HD",
                    "desc": "  |-- 720p"
                },
                {
                    "id": 20,
                    "cat": "Movies/HD",
                    "desc": "  |-- H.265 1080p"
                },
                {
                    "id": 21,
                    "cat": "Movies/HD",
                    "desc": "  |-- H.265 720p"
                },
                {
                    "id": 53,
                    "cat": "Movies/BluRay",
                    "desc": "  |-- Untouched"
                },
                {
                    "id": 30,
                    "cat": "Movies/Other",
                    "desc": "Cartoons"
                },
                {
                    "id": 56,
                    "cat": "Movies/Other",
                    "desc": "  |-- Anime"
                },
                {
                    "id": 31,
                    "cat": "Movies/Other",
                    "desc": "  |-- Disney"
                },
                {
                    "id": 32,
                    "cat": "Books/Comics",
                    "desc": "  |-- Manga"
                },
                {
                    "id": 5,
                    "cat": "Movies/WEB-DL",
                    "desc": "Cinema-News"
                },
                {
                    "id": 58,
                    "cat": "Movies/SD",
                    "desc": "  |-- Cinema News"
                },
                {
                    "id": 59,
                    "cat": "Movies/WEB-DL",
                    "desc": "  |-- WEBDL"
                },
                {
                    "id": 60,
                    "cat": "Movies/WEB-DL",
                    "desc": "  |-- WEBDL 1080p"
                },
                {
                    "id": 62,
                    "cat": "Movies/WEB-DL",
                    "desc": "  |-- WEBDL 2160p"
                },
                {
                    "id": 61,
                    "cat": "Movies/WEB-DL",
                    "desc": "  |-- WEBDL 720p"
                },
                {
                    "id": 22,
                    "cat": "TV/Documentary",
                    "desc": "Documentari"
                },
                {
                    "id": 33,
                    "cat": "Movies/DVD",
                    "desc": "DvD"
                },
                {
                    "id": 35,
                    "cat": "Movies/DVD",
                    "desc": "  |-- DvD5"
                },
                {
                    "id": 34,
                    "cat": "Movies/DVD",
                    "desc": "  |-- DvD9"
                },
                {
                    "id": 6,
                    "cat": "Movies/SD",
                    "desc": "DvDRip"
                },
                {
                    "id": 8,
                    "cat": "Movies/SD",
                    "desc": "  |-- BDRip"
                },
                {
                    "id": 9,
                    "cat": "Movies/SD",
                    "desc": "  |-- Cult"
                },
                {
                    "id": 7,
                    "cat": "Movies/SD",
                    "desc": "  |-- DvDRip"
                },
                {
                    "id": 10,
                    "cat": "Movies/SD",
                    "desc": "  |-- DvDRip_Old"
                },
                {
                    "id": 11,
                    "cat": "Movies/SD",
                    "desc": "  |-- Film_mp4"
                },
                {
                    "id": 12,
                    "cat": "Movies/Foreign",
                    "desc": "  |-- Subbed"
                },
                {
                    "id": 52,
                    "cat": "Movies/WEB-DL",
                    "desc": "  |-- WebRip"
                },
                {
                    "id": 23,
                    "cat": "Books",
                    "desc": "Edicola"
                },
                {
                    "id": 66,
                    "cat": "Audio/Audiobook",
                    "desc": "  |-- Audiobook"
                },
                {
                    "id": 25,
                    "cat": "Books/EBook",
                    "desc": "  |-- Ebook"
                },
                {
                    "id": 24,
                    "cat": "Books/Mags",
                    "desc": "  |-- Edicola"
                },
                {
                    "id": 54,
                    "cat": "Audio/Lossless",
                    "desc": "Flac"
                },
                {
                    "id": 55,
                    "cat": "Other/Misc",
                    "desc": "FutureCrew"
                },
                {
                    "id": 36,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 39,
                    "cat": "Console/Other",
                    "desc": "  |-- N.Switch"
                },
                {
                    "id": 40,
                    "cat": "Console/NDS",
                    "desc": "  |-- Nds"
                },
                {
                    "id": 41,
                    "cat": "PC/Games",
                    "desc": "  |-- Pc"
                },
                {
                    "id": 42,
                    "cat": "Console/PS3",
                    "desc": "  |-- Ps3"
                },
                {
                    "id": 43,
                    "cat": "Console/PS4",
                    "desc": "  |-- Ps4"
                },
                {
                    "id": 67,
                    "cat": "Console/PS4",
                    "desc": "  |-- Ps5"
                },
                {
                    "id": 44,
                    "cat": "Console/Wii",
                    "desc": "  |-- Wii"
                },
                {
                    "id": 45,
                    "cat": "Console/WiiU",
                    "desc": "  |-- Wii-U"
                },
                {
                    "id": 46,
                    "cat": "Console/XBox",
                    "desc": "  |-- Xbox"
                },
                {
                    "id": 13,
                    "cat": "Audio",
                    "desc": "Musica"
                },
                {
                    "id": 14,
                    "cat": "Audio/Other",
                    "desc": "  |-- Compilation"
                },
                {
                    "id": 15,
                    "cat": "Audio/MP3",
                    "desc": "  |-- Mp3"
                },
                {
                    "id": 65,
                    "cat": "Audio/Video",
                    "desc": "  |-- Video Concerti"
                },
                {
                    "id": 26,
                    "cat": "PC",
                    "desc": "Programmi Pc"
                },
                {
                    "id": 27,
                    "cat": "PC/Mac",
                    "desc": "  |-- Mac"
                },
                {
                    "id": 28,
                    "cat": "PC/0day",
                    "desc": "  |-- Windows"
                },
                {
                    "id": 47,
                    "cat": "TV",
                    "desc": "Serie TV"
                },
                {
                    "id": 57,
                    "cat": "TV/SD",
                    "desc": "  |-- S.TV Complete"
                },
                {
                    "id": 48,
                    "cat": "TV/HD",
                    "desc": "  |-- Serie TV 1080p"
                },
                {
                    "id": 49,
                    "cat": "TV/SD",
                    "desc": "  |-- Serie TV 264p"
                },
                {
                    "id": 50,
                    "cat": "TV/HD",
                    "desc": "  |-- Serie TV 720p"
                },
                {
                    "id": 29,
                    "cat": "Movies/UHD",
                    "desc": "UHD 4K"
                },
                {
                    "id": 51,
                    "cat": "Other",
                    "desc": "Varie"
                },
                {
                    "id": 64,
                    "cat": "Other",
                    "desc": "  |-- Torrent Free"
                },
                {
                    "id": 63,
                    "cat": "Other",
                    "desc": "  |-- Video Corsi"
                }
            ],
            "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": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>40</b> on your account profile."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "table:has(a[href*=\"login.php?error=1\"])",
                    "message": {
                        "text": "ERROR: Incorrect username!"
                    }
                },
                {
                    "selector": "table:has(a[href*=\"login.php?error=4\"])",
                    "message": {
                        "text": "ERROR: Incorrect password!"
                    }
                },
                {
                    "selector": "table:has(a[href*=\"login.php?error=\"])",
                    "message": {
                        "text": "ERROR: Something went wrong during login!"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "do": "search",
                "keywords": "{{ .Keywords }}",
                "search_type": "t_name",
                "category": 0,
                "include_dead_torrents": true,
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.sortable tbody tr:has(a[href*=\"/details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"/browse.php?category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"/details.php?id=\"]"
                },
                "title": {
                    "selector": "div.tooltip-content > div",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div.tooltip-content > img",
                    "attribute": "src"
                },
                "date": {
                    "selector": "td:nth-child(2) > div:last-child",
                    "remove": "span",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "fuzer": {
        "credentials": {
            "cookie": ""
        },
        "id": "fuzer",
        "name": "Fuzer",
        "description": "Fuzer (FZ) is an ISRAELI Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "he-IL",
        "type": "private",
        "encoding": "windows-1255",
        "links": [
            "https://www.fuzer.xyz/"
        ],
        "legacylinks": [
            "https://fuzer.me/",
            "https://www.fuzer.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 73,
                    "cat": "Movies",
                    "desc": "FuzePacks -סרטים"
                },
                {
                    "id": 7,
                    "cat": "Movies/SD",
                    "desc": "סרטים"
                },
                {
                    "id": 60,
                    "cat": "Movies/SD",
                    "desc": "סרטים ישראליים"
                },
                {
                    "id": 9,
                    "cat": "Movies/HD",
                    "desc": "סרטים HD"
                },
                {
                    "id": 101,
                    "cat": "Movies/HD",
                    "desc": "סרטים x265"
                },
                {
                    "id": 59,
                    "cat": "Movies/HD",
                    "desc": "סרטי BDRIP-BRRip"
                },
                {
                    "id": 61,
                    "cat": "Movies/HD",
                    "desc": "סרטים ישראליים HD"
                },
                {
                    "id": 97,
                    "cat": "Movies/UHD",
                    "desc": "סרטים UHD"
                },
                {
                    "id": 58,
                    "cat": "Movies/DVD",
                    "desc": "סרטים DVD-R"
                },
                {
                    "id": 83,
                    "cat": "Movies/Other",
                    "desc": "סרטים מדובבים"
                },
                {
                    "id": 76,
                    "cat": "TV",
                    "desc": "FuzePacks - סדרות"
                },
                {
                    "id": 8,
                    "cat": "TV/SD",
                    "desc": "סדרות"
                },
                {
                    "id": 62,
                    "cat": "TV/SD",
                    "desc": "סדרות ישראליות"
                },
                {
                    "id": 10,
                    "cat": "TV/HD",
                    "desc": "Tסדרות HD"
                },
                {
                    "id": 63,
                    "cat": "TV/HD",
                    "desc": "סדרות ישראליות HD"
                },
                {
                    "id": 100,
                    "cat": "TV/UHD",
                    "desc": "סדרות UHD"
                },
                {
                    "id": 84,
                    "cat": "TV/Other",
                    "desc": "סדרות מדובבות"
                },
                {
                    "id": 65,
                    "cat": "TV/Anime",
                    "desc": "אנימה"
                },
                {
                    "id": 64,
                    "cat": "TV/Sport",
                    "desc": "ספורט"
                },
                {
                    "id": 74,
                    "cat": "PC",
                    "desc": "FuzePacks - תוכנות"
                },
                {
                    "id": 15,
                    "cat": "PC/0day",
                    "desc": "תוכנות PC"
                },
                {
                    "id": 11,
                    "cat": "PC/Games",
                    "desc": "משחקים PC"
                },
                {
                    "id": 13,
                    "cat": "PC/Mobile-Android",
                    "desc": "אפליקציות לאנדרואיד"
                },
                {
                    "id": 70,
                    "cat": "PC/Mobile-iOS",
                    "desc": "אפליקציות לאייפון"
                },
                {
                    "id": 71,
                    "cat": "PC/Mac",
                    "desc": "תוכנות MAC"
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "למבוגרים בלבד"
                },
                {
                    "id": 72,
                    "cat": "Console",
                    "desc": "FuzePacks - משחקים"
                },
                {
                    "id": 55,
                    "cat": "Console/XBox",
                    "desc": "משחקים XBOX"
                },
                {
                    "id": 12,
                    "cat": "Console/PSP",
                    "desc": "משחקים PS"
                },
                {
                    "id": 56,
                    "cat": "Console/Wii",
                    "desc": "משחקים WII"
                },
                {
                    "id": 57,
                    "cat": "PC/Mobile-Other",
                    "desc": "משחקי קונסולות ניידות"
                },
                {
                    "id": 75,
                    "cat": "Audio",
                    "desc": "FuzePacks - שירים"
                },
                {
                    "id": 14,
                    "cat": "Audio",
                    "desc": "מוזיקה עולמית"
                },
                {
                    "id": 66,
                    "cat": "Audio",
                    "desc": "מוזיקה ישראלית"
                },
                {
                    "id": 68,
                    "cat": "Audio",
                    "desc": "פסקולים"
                },
                {
                    "id": 67,
                    "cat": "Audio/Lossless",
                    "desc": "FLAC"
                },
                {
                    "id": 69,
                    "cat": "Books",
                    "desc": "Ebooks"
                },
                {
                    "id": 17,
                    "cat": "Other",
                    "desc": "שונות"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"/login.php?do=logout&logouthash=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "query": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "order": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}",
                "matchquery": "any",
                "freeleech": "{{ if .Config.freeleech }}1{{ else }}0{{ end }}",
                "dead": true,
                "$raw": "{{ range .Categories }}c[]={{.}}&{{end}}"
            },
            "rows": {
                "selector": ".box_torrent, table.tborder[align=\"center\"][border=\"0\"][cellpadding=\"0\"][cellspacing=\"1\"][class=\"tborder\"][width=\"100%\"] > tbody > tr:has(a[href^=\"/attachment.php?\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/browse.php?cat=\"], a[href^=\"/browse.php?r3=1&cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/showthread.php?t=\"]"
                },
                "details": {
                    "selector": "a[href^=\"/showthread.php?t=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/attachment.php?attachmentid=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[imgsrc]",
                    "attribute": "imgsrc"
                },
                "size": {
                    "selector": "td.inline_info:nth-last-child(4)"
                },
                "grabs": {
                    "selector": "td.inline_info:nth-last-child(3)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                ",",
                                ""
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "td.inline_info:nth-last-child(2)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                ",",
                                ""
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "td.inline_info:nth-last-child(1)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                ",",
                                ""
                            ]
                        }
                    ]
                },
                "date": {
                    "selector": "div[class^=\"up_info\"]",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[^:]+: ",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yy HH:mm zzz"
                        }
                    ]
                },
                "description": {
                    "selector": "div.sub_title"
                },
                "downloadvolumefactor": {
                    "case": {
                        "a[href*=\"freeleech=1\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "g3minitr4ck3r-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "g3minitr4ck3r-api",
        "name": "G3MINI TR4CK3R (API)",
        "description": "G3MINI TR4CK3R is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://gemini-tracker.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Films"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Séries"
                },
                {
                    "id": 10,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 13,
                    "cat": "Movies/Other",
                    "desc": "Documentaires - Film"
                },
                {
                    "id": 14,
                    "cat": "TV/Documentary",
                    "desc": "Documentaires - Series"
                },
                {
                    "id": 15,
                    "cat": "TV",
                    "desc": "Documentaires - Émission TV"
                },
                {
                    "id": 3,
                    "cat": "PC/Games",
                    "desc": "Jeux PC"
                },
                {
                    "id": 7,
                    "cat": "Movies",
                    "desc": "Films Animation Japonaise"
                },
                {
                    "id": 6,
                    "cat": "TV/Anime",
                    "desc": "Animes"
                },
                {
                    "id": 8,
                    "cat": "Books/Comics",
                    "desc": "Bandes dessinées"
                },
                {
                    "id": 11,
                    "cat": "Books/Comics",
                    "desc": "Mangas"
                },
                {
                    "id": 9,
                    "cat": "Books/Mags",
                    "desc": "Magazines"
                },
                {
                    "id": 12,
                    "cat": "Books/EBook",
                    "desc": "Livres"
                },
                {
                    "id": 16,
                    "cat": "Audio/Audiobook",
                    "desc": "Livres - Audios"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://gemini-tracker.org/\" target=\"_blank\">G3MINI TR4CK3R</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "use_fl_tokens",
                "type": "checkbox",
                "label": "Use Freeleech Tokens automatically",
                "default": true
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi FRENCH": "MULTi FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi ENGLISH": "MULTi ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi VOSTFR": "MULTi VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "vfq",
                "type": "checkbox",
                "label": "Replace VFQ with FRENCH",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title_phase1": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "title_vfq": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(VFQ)\\b",
                                "FRENCH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vfq }}{{ .Result.title_vfq }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase3": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase3 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase3 }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link",
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ if .Config.use_fl_tokens }}?use_token=1{{ else }}{{ end }}"
                        }
                    ]
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "gamestorrents": {
        "id": "gamestorrents",
        "name": "GamesTorrents",
        "description": "GamesTorrents is a SPANISH Public tracker for GAMES",
        "language": "es-ES",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.gamestorrents.app/"
        ],
        "legacylinks": [
            "https://www.gamestorrents.com/",
            "https://www.gamestorrents.tv/",
            "https://www.gamestorrents.nu/",
            "https://www.gamestorrents.fm/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "juegos-pc",
                    "cat": "PC/Games",
                    "desc": "Games PC"
                },
                {
                    "id": "juegos-psp",
                    "cat": "Console/PSP",
                    "desc": "Games PSP"
                },
                {
                    "id": "juegos-ps3",
                    "cat": "Console/PS3",
                    "desc": "Games PS3"
                },
                {
                    "id": "juegos-ps4",
                    "cat": "Console/PS4",
                    "desc": "Games PS4"
                },
                {
                    "id": "juegos-ps2",
                    "cat": "Console/PS Vita",
                    "desc": "Games PS2"
                },
                {
                    "id": "juegos-mac",
                    "cat": "PC/Mac",
                    "desc": "Games Mac"
                },
                {
                    "id": "juegos-xbox360",
                    "cat": "Console/XBox 360",
                    "desc": "Games Xbox 360"
                },
                {
                    "id": "juegos-wii",
                    "cat": "Console/Wii",
                    "desc": "Games Wii"
                },
                {
                    "id": "juegos-nds",
                    "cat": "Console/NDS",
                    "desc": "Games NDS"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a#download_torrent",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "allowEmptyInputs": true,
            "inputs": {
                "s": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "table.metalion > tbody > tr",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "title": {
                    "selector": "td:nth-child(1) a"
                },
                "details": {
                    "selector": "td:nth-child(1) a",
                    "attribute": "href"
                },
                "category": {
                    "selector": "td:nth-child(1) a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                3
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "td:nth-child(1) a",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(2)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(3)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Undefined",
                                "0 B"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "s",
                                ""
                            ]
                        }
                    ]
                },
                "description": {
                    "selector": "td:nth-child(4)"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "gay-torrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "gay-torrents",
        "name": "Gay-Torrents.net",
        "description": "Gay-Torrents.net is a Private Torrent Tracker for GAY 3X",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://www.gay-torrents.net/"
        ],
        "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": 0,
                "options": {
                    "0": "created",
                    "1": "title",
                    "4": "size",
                    "5": "seeders"
                }
            },
            {
                "name": "order",
                "type": "select",
                "label": "Order requested from site",
                "default": 0,
                "options": [
                    "desc",
                    "asc"
                ]
            },
            {
                "name": "whisparrv2",
                "type": "checkbox",
                "label": "Strip release date from queries (for Whisparr v2 compatibility)",
                "default": false
            }
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "porn",
                    "cat": "XXX",
                    "desc": "Porn"
                },
                {
                    "id": "porn/Amateur",
                    "cat": "XXX",
                    "desc": "Amateur"
                },
                {
                    "id": "porn/Anal",
                    "cat": "XXX",
                    "desc": "Anal"
                },
                {
                    "id": "porn/Asian",
                    "cat": "XXX",
                    "desc": "Asian"
                },
                {
                    "id": "porn/Bareback",
                    "cat": "XXX",
                    "desc": "Bareback"
                },
                {
                    "id": "porn/Bears",
                    "cat": "XXX",
                    "desc": "Bears"
                },
                {
                    "id": "porn/Bisexual",
                    "cat": "XXX",
                    "desc": "Bisexual"
                },
                {
                    "id": "porn/Black-Men",
                    "cat": "XXX",
                    "desc": "Black-Men"
                },
                {
                    "id": "porn/Chubs",
                    "cat": "XXX",
                    "desc": "Chubs"
                },
                {
                    "id": "porn/Clips",
                    "cat": "XXX/Pack",
                    "desc": "Clips"
                },
                {
                    "id": "porn/Cross-Generation",
                    "cat": "XXX",
                    "desc": "Cross-Generation"
                },
                {
                    "id": "porn/DVD-R",
                    "cat": "XXX/DVD",
                    "desc": "DVD-R"
                },
                {
                    "id": "porn/Fetish",
                    "cat": "XXX",
                    "desc": "Fetish"
                },
                {
                    "id": "porn/Group-Sex",
                    "cat": "XXX",
                    "desc": "Group-Sex"
                },
                {
                    "id": "porn/HD-Movies",
                    "cat": "XXX",
                    "desc": "HD-Movies"
                },
                {
                    "id": "porn/Hunks",
                    "cat": "XXX",
                    "desc": "Hunks"
                },
                {
                    "id": "porn/Images",
                    "cat": "XXX/ImageSet",
                    "desc": "Images"
                },
                {
                    "id": "porn/Interracial",
                    "cat": "XXX",
                    "desc": "Interracial"
                },
                {
                    "id": "porn/Jocks",
                    "cat": "XXX",
                    "desc": "Jocks"
                },
                {
                    "id": "porn/Latino",
                    "cat": "XXX",
                    "desc": "Latino"
                },
                {
                    "id": "porn/Mature",
                    "cat": "XXX",
                    "desc": "Mature"
                },
                {
                    "id": "porn/Member",
                    "cat": "XXX",
                    "desc": "Member"
                },
                {
                    "id": "porn/MiddleEast",
                    "cat": "XXX",
                    "desc": "MiddleEast"
                },
                {
                    "id": "porn/Military",
                    "cat": "XXX",
                    "desc": "Military"
                },
                {
                    "id": "porn/Muscle",
                    "cat": "XXX",
                    "desc": "Muscle"
                },
                {
                    "id": "porn/Oral-Sex",
                    "cat": "XXX",
                    "desc": "Oral-Sex"
                },
                {
                    "id": "porn/Solo",
                    "cat": "XXX",
                    "desc": "Solo"
                },
                {
                    "id": "porn/Transsexual",
                    "cat": "XXX",
                    "desc": "Transsexual"
                },
                {
                    "id": "porn/Twinks",
                    "cat": "XXX",
                    "desc": "Twinks"
                },
                {
                    "id": "porn/Vintage",
                    "cat": "XXX",
                    "desc": "Vintage"
                },
                {
                    "id": "porn/Wrestling",
                    "cat": "XXX",
                    "desc": "Wrestling"
                },
                {
                    "id": "nonporn",
                    "cat": "Other",
                    "desc": "NonPorn"
                },
                {
                    "id": "nonporn/Anime",
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": "nonporn/Applications",
                    "cat": "PC",
                    "desc": "Applications"
                },
                {
                    "id": "nonporn/Asian-BL",
                    "cat": "TV",
                    "desc": "Asian-BL"
                },
                {
                    "id": "nonporn/Comedy",
                    "cat": "Movies",
                    "desc": "Comedy"
                },
                {
                    "id": "nonporn/Comics",
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": "nonporn/Coming-Out",
                    "cat": "Movies",
                    "desc": "Coming-Out"
                },
                {
                    "id": "nonporn/Documentary",
                    "cat": "Movies",
                    "desc": "Documentary"
                },
                {
                    "id": "nonporn/Drama",
                    "cat": "Movies",
                    "desc": "Drama"
                },
                {
                    "id": "nonporn/DVD-R",
                    "cat": "Movies/DVD",
                    "desc": "DVD-R"
                },
                {
                    "id": "nonporn/Gay-Movies",
                    "cat": "Movies",
                    "desc": "Gay-Movies"
                },
                {
                    "id": "nonporn/Misc",
                    "cat": "Other/Misc",
                    "desc": "Misc"
                },
                {
                    "id": "nonporn/Short-Film",
                    "cat": "Movies",
                    "desc": "Short-Film"
                },
                {
                    "id": "nonporn/Softcore",
                    "cat": "Movies",
                    "desc": "Softcore"
                },
                {
                    "id": "nonporn/Thriller",
                    "cat": "Movies",
                    "desc": "Thriller"
                },
                {
                    "id": "nonporn/TV-Episode",
                    "cat": "TV",
                    "desc": "TV-Episode"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "vb_login_username": "{{ .Config.username }}",
                "vb_login_password": "{{ .Config.password }}",
                "cookieuser": 1,
                "do": "login"
            },
            "error": [
                {
                    "selector": "div.blockrow:contains(\"invalid\")"
                }
            ],
            "test": {
                "path": "torrentslist.php",
                "selector": "ul.isuser"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search.php{{ else }}torrentslist.php{{ end }}",
                    "inputs": {
                        "page": 1
                    }
                },
                {
                    "path": "{{ if .Keywords }}search.php{{ else }}torrentslist.php{{ end }}",
                    "inputs": {
                        "page": 2
                    }
                },
                {
                    "path": "{{ if .Keywords }}search.php{{ else }}torrentslist.php{{ end }}",
                    "inputs": {
                        "page": 3
                    }
                },
                {
                    "path": "{{ if .Keywords }}search.php{{ else }}torrentslist.php{{ end }}",
                    "inputs": {
                        "page": 4
                    }
                },
                {
                    "path": "{{ if .Keywords }}search.php{{ else }}torrentslist.php{{ end }}",
                    "inputs": {
                        "page": 5
                    }
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}type={{.}}&{{end}}",
                "textsearch": "{{ .Keywords }}",
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.order }}",
                "freeleech": "{{ if .Config.freeleech }}1{{ else }}0{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(\\d{2}\\.\\d{2}\\.\\d{2})",
                        "{{ if .Config.whisparrv2 }}{{ else }}$1{{ end }}"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(\\w+)",
                        "+$1"
                    ]
                }
            ],
            "headers": {
                "Referer": [
                    "{{ .Config.sitelink }}"
                ]
            },
            "rows": {
                "selector": "ul.TorrentList, ul.Torrent-List"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrentslist.php?type=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "type"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrentdetails.php?torrentid=\"]",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "[FFL] ",
                                ""
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "a[href^=\"torrentdetails.php?torrentid=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "append",
                            "args": "&do=download"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"torrentdetails.php?torrentid=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": ".TorrentList3, .Torrent-List-Size"
                },
                "seeders": {
                    "selector": ".TorrentList6, .Torrent-List-Seeds"
                },
                "leechers": {
                    "selector": ".TorrentList7, .Torrent-List-Peers"
                },
                "date": {
                    "selector": ".TorrentList8, .Torrent-List-Date",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "HH:mm dd-MMM-yyyy zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "a:contains(\"[FFL]\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "gaytorrentru": {
        "credentials": {
            "cookie": ""
        },
        "id": "gaytorrentru",
        "name": "GAYtorrent.ru",
        "description": "GayTorrent.ru is a Private Torrent Tracker for GAY 3X",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.gaytor.rent/"
        ],
        "legacylinks": [
            "https://www.gaytorrent.ru/"
        ],
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_hidden",
                "type": "info",
                "label": "Hidden categories",
                "default": "Results for categories hidden in account profile will not be visible."
            },
            {
                "name": "info_limit",
                "type": "info",
                "label": "Download Ratio",
                "default": "GayTorrent.ru has a daily download slot limit as defined by your ratio, your uploads, your donations, etc. If downloads <b>fail</b> then you have exceeded your allocation. Access the web site to find more info <a href=\"https://www.gaytor.rent/rationator.php\" target=\"_blank\">here</a>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "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": "Unused accounts (both upload and download are zero) are disabled by the system after 60 days of no login. Used accounts with prior activity (upload and/or download) are disabled by the system after 240 days of no login."
            }
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 69,
                    "cat": "XXX",
                    "desc": "AI"
                },
                {
                    "id": 62,
                    "cat": "XXX",
                    "desc": "Amateur"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "Anal"
                },
                {
                    "id": 46,
                    "cat": "XXX",
                    "desc": "Anime Games"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "Asian"
                },
                {
                    "id": 43,
                    "cat": "XXX",
                    "desc": "Bareback"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "BDSM"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "Bears"
                },
                {
                    "id": 59,
                    "cat": "XXX",
                    "desc": "Bisexual"
                },
                {
                    "id": 44,
                    "cat": "XXX",
                    "desc": "Black"
                },
                {
                    "id": 50,
                    "cat": "Books",
                    "desc": "Books & Magazines"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "Chubbies"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "Clips"
                },
                {
                    "id": 48,
                    "cat": "Books/Comics",
                    "desc": "Comic & Yaoi"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "Daddies / Sons"
                },
                {
                    "id": 67,
                    "cat": "XXX",
                    "desc": "Dildos"
                },
                {
                    "id": 66,
                    "cat": "XXX",
                    "desc": "Fan Sites"
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "Fetish"
                },
                {
                    "id": 68,
                    "cat": "XXX",
                    "desc": "Fisting"
                },
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "Grey / Older"
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "Group-Sex"
                },
                {
                    "id": 63,
                    "cat": "XXX",
                    "desc": "Homemade"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Hunks"
                },
                {
                    "id": 33,
                    "cat": "XXX/ImageSet",
                    "desc": "Images"
                },
                {
                    "id": 53,
                    "cat": "XXX",
                    "desc": "Interracial"
                },
                {
                    "id": 57,
                    "cat": "XXX",
                    "desc": "Jocks"
                },
                {
                    "id": 35,
                    "cat": "XXX",
                    "desc": "Latino"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "Mature"
                },
                {
                    "id": 58,
                    "cat": "PC",
                    "desc": "Media Programs"
                },
                {
                    "id": 37,
                    "cat": "XXX",
                    "desc": "Member"
                },
                {
                    "id": 54,
                    "cat": "XXX",
                    "desc": "Middle Eastern"
                },
                {
                    "id": 38,
                    "cat": "XXX",
                    "desc": "Military"
                },
                {
                    "id": 39,
                    "cat": "XXX",
                    "desc": "Oral-Sex"
                },
                {
                    "id": 64,
                    "cat": "XXX",
                    "desc": "Scat"
                },
                {
                    "id": 56,
                    "cat": "XXX",
                    "desc": "Softcore"
                },
                {
                    "id": 40,
                    "cat": "XXX",
                    "desc": "Solo"
                },
                {
                    "id": 61,
                    "cat": "XXX",
                    "desc": "Straight older"
                },
                {
                    "id": 60,
                    "cat": "XXX",
                    "desc": "Straight younger"
                },
                {
                    "id": 45,
                    "cat": "Movies",
                    "desc": "Themed Movie"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "Trans"
                },
                {
                    "id": 70,
                    "cat": "XXX",
                    "desc": "Trans/FTM"
                },
                {
                    "id": 1,
                    "cat": "TV",
                    "desc": "TV / Episodes"
                },
                {
                    "id": 41,
                    "cat": "XXX",
                    "desc": "Twinks"
                },
                {
                    "id": 42,
                    "cat": "XXX",
                    "desc": "Vintage"
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "Voyeur"
                },
                {
                    "id": 65,
                    "cat": "XXX",
                    "desc": "Wrestling and Sports"
                },
                {
                    "id": 28,
                    "cat": "XXX",
                    "desc": "Youngblood"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "my.php",
                "selector": "a[href$=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "search.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "view": "legacy",
                "incldead": 1,
                "inname": 1,
                "infl": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "page": 0,
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "headers": {
                "Referer": [
                    "{{ .Config.sitelink }}search.php?view=legacy"
                ]
            },
            "rows": {
                "selector": "table#browsetable > tbody > tr.browse_row"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "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 }}&n={{ .Result.title }}.torrent&p=dodownload"
                },
                "poster": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "data-hover-thumbs",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "p\\\"\\:\\\"(.+?)\\\""
                        },
                        {
                            "name": "prepend",
                            "args": "https://pic.gaytor.rent/tpics/"
                        }
                    ]
                },
                "grabs": {
                    "selector": "div.ttimes"
                },
                "files": {
                    "selector": "div.tfiles"
                },
                "size": {
                    "selector": "div.tsize"
                },
                "seeders": {
                    "optional": true,
                    "default": 0,
                    "selector": "a[href$=\"&toseeders=1\"]"
                },
                "leechers": {
                    "optional": true,
                    "default": 0,
                    "selector": "a[href$=\"&todlers=1\"]"
                },
                "date": {
                    "selector": "div.tadded > time",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "description": {
                    "selector": "div.browsedesc span:last-child"
                },
                "downloadvolumefactor": {
                    "case": {
                        "font:contains(\"FREELEECH !\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "generationfree-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "generationfree-api",
        "name": "Generation-Free (API)",
        "description": "Generation-Free (GF-Free) is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://generation-free.org/"
        ],
        "legacylinks": [
            "https://generation-free.biz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Films"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Séries"
                },
                {
                    "id": 3,
                    "cat": "Books",
                    "desc": "Ebook"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Jeux"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "Logiciel"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "Musique"
                },
                {
                    "id": 8,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://generation-free.org/\" target=\"_blank\">Generation-Free</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi FRENCH": "MULTi FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi ENGLISH": "MULTi ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi VOSTFR": "MULTi VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "vfq",
                "type": "checkbox",
                "label": "Replace VFQ with FRENCH",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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 inactive for 45 days are automatically deleted (all ranks included). To remain active, simply log in and participate (downloads, forums, shoutbox, games). Accounts created solely to build up numbers will be deactivated. As a free tracker with a limited number of spots, we regularly delete inactive accounts."
            },
            {
                "name": "page_for_test",
                "type": "select",
                "label": "Page for TEST",
                "default": 1,
                "options": {
                    "1": "1",
                    "2": "2",
                    "3": "3",
                    "4": "4",
                    "5": "5"
                }
            },
            {
                "name": "info_page",
                "type": "info",
                "label": "About TEST page",
                "default": "Generation-Free's API only delivers torrents that are at least 12 hours old. Therefore, when there are more than 100 torrents loaded to the site in a day, the indexer TEST may fail with 0 results. To allow the TEST to successed you will need to select another page to fetch."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100,
                "page": "{{ .Config.page_for_test }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title_phase1": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "title_vfq": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(VFQ)\\b",
                                "FRENCH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vfq }}{{ .Result.title_vfq }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase3": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase3 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase3 }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "ggpt": {
        "credentials": {
            "cookie": ""
        },
        "id": "ggpt",
        "name": "GGPT",
        "description": "GGPT is a CHINESE Private Torrent Tracker for GAMES",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.gamegamept.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "PC/Games",
                    "desc": "PC游戏(PC Games)",
                    "default": true
                },
                {
                    "id": 404,
                    "cat": "Console/PS4",
                    "desc": "索尼主机游戏(Sony console games)",
                    "default": true
                },
                {
                    "id": 405,
                    "cat": "Console/XBox",
                    "desc": "微软主机游戏(Microsoft console games)",
                    "default": true
                },
                {
                    "id": 406,
                    "cat": "Console/NDS",
                    "desc": "任天堂主机游戏(Nintendo console games)",
                    "default": true
                },
                {
                    "id": 407,
                    "cat": "PC/Mac",
                    "desc": "苹果游戏(Apple Games)",
                    "default": true
                },
                {
                    "id": 409,
                    "cat": "PC/Mobile-Android",
                    "desc": "安卓游戏(Android Games)",
                    "default": true
                },
                {
                    "id": 410,
                    "cat": "Books/Mags",
                    "desc": "游戏书藉(Game Magazines)",
                    "default": true
                },
                {
                    "id": 412,
                    "cat": "XXX/Other",
                    "desc": "9KG-PC",
                    "default": false
                },
                {
                    "id": 418,
                    "cat": "XXX/Other",
                    "desc": "9KG-其他",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Extreme User and above will be retained forever</li><li>Elite User and above will not have their account deleted within 180 days after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 180 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 180 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 30 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        401,
                        404,
                        405,
                        406,
                        407,
                        409,
                        410
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        412,
                        418
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "gigatorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "gigatorrents",
        "name": "GigaTorrents",
        "description": "GigaTorrents is a HUNGARIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://gigatorrents.ws/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 91,
                    "cat": "Movies/UHD",
                    "desc": "4K Blu-Ray"
                },
                {
                    "id": 62,
                    "cat": "Movies/BluRay",
                    "desc": "Bluray Disc"
                },
                {
                    "id": 80,
                    "cat": "Movies/SD",
                    "desc": "CAM/Eng"
                },
                {
                    "id": 79,
                    "cat": "Movies/SD",
                    "desc": "CAM/Hun"
                },
                {
                    "id": 71,
                    "cat": "Movies/DVD",
                    "desc": "DVD 9"
                },
                {
                    "id": 67,
                    "cat": "Movies/DVD",
                    "desc": "DVD 9 Hun"
                },
                {
                    "id": 74,
                    "cat": "Movies/HD",
                    "desc": "Film HD/Eng"
                },
                {
                    "id": 75,
                    "cat": "Movies/HD",
                    "desc": "Film HD/Hun"
                },
                {
                    "id": 73,
                    "cat": "Movies/SD",
                    "desc": "Film x264/Eng"
                },
                {
                    "id": 72,
                    "cat": "Movies/SD",
                    "desc": "Film x264/Hun"
                },
                {
                    "id": 19,
                    "cat": "Movies/SD",
                    "desc": "Film Xvid/Eng"
                },
                {
                    "id": 37,
                    "cat": "Movies/SD",
                    "desc": "Film Xvid/Hun"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD-R"
                },
                {
                    "id": 45,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD-R Hun"
                },
                {
                    "id": 47,
                    "cat": "PC/Games",
                    "desc": "Játékok/ISO"
                },
                {
                    "id": 64,
                    "cat": "PC/Games",
                    "desc": "Játékok/Rip"
                },
                {
                    "id": 48,
                    "cat": "Other",
                    "desc": "Képek"
                },
                {
                    "id": 49,
                    "cat": "XXX/ImageSet",
                    "desc": "Képek XXX"
                },
                {
                    "id": 51,
                    "cat": "Audio/Video",
                    "desc": "Klip"
                },
                {
                    "id": 39,
                    "cat": "Books",
                    "desc": "Könyvek/Eng"
                },
                {
                    "id": 52,
                    "cat": "Books",
                    "desc": "Könyvek/Hun"
                },
                {
                    "id": 33,
                    "cat": "Console",
                    "desc": "Konzol"
                },
                {
                    "id": 1,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless"
                },
                {
                    "id": 55,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil/PDA"
                },
                {
                    "id": 85,
                    "cat": "TV/HD",
                    "desc": "Sorozat HD/Eng"
                },
                {
                    "id": 84,
                    "cat": "TV/HD",
                    "desc": "Sorozat HD/Hun"
                },
                {
                    "id": 8,
                    "cat": "TV/SD",
                    "desc": "Sorozat/SD-x264/Eng"
                },
                {
                    "id": 81,
                    "cat": "TV/SD",
                    "desc": "Sorozat/SD-x264/Hun"
                },
                {
                    "id": 83,
                    "cat": "TV/SD",
                    "desc": "Sorozat/SD-Xvid/Eng"
                },
                {
                    "id": 7,
                    "cat": "TV/SD",
                    "desc": "Sorozat/SD-Xvid/Hun"
                },
                {
                    "id": 46,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 42,
                    "cat": "Audio",
                    "desc": "Zene/Eng"
                },
                {
                    "id": 53,
                    "cat": "Audio",
                    "desc": "Zene/Hun"
                }
            ],
            "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": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Rules for deletion:<ol><li>Users who have registered at least 4 weeks ago and have uploaded 0 bytes will be deleted</li><li>Users who have not accessed the site for 1 year will be permanently deleted</li><li>Users who have not accessed the site for 4 weeks will be deleted.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.box:has(div.title:contains(\"bejelentkez\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrentek.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": "{{ if .Config.freeleech }}5{{ else }}1{{ end }}",
                "blah": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table#torrenttable > tbody > tr:has()"
            },
            "error": [
                {
                    "selector": "div.content:contains(\"Meg van vonva a letöltési jogod\")"
                }
            ],
            "fields": {
                "download": {
                    "selector": "a[href^=\"/details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details.php?id=",
                                "download.php?id="
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href^=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img.imdb-info",
                    "attribute": "data-url"
                },
                "category": {
                    "selector": "a[href^=\"/torrentek.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                1
                            ]
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "description": {
                    "case": {
                        "img[src=\"pic/staff/yes.png\"]": "Verified",
                        "*": "Unverified"
                    }
                },
                "downloadvolumefactor": {
                    "selector": "td:nth-child(6) > span:nth-last-child(2)",
                    "optional": true,
                    "default": 1,
                    "filters": [
                        {
                            "name": "trim",
                            "args": "x"
                        }
                    ]
                },
                "uploadvolumefactor": {
                    "selector": "td:nth-child(6) > span:nth-last-child(1)",
                    "optional": true,
                    "default": 1,
                    "filters": [
                        {
                            "name": "trim",
                            "args": "x"
                        }
                    ]
                },
                "minimumratio": {
                    "text": 0.5
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "date": {
                    "selector": "td:nth-child(2)",
                    "remove": "a",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Feltöltve:\\s*([\\d-]+\\s*[\\d:]+)"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)",
                    "remove": "span"
                }
            }
        }
    },
    "girotorrent": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "girotorrent",
        "name": "Girotorrent",
        "description": "Girotorrent is an ITALIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "it-IT",
        "type": "private",
        "encoding": "UTF-8",
        "testlinktorrent": false,
        "links": [
            "https://girotorrent.org/"
        ],
        "legacylinks": [
            "http://girotorrent.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 13,
                    "cat": "Books/Mags",
                    "desc": "Giornali e Riviste"
                },
                {
                    "id": 15,
                    "cat": "Books/EBook",
                    "desc": "E-Book"
                },
                {
                    "id": 16,
                    "cat": "Books/Comics",
                    "desc": "Fumetti"
                },
                {
                    "id": 70,
                    "cat": "Books",
                    "desc": "Manuali e Guide"
                },
                {
                    "id": 72,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Libri"
                },
                {
                    "id": 17,
                    "cat": "Movies/Other",
                    "desc": "Movie Cam-Ts"
                },
                {
                    "id": 18,
                    "cat": "Movies/Other",
                    "desc": "Movie Screener"
                },
                {
                    "id": 61,
                    "cat": "Movies/Other",
                    "desc": "Movie R5-R6"
                },
                {
                    "id": 19,
                    "cat": "Movies/Other",
                    "desc": "Movie DVDRip"
                },
                {
                    "id": 20,
                    "cat": "Movies/Other",
                    "desc": "Movie BDRip"
                },
                {
                    "id": 60,
                    "cat": "Movies/Other",
                    "desc": "Movie BluRay"
                },
                {
                    "id": 63,
                    "cat": "Movies/Other",
                    "desc": "Movie WEBDLRip"
                },
                {
                    "id": 22,
                    "cat": "Movies/SD",
                    "desc": "Movie BDRip"
                },
                {
                    "id": 23,
                    "cat": "Movies/SD",
                    "desc": "Movie DvdRip"
                },
                {
                    "id": 95,
                    "cat": "Movies/SD",
                    "desc": "Movie WEBRip"
                },
                {
                    "id": 98,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movie WEBDL"
                },
                {
                    "id": 24,
                    "cat": "Movies/DVD",
                    "desc": "Movie DVD-R 5"
                },
                {
                    "id": 25,
                    "cat": "Movies/DVD",
                    "desc": "Movie DVD-R 9"
                },
                {
                    "id": 26,
                    "cat": "Movies/HD",
                    "desc": "Movie Blu-Ray HD"
                },
                {
                    "id": 27,
                    "cat": "Movies/UHD",
                    "desc": "Movie 4K Ultra HD"
                },
                {
                    "id": 96,
                    "cat": "Movies/HD",
                    "desc": "Movie HD Hevc"
                },
                {
                    "id": 28,
                    "cat": "Movies/Foreign",
                    "desc": "Movie Subbed-ita"
                },
                {
                    "id": 73,
                    "cat": "Movies/SD",
                    "desc": "Movie MP4"
                },
                {
                    "id": 29,
                    "cat": "Movies/Foreign",
                    "desc": "Movie Lingua Originale"
                },
                {
                    "id": 36,
                    "cat": "TV",
                    "desc": "TV Serie"
                },
                {
                    "id": 99,
                    "cat": "TV/HD",
                    "desc": "TV Serie Hevc"
                },
                {
                    "id": 37,
                    "cat": "TV",
                    "desc": "TV Film"
                },
                {
                    "id": 59,
                    "cat": "TV/Sport",
                    "desc": "TV Sport"
                },
                {
                    "id": 77,
                    "cat": "TV",
                    "desc": "TV Reality"
                },
                {
                    "id": 38,
                    "cat": "TV",
                    "desc": "TV Concerti-Spettacoli"
                },
                {
                    "id": 39,
                    "cat": "TV",
                    "desc": "TV Teatro-Cabaret"
                },
                {
                    "id": 40,
                    "cat": "TV/Documentary",
                    "desc": "Tv Documentario"
                },
                {
                    "id": 32,
                    "cat": "TV/Anime",
                    "desc": "Anime Disney"
                },
                {
                    "id": 33,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 34,
                    "cat": "TV/Anime",
                    "desc": "Anime Altri Cartoni"
                },
                {
                    "id": 62,
                    "cat": "TV/Anime",
                    "desc": "Anime Natale Bimbi Girotor"
                },
                {
                    "id": 42,
                    "cat": "Audio",
                    "desc": "Musica CD Singoli"
                },
                {
                    "id": 43,
                    "cat": "Audio",
                    "desc": "Musica Italiana"
                },
                {
                    "id": 44,
                    "cat": "Audio",
                    "desc": "Musica Straniera"
                },
                {
                    "id": 45,
                    "cat": "Audio",
                    "desc": "Musica Compilation"
                },
                {
                    "id": 46,
                    "cat": "Audio/Video",
                    "desc": "Musica Video Clip"
                },
                {
                    "id": 58,
                    "cat": "Audio",
                    "desc": "Musica Discografie"
                },
                {
                    "id": 97,
                    "cat": "Audio/Lossless",
                    "desc": "Musica Flac"
                },
                {
                    "id": 47,
                    "cat": "PC/Games",
                    "desc": "Giochi PC"
                },
                {
                    "id": 48,
                    "cat": "Console/PS3",
                    "desc": "Giochi PS2-PS3"
                },
                {
                    "id": 49,
                    "cat": "Console/Wii",
                    "desc": "Giochi Nintendo Wii"
                },
                {
                    "id": 50,
                    "cat": "Console/XBox",
                    "desc": "Giochi Xbox"
                },
                {
                    "id": 51,
                    "cat": "Console/PSP",
                    "desc": "Giochi PSP"
                },
                {
                    "id": 52,
                    "cat": "Console/3DS",
                    "desc": "Giochi Nintendo DS-DS3"
                },
                {
                    "id": 54,
                    "cat": "PC",
                    "desc": "Programmi Windows"
                },
                {
                    "id": 55,
                    "cat": "PC/Mac",
                    "desc": "Programmi Mac"
                },
                {
                    "id": 69,
                    "cat": "PC",
                    "desc": "Programmi Portable"
                },
                {
                    "id": 56,
                    "cat": "PC",
                    "desc": "Programmi Linux"
                },
                {
                    "id": 68,
                    "cat": "PC/Mobile-iOS",
                    "desc": "IPhone-IPad"
                },
                {
                    "id": 71,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 74,
                    "cat": "Other",
                    "desc": "Varie"
                },
                {
                    "id": 75,
                    "cat": "Other",
                    "desc": "Immagini Wallpaper"
                }
            ],
            "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": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile. The default is <i>15</i>."
            }
        ],
        "login": {
            "path": "index.php?page=login",
            "method": "post",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.error"
                },
                {
                    "selector": "span[style=\"color:#FF0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "before": {
                "path": "thanks.php",
                "method": "post",
                "inputs": {
                    "infohash": "{{ .DownloadUri.Query.id }}",
                    "thanks": 1,
                    "rndval": "1487013827343"
                }
            },
            "selectors": [
                {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "^(.+?)&key="
                        }
                    ]
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ .Keywords }}",
                "category": "{{ range .Categories }}{{.}};{{end}}",
                "options": 0,
                "active": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "diacritics",
                    "args": "replace"
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "$1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "$1 $2"
                    ]
                }
            ],
            "rows": {
                "selector": "div.b-content > table > tbody > tr > td > table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]){{ if .Config.freeleech }}:has(img[alt=\"Gold 100% Free\"]){{ else }}{{ end }}, div.b-content > table > tbody > tr > td > table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]){{ if .Config.freeleech }}:has(img[alt=\"Free Leech\"]){{ else }}{{ end }}",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"index.php?page=torrents&category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "a[onmouseover][href^=\"index.php?page=torrent-details&id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[!\"#$%&'()*+,\\-.\\/:;<=>?@[\\]^_`{|}~]",
                                " "
                            ]
                        },
                        {
                            "name": "diacritics",
                            "args": "replace"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[ ]{2,}",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bS(\\d+)\\sE(\\d+)\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d{2})x(\\d+)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1})x(\\d+)",
                                "S0$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStagion[ei]\\s?(\\d{1})\\b|\\bSeason'?s?\\s?(\\d{1})\\b",
                                "S0$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStagion[ei]\\s?(\\d{2,})\\b|\\bSeason'?s?\\s?(\\d{2,})\\b",
                                "S$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:[\\/\\|]?Episodio\\s?(\\d+)|Puntata\\s?(\\d+))",
                                "E$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:Puntate\\s*)(\\d+)\\s?(\\d+)",
                                "E0$1-0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Serie completa|Completat?a?|in pausa)",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[onmouseover][href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"index.php?page=downloadcheck\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[onmouseover][href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.+?) "
                        }
                    ]
                },
                "date": {
                    "selector": "td:nth-last-child(9)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-last-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(6)"
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[alt=\"Free Leech\"]": 0,
                        "img[alt=\"Gold 100% Free\"]": 0,
                        "img[alt=\"Silver 50% Free\"]": 0.5,
                        "img[alt=\"Bronze 25% Free\"]": 0.75,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "selector": "img[alt$=\"x Upload Multiplier\"]",
                    "attribute": "alt",
                    "optional": true,
                    "default": 1,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "x Upload Multiplier",
                                ""
                            ]
                        }
                    ]
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "haidan": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "haidan",
        "name": "HaiDan",
        "description": "HaiDan is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.haidan.cc/"
        ],
        "legacylinks": [
            "https://www.haidan.video/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries(纪录片)"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies(电影)"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations(动画片)"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series(电视剧)"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows(综艺)"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos(MV)"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports(体育)"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc(其他)"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio(音乐)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_indexer",
                "type": "info",
                "label": "Alert",
                "default": "HaiDan has switched to a <b>group</b> torrent list, which means this Indexer can only display the first item in each group.<br>This <b>yml</b> Indexer will eventually be re-written in c# as soon as a c# dev volunteers, to display all items in a group."
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users with no traffic (ie, upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "div.group_content:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "year": {
                    "optional": true,
                    "selector": "div.video_year",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "年份:",
                                " "
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "a.video_name_str",
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ .Result.year }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a.video_name_str",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "description": {
                    "selector": "div.torrent_name_col > a"
                },
                "poster": {
                    "selector": "img#poster",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "div.group > div.video_size, div.torrent_item > div.video_size"
                },
                "seeders": {
                    "selector": "div.group > div.seeder_col, div.torrent_item > div.seeder_col"
                },
                "leechers": {
                    "selector": "div.group > div.leecher_col, div.torrent_item > div.leecher_col"
                },
                "grabs": {
                    "selector": "div.group > div.snatched_col, div.torrent_item > div.snatched_col"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "date_elapsed": {
                    "selector": "div.time_col > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "div.time_col:contains(\"发布于\"):not(:has(span[title]))",
                    "optional": true,
                    "remove": "span",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "发布于",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "haitang": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "haitang",
        "name": "Hǎitáng (海棠PT)",
        "description": "Hǎitáng (海棠PT) is a CHINESE Private Torrent Tracker for OPERA / CROSSTALK",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://www.htpt.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Audio",
                    "desc": "相声 Crosstalk",
                    "default": true
                },
                {
                    "id": 4091,
                    "cat": "Audio",
                    "desc": "评书 Storytelling",
                    "default": true
                },
                {
                    "id": 4097,
                    "cat": "Audio",
                    "desc": "戏曲 Opera",
                    "default": true
                },
                {
                    "id": 4098,
                    "cat": "Audio",
                    "desc": "鼓/琴 Drum / Piano",
                    "default": true
                },
                {
                    "id": 4099,
                    "cat": "Audio",
                    "desc": "小曲 Small Song",
                    "default": true
                },
                {
                    "id": 4101,
                    "cat": "Audio",
                    "desc": "小品 Sketch",
                    "default": true
                },
                {
                    "id": 4104,
                    "cat": "Audio",
                    "desc": "二人转 Duets",
                    "default": true
                },
                {
                    "id": 4105,
                    "cat": "TV",
                    "desc": "小剧种 Puppet shows",
                    "default": true
                },
                {
                    "id": 4103,
                    "cat": "Audio/Audiobook",
                    "desc": "广播剧 Audiobooks",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "music-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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Users with Veteran User (Wen Chou) and above will be retained forever</li><li>Elite User (Wu Sheng) and above will not be deleted after parking (in the control panel)</li><li>Users with a parked account who do not log in for 365 consecutive days will be deleted</li><li>Users with a non-parked account who have not logged in for 180 consecutive days be deleted</li><li>Users who have no traffic (i.e. upload/download The data is all 0) will be deleted If they do not log in for 90 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        1,
                        4091,
                        4097,
                        4098,
                        4099,
                        4101,
                        4104,
                        4105
                    ]
                },
                {
                    "path": "live.php",
                    "categories": [
                        4103
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "happyfappy": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "happyfappy",
        "name": "HappyFappy",
        "description": "HappyFappy (HF) is a Private Torrent Tracker for 3X",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.happyfappy.net/"
        ],
        "legacylinks": [
            "https://www.happyfappy.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "AI"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "Asian"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "Fansite"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "Games"
                },
                {
                    "id": 3,
                    "cat": "XXX",
                    "desc": "Gay / Bi"
                },
                {
                    "id": 4,
                    "cat": "XXX",
                    "desc": "Interracial"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "Lesbian"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "Packs"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "Pics"
                },
                {
                    "id": 1,
                    "cat": "XXX",
                    "desc": "Pron"
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "Retro"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Scat"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Transsexual"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "VR"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA",
                "default": "If you want to enable 2FA then use the HappyFappy2FA indexer instead."
            },
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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": "To keep your account active, sign in and browse the site at least once every 120 days. Seeding torrents does not count as account activity, so in order to remain active you need to sign in and browse the site. Pornstar Trainee (and above) have a longer inactivity timer, but logging in regularly is recommended to learn about special events and new features."
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "cinfo": "2550|1350|24|-60",
                "iplocked": 0,
                "keeploggedin": 1
            },
            "error": [
                {
                    "selector": "div.error"
                }
            ],
            "test": {
                "path": "/",
                "selector": "#nav_userinfo"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "title": "{{ .Keywords }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent row\"]:has(a[href*=\"action=download\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/torrents.php?filter_cat[\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[(\\d+)\\]"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/torrents.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "description_tags": {
                    "selector": "div.tags"
                },
                "description": {
                    "case": {
                        "span.icon_okay": "Verified: {{ .Result.description_tags }}",
                        "*": "Unverified: {{ .Result.description_tags }}"
                    }
                },
                "poster": {
                    "selector": "td:nth-child(2) > script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\\"(.*?)\\\\\""
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\\\(.)",
                                "$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "/static/common/noartwork/noimage.png",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5) > span",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"Freeleech\"]": 0,
                        "img[alt=\"Freeleech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"DoubleSeed\"]": 2,
                        "img[alt=\"DoubleSeed\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.5
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "happyfappy2fa": {
        "credentials": {
            "cookie": ""
        },
        "id": "happyfappy2fa",
        "name": "HappyFappy2FA",
        "description": "HappyFappy (HF) is a Private Torrent Tracker for 3X. This indexer uses cookie login for 2FA.",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.happyfappy.net/"
        ],
        "legacylinks": [
            "https://www.happyfappy.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "AI"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "Asian"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "Fansite"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "Games"
                },
                {
                    "id": 3,
                    "cat": "XXX",
                    "desc": "Gay / Bi"
                },
                {
                    "id": 4,
                    "cat": "XXX",
                    "desc": "Interracial"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "Lesbian"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "Packs"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "Pics"
                },
                {
                    "id": 1,
                    "cat": "XXX",
                    "desc": "Pron"
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "Retro"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Scat"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Transsexual"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "VR"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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": "To keep your account active, sign in and browse the site at least once every 120 days. Seeding torrents does not count as account activity, so in order to remain active you need to sign in and browse the site. Pornstar Trainee (and above) have a longer inactivity timer, but logging in regularly is recommended to learn about special events and new features."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "#nav_userinfo"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "title": "{{ .Keywords }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent row\"]:has(a[href*=\"action=download\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/torrents.php?filter_cat[\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[(\\d+)\\]"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/torrents.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "description_tags": {
                    "selector": "div.tags"
                },
                "description": {
                    "case": {
                        "span.icon_okay": "Verified: {{ .Result.description_tags }}",
                        "*": "Unverified: {{ .Result.description_tags }}"
                    }
                },
                "poster": {
                    "selector": "td:nth-child(2) > script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\\"(.*?)\\\\\""
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\\\(.)",
                                "$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "/static/common/noartwork/noimage.png",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5) > span",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"Freeleech\"]": 0,
                        "img[alt=\"Freeleech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"DoubleSeed\"]": 2,
                        "img[alt=\"DoubleSeed\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.5
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "hawke-uno": {
        "credentials": {
            "apikey": ""
        },
        "id": "hawke-uno",
        "name": "hawke-uno",
        "description": "hawke-uno (HUNO) is a Private Torrent Tracker for HD MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hawke.uno/"
        ],
        "legacylinks": [
            "https://www.hawke.uno/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://www.hawke.uno/\" target=\"_blank\">hawke-uno</a> account <i>My Security</i> page and clicking on the <b>API Token</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "SS and IF members must either login or register any seeding activity in a rolling window of 180 days to retain their account. Failure to do so will result in their account being disabled by the site automatically."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "categorydesc": {
                    "selector": "category"
                },
                "title": {
                    "selector": "name",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "\\(((?>[^()]+|(?<o>)\\(|(?<-o>)\\))*(?(o)(?!)))(?<!\\bHONE)(?<=\\s*- [\\w]+)\\)$",
                                "$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s*-\\s+(\\w+)$",
                                "-$1"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "files": {
                    "selector": "num_file"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}"
                },
                "downloadvolumefactor": {
                    "selector": "freeleech",
                    "case": [
                        1,
                        0
                    ]
                },
                "uploadvolumefactor": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "minimumseedtime": {
                    "text": 432000
                }
            }
        }
    },
    "hd-club": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "hd-club",
        "name": "HD-CLUB",
        "description": "HD-CLUB is a CZECH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "cs-CZ",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://freecztorrent.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 11,
                    "cat": "Movies/HD",
                    "desc": "H265-720/1080/2160"
                },
                {
                    "id": 31,
                    "cat": "Movies/SD",
                    "desc": "Divx - Avi"
                },
                {
                    "id": 19,
                    "cat": "Movies",
                    "desc": "Kreslené Filmy"
                },
                {
                    "id": 32,
                    "cat": "TV/Documentary",
                    "desc": "Dokumentární  Filmy"
                },
                {
                    "id": 28,
                    "cat": "TV",
                    "desc": "Seriály"
                },
                {
                    "id": 18,
                    "cat": "TV/HD",
                    "desc": "Film Retro"
                },
                {
                    "id": 14,
                    "cat": "TV/WEB-DL",
                    "desc": "TV - WEB- DL x264"
                },
                {
                    "id": 16,
                    "cat": "TV/HD",
                    "desc": "MP4"
                },
                {
                    "id": 15,
                    "cat": "TV/WEB-DL",
                    "desc": "TV - WEB- DL x265"
                },
                {
                    "id": 38,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 29,
                    "cat": "Movies/DVD",
                    "desc": "DVD5 / DVD9"
                },
                {
                    "id": 23,
                    "cat": "Movies/UHD",
                    "desc": "Bluray / 4K-UHD"
                },
                {
                    "id": 26,
                    "cat": "Movies/HD",
                    "desc": "HD-720/1080/2160"
                },
                {
                    "id": 34,
                    "cat": "Movies/3D",
                    "desc": "3 D"
                },
                {
                    "id": 35,
                    "cat": "Movies",
                    "desc": "V.I.P Extra"
                },
                {
                    "id": 39,
                    "cat": "PC",
                    "desc": "APP WINDOWS"
                },
                {
                    "id": 41,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil-PDA"
                },
                {
                    "id": 25,
                    "cat": "Audio/Lossless",
                    "desc": "Flac"
                },
                {
                    "id": 20,
                    "cat": "Audio/MP3",
                    "desc": "Mp3"
                },
                {
                    "id": 36,
                    "cat": "Audio",
                    "desc": "Retro Hudba"
                },
                {
                    "id": 22,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio kniha"
                },
                {
                    "id": 3,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 5,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                }
            ],
            "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": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "post",
            "path": "index.php?page=login",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.lista span[style=\"color:#FF0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ .Keywords }}",
                "category": "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}",
                "active": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.benylista > tbody > tr:has(a[href^=\"download.php\"]):not(:has(a[href$=\"category=0\"]))"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"index.php?page=torrent-details\"]"
                },
                "details": {
                    "selector": "a[href^=\"index.php?page=torrent-details\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img.small-img",
                    "attribute": "src"
                },
                "date": {
                    "selector": "td:nth-last-child(7)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{2}\\.\\d{2}\\.\\d{4} \\d{2}:\\d{2}:\\d{2})"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(4)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(3)"
                },
                "_exclusive": {
                    "optional": true,
                    "case": {
                        "img[src=\"beny/exclusive.png\"]": "Exclusive"
                    }
                },
                "_vip": {
                    "optional": true,
                    "case": {
                        "img[src=\"gold/free.gif\"]": "VIP"
                    }
                },
                "description": {
                    "text": "{{ if .Result._exclusive }}{{ .Result._exclusive }} {{ else }}{{ end }}{{ if .Result._vip }}{{ .Result._vip }}{{ else }}{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"gold/gold.gif\"]": 0,
                        "img[src=\"gold/gold75.gif\"]": 0.25,
                        "img[src=\"gold/gold50.gif\"]": 0.5,
                        "img[src=\"gold/gold25.gif\"]": 0.75,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.6
                }
            }
        }
    },
    "hd-unit3d-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "hd-unit3d-api",
        "name": "HD-UNiT3D (API)",
        "description": "HD-UNiT3D is a Private Torrent Tracker for HD MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hd-united.vn/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Audio"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://hd-united.vn/\" target=\"_blank\">HD-UNiT3D</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Inactive accounts will be deleted as scheduled by Staff."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "hdarea": {
        "credentials": {
            "cookie": ""
        },
        "id": "hdarea",
        "name": "HDArea",
        "description": "HDArea (HDA) is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdarea.club/"
        ],
        "legacylinks": [
            "https://www.hdarea.co/",
            "https://www.hdarea.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 300,
                    "cat": "Movies/UHD",
                    "desc": "Movies UHD-4K"
                },
                {
                    "id": 401,
                    "cat": "Movies/BluRay",
                    "desc": "Movies Blu-ray"
                },
                {
                    "id": 415,
                    "cat": "Movies/HD",
                    "desc": "Movies REMUX"
                },
                {
                    "id": 416,
                    "cat": "Movies/3D",
                    "desc": "Movies 3D"
                },
                {
                    "id": 410,
                    "cat": "Movies/HD",
                    "desc": "Movies 1080p"
                },
                {
                    "id": 411,
                    "cat": "Movies/HD",
                    "desc": "Movies 720p"
                },
                {
                    "id": 414,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD"
                },
                {
                    "id": 412,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies WEB-DL"
                },
                {
                    "id": 413,
                    "cat": "Movies/HD",
                    "desc": "Movies HDTV"
                },
                {
                    "id": 417,
                    "cat": "Movies/Other",
                    "desc": "Movies iPad"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account Retention Rules:<ol><li>Veteran Users and above will be retained forever</li><li> Insane User and above will not be deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 60 consecutive days.</li><li> Newly registered users who have no traffic for 7 days (i.e., upload/download data is 0) will be deleted.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"usercp.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if or .Query.IMDBID .Query.DoubanID }}{{ or .Query.IMDBID .Query.DoubanID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 1,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-last-child(6) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-last-child(6):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-last-child(5)"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-last-child(4)"
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-last-child(3)"
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-last-child(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.8
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "hdbao": {
        "credentials": {
            "cookie": ""
        },
        "id": "hdbao",
        "name": "HDBao",
        "description": "HDBao is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdbao.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/赛事"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 409,
                    "cat": "Audio",
                    "desc": "Misc/音乐"
                },
                {
                    "id": 408,
                    "cat": "Audio/Video",
                    "desc": "Concert/演唱会"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos/音乐MV"
                },
                {
                    "id": 405,
                    "cat": "TV/Other",
                    "desc": "Animations/动漫&动画"
                },
                {
                    "id": 410,
                    "cat": "Books/Technical",
                    "desc": "Tutorial/教程"
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": "Others/其他"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted.</li><li>Elite User or above would never be deleted if parked (at User CP).</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row.</li><li>Unparked accounts would be deleted if users have not logged in for more than 150 days in a row.</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "hdc": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "hdc",
        "name": "HDCiTY",
        "description": "HDCiTY (HDC) is a CHINESE Private Torrent Tracker for HD MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdcity.city/",
            "https://hdcity.work/",
            "https://hdcity.leniter.org/"
        ],
        "legacylinks": [
            "https://hdcity4.leniter.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "Series/剧集"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Doc/档案记录"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Anim/动漫"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "Shows/节目"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV/音乐视频"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Audio/音频"
                },
                {
                    "id": 727,
                    "cat": "XXX",
                    "desc": "XXX/家长指引"
                },
                {
                    "id": 728,
                    "cat": "Other",
                    "desc": "Edu/文档/教材"
                },
                {
                    "id": 729,
                    "cat": "PC",
                    "desc": "Soft/软件"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Other/其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-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": 4,
                "options": {
                    "4": "created",
                    "7": "seeders",
                    "5": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_Results",
                "type": "info",
                "label": "Settings for Results",
                "default": "To use this indexer please set the following on your HDC account <b>profile</b>:<ul><li><i>Site Language:</i><b> English</b></li><li><i>Torrent List Profile:</i> <b>Default Modern [preview]</b></li><li><i>Time Type: </i><b>Time Added</b></li><li><i>Torrents per page:</i><b> 100</b></li></ul>"
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted.</li><li>Elite User or above would never be deleted if parked (at User CP).</li><li>Parked accounts would be deleted if users have not logged in for more than 180 days in a row.</li><li>Unparked accounts would be deleted if users have not logged in for more than 60 days in a row.</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 30 days in a row.</li></ol>"
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "form": "form[action=\"signinhandler\"]",
            "inputs": {
                "nftsidl1c03b": "{{ .Config.username }}",
                "insf0urO0abl1i": "{{ .Config.password }}"
            },
            "selectorinputs": {
                "s0hot": {
                    "selector": "input[name=\"s0hot\"]",
                    "attribute": "value"
                },
                "asDf0z": {
                    "selector": "input[name=\"asDf0z\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "div.errormsg"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href^=\"logout?key=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "pt"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "iwannaseethis": "{{ if .Query.IMDBID }}{{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "div.mitem"
            },
            "fields": {
                "category": {
                    "selector": "div.mcontent",
                    "attribute": "style",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\/(\\d+).png"
                        }
                    ]
                },
                "title": {
                    "selector": "div.mtop a[href^=\"t-\"]"
                },
                "details": {
                    "selector": "div.mtop a[href^=\"t-\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div.mcontent:not(:has(img[src$=\"poster.jpg\"])) img",
                    "attribute": "src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "div.mbottom div:nth-last-child(7)",
                    "remove": "i"
                },
                "seeders": {
                    "selector": "a[href$=\"#seeders\"]",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "a[href$=\"#leechers\"]",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "a[href^=\"viewsnatches?id=\"]",
                    "optional": true,
                    "default": 0
                },
                "date": {
                    "selector": "div[style=\"minfo\"]",
                    "remove": "span",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "div.bfree": 0,
                        "div.btwoupfree": 0,
                        "div.bhalfdown": 0.5,
                        "div.btwouphalfdown": 0.5,
                        "div.bthirdown": 0.3,
                        "div.bnone": 1,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "div.btwouphalfdown": 2,
                        "div.btwoupfree": 2,
                        "div.btwoup": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "hdclone": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "hdclone",
        "name": "HDClone",
        "description": "HDClone is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.hdclone.top/"
        ],
        "legacylinks": [
            "https://pt.hdclone.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫、动画"
                },
                {
                    "id": 409,
                    "cat": "Audio/Video",
                    "desc": "Playlet/短剧"
                },
                {
                    "id": 410,
                    "cat": "Audio/Video",
                    "desc": "MV/演唱会"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Music/音乐"
                },
                {
                    "id": 407,
                    "cat": "Other",
                    "desc": "Others/其他（慎选）"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the HDClone Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 80 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 60 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 10 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))",
                    "message": {
                        "selector": "td.text"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "hddolby": {
        "credentials": {
            "cookie": ""
        },
        "id": "hddolby",
        "name": "HD Dolby",
        "description": "HD Dolby is a CHINESE Private Torrent Tracker for HD MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.hddolby.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series电视剧"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations动漫"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows综艺"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports体育"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio音乐"
                },
                {
                    "id": 410,
                    "cat": "PC/Games",
                    "desc": "Games游戏"
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": "Study学习"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Others其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>(Division Commander) Extreme User and above will be retained forever</li><li>(Brigadier Commander) Veteran Users and above will not be deleted after their account has been parked (in the Control Panel)</li><li>Users who have parked their accounts will be disabled if they do not log in for 180 consecutive days</li><li>Users with a non-parked account will have their account disabled if they do not log in for 90 consecutive days</li><li>Newly registered users who do not have traffic (i.e., upload and download data is 0) and do not log in for 5 consecutive days will be disabld.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }} {{ else }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }} {{ else }}{{ end }}{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if or .Query.IMDBID .Query.DoubanID }}1{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "tmdbid": {
                    "selector": "a[href*=\"themoviedb.org/movie/\"], a[href*=\"themoviedb.org/tv/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1.5
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "table.torrentname td.embedded:first-child > span:last-child"
                }
            }
        }
    },
    "hdfans": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "hdfans",
        "name": "HDFans",
        "description": "HDFans is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdfans.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 403,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 406,
                    "cat": "Audio",
                    "desc": "Music/音乐"
                },
                {
                    "id": 416,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 417,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫"
                },
                {
                    "id": 407,
                    "cat": "Audio/Video",
                    "desc": "Music Videos/音乐视频"
                },
                {
                    "id": 408,
                    "cat": "Audio/Video",
                    "desc": "Concert/演唱会"
                },
                {
                    "id": 404,
                    "cat": "Other",
                    "desc": "Education/教育"
                },
                {
                    "id": 405,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Books/有声读物"
                },
                {
                    "id": 409,
                    "cat": "Movies/Other",
                    "desc": "Drama/戏剧"
                },
                {
                    "id": 418,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 419,
                    "cat": "PC/0day",
                    "desc": "Software/软件"
                },
                {
                    "id": 421,
                    "cat": "PC/Games",
                    "desc": "Games/游戏"
                },
                {
                    "id": 423,
                    "cat": "Books/EBook",
                    "desc": "E-Books/电子书"
                },
                {
                    "id": 410,
                    "cat": "Other",
                    "desc": "Others/其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the HDFans Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Extreme User and above will be retained forever</li><li>Veteran User and above will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 180 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 90 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 15 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))",
                    "message": {
                        "selector": "td.text"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 1,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "hdforever": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "hdforever",
        "name": "HD-Forever",
        "description": "HD-Forever (HD-F) is a FRENCH Private Torrent Tracker for HD MOVIES",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdf.world/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Film"
                },
                {
                    "id": 2,
                    "cat": "Movies",
                    "desc": "Film d'animation"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Spectacle"
                },
                {
                    "id": 4,
                    "cat": "Movies",
                    "desc": "Concert"
                },
                {
                    "id": 5,
                    "cat": "TV",
                    "desc": "Série"
                },
                {
                    "id": 6,
                    "cat": "TV/Anime",
                    "desc": "Série d'animation"
                },
                {
                    "id": 7,
                    "cat": "Movies",
                    "desc": "Documentaire"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            },
            "allowtvsearchimdb": true
        },
        "settings": [
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA",
                "default": "If you want to enable 2FA then use the HD-Forever2FA indexer instead."
            },
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "usetoken",
                "type": "checkbox",
                "label": "Always try to use the FreeLeech Token",
                "default": false
            },
            {
                "name": "info_token",
                "type": "info",
                "label": "About the Freeleech token",
                "default": "If you <b>do not</b> have any <i>Freeleech tokens</i> then do not tick this box.</br>Attempting a token download when you have no tokens will generate an <b>error</b>."
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi.FRENCH": "MULTi.FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi.ENGLISH": "MULTi.ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi.VOSTFR": "MULTi.VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_radarr",
                "type": "info",
                "label": "About Radarr",
                "default": "The HD-F web site cannot find movies if you use the release year in a title search. When you define your Radarr Indexer remember to tick the <i>Remove year from search string</i> checkbox."
            },
            {
                "name": "info_release_name",
                "type": "info",
                "label": "About release names",
                "default": "For more stable release names, enable <b>Afficher les noms de fichiers</b> in your HD-F profile settings."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "keeplogged": 1
            },
            "error": [
                {
                    "selector": "form#loginform > span.warning"
                }
            ],
            "test": {
                "path": "torrents.php",
                "selector": "a[href^=\"logout.php?auth=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchstr": "{{ .Keywords }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "action": "advanced",
                "searchsubmit": 1,
                "freetorrent": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "tmdbid": "{{ .Query.TMDBID }}",
                "imdbid": "{{ .Query.IMDBID }}"
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr.torrent:has(a[href^=\"torrents.php?action=download&\"])"
            },
            "fields": {
                "category": {
                    "selector": "td.cats_col",
                    "case": {
                        "div.cats_film": 1,
                        "div[class*=\"cats_filmd\"]": 2,
                        "div.cats_spectacle": 3,
                        "div.cats_concert": 4,
                        "div.cats_série": 5,
                        "div[class*=\"cats_séried\"]": 6,
                        "div.cats_documentaire": 7
                    }
                },
                "details": {
                    "selector": "a[href^=\"torrents.php?id=\"]",
                    "attribute": "href"
                },
                "download_regular": {
                    "selector": "a[href^=\"torrents.php?action=download&\"]",
                    "attribute": "href"
                },
                "download_usetoken": {
                    "selector": "a[href^=\"torrents.php?action=download&\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "append",
                            "args": "&usetoken=1"
                        }
                    ]
                },
                "download": {
                    "text": "{{ if .Config.usetoken }}{{ .Result.download_usetoken }}{{ else }}{{ .Result.download_regular }}{{ end }}"
                },
                "_release_group": {
                    "selector": "span.team_name",
                    "optional": true,
                    "filters": [
                        {
                            "name": "trim"
                        }
                    ]
                },
                "poster": {
                    "selector": "div.group_image img",
                    "attribute": "src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "tmdbid": {
                    "selector": "a[href*=\"themoviedb.org/movie/\"], a[href*=\"themoviedb.org/tv/\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "span.time",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Il y a ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "heures",
                                "hours"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "heure",
                                "hour"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "jours",
                                "days"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "jour",
                                "day"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "semaines",
                                "weeks"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "semaine",
                                "week"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "mois",
                                "months"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ans",
                                "years"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "an",
                                "year"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " ago"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "div.torrent_info .tl_free": 0,
                        "div.torrent_info .tl_notice[title*=\"Freeleech\"]": 0,
                        "div.torrent_info .tl_notice[title=\"-75%\"]": 0.75,
                        "div.torrent_info .tl_notice[title=\"-50%\"]": 0.5,
                        "div.torrent_info .tl_notice[title=\"-25%\"]": 0.25,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "title_torrent_filename": {
                    "selector": "div.torrent_filename_row",
                    "optional": true,
                    "filters": [
                        {
                            "name": "trim"
                        }
                    ]
                },
                "title_parsed": {
                    "selector": "div.group_info",
                    "remove": "span.team_name, span:has(a[href^=\"torrents.php?action=download\"]), div.tags, div.vote_controls, div.stats-content, .add_bookmark, img, .tl_free, .tl_notice, .torrent_filename_row",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "\n",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[(?:Concert|Film|Film d'animation|Spectacle|Série|Série d'animation|Documentaire)\\]",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Blu-ray Original",
                                "Complete.BluRay"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Blu-ray Remux",
                                "Remux"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Blu-ray Rip",
                                "BluRay.Rip"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "mHD",
                                "mHD.BluRay.Rip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)DC",
                                ".Directors.Cut"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)VL",
                                ".Extended"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)RM",
                                ".Remastered"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)UC",
                                ".Uncut"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)UR",
                                ".Unrated"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)ES",
                                ".Special.Edition"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)Crit",
                                ".Criterion"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\/ )?(?:Remplaçable|Complété|Bonus|Note Modo|[2-9]+ème partie|\\b(?:Cust(?:_sub)?|WAC|BFI|MUET)\\b)(?: \\/)?",
                                ""
                            ]
                        },
                        {
                            "name": "trim"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\]\\/\\s?.,:'!]+",
                                "."
                            ]
                        },
                        {
                            "name": "trim",
                            "args": "."
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.VFF\\.VFQ\\.(?:MULTI|StFR(?:\\.MULTI)?|VO(?:\\.StFR)?)",
                                ".MULTI.VF2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.VFF\\.(?:MULTI|StFR(?:\\.MULTI)?|VO(?:\\.StFR)?)",
                                ".MULTI.VFF"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.VFQ\\.(?:MULTI|StFR(?:\\.MULTI)?|VO(?:\\.StFR)?)",
                                ".MULTI.VFQ"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.VOQ\\.(?:MULTI|StFR(?:\\.MULTI)?|VO(?:\\.StFR)?)",
                                ".MULTI.VOQ"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.VFI\\.(?:MULTI|StFR(?:\\.MULTI)?|VO(?:\\.StFR)?)",
                                ".MULTI.VFI"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.VOF\\.(?:MULTI|StFR(?:\\.MULTI)?|VO(?:\\.StFR)?)",
                                ".MULTI.VOF"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.(?:VO\\.)?StFR",
                                ".VOSTFR"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Result._release_group }}-{{ .Result._release_group }}{{ else }}{{ end }}"
                        }
                    ]
                },
                "title_phase1": {
                    "text": "{{ if .Result.title_torrent_filename }}{{ .Result.title_torrent_filename }}{{ else }}{{ .Result.title_parsed }}{{ end }}"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR|VF2|VFF|VFQ|VOQ|VFI|VOF)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "description": {
                    "selector": "div.group_info",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "\n",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s+",
                                " "
                            ]
                        }
                    ]
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "hdforever2fa": {
        "credentials": {
            "cookie": ""
        },
        "id": "hdforever2fa",
        "name": "HD-Forever2FA",
        "description": "HD-Forever (HD-F) is a FRENCH Private Torrent Tracker for HD MOVIES. This indexer uses cookie login for 2FA.",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdf.world/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Film"
                },
                {
                    "id": 2,
                    "cat": "Movies",
                    "desc": "Film d'animation"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Spectacle"
                },
                {
                    "id": 4,
                    "cat": "Movies",
                    "desc": "Concert"
                },
                {
                    "id": 5,
                    "cat": "TV",
                    "desc": "Série"
                },
                {
                    "id": 6,
                    "cat": "TV/Anime",
                    "desc": "Série d'animation"
                },
                {
                    "id": 7,
                    "cat": "Movies",
                    "desc": "Documentaire"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            },
            "allowtvsearchimdb": true
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "info",
                "type": "info"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "usetoken",
                "type": "checkbox",
                "label": "Always try to use the FreeLeech Token",
                "default": false
            },
            {
                "name": "info_token",
                "type": "info",
                "label": "About the Freeleech token",
                "default": "If you <b>do not</b> have any <i>Freeleech tokens</i> then do not tick this box.</br>Attempting a token download when you have no tokens will generate an <b>error</b>."
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi.FRENCH": "MULTi.FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi.ENGLISH": "MULTi.ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi.VOSTFR": "MULTi.VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_radarr",
                "type": "info",
                "label": "About Radarr",
                "default": "The HD-F web site cannot find movies if you use the release year in a title search. When you define your Radarr Indexer remember to tick the <i>Remove year from search string</i> checkbox."
            },
            {
                "name": "info_release_name",
                "type": "info",
                "label": "About release names",
                "default": "For more stable release names, enable <b>Afficher les noms de fichiers</b> in your HD-F profile settings."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "torrents.php",
                "selector": "a[href^=\"logout.php?auth=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchstr": "{{ .Keywords }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "action": "advanced",
                "searchsubmit": 1,
                "freetorrent": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "tmdbid": "{{ .Query.TMDBID }}",
                "imdbid": "{{ .Query.IMDBID }}"
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr.torrent:has(a[href^=\"torrents.php?action=download&\"])"
            },
            "fields": {
                "category": {
                    "selector": "td.cats_col",
                    "case": {
                        "div.cats_film": 1,
                        "div[class*=\"cats_filmd\"]": 2,
                        "div.cats_spectacle": 3,
                        "div.cats_concert": 4,
                        "div.cats_série": 5,
                        "div[class*=\"cats_séried\"]": 6,
                        "div.cats_documentaire": 7
                    }
                },
                "details": {
                    "selector": "a[href^=\"torrents.php?id=\"]",
                    "attribute": "href"
                },
                "download_regular": {
                    "selector": "a[href^=\"torrents.php?action=download&\"]",
                    "attribute": "href"
                },
                "download_usetoken": {
                    "selector": "a[href^=\"torrents.php?action=download&\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "append",
                            "args": "&usetoken=1"
                        }
                    ]
                },
                "download": {
                    "text": "{{ if .Config.usetoken }}{{ .Result.download_usetoken }}{{ else }}{{ .Result.download_regular }}{{ end }}"
                },
                "_release_group": {
                    "selector": "span.team_name",
                    "optional": true,
                    "filters": [
                        {
                            "name": "trim"
                        }
                    ]
                },
                "poster": {
                    "selector": "div.group_image img",
                    "attribute": "src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "tmdbid": {
                    "selector": "a[href*=\"themoviedb.org/movie/\"], a[href*=\"themoviedb.org/tv/\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "span.time",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Il y a ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "heures",
                                "hours"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "heure",
                                "hour"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "jours",
                                "days"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "jour",
                                "day"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "semaines",
                                "weeks"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "semaine",
                                "week"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "mois",
                                "months"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ans",
                                "years"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "an",
                                "year"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " ago"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "div.torrent_info .tl_free": 0,
                        "div.torrent_info .tl_notice[title*=\"Freeleech\"]": 0,
                        "div.torrent_info .tl_notice[title=\"-75%\"]": 0.75,
                        "div.torrent_info .tl_notice[title=\"-50%\"]": 0.5,
                        "div.torrent_info .tl_notice[title=\"-25%\"]": 0.25,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "title_torrent_filename": {
                    "selector": "div.torrent_filename_row",
                    "optional": true,
                    "filters": [
                        {
                            "name": "trim"
                        }
                    ]
                },
                "title_parsed": {
                    "selector": "div.group_info",
                    "remove": "span.team_name, span:has(a[href^=\"torrents.php?action=download\"]), div.tags, div.vote_controls, div.stats-content, .add_bookmark, img, .tl_free, .tl_notice, .torrent_filename_row",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "\n",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\[(?:Concert|Film|Film d'animation|Spectacle|Série|Série d'animation|Documentaire)\\]",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Blu-ray Original",
                                "Complete.BluRay"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Blu-ray Remux",
                                "Remux"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Blu-ray Rip",
                                "BluRay.Rip"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "mHD",
                                "mHD.BluRay.Rip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)DC",
                                ".Directors.Cut"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)VL",
                                ".Extended"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)RM",
                                ".Remastered"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)UC",
                                ".Uncut"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)UR",
                                ".Unrated"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)ES",
                                ".Special.Edition"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\]|\\/\\s)Crit",
                                ".Criterion"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?:\\/ )?(?:Remplaçable|Complété|Bonus|Note Modo|[2-9]+ème partie|\\b(?:Cust(?:_sub)?|WAC|BFI|MUET)\\b)(?: \\/)?",
                                ""
                            ]
                        },
                        {
                            "name": "trim"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\]\\/\\s?.,:'!]+",
                                "."
                            ]
                        },
                        {
                            "name": "trim",
                            "args": "."
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.VFF\\.VFQ\\.(?:MULTI|StFR(?:\\.MULTI)?|VO(?:\\.StFR)?)",
                                ".MULTI.VF2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.VFF\\.(?:MULTI|StFR(?:\\.MULTI)?|VO(?:\\.StFR)?)",
                                ".MULTI.VFF"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.VFQ\\.(?:MULTI|StFR(?:\\.MULTI)?|VO(?:\\.StFR)?)",
                                ".MULTI.VFQ"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.VOQ\\.(?:MULTI|StFR(?:\\.MULTI)?|VO(?:\\.StFR)?)",
                                ".MULTI.VOQ"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.VFI\\.(?:MULTI|StFR(?:\\.MULTI)?|VO(?:\\.StFR)?)",
                                ".MULTI.VFI"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.VOF\\.(?:MULTI|StFR(?:\\.MULTI)?|VO(?:\\.StFR)?)",
                                ".MULTI.VOF"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\.(?:VO\\.)?StFR",
                                ".VOSTFR"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Result._release_group }}-{{ .Result._release_group }}{{ else }}{{ end }}"
                        }
                    ]
                },
                "title_phase1": {
                    "text": "{{ if .Result.title_torrent_filename }}{{ .Result.title_torrent_filename }}{{ else }}{{ .Result.title_parsed }}{{ end }}"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR|VF2|VFF|VFQ|VOQ|VFI|VOF)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "description": {
                    "selector": "div.group_info",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "\n",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s+",
                                " "
                            ]
                        }
                    ]
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "hdgalaktik": {
        "credentials": {
            "cookie": ""
        },
        "id": "hdgalaktik",
        "name": "HDGalaKtik",
        "description": "HDGalaKtik is a RUSSIAN Semi-Private tracker for MOVIES / TV / GENERAL",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://www.trackerpmr.com/",
            "https://freetmd.com/",
            "https://kinoradiomagia.tv/"
        ],
        "legacylinks": [
            "https://hdgalaktik.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 13,
                    "cat": "Movies",
                    "desc": "Фильмы"
                },
                {
                    "id": 11,
                    "cat": "TV",
                    "desc": "Сериалы"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "Мультфильмы"
                },
                {
                    "id": 10,
                    "cat": "Audio",
                    "desc": "Музыка"
                },
                {
                    "id": 26,
                    "cat": "PC",
                    "desc": "Программы"
                },
                {
                    "id": 5,
                    "cat": "Console",
                    "desc": "Игры"
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "Картинки"
                },
                {
                    "id": 12,
                    "cat": "TV/Anime",
                    "desc": "Аниме"
                },
                {
                    "id": 16,
                    "cat": "Books",
                    "desc": "Книги"
                },
                {
                    "id": 18,
                    "cat": "Audio/Video",
                    "desc": "Клипы / Ролики"
                },
                {
                    "id": 22,
                    "cat": "TV",
                    "desc": "ТВ / Передачи"
                },
                {
                    "id": 27,
                    "cat": "PC/Mobile-Other",
                    "desc": "Игры - Мобила / КПК"
                },
                {
                    "id": 1,
                    "cat": "PC/ISO",
                    "desc": "Образы"
                },
                {
                    "id": 4,
                    "cat": "Other",
                    "desc": "Другое"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 4,
                "options": {
                    "4": "created",
                    "1": "title",
                    "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>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[href=\"mybonus.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "incldead": "{{ if .Config.freeleech }}3{{ else }}0{{ end }}",
                "search": "{{ .Keywords }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "сезон $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bE0*(\\d+)\\b",
                        "сери $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "сезон $1 сери $2"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "[^a-zA-Z0-9]+",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "div.tr-torrent-card-compact:not(:has(div.tr-sticky-highlight))",
                "dateheaders": {
                    "selector": "a[href*=\"date=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "date"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd"
                        }
                    ]
                }
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a.tr-title-link-compact",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bFiles-х\\b",
                                "Files-x"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\sот\\s([\\w\\p{P}\\p{S}]+)$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\|\\s(\\w{4,})$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)",
                                "$2 $1"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a.tr-title-link-compact",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href",
                    "optional": true
                },
                "poster": {
                    "selector": "img.tr-main-poster-compact",
                    "attribute": "src"
                },
                "size": {
                    "selector": "div.tr-stat-block-compact:nth-child(3)"
                },
                "seeders": {
                    "selector": "div.tr-stat-block-compact:nth-child(4)"
                },
                "leechers": {
                    "selector": "div.tr-stat-block-compact:nth-child(5)"
                },
                "grabs": {
                    "selector": "div.tr-meta-info-compact span:has(i.fa-download)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.tr-badge-free": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "description": {
                    "selector": "a.tr-tag-item-compact",
                    "attribute": "title"
                }
            }
        }
    },
    "hdhome": {
        "credentials": {
            "cookie": ""
        },
        "id": "hdhome",
        "name": "HDHome",
        "description": "HDHome is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdhome.org/"
        ],
        "legacylinks": [
            "http://hdhome.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 506,
                    "cat": "Movies/BluRay",
                    "desc": "Movies 8K UHD BD"
                },
                {
                    "id": 499,
                    "cat": "Movies/BluRay",
                    "desc": "Movies UHD Blu-ray"
                },
                {
                    "id": 518,
                    "cat": "Movies/UHD",
                    "desc": "Movies UHD REMUX"
                },
                {
                    "id": 450,
                    "cat": "Movies/BluRay",
                    "desc": "Movies Bluray"
                },
                {
                    "id": 415,
                    "cat": "Movies/HD",
                    "desc": "Movies REMUX"
                },
                {
                    "id": 505,
                    "cat": "Movies/UHD",
                    "desc": "Movies 8K/4320p"
                },
                {
                    "id": 416,
                    "cat": "Movies/UHD",
                    "desc": "Movies 2160p"
                },
                {
                    "id": 414,
                    "cat": "Movies/HD",
                    "desc": "Movies 1080p"
                },
                {
                    "id": 413,
                    "cat": "Movies/HD",
                    "desc": "Movies 720p"
                },
                {
                    "id": 411,
                    "cat": "Movies/SD",
                    "desc": "Movies SD"
                },
                {
                    "id": 412,
                    "cat": "Movies/SD",
                    "desc": "Movies IPad"
                },
                {
                    "id": 523,
                    "cat": "TV/UHD",
                    "desc": "TVSeries 8KUHD"
                },
                {
                    "id": 502,
                    "cat": "TV/UHD",
                    "desc": "TVSeries 4K Bluray"
                },
                {
                    "id": 451,
                    "cat": "TV/Documentary",
                    "desc": "Doc Bluray"
                },
                {
                    "id": 421,
                    "cat": "TV/Documentary",
                    "desc": "Doc REMUX"
                },
                {
                    "id": 526,
                    "cat": "TV/UHD",
                    "desc": "TVSeries 4320p"
                },
                {
                    "id": 431,
                    "cat": "TV/HD",
                    "desc": "TVShow 2160p"
                },
                {
                    "id": 433,
                    "cat": "TV/SD",
                    "desc": "TVSeries IPad"
                },
                {
                    "id": 434,
                    "cat": "TV/HD",
                    "desc": "TVSeries 720p"
                },
                {
                    "id": 435,
                    "cat": "TV/HD",
                    "desc": "TVSeries 1080i"
                },
                {
                    "id": 436,
                    "cat": "TV/HD",
                    "desc": "TVSeries 1080p"
                },
                {
                    "id": 437,
                    "cat": "TV/HD",
                    "desc": "TVSeries REMUX"
                },
                {
                    "id": 453,
                    "cat": "TV/HD",
                    "desc": "TVSereis Bluray"
                },
                {
                    "id": 438,
                    "cat": "TV/UHD",
                    "desc": "TVSeries 2160p"
                },
                {
                    "id": 439,
                    "cat": "Audio/Other",
                    "desc": "Musics APE"
                },
                {
                    "id": 432,
                    "cat": "TV/SD",
                    "desc": "TVSeries SD"
                },
                {
                    "id": 440,
                    "cat": "Audio/Lossless",
                    "desc": "Musics FLAC"
                },
                {
                    "id": 441,
                    "cat": "Audio/Video",
                    "desc": "Musics MV"
                },
                {
                    "id": 503,
                    "cat": "Audio/Video",
                    "desc": "Musics Bluray"
                },
                {
                    "id": 442,
                    "cat": "TV/Sport",
                    "desc": "Sports 720p"
                },
                {
                    "id": 510,
                    "cat": "TV/Anime",
                    "desc": "Anime 8K UHD BD"
                },
                {
                    "id": 443,
                    "cat": "TV/Sport",
                    "desc": "Sports 1080i"
                },
                {
                    "id": 444,
                    "cat": "TV/Anime",
                    "desc": "Anime SD"
                },
                {
                    "id": 445,
                    "cat": "TV/Anime",
                    "desc": "Anime IPad"
                },
                {
                    "id": 446,
                    "cat": "TV/Anime",
                    "desc": "Anime 720p"
                },
                {
                    "id": 447,
                    "cat": "TV/Anime",
                    "desc": "Anime 1080p"
                },
                {
                    "id": 448,
                    "cat": "TV/Anime",
                    "desc": "Anime REMUX"
                },
                {
                    "id": 454,
                    "cat": "TV/Anime",
                    "desc": "Anime Bluray"
                },
                {
                    "id": 531,
                    "cat": "TV/Anime",
                    "desc": "Anime UHD REMUX"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 449,
                    "cat": "TV/Anime",
                    "desc": "Anime 2160p"
                },
                {
                    "id": 509,
                    "cat": "TV/Anime",
                    "desc": "Anime 8K/4320p"
                },
                {
                    "id": 501,
                    "cat": "TV/Anime",
                    "desc": "Anime UHD Blu-ray"
                },
                {
                    "id": 504,
                    "cat": "TV/Sport",
                    "desc": "Sports 2160p"
                },
                {
                    "id": 511,
                    "cat": "TV/Sport",
                    "desc": "Sport 8K/4320p"
                },
                {
                    "id": 508,
                    "cat": "TV/Documentary",
                    "desc": "Doc 8K UHD BD"
                },
                {
                    "id": 529,
                    "cat": "TV/Documentary",
                    "desc": "Doc 8K UHD BD REMUX"
                },
                {
                    "id": 500,
                    "cat": "TV/Documentary",
                    "desc": "Doc UHD Blu-ray"
                },
                {
                    "id": 507,
                    "cat": "TV/Documentary",
                    "desc": "Doc 8K/4320p"
                },
                {
                    "id": 422,
                    "cat": "TV/Documentary",
                    "desc": "Doc 2160p"
                },
                {
                    "id": 420,
                    "cat": "TV/Documentary",
                    "desc": "Doc 1080p"
                },
                {
                    "id": 419,
                    "cat": "TV/Documentary",
                    "desc": "Doc 720p"
                },
                {
                    "id": 417,
                    "cat": "TV/Documentary",
                    "desc": "Doc SD"
                },
                {
                    "id": 418,
                    "cat": "TV/Documentary",
                    "desc": "Doc IPad"
                },
                {
                    "id": 424,
                    "cat": "TV/HD",
                    "desc": "TVMusic 1080i"
                },
                {
                    "id": 423,
                    "cat": "TV/HD",
                    "desc": "TVMusic 720p"
                },
                {
                    "id": 452,
                    "cat": "TV/HD",
                    "desc": "TVShows Bluray"
                },
                {
                    "id": 430,
                    "cat": "TV/HD",
                    "desc": "TVShow REMUX"
                },
                {
                    "id": 429,
                    "cat": "TV/HD",
                    "desc": "TVShow 1080p"
                },
                {
                    "id": 428,
                    "cat": "TV/HD",
                    "desc": "TVShow 1080i"
                },
                {
                    "id": 427,
                    "cat": "TV/HD",
                    "desc": "TVShow 720p"
                },
                {
                    "id": 425,
                    "cat": "TV/SD",
                    "desc": "TVShow SD"
                },
                {
                    "id": 426,
                    "cat": "TV/SD",
                    "desc": "TVShow IPad"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "table.torrentname td a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "table.torrentname td.embedded:first-child > span:last-child"
                }
            }
        }
    },
    "hdkylin": {
        "credentials": {
            "cookie": ""
        },
        "id": "hdkylin",
        "name": "HDKylin (麒麟)",
        "description": "HDKylin (麒麟) is a CHINESE Private tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://na.hdkylin.com/",
            "https://www.hdkyl.in/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 404,
                    "cat": "Other",
                    "desc": "Record Education/纪录教育"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio/音乐"
                },
                {
                    "id": 421,
                    "cat": "TV/Other",
                    "desc": "Playlet/短剧"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫"
                },
                {
                    "id": 419,
                    "cat": "Other",
                    "desc": "Study/学习"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育运动"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos/音乐视频"
                },
                {
                    "id": 411,
                    "cat": "PC",
                    "desc": "software/软件"
                },
                {
                    "id": 412,
                    "cat": "Console",
                    "desc": "Game/游戏"
                },
                {
                    "id": 413,
                    "cat": "Books",
                    "desc": "Ebook/电子书"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc/其他"
                },
                {
                    "id": 420,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Retention rules:<ol><li>[Veteran User] and above will be retained forever.</li><li>[Elite User] and above will not be deleted after parking their accounts (in the Control Panel).</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days.</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days.</li><li>Users with no traffic (i.e. upload/download data are both 0) will have their accounts deleted if they do not log in for 40 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "hdolimpo-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "hdolimpo-api",
        "name": "HD-Olimpo (API)",
        "description": "HD-Olimpo is a SPANISH Private Torrent Tracker for HD MOVIES / TV",
        "language": "es-ES",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hd-olimpo.club/"
        ],
        "legacylinks": [
            "https://hdolimpo.co/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Películas"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Series"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Música"
                },
                {
                    "id": 4,
                    "cat": "TV/Documentary",
                    "desc": "Documentales"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your account <i>My configuration / Mi configuración => Secutiy / Seguridad</i> page and clicking on the <b>API Token</b> tab."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "categorydesc": {
                    "selector": "category"
                },
                "title_phase1": {
                    "selector": "name",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(full uhd|(uhd )?full\\s?(blu-?ray|uhd))\\b",
                                "BRDISK"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\bE-AC-3\\b",
                                "EAC3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(es-cat?-en|es-en-cat?|en-cat?-es|en-es-cat?|cat?-es-en|cat?-en-es)\\b",
                                "MULTi SPANiSH CATALAN ENGLiSH"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(es-cat?-(ja|ja?p)|es-(ja|ja?p)-cat?|cat?-es-(ja|ja?p)|cat?-(ja|ja?p)-es|(ja|ja?p)-es-cat?|(ja|ja?p)-cat?-es)\\b",
                                "MULTi SPANiSH CATALAN JAPANES"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(es-en|en-es)\\b",
                                "MULTi SPANiSH ENGLiSH"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(es-cat?|cat?-es)\\b",
                                "MULTi SPANiSH CATALAN"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(es-(ja|ja?p)|(ja|ja?p)-es)\\b",
                                "MULTi SPANiSH JAPANES"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(es-fr[ae]?n?|fr[ae]?n?-es)\\b",
                                "MULTi SPANiSH FRENCHx"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(es-ita?|ita?-es)\\b",
                                "MULTi SPANiSH iTALiAN"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(es-rus?|rus?-es)\\b",
                                "MULTi SPANiSH RUSSiAN"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(es-(ger?|al(e|em)?)|(ger?|al(e|em)?)-es)\\b",
                                "MULTi SPANiSH GERMANx"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\btriaudio\\b",
                                "MULTi SPANiSH"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(espa[ñn]ol|castellano|esp)\\b",
                                "SPANiSH"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(ingl[ée]s|[ei]ng)\\b",
                                "ENGLiSH"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bcat\\b",
                                "CATALAN"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bfr[ae]?n?\\b",
                                "FRENCHx"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(jap|jp)\\b",
                                "JAPANES"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bita\\b",
                                "iTALiAN"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\brus?\\b",
                                "RUSSiAN"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(ger?|alem)\\b",
                                "GERMANx"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\s|\\.)+",
                                "$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?<!(SPANiSH|ENGLiSH|CATALAN|FRENCHx|JAPANES|iTALiAN|RUSSiAN|GERMANx)[\\s.])\\b(ENGLiSH|CATALAN|FRENCHx|JAPANES|iTALiAN|RUSSiAN|GERMANx)\\b(?![\\s.]SPANiSH)",
                                "MULTi SPANiSH $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\bFRENCHx\\b",
                                "FRENCH"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\bJAPANES\\b",
                                "JAPANESE"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\bGERMANx\\b",
                                "GERMAN"
                            ]
                        }
                    ]
                },
                "title_spanish": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(?i)(spanish)"
                        }
                    ]
                },
                "title": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ if .Result.title_spanish }}{{ else }} SPANiSH{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "files": {
                    "selector": "num_file"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "downloadvolumefactor": {
                    "selector": "freeleech",
                    "case": {
                        "0": 1,
                        "25": 0.75,
                        "50": 0.5,
                        "75": 0.25,
                        "100": 0,
                        "*": 0
                    }
                },
                "uploadvolumefactor": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "minimumseedtime": {
                    "text": 345600
                }
            }
        }
    },
    "hdonly-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "hdonly-api",
        "replaces": [
            "hdonly"
        ],
        "name": "HD-Only (API)",
        "description": "HD-Only (HD-O) is a FRENCH Private Torrent Tracker for HD MOVIES / TV",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://hd-only.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Films"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Séries"
                },
                {
                    "id": 101,
                    "cat": "Movies",
                    "desc": "Film"
                },
                {
                    "id": 103,
                    "cat": "Movies/Other",
                    "desc": "Dessin animé"
                },
                {
                    "id": 105,
                    "cat": "TV",
                    "desc": "Série"
                },
                {
                    "id": 106,
                    "cat": "TV/Anime",
                    "desc": "Série Animée"
                },
                {
                    "id": 107,
                    "cat": "Movies/Other",
                    "desc": "Film d'animation"
                },
                {
                    "id": 109,
                    "cat": "Audio/Video",
                    "desc": "Concert"
                },
                {
                    "id": 111,
                    "cat": "TV/Documentary",
                    "desc": "Documentaire"
                },
                {
                    "id": 113,
                    "cat": "Movies/Other",
                    "desc": "Court-métrage"
                },
                {
                    "id": 114,
                    "cat": "Movies/Other",
                    "desc": "Clip"
                },
                {
                    "id": 115,
                    "cat": "Movies/Other",
                    "desc": "Démonstration"
                },
                {
                    "id": 121,
                    "cat": "Other",
                    "desc": "Autre"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "tmdbid",
                    "genre"
                ],
                "movie-search": [
                    "q",
                    "tmdbid",
                    "genre"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API Key"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API Key",
                "default": "Find or Generate a new API Key by accessing your <a href=\"https://hd-only.org/\" target=\"_blank\">HD-Only</a> account <i>Access Settings</i> tab and copy the API Key."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "add_hybrid_features_to_filename",
                "type": "checkbox",
                "label": "Include DV/HDR10 in filename when a release has multiple HDR formats.",
                "default": false
            },
            {
                "name": "add_version_francophone_to_title",
                "type": "checkbox",
                "label": "Append Version Francophone flags to titles if available (VFF, VFQ, VFI, VF)"
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi.FRENCH": "MULTi.FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi.ENGLISH": "MULTi.ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi.VOSTFR": "MULTi.VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "ajax.php",
            "method": "get",
            "inputs": {
                "action": "browse",
                "apikey": "{{ .Config.apikey }}"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "ajax.php",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "searchstr": "{{ .Keywords }}",
                "tmdb": "{{ .Query.TMDBID }}",
                "taglist": "{{ .Query.Genre }}",
                "action": "browse",
                "group_results": 0,
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "freetorrent": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "apikey": "{{ .Config.apikey }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS\\d{1,3}\\b",
                        ""
                    ]
                },
                {
                    "name": "trim"
                }
            ],
            "rows": {
                "selector": "response.results"
            },
            "fields": {
                "_group_id": {
                    "selector": "group.groupId"
                },
                "_torrent_id": {
                    "selector": "torrentId"
                },
                "category": {
                    "selector": "group.categoryId"
                },
                "categorydesc|append": {
                    "selector": "group.releaseType",
                    "optional": true
                },
                "details": {
                    "text": "torrents.php?id={{ .Result._group_id }}&torrentid={{ .Result._torrent_id }}"
                },
                "download": {
                    "text": "ajax.php?action=download&id={{ .Result._torrent_id }}&apikey={{ .Config.apikey }}"
                },
                "genre": {
                    "selector": "group.tags",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(science.fiction)",
                                "science_fiction"
                            ]
                        }
                    ]
                },
                "poster": {
                    "selector": "group.cover",
                    "optional": true
                },
                "tmdbid": {
                    "selector": "group.tmdb"
                },
                "files": {
                    "selector": "fileCount"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "snatches"
                },
                "size": {
                    "selector": "size"
                },
                "date": {
                    "selector": "time",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "year": {
                    "selector": "group.groupYear",
                    "optional": true
                },
                "_season": {
                    "selector": "season",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^0$",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^([1-9])$",
                                "S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\d{2,})$",
                                "S$1"
                            ]
                        }
                    ]
                },
                "_episode": {
                    "selector": "episode",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^0$",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^([1-9])$",
                                "E0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\d{2,})$",
                                "E$1"
                            ]
                        }
                    ]
                },
                "_episode_info": {
                    "text": "{{ .Result._season }}{{ .Result._episode }}"
                },
                "_format": {
                    "selector": "format",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Blu-Ray Original",
                                "COMPLETE BLURAY"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "Blu-Ray Remux",
                                "Remux"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "Blu-Ray Rip",
                                "BluRay.Rip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "mHD",
                                "mHD.BluRay.Rip"
                            ]
                        }
                    ]
                },
                "_encoding": {
                    "selector": "encoding"
                },
                "_release_group": {
                    "selector": "team",
                    "optional": true
                },
                "_media": {
                    "selector": "media",
                    "optional": true
                },
                "_vff": {
                    "selector": "vff",
                    "optional": true
                },
                "_vfq": {
                    "selector": "vfq",
                    "optional": true
                },
                "_vf2": {
                    "selector": "vf2",
                    "optional": true
                },
                "_vfi": {
                    "selector": "vfi",
                    "optional": true
                },
                "_vf": {
                    "selector": "vf",
                    "optional": true
                },
                "_vof": {
                    "selector": "vof",
                    "optional": true
                },
                "_hdr": {
                    "selector": "hdr",
                    "optional": true
                },
                "_hdr10plus": {
                    "selector": "hdr10plus",
                    "optional": true
                },
                "_dovi": {
                    "selector": "dovi",
                    "optional": true
                },
                "title_optional": {
                    "selector": "group.groupName",
                    "filters": [
                        {
                            "name": "append",
                            "args": ".{{ .Result.year }}.{{ .Result._episode_info }}.{{ .Result._format }}.{{ .Result._encoding }}.{{ .Result._media }}{{ if eq .Result._hdr \"True\" }}.HDR{{ else }}{{ end }}.{{ if eq .Result._hdr10plus \"True\" }}.HDR10+{{ else }}{{ end }}.{{ if eq .Result._dovi \"True\" }}.DoVi{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if or (eq .Result._vf2 \"True\") (or (eq .Result._vff \"True\") (or (eq .Result._vfq \"True\") (or (eq .Result._vfi \"True\") (eq .Result._vf \"True\")))) }}.MULTI{{ else }}{{ end }}"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\.MULTI)\\1",
                                ".MULTI"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if and (.Config.add_version_francophone_to_title) (eq .Result._vf2 \"True\") }}.VF2{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if and (.Config.add_version_francophone_to_title) (eq .Result._vff \"True\") }}.VFF{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if and (.Config.add_version_francophone_to_title) (eq .Result._vfq \"True\") }}.VFQ{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if and (.Config.add_version_francophone_to_title) (eq .Result._vfi \"True\") }}.VFI{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if and (.Config.add_version_francophone_to_title) (eq .Result._vf \"True\") }}.VF{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "{{ if eq .Result._vof \"True\" }}.FRENCH{{ else }}{{ end }}"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\s.]+",
                                "."
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\.*([\\-:,])\\.*",
                                "$1"
                            ]
                        },
                        {
                            "name": "trim"
                        },
                        {
                            "name": "trim",
                            "args": "."
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Result._release_group }}-{{ .Result._release_group }}{{ else }}{{ end }}"
                        }
                    ]
                },
                "title_filename": {
                    "selector": "fileName",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s÷$",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " {{ if and (.Config.add_hybrid_features_to_filename) (eq .Result._hdr \"True\") }}[HDR]{{ else }}{{ end }}{{ if and (.Config.add_hybrid_features_to_filename) (eq .Result._hdr10plus \"True\") }}[HDR10+]{{ else }}{{ end }}{{ if and (.Config.add_hybrid_features_to_filename) (eq .Result._dovi \"True\") }}[DoVi]{{ else }}{{ end }}"
                        }
                    ]
                },
                "title_phase1": {
                    "text": "{{ if and (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "description": {
                    "text": "{{ .Result.title_filename }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s÷$",
                                ""
                            ]
                        }
                    ]
                },
                "_free": {
                    "selector": "isFreeleech"
                },
                "downloadvolumefactor": {
                    "text": "{{ if eq .Result._free \"True\" }}0{{ else }}1{{ end }}"
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "hdroute": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "hdroute",
        "name": "HDRoute",
        "description": "HDRoute is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "http://hdroute.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "电影 (Movies)"
                },
                {
                    "id": 2,
                    "cat": "TV/Documentary",
                    "desc": "演示/纪录片 (Demo/Docu)"
                },
                {
                    "id": 3,
                    "cat": "TV",
                    "desc": "连续剧 (TV)"
                },
                {
                    "id": 4,
                    "cat": "TV/Anime",
                    "desc": "动画片 (Animation)"
                },
                {
                    "id": 5,
                    "cat": "Audio/Video",
                    "desc": "演唱会/MV (Music Video)"
                },
                {
                    "id": 6,
                    "cat": "TV/Sport",
                    "desc": "体育节目 (Sports)"
                },
                {
                    "id": 7,
                    "cat": "Audio/Other",
                    "desc": "电影音轨 (Soundtracks"
                },
                {
                    "id": 8,
                    "cat": "Audio/Lossless",
                    "desc": "无损音乐 (Lossless)"
                },
                {
                    "id": 9,
                    "cat": "Other",
                    "desc": "其他 (Other)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            }
        ],
        "login": {
            "path": "login.php?action=login",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": ":contains(\"用户不存在\")"
                },
                {
                    "selector": ":contains(\"密码错误\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "s": "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "dp": 0,
                "add": 0,
                "or": 1,
                "action": "s",
                "imdb": "{{ if .Query.IMDBID }}{{ .Query.IMDBIDShort }}{{ else }}{{ end }}"
            },
            "rows": {
                "selector": "div#unsticky-torrent-table dl, div#sticky-torrent-table dl"
            },
            "fields": {
                "category": {
                    "text": 9
                },
                "title": {
                    "selector": "div.torrent_title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details.php",
                                "download.php"
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "div.torrent_size"
                },
                "date": {
                    "selector": "div.torrent_added",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "imdbid": {
                    "selector": "div.torrent-imdb",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div.introForPic img",
                    "attribute": "src",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "./img/theme1/default.jpg",
                                ""
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "div.torrent-content-right div:nth-child(5)"
                },
                "leechers": {
                    "selector": "div.torrent-content-right div:nth-child(6)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "figure.sprite_tempo_free": 0,
                        "figure.sprite_dlp100": 0,
                        "figure.sprite_dlp000": 0,
                        "figure.sprite_dlp070": 0.7,
                        "figure.sprite_dlp050": 0.5,
                        "figure.sprite_dlp030": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "*": 1
                    }
                }
            }
        }
    },
    "hdsky": {
        "credentials": {
            "cookie": ""
        },
        "id": "hdsky",
        "name": "HDSky",
        "description": "HDSky is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdsky.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 410,
                    "cat": "Movies",
                    "desc": "iPad/iPad影视"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/剧集(分集)"
                },
                {
                    "id": 411,
                    "cat": "TV",
                    "desc": "TV Series/剧集(合集)"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos/音乐MV"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio/无损音乐"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc/其他"
                },
                {
                    "id": 412,
                    "cat": "TV",
                    "desc": "TV Series/海外剧集(分集)"
                },
                {
                    "id": 413,
                    "cat": "TV",
                    "desc": "TV Series/海外剧集(合集)"
                },
                {
                    "id": 414,
                    "cat": "TV",
                    "desc": "TV Shows/海外综艺(分集)"
                },
                {
                    "id": 415,
                    "cat": "TV",
                    "desc": "TV Shows/海外综艺(合集)"
                },
                {
                    "id": 416,
                    "cat": "TV",
                    "desc": "Shortplay/短剧"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "torrents.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "method": "post",
            "headers": {
                "Referer": [
                    "{{ .Config.sitelink }}torrents.php"
                ]
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "download": {
                    "selector": "form[action*=\"/download.php?id=\"]",
                    "attribute": "action"
                },
                "title_onmouseover": {
                    "optional": true,
                    "selector": "a[onmouseover*=\"details.php?id=\"]"
                },
                "title_details": {
                    "optional": true,
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "title": {
                    "text": "{{ if .Result.title_onmouseover }}{{ .Result.title_onmouseover }}{{ else }}{{ .Result.title_details }}{{ end }}"
                },
                "_id": {
                    "text": "{{ .Result.download }}",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "id"
                        }
                    ]
                },
                "details": {
                    "text": "details.php?id={{ .Result._id }}"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "table.torrentname td.embedded:first-child > span:last-child"
                }
            }
        }
    },
    "hdspace": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "hdspace",
        "name": "HD-Space",
        "description": "HD-Space (HDS) is a Private Torrent Tracker for HD MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hd-space.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 15,
                    "cat": "Movies/BluRay",
                    "desc": "Movie / Blu-ray"
                },
                {
                    "id": 40,
                    "cat": "Movies/HD",
                    "desc": "Movie / Remux"
                },
                {
                    "id": 18,
                    "cat": "Movies/HD",
                    "desc": "Movie / 720p"
                },
                {
                    "id": 19,
                    "cat": "Movies/HD",
                    "desc": "Movie / 1080p"
                },
                {
                    "id": 46,
                    "cat": "Movies/UHD",
                    "desc": "Movie / 2160p"
                },
                {
                    "id": 21,
                    "cat": "TV/HD",
                    "desc": "TV Show / 720p HDTV"
                },
                {
                    "id": 22,
                    "cat": "TV/HD",
                    "desc": "TV Show / 1080p HDTV"
                },
                {
                    "id": 45,
                    "cat": "TV/UHD",
                    "desc": "TV Show / 2160p HDTV"
                },
                {
                    "id": 24,
                    "cat": "TV/Documentary",
                    "desc": "Documentary / 720p"
                },
                {
                    "id": 25,
                    "cat": "TV/Documentary",
                    "desc": "Documentary / 1080p"
                },
                {
                    "id": 47,
                    "cat": "TV/Documentary",
                    "desc": "Documentary / 2160p"
                },
                {
                    "id": 27,
                    "cat": "TV/Anime",
                    "desc": "Animation / 720p"
                },
                {
                    "id": 28,
                    "cat": "TV/Anime",
                    "desc": "Animation / 1080p"
                },
                {
                    "id": 48,
                    "cat": "TV/Anime",
                    "desc": "Animation / 2160p"
                },
                {
                    "id": 30,
                    "cat": "Audio/Lossless",
                    "desc": "Music / HQ Audio"
                },
                {
                    "id": 31,
                    "cat": "Audio/Video",
                    "desc": "Music / Videos"
                },
                {
                    "id": 33,
                    "cat": "XXX",
                    "desc": "XXX / 720p"
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "XXX / 1080p"
                },
                {
                    "id": 49,
                    "cat": "XXX",
                    "desc": "XXX / 2160p"
                },
                {
                    "id": 36,
                    "cat": "Movies/Other",
                    "desc": "Trailers"
                },
                {
                    "id": 37,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 38,
                    "cat": "Other",
                    "desc": "Others"
                },
                {
                    "id": 41,
                    "cat": "Movies/UHD",
                    "desc": "Movie / 4K UHD"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "index.php?page=login",
            "method": "post",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}",
                "logout": ""
            },
            "error": [
                {
                    "selector": "tr td span[style=\"color:#FF0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBIDShort }}{{ else }}{{ .Keywords }}{{ end }}",
                "category": "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}",
                "options": "{{ if .Query.IMDBID }}2{{ else }}0{{ end }}",
                "active": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.lista[width=\"100%\"] > tbody > style ~ tr{{ if .Config.freeleech }}:has(img[src=\"gold/gold.png\"]){{ else }}{{ end }}, table.lista[width=\"100%\"] > tbody > style ~ tr{{ if .Config.freeleech }}:has(img[src=\"images/sf.png\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "td a[href^=\"index.php?page=torrents&category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\b0\\b",
                                "38"
                            ]
                        }
                    ]
                },
                "title_default": {
                    "selector": "td a[href^=\"index.php?page=torrent-details\"]",
                    "filters": [
                        {
                            "name": "htmldecode"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        },
                        {
                            "name": "htmldecode"
                        },
                        {
                            "name": "htmldecode"
                        },
                        {
                            "name": "replace",
                            "args": [
                                ".torrent",
                                ""
                            ]
                        },
                        {
                            "name": "trim"
                        }
                    ],
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "td a[href^=\"index.php?page=torrent-details\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "td a[href^=\"index.php?page=torrent-details\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\./(.+?)\\s"
                        }
                    ]
                },
                "imdbid": {
                    "selector": "td a[href^=\"index.php?page=torrent-details\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "/(\\d{8}).jpg"
                        }
                    ]
                },
                "date_day": {
                    "selector": "td:nth-child(5):contains(\"day\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "[ ]at|[// \\s,]+",
                                " "
                            ]
                        }
                    ]
                },
                "date_year": {
                    "selector": "td:nth-child(5):not(:contains(\"day\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "[// \\s,]+",
                                " "
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "MMMM dd yyyy HH:mm:ss"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "grabs": {
                    "selector": "td:nth-child(10)"
                },
                "genre": {
                    "selector": "td:nth-child(2)",
                    "remove": "a"
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/sf.png\"]": 0,
                        "img[src=\"gold/gold.png\"]": 0,
                        "img[src=\"gold/silver.png\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "hdtime": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "hdtime",
        "name": "HDtime",
        "description": "HDtime is a CHINESE Private Torrent Tracker for HD MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdtime.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 424,
                    "cat": "Movies/BluRay",
                    "desc": "Blu-Ray原盘"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/剧集"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫"
                },
                {
                    "id": 414,
                    "cat": "PC",
                    "desc": "Apps/软件"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/运体"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MusicVideo/音乐MV"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Music/音乐"
                },
                {
                    "id": 410,
                    "cat": "PC/Games",
                    "desc": "Games/游戏"
                },
                {
                    "id": 411,
                    "cat": "Books",
                    "desc": "Books/文档"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc/其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users with no traffic (ie, upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.81
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "hdtorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "hdtorrents",
        "name": "HD-Torrents",
        "description": "HD-Torrents (HDT) is a Private Torrent Tracker for HD MOVIES / TV / MUSIC / 3X",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdts.ru/",
            "https://hd-torrents.org/",
            "https://hd-torrents.net/",
            "https://hd-torrents.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 70,
                    "cat": "Movies/BluRay",
                    "desc": "Movie/UHD/Blu-Ray"
                },
                {
                    "id": 1,
                    "cat": "Movies/BluRay",
                    "desc": "Movie/Blu-Ray"
                },
                {
                    "id": 71,
                    "cat": "Movies/UHD",
                    "desc": "Movie/UHD/Remux"
                },
                {
                    "id": 2,
                    "cat": "Movies/HD",
                    "desc": "Movie/Remux"
                },
                {
                    "id": 5,
                    "cat": "Movies/HD",
                    "desc": "Movie/1080p/i"
                },
                {
                    "id": 3,
                    "cat": "Movies/HD",
                    "desc": "Movie/720p"
                },
                {
                    "id": 64,
                    "cat": "Movies/UHD",
                    "desc": "Movie/2160p"
                },
                {
                    "id": 63,
                    "cat": "Audio",
                    "desc": "Movie/Audio Track"
                },
                {
                    "id": 72,
                    "cat": "TV/UHD",
                    "desc": "TV Show/UHD/Blu-ray"
                },
                {
                    "id": 59,
                    "cat": "TV/HD",
                    "desc": "TV Show/Blu-ray"
                },
                {
                    "id": 73,
                    "cat": "TV/UHD",
                    "desc": "TV Show/UHD/Remux"
                },
                {
                    "id": 60,
                    "cat": "TV/HD",
                    "desc": "TV Show/Remux"
                },
                {
                    "id": 30,
                    "cat": "TV/HD",
                    "desc": "TV Show/1080p/i"
                },
                {
                    "id": 38,
                    "cat": "TV/HD",
                    "desc": "TV Show/720p"
                },
                {
                    "id": 65,
                    "cat": "TV/UHD",
                    "desc": "TV Show/2160p"
                },
                {
                    "id": 44,
                    "cat": "Audio",
                    "desc": "Music/Album"
                },
                {
                    "id": 61,
                    "cat": "Audio/Video",
                    "desc": "Music/Blu-Ray"
                },
                {
                    "id": 62,
                    "cat": "Audio/Video",
                    "desc": "Music/Remux"
                },
                {
                    "id": 57,
                    "cat": "Audio/Video",
                    "desc": "Music/1080p/i"
                },
                {
                    "id": 45,
                    "cat": "Audio/Video",
                    "desc": "Music/720p"
                },
                {
                    "id": 66,
                    "cat": "Audio/Video",
                    "desc": "Music/2160p"
                },
                {
                    "id": 58,
                    "cat": "XXX",
                    "desc": "XXX/Blu-ray"
                },
                {
                    "id": 78,
                    "cat": "XXX",
                    "desc": "XXX/Remux"
                },
                {
                    "id": 74,
                    "cat": "XXX",
                    "desc": "XXX/UHD/Blu-ray"
                },
                {
                    "id": 48,
                    "cat": "XXX",
                    "desc": "XXX/1080p/i"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "XXX/720p"
                },
                {
                    "id": 67,
                    "cat": "XXX",
                    "desc": "XXX/2160p"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-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": "data",
                "options": {
                    "data": "created",
                    "size": "size",
                    "seeds": "seeders",
                    "filename": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "If you do not log in for 50 days, your account will be disabled for inactivity. If you are VIP you won't be disabled until the VIP period is over."
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div > font[color=\"#FF0000\"]"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href^=\"logout.php?check_hash=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}category[]={{.}}&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "active": "{{ if .Config.freeleech }}5{{ else }}0{{ end }}",
                "options": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "\\(",
                        "%28"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "\\)",
                        "%29"
                    ]
                }
            ],
            "rows": {
                "selector": "table.mainblockcontenttt > tbody > tr:has(td.mainblockcontent):not(:first-of-type){{ if .Config.freeleech }}:has(img[src=\"images/sign_free.png\"]){{ else }}{{ end }}"
            },
            "fields": {
                "_has_freeleech": {
                    "case": {
                        ":root table.navus tr td:nth-child(2):contains(\" VIP\")": true,
                        ":root table.navus tr td:nth-child(2):contains(\" Uploader\")": true,
                        ":root table.navus tr td:nth-child(2):contains(\" HD Internal\")": true,
                        ":root table.navus tr td:nth-child(2):contains(\" Moderator\")": true,
                        ":root table.navus tr td:nth-child(2):contains(\" Administrator\")": true,
                        ":root table.navus tr td:nth-child(2):contains(\" Owner\")": true,
                        "*": false
                    }
                },
                "category": {
                    "selector": "a[href^=\"torrents.php?category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "td:nth-child(3) span"
                },
                "_internal": {
                    "case": {
                        "img[src$=\"internal.png\"]": "{{ .True }}",
                        "*": "{{ .False }}"
                    }
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "date": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "HH:mm:ss  dd/MM/yyyy"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(8)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(1)"
                },
                "downloadvolumefactor_freeleech": {
                    "case": {
                        "img[src$=\"no_ratio.png\"]": 0,
                        "img[src$=\"free.png\"]": 0,
                        "img[src$=\"50.png\"]": 0.5,
                        "img[src$=\"25.png\"]": 0.75,
                        "img[src$=\"75.png\"]": 0.25,
                        "*": 1
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if eq .Result._has_freeleech \"yes\" }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"no_ratio.png\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.7
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "hdtorrentsit": {
        "credentials": {
            "apikey": ""
        },
        "id": "hdtorrentsit",
        "name": "HDTorrents.it (API)",
        "description": "HDTorrents.it is an ITALIAN Private PAY2DL site for MOVIES / TV",
        "language": "it-IT",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdtorrents.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Game"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "Application"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://hdtorrents.eu/\" target=\"_blank\">HDTorrents.it</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "Stagione $1"
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "\\.",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStagion[ei]\\s?(\\d{1})\\b|\\bSeason'?s?\\s?(\\d{1})\\b",
                                "S0$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStagion[ei]\\s?(\\d{2,})\\b|\\bSeason'?s?\\s?(\\d{2,})\\b",
                                "S$1$2"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                }
            }
        }
    },
    "hdturk": {
        "credentials": {
            "cookie": ""
        },
        "id": "hdturk",
        "name": "HDTurk",
        "description": "HDTurk is a TURKISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "tr-TR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdturk.club/"
        ],
        "legacylinks": [
            "http://hdturk.de/",
            "https://hdturk.de/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 37,
                    "cat": "Other",
                    "desc": "Diğer"
                },
                {
                    "id": 210,
                    "cat": "Books/EBook",
                    "desc": "E-Kitap"
                },
                {
                    "id": 208,
                    "cat": "Other",
                    "desc": "Eğitim"
                },
                {
                    "id": 101,
                    "cat": "Other",
                    "desc": "Resim"
                },
                {
                    "id": 15,
                    "cat": "TV",
                    "desc": "TV Dizi/Show/Spor"
                },
                {
                    "id": 18,
                    "cat": "TV",
                    "desc": "TV Dublaj"
                },
                {
                    "id": 81,
                    "cat": "TV",
                    "desc": "TV Show"
                },
                {
                    "id": 207,
                    "cat": "TV/Sport",
                    "desc": "TV Spor"
                },
                {
                    "id": 17,
                    "cat": "TV",
                    "desc": "TV Yabancı"
                },
                {
                    "id": 16,
                    "cat": "TV",
                    "desc": "TV Yerli"
                },
                {
                    "id": 19,
                    "cat": "TV/HD",
                    "desc": "TV Yerli HD"
                },
                {
                    "id": 170,
                    "cat": "Movies/HD",
                    "desc": "Movies HD"
                },
                {
                    "id": 175,
                    "cat": "Movies/HD",
                    "desc": "Movies 1080p Remux DUAL"
                },
                {
                    "id": 226,
                    "cat": "Movies/HD",
                    "desc": "Movies 1080p Remux TR"
                },
                {
                    "id": 183,
                    "cat": "Movies/HD",
                    "desc": "Movies 1080p Remux Yabancı"
                },
                {
                    "id": 174,
                    "cat": "Movies/3D",
                    "desc": "Movies 3D DUAL"
                },
                {
                    "id": 180,
                    "cat": "Movies/3D",
                    "desc": "Movies 3D TR"
                },
                {
                    "id": 181,
                    "cat": "Movies/3D",
                    "desc": "Movies 3D Yabancı"
                },
                {
                    "id": 217,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K DUAL"
                },
                {
                    "id": 224,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K Remux DUAL"
                },
                {
                    "id": 225,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K Remux Yabanci"
                },
                {
                    "id": 218,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K TR"
                },
                {
                    "id": 216,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K Yabancı"
                },
                {
                    "id": 205,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD DUAL"
                },
                {
                    "id": 206,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD TR/Yerli"
                },
                {
                    "id": 219,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD Yabancı"
                },
                {
                    "id": 173,
                    "cat": "Movies/BluRay",
                    "desc": "Movies Full BD"
                },
                {
                    "id": 171,
                    "cat": "Movies/HD",
                    "desc": "Movies x264 DUAL"
                },
                {
                    "id": 176,
                    "cat": "Movies/HD",
                    "desc": "Movies x264 TR"
                },
                {
                    "id": 177,
                    "cat": "Movies/HD",
                    "desc": "Movies x264 Yabancı"
                },
                {
                    "id": 172,
                    "cat": "Movies/HD",
                    "desc": "Movies x265 DUAL"
                },
                {
                    "id": 178,
                    "cat": "Movies/HD",
                    "desc": "Movies x265 TR"
                },
                {
                    "id": 179,
                    "cat": "Movies/HD",
                    "desc": "Movies x265 Yabancı"
                },
                {
                    "id": 198,
                    "cat": "Movies/HD",
                    "desc": "Movies XviD DUAL"
                },
                {
                    "id": 200,
                    "cat": "Movies/HD",
                    "desc": "Movies XviD TR"
                },
                {
                    "id": 202,
                    "cat": "Movies/HD",
                    "desc": "Movies XviD Yabancı"
                },
                {
                    "id": 33,
                    "cat": "Audio",
                    "desc": "MÜZİK"
                },
                {
                    "id": 34,
                    "cat": "Audio",
                    "desc": "MÜZİK Albüm"
                },
                {
                    "id": 35,
                    "cat": "Audio",
                    "desc": "MÜZİK Diskografi"
                },
                {
                    "id": 98,
                    "cat": "Audio",
                    "desc": "MÜZİK Single"
                },
                {
                    "id": 36,
                    "cat": "Audio/Video",
                    "desc": "MÜZİK Video"
                },
                {
                    "id": 56,
                    "cat": "Console",
                    "desc": "OYUN"
                },
                {
                    "id": 59,
                    "cat": "Console",
                    "desc": "Konsol"
                },
                {
                    "id": 58,
                    "cat": "PC/Mobile-Android",
                    "desc": "Mobil/PDA"
                },
                {
                    "id": 57,
                    "cat": "PC/Games",
                    "desc": "PC"
                },
                {
                    "id": 52,
                    "cat": "PC",
                    "desc": "PROGRAM"
                },
                {
                    "id": 55,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 223,
                    "cat": "PC",
                    "desc": "Linux"
                },
                {
                    "id": 54,
                    "cat": "PC/Mac",
                    "desc": "macOS"
                },
                {
                    "id": 53,
                    "cat": "PC/0day",
                    "desc": "Windows"
                },
                {
                    "id": 182,
                    "cat": "Movies/SD",
                    "desc": "SD"
                },
                {
                    "id": 191,
                    "cat": "Movies/SD",
                    "desc": "x264 DUAL"
                },
                {
                    "id": 192,
                    "cat": "Movies/SD",
                    "desc": "x264 TR"
                },
                {
                    "id": 193,
                    "cat": "Movies/SD",
                    "desc": "x264 Yabancı"
                },
                {
                    "id": 194,
                    "cat": "Movies/SD",
                    "desc": "x265 DUAL"
                },
                {
                    "id": 195,
                    "cat": "Movies/SD",
                    "desc": "x265 TR"
                },
                {
                    "id": 196,
                    "cat": "Movies/SD",
                    "desc": "x265 Yabancı"
                },
                {
                    "id": 201,
                    "cat": "Movies/SD",
                    "desc": "XviD DUAL"
                },
                {
                    "id": 197,
                    "cat": "Movies/SD",
                    "desc": "XviD TR"
                },
                {
                    "id": 199,
                    "cat": "Movies/SD",
                    "desc": "XviD Yabancı"
                },
                {
                    "id": 221,
                    "cat": "Other",
                    "desc": "VIP"
                },
                {
                    "id": 85,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 92,
                    "cat": "XXX/Other",
                    "desc": "XXX E-Magazin"
                },
                {
                    "id": 220,
                    "cat": "XXX/Other",
                    "desc": "XXX Hentai"
                },
                {
                    "id": 93,
                    "cat": "XXX",
                    "desc": "XXX Movie"
                },
                {
                    "id": 95,
                    "cat": "XXX/Pack",
                    "desc": "XXX Packs"
                },
                {
                    "id": 96,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX Pics"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"/logout.php?logouthash=\"]"
            }
        },
        "download": {
            "before": {
                "path": "takethanks.php",
                "method": "post",
                "inputs": {
                    "torrentid": "{{ .DownloadUri.Query.id }}"
                }
            },
            "selectors": [
                {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bE(\\d+)\\b",
                        "E$1"
                    ]
                }
            ],
            "inputs": {
                "do": "search",
                "keywords": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "category": 0,
                "search_type": "{{ if .Query.IMDBID }}t_genre{{ else }}t_name{{ end }}",
                "include_dead_torrents": true
            },
            "rows": {
                "selector": "table#sortabletable tbody tr:has(div[id^=\"port-target-\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}"
            },
            "fields": {
                "title": {
                    "selector": "div[id^=\"port-target-\"] a",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bBL(\\d+)\\b",
                                " E$1 "
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "div[id^=\"port-target-\"] a",
                    "attribute": "href"
                },
                "category": {
                    "selector": "a[href*=\"browse.php?category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "poster": {
                    "selector": "div[id^=\"port-content-\"] img",
                    "attribute": "src"
                },
                "date": {
                    "selector": "td:nth-child(2) > div:nth-last-child(1)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "download": {
                    "selector": "div[id^=\"port-target-\"] a",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/freedownload.gif\"]": 0,
                        "img[src$=\"/silverdownload.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"/x2.gif\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 324000
                }
            }
        }
    },
    "hdu": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "hdu",
        "name": "HDU",
        "description": "HDU is a CHINESE Private Torrent Tracker for HD MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.upxin.net/"
        ],
        "legacylinks": [
            "http://pt.upxin.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动画"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos/音乐 MV"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio/无损音乐"
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": "Misc/其他"
                },
                {
                    "id": 410,
                    "cat": "PC/Games",
                    "desc": "Games/游戏"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted.</li><li>Elite User or above would never be deleted if parked (at User CP).</li><li>Parked accounts would be deleted if users have not logged in for more than 365 days in a row.</li><li>Unparked accounts would be deleted if users have not logged in for more than 120 days in a row.</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 3 days in a row.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}8{{ else }}0{{ end }}",
                "search_area": "{{ if or .Query.IMDBID .Query.DoubanID }}1{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "hdvideo": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "hdvideo",
        "name": "HDVideo",
        "description": "HDVideo is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdvideo.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 406,
                    "cat": "Audio",
                    "desc": "HQ Audio/音轨"
                },
                {
                    "id": 408,
                    "cat": "Audio/Video",
                    "desc": "MV/音乐"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Anime/动漫"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the HDVideo Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Accounts inactive (i.e. not logged in for a long time) are automatically deleted."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "span.torrent-card-cover-source",
                    "attribute": "data-cover"
                },
                "imdbid": {
                    "selector": "span[data-imdbid]",
                    "attribute": "data-imdbid"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(5) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(5):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(9)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "hdzero-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "hdzero-api",
        "name": "HDZero (API)",
        "description": "HD Zero is a SPANISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "es-ES",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hdzero.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Películas"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Series"
                },
                {
                    "id": 5,
                    "cat": "TV",
                    "desc": "Series Emision"
                },
                {
                    "id": 6,
                    "cat": "TV/Anime",
                    "desc": "Animacion Peliculas"
                },
                {
                    "id": 7,
                    "cat": "TV/Anime",
                    "desc": "Animacion Series"
                },
                {
                    "id": 8,
                    "cat": "TV/Anime",
                    "desc": "Anime Peliculas"
                },
                {
                    "id": 9,
                    "cat": "TV/Anime",
                    "desc": "Anime Series"
                },
                {
                    "id": 10,
                    "cat": "TV/Documentary",
                    "desc": "Documentales"
                },
                {
                    "id": 11,
                    "cat": "TV/Documentary",
                    "desc": "Documentales Series"
                },
                {
                    "id": 12,
                    "cat": "TV",
                    "desc": "Programas TV"
                },
                {
                    "id": 13,
                    "cat": "TV",
                    "desc": "Telenovelas"
                },
                {
                    "id": 3,
                    "cat": "Other",
                    "desc": "Delete"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://hdzero.org/\" target=\"_blank\">HD Zero</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }} Spanish"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 432000
                }
            }
        }
    },
    "hebits": {
        "credentials": {
            "cookie": ""
        },
        "id": "hebits",
        "name": "Hebits",
        "description": "Hebits (HB) is an ISRAELI Private Torrent Tracker for MOVIES / TV / GENERAL.",
        "language": "he-IL",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hebits.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "סרטים (Movies)"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "סדרות (TV)"
                },
                {
                    "id": 3,
                    "cat": "TV/Other",
                    "desc": "הצגות והופעות (Theater)"
                },
                {
                    "id": 4,
                    "cat": "PC/0day",
                    "desc": "תוכנות (Apps)"
                },
                {
                    "id": 5,
                    "cat": "PC/Games",
                    "desc": "משחקים (Games)"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "מוזיקה (Music)"
                },
                {
                    "id": 7,
                    "cat": "Books",
                    "desc": "ספרים (Books)"
                },
                {
                    "id": 8,
                    "cat": "Movies/Other",
                    "desc": "חבילות סרטים (Movies Packs)"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "פורנו (Porn)"
                },
                {
                    "id": 10,
                    "cat": "Other",
                    "desc": "שונות (Other)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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": "There is an automatic system for blocking inactive accounts. The system will block any account below Heb Prophet rank without activity for at least 90 days."
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting the error <b>Login failed: Selector \"a[href*=\"/logout.php?auth=\"]\" didn't match</b> then first access the site with your browser and check that you are not being forced to change your password because it has expired after 180 days."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[href*=\"/logout.php?auth=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "ajax.php",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "searchstr": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }} {{ else }}{{ end }}{{ .Keywords }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "imdbgt": 0,
                "imdblt": 10,
                "freetorrent": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "action": "browse",
                "group_results": 0,
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
            },
            "rows": {
                "selector": "response.results",
                "attribute": "torrents",
                "multiple": true
            },
            "fields": {
                "_id": {
                    "selector": "torrentId"
                },
                "category": {
                    "selector": "..categoryID"
                },
                "title_notenglish": {
                    "selector": "release:not(:contains(\"a\")):not(:contains(\"e\")):not(:contains(\"i\")):not(:contains(\"o\")):not(:contains(\"u\")):not(:contains(\"y\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(אנגלית)$",
                                " - אנגלית"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(עברית)$",
                                " - עברית"
                            ]
                        }
                    ]
                },
                "title_english": {
                    "selector": "release",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": "א"
                        },
                        {
                            "name": "regexp",
                            "args": "(.+?[a-zA-Z0-9\\]\\)\\}])[א-ת].*"
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Result.title_notenglish }}{{ .Result.title_notenglish }}{{ else }}{{ .Result.title_english }}{{ end }}"
                },
                "details": {
                    "text": "/torrents.php?torrentid={{ .Result._id }}"
                },
                "download": {
                    "text": "/torrents.php?action=download&id={{ .Result._id }}"
                },
                "poster": {
                    "selector": "..cover"
                },
                "imdbid": {
                    "selector": "..catalogue"
                },
                "files": {
                    "selector": "fileCount"
                },
                "date": {
                    "selector": "time",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "grabs": {
                    "selector": "snatches"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "description": {
                    "selector": "..tags"
                },
                "_half": {
                    "selector": "isHalfFreeleech"
                },
                "_free": {
                    "selector": "isFreeleech"
                },
                "_x2": {
                    "selector": "isUploadX2"
                },
                "_x3": {
                    "selector": "isUploadX3"
                },
                "_quarter": {
                    "selector": "isQuarterLeech"
                },
                "_neutral": {
                    "selector": "isNeutralLeech"
                },
                "_personal": {
                    "selector": "isPersonalFreeleech"
                },
                "downloadvolumefactor_special": {
                    "optional": true,
                    "text": "{{ if eq .Result._half \"True\" }}0.5{{ else }}{{ end }}{{ if eq .Result._quarter \"True\" }}0.25{{ else }}{{ end }}{{ if eq .Result._neutral \"True\" }}0{{ else }}{{ end }}{{ if eq .Result._free \"True\" }}0{{ else }}{{ end }}{{ if eq .Result._personal \"True\" }}0{{ else }}{{ end }}"
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result.downloadvolumefactor_special }}{{ .Result.downloadvolumefactor_special }}{{ else }}1{{ end }}"
                },
                "uploadvolumefactor_special": {
                    "optional": true,
                    "text": "{{ if eq .Result._x3 \"True\" }}3{{ else }}{{ end }}{{ if eq .Result._x2 \"True\" }}2{{ else }}{{ end }}{{ if eq .Result._neutral \"True\" }}0{{ else }}{{ end }}"
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result.uploadvolumefactor_special }}{{ .Result.uploadvolumefactor_special }}{{ else }}1{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "hellashut": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "hellashut",
        "name": "HellasHut",
        "description": "HellasHut is a GREEK Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "el-GR",
        "type": "private",
        "encoding": "UTF-8",
        "testlinktorrent": false,
        "links": [
            "https://hellashut.net/"
        ],
        "legacylinks": [
            "https://hellashut.de/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 85,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cartoon 4K"
                },
                {
                    "id": 28,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cartoon HD"
                },
                {
                    "id": 47,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cartoon HDTV"
                },
                {
                    "id": 48,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cartoon SD"
                },
                {
                    "id": 50,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cartoon SD Emb"
                },
                {
                    "id": 51,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cartoon TV"
                },
                {
                    "id": 77,
                    "cat": "PC",
                    "desc": "Applications DOS"
                },
                {
                    "id": 20,
                    "cat": "PC",
                    "desc": "Applications Linux"
                },
                {
                    "id": 19,
                    "cat": "PC/Mac",
                    "desc": "Applications MAC"
                },
                {
                    "id": 68,
                    "cat": "PC",
                    "desc": "Applications OS2 WARP"
                },
                {
                    "id": 21,
                    "cat": "PC",
                    "desc": "Applications Other"
                },
                {
                    "id": 18,
                    "cat": "PC/0day",
                    "desc": "Applications Windows"
                },
                {
                    "id": 52,
                    "cat": "Books",
                    "desc": "Books/Magazines All"
                },
                {
                    "id": 86,
                    "cat": "Audio/Audiobook",
                    "desc": "Books/Magazines AudioBooks"
                },
                {
                    "id": 9,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries All"
                },
                {
                    "id": 53,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries Greek"
                },
                {
                    "id": 54,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries HD"
                },
                {
                    "id": 55,
                    "cat": "Movies/DVD",
                    "desc": "DVD-R All"
                },
                {
                    "id": 17,
                    "cat": "Console/Other",
                    "desc": "Games Other"
                },
                {
                    "id": 11,
                    "cat": "Console/PS4",
                    "desc": "Games PSX"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Games Windows"
                },
                {
                    "id": 13,
                    "cat": "Console/XBox",
                    "desc": "Games Xbox"
                },
                {
                    "id": 56,
                    "cat": "Other",
                    "desc": "Miscellaneous All"
                },
                {
                    "id": 57,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile All"
                },
                {
                    "id": 1,
                    "cat": "Movies/3D",
                    "desc": "Movies 3D"
                },
                {
                    "id": 2,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K"
                },
                {
                    "id": 42,
                    "cat": "Movies/BluRay",
                    "desc": "Movies BluRay"
                },
                {
                    "id": 78,
                    "cat": "Movies/SD",
                    "desc": "Movies CAM"
                },
                {
                    "id": 58,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD"
                },
                {
                    "id": 84,
                    "cat": "Movies",
                    "desc": "Movies Fake HD"
                },
                {
                    "id": 4,
                    "cat": "Movies/HD",
                    "desc": "Movies HD"
                },
                {
                    "id": 69,
                    "cat": "Movies/HD",
                    "desc": "Movies HD Packs"
                },
                {
                    "id": 3,
                    "cat": "Movies/SD",
                    "desc": "Movies SD"
                },
                {
                    "id": 67,
                    "cat": "Movies/SD",
                    "desc": "Movies SD Packs"
                },
                {
                    "id": 71,
                    "cat": "Audio",
                    "desc": "Music CDA"
                },
                {
                    "id": 59,
                    "cat": "Audio",
                    "desc": "Music Discographies"
                },
                {
                    "id": 23,
                    "cat": "Audio/Lossless",
                    "desc": "Music FLAC"
                },
                {
                    "id": 22,
                    "cat": "Audio/MP3",
                    "desc": "Music MP3"
                },
                {
                    "id": 25,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 35,
                    "cat": "TV/Sport",
                    "desc": "Sports HD"
                },
                {
                    "id": 34,
                    "cat": "TV/Sport",
                    "desc": "Sports SD"
                },
                {
                    "id": 80,
                    "cat": "Books",
                    "desc": "Tutorials Books"
                },
                {
                    "id": 79,
                    "cat": "TV/Other",
                    "desc": "Tutorials Video"
                },
                {
                    "id": 5,
                    "cat": "TV",
                    "desc": "TV Greek Movies"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "TV Greek Series"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "TV Greek Series Packs"
                },
                {
                    "id": 60,
                    "cat": "TV",
                    "desc": "TV Greek Shows"
                },
                {
                    "id": 41,
                    "cat": "TV/HD",
                    "desc": "TV HD"
                },
                {
                    "id": 61,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 82,
                    "cat": "TV/UHD",
                    "desc": "TV Series 4K"
                },
                {
                    "id": 83,
                    "cat": "TV/UHD",
                    "desc": "TV Series 4K Packs"
                },
                {
                    "id": 62,
                    "cat": "TV",
                    "desc": "TV Series Emb"
                },
                {
                    "id": 63,
                    "cat": "TV",
                    "desc": "TV Series Emb Packs"
                },
                {
                    "id": 64,
                    "cat": "TV/HD",
                    "desc": "TV Series HD"
                },
                {
                    "id": 65,
                    "cat": "TV/HD",
                    "desc": "TV Series HD Packs"
                },
                {
                    "id": 66,
                    "cat": "TV",
                    "desc": "TV Series Packs"
                },
                {
                    "id": 73,
                    "cat": "Movies/BluRay",
                    "desc": "UNTOUCHED BluRay"
                },
                {
                    "id": 72,
                    "cat": "Movies/DVD",
                    "desc": "UNTOUCHED DVD"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": "id",
                "options": {
                    "id": "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 inactive for more than 45 days are automatically deleted."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"login.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[src=\"captcha.php?ext=.gif\"]",
                "input": "input[type=\"text\"][size=\"6\"]"
            },
            "inputs": {
                "input[name=\"username\"]": "{{ .Config.username }}",
                "input[name=\"password\"]": "{{ .Config.password }}"
            },
            "selectors": true,
            "error": [
                {
                    "selector": "td.embedded:contains(\"Access Denied\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"account-logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download.php?id=\"], a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 1,
                "freeleech": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "lang": 0,
                "blah": "{{ if .Query.IMDBID }}1{{ else }}0{{ end }}",
                "team": 0,
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.ttable_headinner tr.t-row"
            },
            "fields": {
                "category_optional": {
                    "selector": "a[href*=\"cat=\"]",
                    "attribute": "href",
                    "optional": true,
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}56{{ end }}"
                },
                "title": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "&hit=1",
                                ""
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "&hit=1",
                                ""
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(7)"
                },
                "date": {
                    "selector": "td:nth-last-child(6)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyyHH:mm:ss"
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-last-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(4)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(3)"
                },
                "description": {
                    "case": {
                        "img[src=\"pic/tick.png\"]": "Verified",
                        "img[src=\"pic/unchecked.png\"]": "Unverified"
                    }
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freedownload.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 864000
                }
            }
        }
    },
    "hellashut-api": {
        "credentials": {
            "passkey": ""
        },
        "id": "hellashut-api",
        "name": "HellasHut (API)",
        "description": "HellasHut is a GREEK Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "el-GR",
        "type": "private",
        "encoding": "UTF-8",
        "testlinktorrent": false,
        "links": [
            "https://hellashut.net/"
        ],
        "legacylinks": [
            "https://hellashut.de/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 85,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cartoon 4K"
                },
                {
                    "id": 28,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cartoon HD"
                },
                {
                    "id": 47,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cartoon HDTV"
                },
                {
                    "id": 48,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cartoon SD"
                },
                {
                    "id": 50,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cartoon SD Emb"
                },
                {
                    "id": 51,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cartoon TV"
                },
                {
                    "id": 77,
                    "cat": "PC",
                    "desc": "Applications DOS"
                },
                {
                    "id": 20,
                    "cat": "PC",
                    "desc": "Applications Linux"
                },
                {
                    "id": 19,
                    "cat": "PC/Mac",
                    "desc": "Applications MAC"
                },
                {
                    "id": 68,
                    "cat": "PC",
                    "desc": "Applications OS2 WARP"
                },
                {
                    "id": 21,
                    "cat": "PC",
                    "desc": "Applications Other"
                },
                {
                    "id": 18,
                    "cat": "PC/0day",
                    "desc": "Applications Windows"
                },
                {
                    "id": 52,
                    "cat": "Books",
                    "desc": "Books/Magazines All"
                },
                {
                    "id": 86,
                    "cat": "Audio/Audiobook",
                    "desc": "Books/Magazines AudioBooks"
                },
                {
                    "id": 9,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries All"
                },
                {
                    "id": 53,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries Greek"
                },
                {
                    "id": 54,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries HD"
                },
                {
                    "id": 55,
                    "cat": "Movies/DVD",
                    "desc": "DVD-R All"
                },
                {
                    "id": 17,
                    "cat": "Console/Other",
                    "desc": "Games Other"
                },
                {
                    "id": 11,
                    "cat": "Console/PS4",
                    "desc": "Games PSX"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Games Windows"
                },
                {
                    "id": 13,
                    "cat": "Console/XBox",
                    "desc": "Games Xbox"
                },
                {
                    "id": 56,
                    "cat": "Other",
                    "desc": "Miscellaneous All"
                },
                {
                    "id": 57,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile All"
                },
                {
                    "id": 1,
                    "cat": "Movies/3D",
                    "desc": "Movies 3D"
                },
                {
                    "id": 2,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K"
                },
                {
                    "id": 42,
                    "cat": "Movies/BluRay",
                    "desc": "Movies BluRay"
                },
                {
                    "id": 78,
                    "cat": "Movies/SD",
                    "desc": "Movies CAM"
                },
                {
                    "id": 58,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD"
                },
                {
                    "id": 84,
                    "cat": "Movies",
                    "desc": "Movies Fake HD"
                },
                {
                    "id": 4,
                    "cat": "Movies/HD",
                    "desc": "Movies HD"
                },
                {
                    "id": 69,
                    "cat": "Movies/HD",
                    "desc": "Movies HD Packs"
                },
                {
                    "id": 3,
                    "cat": "Movies/SD",
                    "desc": "Movies SD"
                },
                {
                    "id": 67,
                    "cat": "Movies/SD",
                    "desc": "Movies SD Packs"
                },
                {
                    "id": 71,
                    "cat": "Audio",
                    "desc": "Music CDA"
                },
                {
                    "id": 59,
                    "cat": "Audio",
                    "desc": "Music Discographies"
                },
                {
                    "id": 23,
                    "cat": "Audio/Lossless",
                    "desc": "Music FLAC"
                },
                {
                    "id": 22,
                    "cat": "Audio/MP3",
                    "desc": "Music MP3"
                },
                {
                    "id": 25,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 35,
                    "cat": "TV/Sport",
                    "desc": "Sports HD"
                },
                {
                    "id": 34,
                    "cat": "TV/Sport",
                    "desc": "Sports SD"
                },
                {
                    "id": 80,
                    "cat": "Books",
                    "desc": "Tutorials Books"
                },
                {
                    "id": 79,
                    "cat": "TV/Other",
                    "desc": "Tutorials Video"
                },
                {
                    "id": 5,
                    "cat": "TV",
                    "desc": "TV Greek Movies"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "TV Greek Series"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "TV Greek Series Packs"
                },
                {
                    "id": 60,
                    "cat": "TV",
                    "desc": "TV Greek Shows"
                },
                {
                    "id": 41,
                    "cat": "TV/HD",
                    "desc": "TV HD"
                },
                {
                    "id": 61,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 82,
                    "cat": "TV/UHD",
                    "desc": "TV Series 4K"
                },
                {
                    "id": 83,
                    "cat": "TV/UHD",
                    "desc": "TV Series 4K Packs"
                },
                {
                    "id": 62,
                    "cat": "TV",
                    "desc": "TV Series Emb"
                },
                {
                    "id": 63,
                    "cat": "TV",
                    "desc": "TV Series Emb Packs"
                },
                {
                    "id": 64,
                    "cat": "TV/HD",
                    "desc": "TV Series HD"
                },
                {
                    "id": 65,
                    "cat": "TV/HD",
                    "desc": "TV Series HD Packs"
                },
                {
                    "id": 66,
                    "cat": "TV",
                    "desc": "TV Series Packs"
                },
                {
                    "id": 73,
                    "cat": "Movies/BluRay",
                    "desc": "UNTOUCHED BluRay"
                },
                {
                    "id": 72,
                    "cat": "Movies/DVD",
                    "desc": "UNTOUCHED DVD"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "passkey",
                "type": "text",
                "label": "PassKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your PassKey",
                "default": "Find your PassKey by accessing your <a href=\"https://hellashut.net/\" target=\"_blank\">HellasHut</a> profile on the <i>My Profile</i> page and scrolling down to the <b>PassKey</b> field."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Accounts inactive for more than 45 days are automatically deleted."
            }
        ],
        "login": {
            "path": "api.php",
            "method": "get",
            "inputs": {
                "passkey": "{{ .Config.passkey }}"
            },
            "error": [
                {
                    "selector": ":root:contains(\"Bad passkey\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api.php",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "passkey": "{{ .Config.passkey }}",
                "$raw": "{{ range .Categories }}&c[]={{.}}{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "freeleech": "{{ if .Config.freeleech }}2{{ else }}{{ end }}"
            },
            "rows": {
                "selector": "torrents",
                "count": {
                    "selector": "results"
                }
            },
            "fields": {
                "category": {
                    "selector": "category"
                },
                "title": {
                    "selector": "name"
                },
                "details": {
                    "selector": "details"
                },
                "download": {
                    "selector": "dl",
                    "filters": [
                        {
                            "name": "append",
                            "args": "&passkey={{ .Config.passkey }}"
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb"
                },
                "files": {
                    "selector": "numfiles"
                },
                "size": {
                    "selector": "size"
                },
                "date": {
                    "selector": "added"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "downloadvolumefactor": {
                    "selector": "freeleech",
                    "case": [
                        1,
                        0
                    ]
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 864000
                }
            }
        }
    },
    "hellenic-hd-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "hellenic-hd-api",
        "name": "HELLENIC-HD (API)",
        "description": "HELLENIC-HD is a GREEK Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "el-GR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hellenic-hd.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Series"
                },
                {
                    "id": 10,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 11,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 12,
                    "cat": "PC/0day",
                    "desc": "Apps"
                },
                {
                    "id": 13,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 14,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 20,
                    "cat": "Movies/Foreign",
                    "desc": "Movies (No Greek Subs)"
                },
                {
                    "id": 21,
                    "cat": "TV/Foreign",
                    "desc": "Series (No Greek Subs)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://hellenic-hd.cc/\" target=\"_blank\">HELLENIC-HD</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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 that have not logged in for 60 days will be disabled, and may be deleted shortly afterwards."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 1209600
                }
            }
        }
    },
    "helltorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "helltorrents",
        "name": "HellTorrents",
        "description": "HellTorrents is a POLISH Semi-Private PAY2DL Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pl-PL",
        "type": "semi-private",
        "encoding": "ISO-8859-2",
        "links": [
            "https://helltorrents.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 30,
                    "cat": "Movies/SD",
                    "desc": "Filmy DivX/XviD"
                },
                {
                    "id": 27,
                    "cat": "Movies/DVD",
                    "desc": "Filmy DVD"
                },
                {
                    "id": 72,
                    "cat": "Movies/BluRay",
                    "desc": "Filmy BluRay/HDTV 1080p"
                },
                {
                    "id": 73,
                    "cat": "Movies/BluRay",
                    "desc": "Filmy BluRay/HDTV 720p"
                },
                {
                    "id": 74,
                    "cat": "Movies/HD",
                    "desc": "Filmy x265/h265"
                },
                {
                    "id": 75,
                    "cat": "Movies/HD",
                    "desc": "Filmy x264/h264"
                },
                {
                    "id": 76,
                    "cat": "Movies/HD",
                    "desc": "Filmy HD 1080p AVC"
                },
                {
                    "id": 77,
                    "cat": "Movies/UHD",
                    "desc": "Filmy i Seriale 4K UHD"
                },
                {
                    "id": 71,
                    "cat": "Movies/3D",
                    "desc": "Filmy 3D"
                },
                {
                    "id": 31,
                    "cat": "Movies/HD",
                    "desc": "Filmy RMVB"
                },
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Filmy VCD/SVCD"
                },
                {
                    "id": 78,
                    "cat": "Movies/SD",
                    "desc": "Filmy IVO"
                },
                {
                    "id": 79,
                    "cat": "Movies/SD",
                    "desc": "Filmy TS/CAM"
                },
                {
                    "id": 25,
                    "cat": "TV",
                    "desc": "Seriale Polskie"
                },
                {
                    "id": 26,
                    "cat": "TV/Foreign",
                    "desc": "Seriale Zagraniczne"
                },
                {
                    "id": 69,
                    "cat": "TV/Anime",
                    "desc": "Anime PL"
                },
                {
                    "id": 70,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 32,
                    "cat": "Movies",
                    "desc": "Bajki Pl/Eng"
                },
                {
                    "id": 80,
                    "cat": "Audio",
                    "desc": "Muzyka Polska"
                },
                {
                    "id": 38,
                    "cat": "Audio/Foreign",
                    "desc": "Muzyka Zagraniczna"
                },
                {
                    "id": 39,
                    "cat": "Audio",
                    "desc": "Soundtracki"
                },
                {
                    "id": 40,
                    "cat": "Audio/Video",
                    "desc": "Teledyski"
                },
                {
                    "id": 81,
                    "cat": "Audio/Video",
                    "desc": "Koncerty"
                },
                {
                    "id": 34,
                    "cat": "PC/Games",
                    "desc": "Gry PC"
                },
                {
                    "id": 36,
                    "cat": "Console/XBox",
                    "desc": "Xbox One/XBOX 360/Xbox"
                },
                {
                    "id": 37,
                    "cat": "Console/NDS",
                    "desc": "NINTENDO / WII / DS"
                },
                {
                    "id": 35,
                    "cat": "Console/PSP",
                    "desc": "PS2/PS3/PS4/PSP"
                },
                {
                    "id": 42,
                    "cat": "PC/Mobile-Other",
                    "desc": "Tapety GSM/PDA"
                },
                {
                    "id": 43,
                    "cat": "PC/Mobile-Other",
                    "desc": "Programy GSM/PDA"
                },
                {
                    "id": 44,
                    "cat": "PC/Mobile-Other",
                    "desc": "Filmy GSM/PDA"
                },
                {
                    "id": 45,
                    "cat": "PC/Mobile-Other",
                    "desc": "Dzwonki GSM/PDA"
                },
                {
                    "id": 46,
                    "cat": "PC/Mobile-Other",
                    "desc": "Gry GSM/PDA"
                },
                {
                    "id": 47,
                    "cat": "Books/EBook",
                    "desc": "E-Booki"
                },
                {
                    "id": 48,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio-Booki"
                },
                {
                    "id": 49,
                    "cat": "Books/Mags",
                    "desc": "Czasopisma"
                },
                {
                    "id": 50,
                    "cat": "Books/Comics",
                    "desc": "Komiksy"
                },
                {
                    "id": 51,
                    "cat": "PC/0day",
                    "desc": "Windows"
                },
                {
                    "id": 52,
                    "cat": "PC",
                    "desc": "Linux"
                },
                {
                    "id": 53,
                    "cat": "PC/Mac",
                    "desc": "Macintosh"
                },
                {
                    "id": 54,
                    "cat": "Other",
                    "desc": "Śmieszne"
                },
                {
                    "id": 55,
                    "cat": "Other",
                    "desc": "Tapety"
                },
                {
                    "id": 56,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 57,
                    "cat": "Other",
                    "desc": "Pozostale"
                },
                {
                    "id": 58,
                    "cat": "XXX/Other",
                    "desc": "Czasopisma"
                },
                {
                    "id": 59,
                    "cat": "XXX/ImageSet",
                    "desc": "Zdjęcia "
                },
                {
                    "id": 60,
                    "cat": "XXX/x264",
                    "desc": "Filmy"
                },
                {
                    "id": 61,
                    "cat": "XXX/Other",
                    "desc": "Gry "
                },
                {
                    "id": 62,
                    "cat": "XXX/Other",
                    "desc": "Hentai+18"
                }
            ],
            "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": "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrentów na stronę:</b> (Torrents per page) setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[name=\"login\"]",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}",
                "keeplogged": 1
            },
            "error": [
                {
                    "selector": "font[color=\"#FF0000\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "page": 0
            },
            "error": [
                {
                    "selector": "img[src=\"../images/bladpobierania.png\"]",
                    "message": {
                        "text": "you do not have permission to download!"
                    }
                }
            ],
            "rows": {
                "selector": "table.header:has(a[href*=\"download.php?id=\"]), table.header:has(a[href*=\"piekielny.php\"])"
            },
            "fields": {
                "categorydesc": {
                    "selector": "td.pole1",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Kategoria: (.+)"
                        }
                    ]
                },
                "title_phase1": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title_multilang": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "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^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"], a[href*=\"piekielny.php\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "date": {
                    "selector": "td.pole1",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Dodano: (\\d{2}/\\d{2}/\\d{4})"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy"
                        }
                    ]
                },
                "size": {
                    "selector": "td.pole1",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Rozmiar: (\\d+\\.\\d+ [T|G|M|K|k]B)"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td.pole1",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Seedów: (\\d+)"
                        }
                    ]
                },
                "leechers": {
                    "selector": "td.pole1",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Leecherów: (\\d+)"
                        }
                    ]
                },
                "grabs": {
                    "selector": "td.pole1",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Ukończone: (\\d+)"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "herobit": {
        "credentials": {
            "cookie": ""
        },
        "id": "herobit",
        "replaces": [
            "carphunter"
        ],
        "name": "HeroBit",
        "description": "HeroBit is a HUNGARIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://herobit.info/"
        ],
        "legacylinks": [
            "https://carp-hunter.hu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies/SD",
                    "desc": "Film/Cam/Eng",
                    "default": true
                },
                {
                    "id": 2,
                    "cat": "Movies/SD",
                    "desc": "Film/Cam/Hun",
                    "default": true
                },
                {
                    "id": 8,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD/Eng",
                    "default": true
                },
                {
                    "id": 7,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD/Hun",
                    "default": true
                },
                {
                    "id": 18,
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Eng",
                    "default": true
                },
                {
                    "id": 17,
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Hun",
                    "default": true
                },
                {
                    "id": 4,
                    "cat": "Movies/SD",
                    "desc": "Film/SD/Eng",
                    "default": true
                },
                {
                    "id": 3,
                    "cat": "Movies/SD",
                    "desc": "Film/SD/Hun",
                    "default": true
                },
                {
                    "id": 23,
                    "cat": "Audio/Audiobook",
                    "desc": "Hangoskönyv",
                    "default": true
                },
                {
                    "id": 19,
                    "cat": "PC/Games",
                    "desc": "Játék/ISO",
                    "default": true
                },
                {
                    "id": 20,
                    "cat": "PC/Games",
                    "desc": "Játék/RIP",
                    "default": true
                },
                {
                    "id": 24,
                    "cat": "Other",
                    "desc": "Képek",
                    "default": true
                },
                {
                    "id": 21,
                    "cat": "Books",
                    "desc": "Könyv/Eng",
                    "default": true
                },
                {
                    "id": 22,
                    "cat": "Books",
                    "desc": "Könyv/Hun",
                    "default": true
                },
                {
                    "id": 35,
                    "cat": "TV/Anime",
                    "desc": "Mese/Eng",
                    "default": true
                },
                {
                    "id": 36,
                    "cat": "TV/Anime",
                    "desc": "Mese/Hun",
                    "default": true
                },
                {
                    "id": 25,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil",
                    "default": true
                },
                {
                    "id": 30,
                    "cat": "PC/ISO",
                    "desc": "Programok/ISO",
                    "default": true
                },
                {
                    "id": 31,
                    "cat": "PC/0day",
                    "desc": "Programok/RIP",
                    "default": true
                },
                {
                    "id": 33,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Eng",
                    "default": true
                },
                {
                    "id": 43,
                    "cat": "TV/HD",
                    "desc": "Sorozat/HD/Eng",
                    "default": true
                },
                {
                    "id": 42,
                    "cat": "TV/HD",
                    "desc": "Sorozat/HD/Hun",
                    "default": true
                },
                {
                    "id": 32,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Hun",
                    "default": true
                },
                {
                    "id": 29,
                    "cat": "Audio/Lossless",
                    "desc": "Zene/FLAC/Eng",
                    "default": true
                },
                {
                    "id": 28,
                    "cat": "Audio/Lossless",
                    "desc": "Zene/FLAC/Hun",
                    "default": true
                },
                {
                    "id": 27,
                    "cat": "Audio/MP3",
                    "desc": "Zene/MP3/Eng",
                    "default": true
                },
                {
                    "id": 26,
                    "cat": "Audio/MP3",
                    "desc": "Zene/MP3/Hun",
                    "default": true
                },
                {
                    "id": 41,
                    "cat": "XXX/DVD",
                    "desc": "XXX/DVD",
                    "default": false
                },
                {
                    "id": 34,
                    "cat": "XXX/SD",
                    "desc": "XXX/Filmek",
                    "default": false
                },
                {
                    "id": 40,
                    "cat": "XXX/x264",
                    "desc": "XXX/HD",
                    "default": false
                },
                {
                    "id": 39,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX/Képek",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 4,
                "options": {
                    "4": "created",
                    "7": "seeders",
                    "5": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_settings",
                "type": "info",
                "label": "Settings Requirement",
                "default": "This indexer only supports the direct datasheet link option.<br>Navigate to the web site account <b>Beállítások (Settings)</b>, change the <b>Torrent lista viselkedése (The behavior of the Torrent List)</b> option to <b>Közvetlen adatlap link (Direct datasheet link)</b>, and click <b>Mentés (Save)</b>. Selecting <i>Lenyíló részletek (Dropdown Details)</i> will return no results."
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrent oldalanként</b> <i>Torrents per page:</i> setting to <b>100</b> on your account profile. The default is <i>35</i>."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?k=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php",
                    "categories": [
                        1,
                        2,
                        8,
                        7,
                        18,
                        17,
                        4,
                        3,
                        23,
                        19,
                        20,
                        24,
                        21,
                        22,
                        35,
                        36,
                        25,
                        30,
                        31,
                        33,
                        43,
                        42,
                        32,
                        29,
                        28,
                        27,
                        26
                    ]
                },
                {
                    "path": "browse.php",
                    "categories": [
                        41,
                        34,
                        40,
                        39
                    ],
                    "inputs": {
                        "xxx": 1
                    }
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat[]={{.}}&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "type": "{{ if .Config.freeleech }}3{{ else }}0{{ end }}",
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "tr.torrent-row"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"download.php?id=\"] button",
                    "attribute": "data-poster"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "div.torrent-date > strong",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "div.torrent-size-box"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "genre": {
                    "selector": "div.torrent-meta-line > span:nth-child(2)",
                    "attribute": "title"
                },
                "description": {
                    "case": {
                        "img[src=\"/pic/yes.png\"]": "Verified: {{ .Result.genre }}",
                        "img[src=\"/pic/nincs.png\"]": "Unverified: {{ .Result.genre }}"
                    }
                },
                "downloadvolumefactor": {
                    "case": {
                        "span:contains(\"x0\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span:contains(\"x2\")": 2,
                        "span:contains(\"x4\")": 4,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "hhanclub": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "hhanclub",
        "name": "HHanClub",
        "description": "HHanClub is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "followredirect": true,
        "links": [
            "https://hhanclub.net/",
            "https://hhan.club/"
        ],
        "legacylinks": [
            "https://hhanclub.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影"
                },
                {
                    "id": 412,
                    "cat": "Audio/Video",
                    "desc": "短剧"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the HHanClub Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Ultimate User and above will be retained forever</li><li>Veteran Users and above will not be deleted after parking (in the control panel)</li><li>Users with a parked account will be banned if they do not log in for 400 consecutive days</li><li>Users who do not log in for 30 consecutive days will be banned</li><li>Newly registered users with no traffic within 7 days, will be banned.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "div#Container > div.flex:has(div:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "followredirect": true
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat[]={{.}}&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\b(S\\d{2,})?(?:E\\d{2,})\\b",
                        "$1"
                    ]
                }
            ],
            "rows": {
                "selector": "div.w-full:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "_episode_number": {
                    "selector": "div.torrent-title > div > div",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "第(\\d+(?:-\\d+)?)集"
                        }
                    ]
                },
                "category": {
                    "selector": "a[href^=\"?cat[]=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat[]"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "\\b(S\\d+)\\b",
                                "{{ if .Result._episode_number }}$1E{{ .Result._episode_number }}{{ else }}$1{{ end }}"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "div.torrent-info-text:nth-child(2) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "div.torrent-info-text:nth-child(2):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "div.torrent-info-text:nth-child(1)"
                },
                "seeders": {
                    "selector": "div.torrent-info-text:nth-child(3)"
                },
                "leechers": {
                    "selector": "div.torrent-info-text:nth-child(4)"
                },
                "grabs": {
                    "selector": "div.torrent-info-text:nth-child(5)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.promotion-tag-free": 0,
                        "span.promotion-tag-free2up": 0,
                        "span.promotion-tag-50pctdown": 0.5,
                        "span.promotion-tag-50pctdown2up": 0.5,
                        "span.promotion-tag-30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.promotion-tag-50pctdown2up": 2,
                        "span.promotion-tag-free2up": 2,
                        "span.promotion-tag-2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "div.torrent-title > div > div"
                }
            }
        }
    },
    "hhd-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "hhd-api",
        "name": "HHD (API)",
        "description": "HHD is a Private Torrent Tracker for MOVIES / TV / GAMES",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://homiehelpdesk.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 5,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 6,
                    "cat": "PC",
                    "desc": "Apps"
                },
                {
                    "id": 7,
                    "cat": "Books/Technical",
                    "desc": "Books"
                },
                {
                    "id": 8,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook"
                },
                {
                    "id": 11,
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": 12,
                    "cat": "Books/Mags",
                    "desc": "Magazine"
                },
                {
                    "id": 9,
                    "cat": "Books/Comics",
                    "desc": "Manga"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://homiehelpdesk.net/\" target=\"_blank\">HHD</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "To not get disabled, you are required to login to the site at least once every 30 days or be actively seeding at least 2 torrent."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "houseofdevil": {
        "credentials": {
            "username": "",
            "password": "",
            "pin": ""
        },
        "id": "houseofdevil",
        "name": "House of Devil",
        "description": "House of Devil is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://h-o-d.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 117,
                    "cat": "TV",
                    "desc": "Allgemein - Serien"
                },
                {
                    "id": 119,
                    "cat": "Other",
                    "desc": "Bilder"
                },
                {
                    "id": 120,
                    "cat": "Books",
                    "desc": "EBook"
                },
                {
                    "id": 138,
                    "cat": "Movies/3D",
                    "desc": "Filme - 3D"
                },
                {
                    "id": 101,
                    "cat": "TV/Anime",
                    "desc": "Filme - Animie"
                },
                {
                    "id": 102,
                    "cat": "Movies/BluRay",
                    "desc": "Filme - Bluray"
                },
                {
                    "id": 131,
                    "cat": "Movies/Other",
                    "desc": "Filme - Bollywood"
                },
                {
                    "id": 103,
                    "cat": "Movies/DVD",
                    "desc": "Filme - DVD"
                },
                {
                    "id": 104,
                    "cat": "Movies/DVD",
                    "desc": "Filme - DVD-R"
                },
                {
                    "id": 135,
                    "cat": "Movies/HD",
                    "desc": "Filme - HD"
                },
                {
                    "id": 132,
                    "cat": "Movies/DVD",
                    "desc": "Filme - HD2DVD"
                },
                {
                    "id": 130,
                    "cat": "Movies",
                    "desc": "Filme - Klassiker"
                },
                {
                    "id": 134,
                    "cat": "Movies/SD",
                    "desc": "Filme - SD"
                },
                {
                    "id": 136,
                    "cat": "Movies/UHD",
                    "desc": "Filme - UHD"
                },
                {
                    "id": 105,
                    "cat": "Movies/HD",
                    "desc": "Filme - x264"
                },
                {
                    "id": 106,
                    "cat": "Movies/SD",
                    "desc": "Filme - XviD / DivX"
                },
                {
                    "id": 127,
                    "cat": "Movies",
                    "desc": "Fuer Unsere Kleinsten"
                },
                {
                    "id": 121,
                    "cat": "PC/Mobile-Other",
                    "desc": "Handy-Stuff"
                },
                {
                    "id": 124,
                    "cat": "Audio",
                    "desc": "Musik - Alben"
                },
                {
                    "id": 141,
                    "cat": "Audio",
                    "desc": "Musik - Diskografie"
                },
                {
                    "id": 122,
                    "cat": "Audio/Audiobook",
                    "desc": "Musik - Hoerbuch"
                },
                {
                    "id": 123,
                    "cat": "Audio",
                    "desc": "Musik - Mixe"
                },
                {
                    "id": 133,
                    "cat": "Audio/MP3",
                    "desc": "Musik - MP3"
                },
                {
                    "id": 125,
                    "cat": "Audio/Video",
                    "desc": "Musik - Video"
                },
                {
                    "id": 113,
                    "cat": "PC",
                    "desc": "Programme - Linux"
                },
                {
                    "id": 114,
                    "cat": "PC/Mac",
                    "desc": "Programme - Mac"
                },
                {
                    "id": 115,
                    "cat": "PC/0day",
                    "desc": "Programme - Windows"
                },
                {
                    "id": 116,
                    "cat": "TV/Documentary",
                    "desc": "Serien - Dokus"
                },
                {
                    "id": 118,
                    "cat": "TV/Sport",
                    "desc": "Serien - Sport"
                },
                {
                    "id": 142,
                    "cat": "TV",
                    "desc": "Serien - Pack"
                },
                {
                    "id": 129,
                    "cat": "Other",
                    "desc": "Sonstiges"
                },
                {
                    "id": 109,
                    "cat": "PC/Mobile-Other",
                    "desc": "Spiele - Handy"
                },
                {
                    "id": 112,
                    "cat": "Console",
                    "desc": "Spiele - Konsolen"
                },
                {
                    "id": 111,
                    "cat": "PC/Games",
                    "desc": "Spiele - Mac / Linux"
                },
                {
                    "id": 110,
                    "cat": "PC/Games",
                    "desc": "Spiele - PC"
                },
                {
                    "id": 137,
                    "cat": "Console/Other",
                    "desc": "Wimmelspiele"
                },
                {
                    "id": 69,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "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": "pin",
                "type": "text",
                "label": "Pin"
            },
            {
                "name": "onlyupload",
                "type": "checkbox",
                "label": "Filter OnlyUpload only",
                "default": false
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About OnlyUpload at H-O-D",
                "default": "<ul><li>OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Prowlarr search results page these are tagged as Freeleech).</li></ul>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "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>Torrents pro Seite:</b> setting to <b>100</b> on your <b>UserCP</b> page. The default is <i>15</i>."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "If you are inactive for longer than 8 weeks, your account will be automatically deactivated."
            },
            {
                "name": "info_seedhours",
                "type": "info",
                "label": "Seeding Hours",
                "default": "Before using this indexer, make sure that you have set <b>Seed-Angaben</b> and <b>DSL Speed</b> on your <b>UserCP</b> page."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "pin": "{{ .Config.pin }}"
            },
            "error": [
                {
                    "selector": ".tablea:contains(\"Fehler\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "path": "browse.php",
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "showsearch": 1,
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.tableinborder[cellspacing=\"1\"][cellpadding=\"0\"]:not(:has(a[href=\"index.php\"])) > tbody > tr:has(a[href^=\"download.php\"]){{ if .Config.onlyupload }}:has(img[src=\"/pic/free.gif\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"details.php\"]",
                    "attribute": "onMouseOver",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.*?) width"
                        }
                    ]
                },
                "size": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(1) b:nth-child(1)"
                },
                "files": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(1) b:nth-child(2)"
                },
                "seeders": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(2) b:nth-child(1)"
                },
                "leechers": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(2) > b:nth-of-type(2)"
                },
                "grabs": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(3) b:nth-child(1)"
                },
                "date": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"/pic/free.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.8
                },
                "minimumseedtime": {
                    "text": 432000
                }
            }
        }
    },
    "hqmusic": {
        "credentials": {
            "cookie": ""
        },
        "id": "hqmusic",
        "name": "HQMusic",
        "description": "HQMusic is a VIETNAMESE Private Torrent Tracker for MUSIC",
        "language": "vi-VN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tracker.hqmusic.info/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Audio",
                    "desc": "Music"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "album",
                    "artist"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts will be deleted according to the following rules:<ol><li> Power Users and above will never have their accounts deleted.</li><li>Users and above will never have their accounts deleted if they park their accounts (See [User CP]).</li><li>Parked accounts will be deleted if they do not log in within 365 days.</li><li>Unparked accounts will be deleted if they do not log in within 240 days.</li><li>Inactive accounts downloading or uploading on the tracker will be deleted after 240 days of not logging in or after 120 days from the time of registration.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "search": "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ end }}{{ if .Query.Album }} {{ .Query.Album }}{{ else }}{{ end }}{{ if or .Query.Artist .Query.Album }}{{ else }}{{ .Keywords }}{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "incldead": 0,
                "haslog": 0,
                "cue": 0,
                "cover": 0,
                "tracks": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.main > tbody > tr > td.embedded > table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[src^=\"imagescover\"]",
                    "attribute": "src",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "https://images.weserv.nl/?url={{ .Config.sitelink }}"
                        },
                        {
                            "name": "append",
                            "args": "&w=180&h=270"
                        }
                    ]
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.4
                },
                "minimumseedtime": {
                    "text": 216000
                },
                "description": {
                    "selector": "td:nth-child(1)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "hudbt": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "hudbt",
        "name": "HUDBT (蝴蝶)",
        "description": "HUDBT (蝴蝶) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://hudbt.hust.edu.cn/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "大陆电影"
                },
                {
                    "id": 413,
                    "cat": "Movies",
                    "desc": "港台电影"
                },
                {
                    "id": 414,
                    "cat": "Movies",
                    "desc": "亚洲电影"
                },
                {
                    "id": 415,
                    "cat": "Movies",
                    "desc": "欧美电影"
                },
                {
                    "id": 430,
                    "cat": "PC/Mobile-iOS",
                    "desc": "iPad"
                },
                {
                    "id": 433,
                    "cat": "Movies",
                    "desc": "抢先视频"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "大陆剧集"
                },
                {
                    "id": 417,
                    "cat": "TV",
                    "desc": "港台剧集"
                },
                {
                    "id": 416,
                    "cat": "TV",
                    "desc": "亚洲剧集"
                },
                {
                    "id": 418,
                    "cat": "TV",
                    "desc": "欧美剧集"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "大陆综艺"
                },
                {
                    "id": 419,
                    "cat": "TV",
                    "desc": "港台综艺"
                },
                {
                    "id": 420,
                    "cat": "TV",
                    "desc": "亚洲综艺"
                },
                {
                    "id": 421,
                    "cat": "TV",
                    "desc": "欧美综艺"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "华语音乐"
                },
                {
                    "id": 422,
                    "cat": "Audio",
                    "desc": "日韩音乐"
                },
                {
                    "id": 423,
                    "cat": "Audio",
                    "desc": "欧美音乐"
                },
                {
                    "id": 424,
                    "cat": "Audio",
                    "desc": "古典音乐"
                },
                {
                    "id": 425,
                    "cat": "Audio",
                    "desc": "原声音乐"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "音乐MV"
                },
                {
                    "id": 409,
                    "cat": "Other/Misc",
                    "desc": "其他"
                },
                {
                    "id": 432,
                    "cat": "Books/EBook",
                    "desc": "电子书"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "完结动漫"
                },
                {
                    "id": 427,
                    "cat": "TV/Anime",
                    "desc": "连载动漫"
                },
                {
                    "id": 428,
                    "cat": "TV/Anime",
                    "desc": "剧场OVA"
                },
                {
                    "id": 429,
                    "cat": "TV/Anime",
                    "desc": "动漫周边"
                },
                {
                    "id": 410,
                    "cat": "PC/Games",
                    "desc": "游戏"
                },
                {
                    "id": 431,
                    "cat": "Console",
                    "desc": "游戏视频"
                },
                {
                    "id": 411,
                    "cat": "PC/0day",
                    "desc": "软件"
                },
                {
                    "id": 412,
                    "cat": "Books",
                    "desc": "学习"
                },
                {
                    "id": 426,
                    "cat": "PC/Mac",
                    "desc": "MAC"
                },
                {
                    "id": 1037,
                    "cat": "Other",
                    "desc": "HUST"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not be deleted after parking (in the control panel)</li><li>Users with a parked account who do not log in for 240 consecutive days will be deleted</li><li>Users with non-parked account will be deleted if they do not log in for 120 consecutive days</li><li>Users with no traffic (that is, upload/download data are both 0) will be deleted if they do not log in for 30 consecutive days, or if the registration time reaches 60 days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "div#stderr:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "form[action$=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "indate": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(div.torrent-title)"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.free": 0,
                        "img.twoupfree": 0,
                        "img.halfdown": 0.5,
                        "img.twouphalfdown": 0.5,
                        "img.thirtypercent": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.twouphalfdown": 2,
                        "img.twoupfree": 2,
                        "img.twoup": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2) div.torrent-title h3"
                }
            }
        }
    },
    "huntorrent": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "huntorrent",
        "replaces": [
            "huntorrent-bithorlo"
        ],
        "name": "HunTorrent",
        "description": "HunTorrent is a HUNGARIAN Semi-Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://huntorrent.org/"
        ],
        "legacylinks": [
            "https://huntorrent.net/",
            "https://huntorrent.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Cam/Külföldi",
                    "default": true
                },
                {
                    "id": 27,
                    "cat": "Movies/SD",
                    "desc": "Cam/Magyar",
                    "default": true
                },
                {
                    "id": 4,
                    "cat": "Movies/DVD",
                    "desc": "DVDR/Külföldi",
                    "default": true
                },
                {
                    "id": 3,
                    "cat": "Movies/DVD",
                    "desc": "DVDR/Magyar",
                    "default": true
                },
                {
                    "id": 6,
                    "cat": "Movies/HD",
                    "desc": "HD/Külföldi",
                    "default": true
                },
                {
                    "id": 5,
                    "cat": "Movies/HD",
                    "desc": "HD/Magyar",
                    "default": true
                },
                {
                    "id": 2,
                    "cat": "Movies/SD",
                    "desc": "XviD/Külföldi",
                    "default": true
                },
                {
                    "id": 1,
                    "cat": "Movies/SD",
                    "desc": "XviD/Magyar",
                    "default": true
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Játék/ISO",
                    "default": true
                },
                {
                    "id": 18,
                    "cat": "PC/Games",
                    "desc": "Játék/RIP",
                    "default": true
                },
                {
                    "id": 19,
                    "cat": "Console",
                    "desc": "Konzol",
                    "default": true
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "Kép",
                    "default": true
                },
                {
                    "id": 24,
                    "cat": "Books",
                    "desc": "eBook/Külföldi",
                    "default": true
                },
                {
                    "id": 23,
                    "cat": "Books",
                    "desc": "eBook/Magyar",
                    "default": true
                },
                {
                    "id": 38,
                    "cat": "Audio/Audiobook",
                    "desc": "Hangoskönyv",
                    "default": true
                },
                {
                    "id": 26,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil",
                    "default": true
                },
                {
                    "id": 20,
                    "cat": "PC/ISO",
                    "desc": "Program/ISO",
                    "default": true
                },
                {
                    "id": 21,
                    "cat": "PC/0day",
                    "desc": "Program/RIP",
                    "default": true
                },
                {
                    "id": 31,
                    "cat": "TV/HD",
                    "desc": "Sorozat/HD/Külföldi",
                    "default": true
                },
                {
                    "id": 9,
                    "cat": "TV/HD",
                    "desc": "Sorozat/HD/Magyar",
                    "default": true
                },
                {
                    "id": 8,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Külföldi",
                    "default": true
                },
                {
                    "id": 7,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Magyar",
                    "default": true
                },
                {
                    "id": 13,
                    "cat": "Audio/Video",
                    "desc": "Klip/Külföldi",
                    "default": true
                },
                {
                    "id": 12,
                    "cat": "Audio/Video",
                    "desc": "Klip/Külföldi",
                    "default": true
                },
                {
                    "id": 11,
                    "cat": "Audio/MP3",
                    "desc": "MP3/Külföldi",
                    "default": true
                },
                {
                    "id": 10,
                    "cat": "Audio/MP3",
                    "desc": "MP3/Magyar",
                    "default": true
                },
                {
                    "id": 16,
                    "cat": "XXX/DVD",
                    "desc": "XXX/DVD",
                    "default": false
                },
                {
                    "id": 32,
                    "cat": "XXX/x264",
                    "desc": "XXX/HD",
                    "default": false
                },
                {
                    "id": 14,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX/Kép",
                    "default": false
                },
                {
                    "id": 15,
                    "cat": "XXX/SD",
                    "desc": "XXX/XVID",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "browse/",
                "selector": "a[href*=\"logout.php?k=\"]"
            }
        },
        "search": {
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "paths": [
                {
                    "path": "browse/",
                    "categories": [
                        28,
                        27,
                        4,
                        3,
                        6,
                        5,
                        2,
                        1,
                        17,
                        18,
                        19,
                        25,
                        24,
                        23,
                        38,
                        26,
                        20,
                        21,
                        31,
                        9,
                        8,
                        7,
                        13,
                        12,
                        11,
                        10
                    ],
                    "inputs": {
                        "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
                    }
                },
                {
                    "path": "browse/xxx",
                    "categories": [
                        16,
                        32,
                        14,
                        15
                    ],
                    "inputs": {
                        "search": "{{ .Keywords }}"
                    }
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "xyz": true,
                "korhatar": 0,
                "incldead": 1,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.torrent-table > tbody > tr.torrent-row"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"/?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a.torrent-title-link",
                    "attribute": "data-name"
                },
                "details": {
                    "selector": "a.torrent-title-link",
                    "attribute": "data-detail-url"
                },
                "download": {
                    "selector": "a[href^=\"/download/\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "a[data-mufaj]",
                    "attribute": "data-mufaj"
                },
                "description": {
                    "selector": "div.torrent-subtitle",
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ if .Result.genre }}</br>{{ .Result.genre }}{{ else }}{{ end }}"
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[data-poster]",
                    "attribute": "data-poster",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "/"
                        }
                    ]
                },
                "date": {
                    "selector": "a[data-added]",
                    "attribute": "data-added",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "a[data-size]",
                    "attribute": "data-size"
                },
                "grabs": {
                    "selector": "td:nth-last-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(2)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(1)"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 2
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 115200
                }
            }
        }
    },
    "hxpt": {
        "credentials": {
            "cookie": ""
        },
        "id": "hxpt",
        "name": "HxPT (好学)",
        "description": "HxPT (好学) is a CHINESE Private Torrent Tracker for E-LEARNING",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.hxpt.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Other",
                    "desc": "学前教育 (Preschool)"
                },
                {
                    "id": 402,
                    "cat": "Other",
                    "desc": "小学部 (Primary School)"
                },
                {
                    "id": 403,
                    "cat": "Other",
                    "desc": "初中部 (Middle School)"
                },
                {
                    "id": 404,
                    "cat": "Other",
                    "desc": "高职部 (Vocational High School)"
                },
                {
                    "id": 405,
                    "cat": "Other",
                    "desc": "高中部 (High School)"
                },
                {
                    "id": 406,
                    "cat": "Other",
                    "desc": "教育影音 (Educational Video)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "hydracker-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "hydracker-api",
        "replaces": [
            "darkiworld-api"
        ],
        "name": "Hydracker (API)",
        "description": "Hydracker is a FRENCH Semi-Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://hydracker.com/"
        ],
        "legacylinks": [
            "https://darkiworld16.com/",
            "https://darkiworld.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1000,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2010,
                    "cat": "Movies/Foreign",
                    "desc": "Movies Foreign"
                },
                {
                    "id": 2020,
                    "cat": "Movies/Other",
                    "desc": "Movies Other"
                },
                {
                    "id": 2030,
                    "cat": "Movies/SD",
                    "desc": "Movies SD"
                },
                {
                    "id": 2040,
                    "cat": "Movies/HD",
                    "desc": "Movies HD"
                },
                {
                    "id": 2045,
                    "cat": "Movies/UHD",
                    "desc": "Movies UHD"
                },
                {
                    "id": 2050,
                    "cat": "Movies/BluRay",
                    "desc": "Movies BluRay"
                },
                {
                    "id": 2060,
                    "cat": "Movies/3D",
                    "desc": "Movies 3D"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 3030,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook"
                },
                {
                    "id": 3040,
                    "cat": "Audio/Lossless",
                    "desc": "Music Lossless"
                },
                {
                    "id": 4000,
                    "cat": "PC",
                    "desc": "Applications"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 5020,
                    "cat": "TV/Foreign",
                    "desc": "TV Foreign"
                },
                {
                    "id": 5030,
                    "cat": "TV/SD",
                    "desc": "TV SD"
                },
                {
                    "id": 5040,
                    "cat": "TV/HD",
                    "desc": "TV HD"
                },
                {
                    "id": 5045,
                    "cat": "TV/UHD",
                    "desc": "TV UHD"
                },
                {
                    "id": 5050,
                    "cat": "TV/WEB-DL",
                    "desc": "TV WEB-DL"
                },
                {
                    "id": 5070,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 5080,
                    "cat": "TV/Documentary",
                    "desc": "Documentary"
                },
                {
                    "id": 7000,
                    "cat": "Books",
                    "desc": "E-Books"
                },
                {
                    "id": 8000,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowtvsearchimdb": true,
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or generate your API Key by logging in to <a href=\"https://hydracker.com/account-settings\" target=\"_blank\">Hydracker Account Settings</a>, scrolling down to <b>Torznab / *arr integration</b>, and clicking <b>Generate my Torznab API key</b>."
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi.FRENCH": "MULTi.FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi.ENGLISH": "MULTi.ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi.VOSTFR": "MULTi.VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            }
        ],
        "login": {
            "path": "api/v1/torznab/api",
            "method": "get",
            "inputs": {
                "t": "caps",
                "apikey": "{{ .Config.apikey }}"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "api/v1/torznab/api",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "t": "{{ .Query.Type }}",
                "apikey": "{{ .Config.apikey }}",
                "q": "{{ .Keywords }}",
                "imdbid": "{{ .Query.IMDBIDShort }}",
                "tmdbid": "{{ .Query.TMDBID }}",
                "limit": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\W+",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title_phase1": {
                    "selector": "title"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR|VF2|VFF|VFQ|VOQ|VFI|VOF)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "details": {
                    "selector": "comments"
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "size": {
                    "selector": "size"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=peers]",
                    "attribute": "value"
                },
                "imdbid": {
                    "selector": "[name=imdbid]",
                    "attribute": "value"
                },
                "tmdbid": {
                    "selector": "[name=tmdbid]",
                    "attribute": "value"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "selector": "[name=downloadvolumefactor]",
                    "attribute": "value"
                },
                "uploadvolumefactor": {
                    "selector": "[name=uploadvolumefactor]",
                    "attribute": "value"
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "ilcorsaroblu": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "ilcorsaroblu",
        "name": "Il Corsaro Blu",
        "description": "il CorSaRo Blu is an ITALIAN Semi-Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "it-IT",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://ilcorsaroblu.org/"
        ],
        "legacylinks": [
            "http://ilcorsaroblu.org/",
            "https://www.ilcorsaroblu.info/",
            "https://www.ilcorsaroblu.org/",
            "https://ilcorsaroblu.online/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Adult"
                },
                {
                    "id": 5,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 30,
                    "cat": "PC/Mobile-iOS",
                    "desc": "iOS / iPhone"
                },
                {
                    "id": 7,
                    "cat": "PC/0day",
                    "desc": "Windows"
                },
                {
                    "id": 8,
                    "cat": "PC",
                    "desc": "Linux"
                },
                {
                    "id": 9,
                    "cat": "PC/Mac",
                    "desc": "Mac"
                },
                {
                    "id": 40,
                    "cat": "PC",
                    "desc": "Emulatori"
                },
                {
                    "id": 34,
                    "cat": "PC",
                    "desc": "Student's Office"
                },
                {
                    "id": 6,
                    "cat": "Books/EBook",
                    "desc": "Books"
                },
                {
                    "id": 45,
                    "cat": "Books/Comics",
                    "desc": "Fumetti"
                },
                {
                    "id": 51,
                    "cat": "Books/EBook",
                    "desc": "Pdf"
                },
                {
                    "id": 33,
                    "cat": "Books/EBook",
                    "desc": "Romanzi"
                },
                {
                    "id": 26,
                    "cat": "Books/Mags",
                    "desc": "Edicola: Giornali/Quotidiani"
                },
                {
                    "id": 3,
                    "cat": "PC/Games",
                    "desc": "Games PC"
                },
                {
                    "id": 27,
                    "cat": "Console",
                    "desc": "Games Console"
                },
                {
                    "id": 41,
                    "cat": "Console/XBox",
                    "desc": "Games Xbox360"
                },
                {
                    "id": 43,
                    "cat": "Console",
                    "desc": "Games Retro"
                },
                {
                    "id": 47,
                    "cat": "Console/NDS",
                    "desc": "Games Nintendo"
                },
                {
                    "id": 2,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 48,
                    "cat": "Audio/MP3",
                    "desc": "Music MP3"
                },
                {
                    "id": 49,
                    "cat": "Audio",
                    "desc": "Radio Trasmissioni"
                },
                {
                    "id": 17,
                    "cat": "Movies/HD",
                    "desc": "Movie BDRip"
                },
                {
                    "id": 39,
                    "cat": "Movies/HD",
                    "desc": "Movie BDRip TNT"
                },
                {
                    "id": 21,
                    "cat": "Movies/Other",
                    "desc": "Movie Films"
                },
                {
                    "id": 11,
                    "cat": "Movies/DVD",
                    "desc": "Movie DVD-R"
                },
                {
                    "id": 14,
                    "cat": "Movies/HD",
                    "desc": "Movie 720p"
                },
                {
                    "id": 13,
                    "cat": "Movies/HD",
                    "desc": "Movie 1080p"
                },
                {
                    "id": 15,
                    "cat": "Movies/3D",
                    "desc": "Movie 3D"
                },
                {
                    "id": 25,
                    "cat": "Movies/UHD",
                    "desc": "Movie UHD"
                },
                {
                    "id": 36,
                    "cat": "Movies",
                    "desc": "Movie TNT"
                },
                {
                    "id": 24,
                    "cat": "TV/SD",
                    "desc": "TV Show Standard"
                },
                {
                    "id": 19,
                    "cat": "TV/HD",
                    "desc": "TV Show 1080p"
                },
                {
                    "id": 20,
                    "cat": "TV/HD",
                    "desc": "TV Show 720"
                },
                {
                    "id": 50,
                    "cat": "TV",
                    "desc": "TV Show TNT"
                },
                {
                    "id": 28,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 29,
                    "cat": "TV",
                    "desc": "Cartoons"
                },
                {
                    "id": 37,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 35,
                    "cat": "TV/Documentary",
                    "desc": "Documentari"
                },
                {
                    "id": 38,
                    "cat": "Movies",
                    "desc": "Commedia"
                },
                {
                    "id": 46,
                    "cat": "Movies",
                    "desc": "Movie Parodie"
                },
                {
                    "id": 4,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 23,
                    "cat": "Other",
                    "desc": "Archive"
                },
                {
                    "id": 42,
                    "cat": "Other",
                    "desc": "Disegni e Modelli"
                },
                {
                    "id": 16,
                    "cat": "Other",
                    "desc": "V.I.P."
                },
                {
                    "id": 32,
                    "cat": "Other",
                    "desc": "Premium"
                }
            ],
            "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": "Filter freeleech only",
                "default": false
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "index.php?page=login&returnto=index.php",
            "method": "form",
            "form": "form[name=\"login\"]",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "span[style=\"color:#FF0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "diacritics",
                    "args": "replace"
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "$1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "$1 $2"
                    ]
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ .Keywords }}",
                "category": "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}",
                "options": 0,
                "active": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.b-content > table > tbody > tr > td > table.lista > tbody > tr:has(a[href^=\"index.php?page=torrents&category=\"]){{ if .Config.freeleech }}:has(img[src$=\"gold.gif\"]){{ else }}{{ end }}",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"index.php?page=torrents&category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "td:nth-child(2) > a",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[!\"#$%&'()*+,\\-.\\/:;<=>?@[\\]^_`{|}~]",
                                " "
                            ]
                        },
                        {
                            "name": "diacritics",
                            "args": "replace"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[ ]{2,}",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bS(\\d+)\\sE(\\d+)\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d{2})x(\\d+)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1})x(\\d+)",
                                "S0$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStagion[ei]\\s?(\\d{1})\\b|\\bSeason'?s?\\s?(\\d{1})\\b",
                                "S0$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStagion[ei]\\s?(\\d{2,})\\b|\\bSeason'?s?\\s?(\\d{2,})\\b",
                                "S$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:[\\/\\|]?Episodio\\s?(\\d+)|Puntata\\s?(\\d+))",
                                "E$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:Puntate\\s*)(\\d+)\\s?(\\d+)",
                                "E0$1-0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Serie completa|Completat?a?|in pausa)",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\sEP\\s(\\d{1,2})\\s(E?\\s?\\d{1,2})\\s",
                                " E$1-$2 "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\sS(\\d{1,2})\\s?E\\s?(\\d{1,2})\\s(E?\\s?\\d{1,2})\\s",
                                " S$1E$2-$3 "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)AC3\\s?(\\d)\\s(\\d)",
                                "AC3 $1.$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i) DD\\s?(\\d)\\s(\\d)",
                                " DD $1.$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i) DDP\\s?(\\d)\\s(\\d)",
                                " DDP $1.$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\sE\\s?AC3",
                                " EAC3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)WEB\\sDL",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)HDTVRIP",
                                "HDTV"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "td:nth-child(2) > a",
                    "attribute": "href"
                },
                "download": {
                    "optional": true,
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "id"
                        },
                        {
                            "name": "toupper"
                        },
                        {
                            "name": "prepend",
                            "args": "http://itorrents.org/torrent/"
                        },
                        {
                            "name": "append",
                            "args": ".torrent"
                        }
                    ]
                },
                "infohash": {
                    "optional": true,
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "id"
                        }
                    ]
                },
                "magnet": {
                    "optional": true,
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-last-child(2)"
                },
                "date_ago": {
                    "selector": "td:nth-last-child(7):contains('ago')",
                    "optional": true,
                    "filters": [
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "date_year": {
                    "selector": "td:nth-last-child(7):contains('/')",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_ago .Result.date_year }}{{ or .Result.date_ago .Result.date_year }}{{ else }}now{{ end }}"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(5)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/gold.gif\"]": 0,
                        "img[src=\"images/silver.gif\"]": 0.5,
                        "img[src=\"images/bronze.gif\"]": 0.75,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "immortuos": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "immortuos",
        "name": "Immortuos",
        "description": "Immortuos is a GERMAN Private Tracker for MOVIES / TV",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://immortuos.life/"
        ],
        "legacylinks": [
            "https://www.immortuos.life/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4,
                    "cat": "PC",
                    "desc": "Apps"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 6,
                    "cat": "TV/Documentary",
                    "desc": "Doku"
                },
                {
                    "id": 7,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 8,
                    "cat": "Other",
                    "desc": "Sonstiges"
                },
                {
                    "id": 9,
                    "cat": "Movies",
                    "desc": "Kino"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About OnlyUpload at Immortuos",
                "default": "OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Jackett dashboard search results these are tagged as Freeleech)."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "form": "form[action$=\"/login\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "remember": true
            },
            "selectorinputs": {
                "_token": {
                    "selector": "input[name=\"_token\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "script[nonce]:contains(\"Error\")",
                    "message": {
                        "selector": "script[nonce]:contains(\"Error\")"
                    }
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "filterTorrents"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}categories[]={{.}}&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "imdb": "{{ .Query.IMDBIDShort }}",
                "tvdb": "{{ .Query.TVDBID }}",
                "tmdb": "{{ .Query.TMDBID }}",
                "sorting": "{{ .Config.sort }}",
                "direction": "{{ .Config.type }}",
                "qty": 100,
                "page": 0,
                "view": "list",
                "onlyup": "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
            },
            "rows": {
                "selector": "table > tbody > tr"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"/categories/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "/categories/.*?\\.(\\d+)"
                        }
                    ]
                },
                "title": {
                    "selector": "a.view-torrent"
                },
                "download": {
                    "selector": "a[href*=\"/download/\"]",
                    "attribute": "href"
                },
                "details": {
                    "selector": "a.view-torrent",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div.torrent-poster img",
                    "attribute": "src",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "https://images.weserv.nl/?url="
                        },
                        {
                            "name": "append",
                            "args": "&w=180&h=270"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "https://images.weserv.nl/?url=https://via.placeholder.com/600x900&w=180&h=270",
                                ""
                            ]
                        }
                    ]
                },
                "genre": {
                    "selector": "td:nth-last-child(6)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "\n",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "validate",
                            "args": "Action, Adventure, Animation, Biography, Comedy, Crime, Documentary, Drama, Family, Fantasy, Game-Show, History, Horror, Music, Musical, Mystery, News, Reality-TV, Romance, Science_Fiction, Sitcom, Sport, Talk-Show, Thriller, War, Western"
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(1)"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "tmdbid": {
                    "selector": "a[href*=\"themoviedb.org/movie/\"], a[href*=\"themoviedb.org/tv/\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "time",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(önce|tagasi|geleden|fa|temu|siden|há|atrás|nazpět|назад|acum|în urmă|hace|il y a|vor|преди|前|sedan)",
                                " ago"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(saniye|sekundit|sekunder|secondi|sekund|segundos|sekundami|секунд|secunde|secondes|Sekunden|секунди|seconden|秒前)",
                                "seconds"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(minutit|minutter|minuti|minuty|minutos|минуты|минут|Minuten|минути|minuten|minuter)",
                                "minutes"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(dakika|minut|minuto|minuta|minutt|минута|Minute|minuut|分钟|分)",
                                " minute"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(tundi|timer|ore|godziny|horas|hodiny|hoden|часа|часов|ore|heures|Stunden|timmar)",
                                "hours"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(saat|tund|time|ora|godzina|hora|hodina|час|oră|heure|Stunde|uur|小时|時間|timme)",
                                " hour"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(päeva|dage|giorni|dni|dias|dny|дня|дней|zile|días|jours|Tagen|дни|dagen|dagar)",
                                "days"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(gün|päev|dag|giorno|dzień|dia|den|день|zi|día|jour|Tag|ден|天|日)",
                                " day"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(nädalat|uger|settimane|tygodnie|uker|semanas|týdny|недели|недель|săptămâni|semaines|Wochen|седмици|weken|veckor)",
                                "weeks"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(hafta|nädal|uge|settimana|tydzień|uke|semana|týden|неделю|săptămână|semaine|Woche|седмица|周|週間|vecka)",
                                " week"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i) (ay)",
                                "month"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(kuud|måneder|mesi|miesiące|meses|měsíce|месяца|месяцев|luni|meses|mois|Monaten|месеца|maanden|månader)",
                                "months"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(kuu|måned|mese|miesiąc|mês|měsíc|месяц|lună|mes|Monat|месец|maand|个月|ヶ月|månad)",
                                " month"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(aastat|anni|lata|anos|roky|года|ani|años|ans|Jahren|години)",
                                " years"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(yil|aasta|år|anno|rok|ano|год|año|Jahr|година|jaar|年)",
                                " year"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i) (an)",
                                "year"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(För |und)",
                                ""
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "i[class*=\"fa-id-badge text-orange\"]": 0,
                        "i[class*=\"fa-trophy text-purple\"]": 0,
                        "i[class*=\"fa-star text-bold\"]": 0,
                        "i[class*=\"fa-coins text-bold\"]": 0,
                        "i[class*=\"fa-globe text-blue\"]": 0,
                        "i[class*=\"fa-star text-gold\"]": 0,
                        "i[class*=\"fa-certificate text-pink\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "i[class*=\"fa-gem text-green\"]": 2,
                        "i[class*=\"fa-globe text-green\"]": 2,
                        "i[class*=\"fa-certificate text-pink\"]": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "indietorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "indietorrents",
        "name": "Indietorrents",
        "description": "Indietorrents is a Private Music Torrent Tracker for independent MUSIC",
        "language": "en-GB",
        "encoding": "UTF-8",
        "type": "private",
        "links": [
            "https://www.indietorrents.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Audio",
                    "desc": "Music"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "album",
                    "artist"
                ]
            }
        },
        "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": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_cats",
                "type": "info",
                "label": "About categories",
                "default": "This indexer only supports searching the <b>Audio</b> category. <i>Video</i> searching is not supported."
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "This indexer does not support <b>Torrent Groups</b>.<br />On your account <i>Settings</i> change <b>Torrent grouping</b> to <b>DO NOT Group torrents by default</b>."
            }
        ],
        "login": {
            "path": "login.php?lang=",
            "method": "form",
            "form": "form#loginform",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "keeplogged": 1
            },
            "error": [
                {
                    "selector": "form#loginform:contains(\"incorrect\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?auth=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "searchstr": "{{ if or (.Query.Artist) (.Query.Album) }}{{ or (.Query.Artist) (.Query.Album) }}{{ else }}{{ .Keywords }}{{ end }}",
                "action": "basic",
                "taglist": "",
                "tags_type": 1,
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "freetorrent": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "filter_cat[1]": 1
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"group\"]",
                "after": 2
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "details": {
                    "selector": "a[href^=\"torrents.php?id=\"]:last-of-type",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "_tags": {
                    "selector": "div.tags"
                },
                "description": {
                    "selector": "td.edition_info",
                    "filters": [
                        {
                            "name": "append",
                            "args": "</br>{{ .Result._tags }}"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-last-child(7)"
                },
                "date": {
                    "selector": "td:nth-last-child(6) > span.time",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM d yyyy, HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "strong:contains(\"Freeleech!\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "title_details": {
                    "selector": "td:nth-child(3)",
                    "remove": "span, div.tags"
                },
                "title": {
                    "selector": "a[href*=\"torrentid=\"]",
                    "remove": "strong",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.title_details }} "
                        }
                    ]
                },
                "minimumratio": {
                    "text": 0.6
                }
            }
        }
    },
    "infinity-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "infinity-api",
        "name": "INFINITY (API)",
        "description": "INFINITY is a Private PAY2DL Torrent Tracker for MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://infinitylibrary.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://infinitylibrary.net/\" target=\"_blank\">INFINITY</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "The system bot will prune inactive users after 90 days of no activity. If you wish to keep your account be sure to login."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "infinityhd-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "infinityhd-api",
        "name": "InfinityHD (API)",
        "description": "InfinityHD is a Private Torrent Tracker for MOVIES / TV / ANIME",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://infinityhd.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 4,
                    "cat": "Movies/Other",
                    "desc": "Anime Movie"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://infinityhd.net/\" target=\"_blank\">InfinityHD</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Your account will be automatically disabled after 90 days of inactivity. After 120 days your account will be pruned and is permanently deleted."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 432000
                }
            }
        }
    },
    "infire": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "infire",
        "name": "Infire",
        "description": "Infire is a SLOVENIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "sl-SI",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://infire.si/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 14,
                    "cat": "Movies/SD",
                    "desc": "XviD",
                    "default": true
                },
                {
                    "id": 15,
                    "cat": "Movies/HD",
                    "desc": "HD 720p",
                    "default": true
                },
                {
                    "id": 16,
                    "cat": "Movies/HD",
                    "desc": "HD 1080p",
                    "default": true
                },
                {
                    "id": 20,
                    "cat": "Movies/WEB-DL",
                    "desc": "WEB/Rip",
                    "default": true
                },
                {
                    "id": 21,
                    "cat": "Movies/WEB-DL",
                    "desc": "WEB 720p",
                    "default": true
                },
                {
                    "id": 49,
                    "cat": "Movies/UHD",
                    "desc": "HD 2160p",
                    "default": true
                },
                {
                    "id": 50,
                    "cat": "Movies/HD",
                    "desc": "BluRay 1080p",
                    "default": true
                },
                {
                    "id": 51,
                    "cat": "Movies/HD",
                    "desc": "720p H265",
                    "default": true
                },
                {
                    "id": 52,
                    "cat": "Movies/HD",
                    "desc": "1080p H265",
                    "default": true
                },
                {
                    "id": 55,
                    "cat": "Movies/WEB-DL",
                    "desc": "WEB 1080p",
                    "default": true
                },
                {
                    "id": 71,
                    "cat": "Movies/WEB-DL",
                    "desc": "WEB 2160p",
                    "default": true
                },
                {
                    "id": 72,
                    "cat": "Movies/HD",
                    "desc": "BluRay 720p",
                    "default": true
                },
                {
                    "id": 73,
                    "cat": "Movies/HD",
                    "desc": "BluRay Remux",
                    "default": true
                },
                {
                    "id": 74,
                    "cat": "Movies/UHD",
                    "desc": "UHD Remux",
                    "default": true
                },
                {
                    "id": 77,
                    "cat": "Movies/HD",
                    "desc": "DrSi",
                    "default": true
                },
                {
                    "id": 97,
                    "cat": "Movies/UHD",
                    "desc": "BluRay 2160p",
                    "default": true
                },
                {
                    "id": 99,
                    "cat": "Movies/HD",
                    "desc": "BRRip 720p",
                    "default": true
                },
                {
                    "id": 100,
                    "cat": "Movies/HD",
                    "desc": "BRRip 1080p",
                    "default": true
                },
                {
                    "id": 101,
                    "cat": "Movies/HD",
                    "desc": "BRRip",
                    "default": true
                },
                {
                    "id": 23,
                    "cat": "TV",
                    "desc": "TV",
                    "default": true
                },
                {
                    "id": 24,
                    "cat": "TV/HD",
                    "desc": "HDTV 720p",
                    "default": true
                },
                {
                    "id": 75,
                    "cat": "TV/HD",
                    "desc": "HDTV 1080p",
                    "default": true
                },
                {
                    "id": 76,
                    "cat": "TV/WEB-DL",
                    "desc": "TV WEB/Rip",
                    "default": true
                },
                {
                    "id": 78,
                    "cat": "TV/WEB-DL",
                    "desc": "TV WEB 720p",
                    "default": true
                },
                {
                    "id": 79,
                    "cat": "TV/WEB-DL",
                    "desc": "TV WEB 1080p",
                    "default": true
                },
                {
                    "id": 80,
                    "cat": "TV/WEB-DL",
                    "desc": "TV WEB 2160p",
                    "default": true
                },
                {
                    "id": 81,
                    "cat": "TV/HD",
                    "desc": "TV BluRay 720p",
                    "default": true
                },
                {
                    "id": 82,
                    "cat": "TV/HD",
                    "desc": "TV BluRay 1080p",
                    "default": true
                },
                {
                    "id": 98,
                    "cat": "TV/UHD",
                    "desc": "TV BluRay 2160p",
                    "default": true
                },
                {
                    "id": 26,
                    "cat": "Movies/Other",
                    "desc": "Animirano",
                    "default": true
                },
                {
                    "id": 56,
                    "cat": "TV/Anime",
                    "desc": "Anime",
                    "default": true
                },
                {
                    "id": 93,
                    "cat": "Movies/Other",
                    "desc": "SLOSiNH",
                    "default": true
                },
                {
                    "id": 29,
                    "cat": "PC/Games",
                    "desc": "PC ISO",
                    "default": true
                },
                {
                    "id": 30,
                    "cat": "Console/Wii",
                    "desc": "Nintendo",
                    "default": true
                },
                {
                    "id": 31,
                    "cat": "Console/PS3",
                    "desc": "Playstation",
                    "default": true
                },
                {
                    "id": 34,
                    "cat": "Console/XBox One",
                    "desc": "Xbox",
                    "default": true
                },
                {
                    "id": 83,
                    "cat": "PC/Games",
                    "desc": "Repack",
                    "default": true
                },
                {
                    "id": 42,
                    "cat": "Audio/Video",
                    "desc": "Music DVD",
                    "default": true
                },
                {
                    "id": 43,
                    "cat": "Audio/Video",
                    "desc": "Videospoti",
                    "default": true
                },
                {
                    "id": 53,
                    "cat": "Audio/MP3",
                    "desc": "Glasba MP3",
                    "default": true
                },
                {
                    "id": 54,
                    "cat": "Audio/Lossless",
                    "desc": "Glasba FLAC",
                    "default": true
                },
                {
                    "id": 62,
                    "cat": "Audio/Video",
                    "desc": "Koncerti",
                    "default": true
                },
                {
                    "id": 37,
                    "cat": "TV/Sport",
                    "desc": "Sport",
                    "default": true
                },
                {
                    "id": 60,
                    "cat": "XXX/Other",
                    "desc": "XXX Revije",
                    "default": false
                },
                {
                    "id": 61,
                    "cat": "XXX/Pack",
                    "desc": "XXX Packs",
                    "default": false
                },
                {
                    "id": 66,
                    "cat": "XXX/SD",
                    "desc": "XXX 480p",
                    "default": false
                },
                {
                    "id": 67,
                    "cat": "XXX/x264",
                    "desc": "XXX 720p",
                    "default": false
                },
                {
                    "id": 68,
                    "cat": "XXX/x264",
                    "desc": "XXX 1080p",
                    "default": false
                },
                {
                    "id": 69,
                    "cat": "XXX/UHD",
                    "desc": "XXX 2160p",
                    "default": false
                },
                {
                    "id": 84,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX Slike",
                    "default": false
                },
                {
                    "id": 85,
                    "cat": "Movies/DVD",
                    "desc": "DVD 5",
                    "default": true
                },
                {
                    "id": 86,
                    "cat": "Movies/DVD",
                    "desc": "DVD 9",
                    "default": true
                },
                {
                    "id": 87,
                    "cat": "Movies/BluRay",
                    "desc": "BD 25",
                    "default": true
                },
                {
                    "id": 88,
                    "cat": "Movies/BluRay",
                    "desc": "BD 50",
                    "default": true
                },
                {
                    "id": 89,
                    "cat": "Movies/BluRay",
                    "desc": "UHD 50",
                    "default": true
                },
                {
                    "id": 90,
                    "cat": "Movies/BluRay",
                    "desc": "UHD 66",
                    "default": true
                },
                {
                    "id": 91,
                    "cat": "Movies/BluRay",
                    "desc": "UHD 100",
                    "default": true
                },
                {
                    "id": 38,
                    "cat": "PC/0day",
                    "desc": "Programi",
                    "default": true
                },
                {
                    "id": 39,
                    "cat": "Books/EBook",
                    "desc": "eKnjige",
                    "default": true
                },
                {
                    "id": 40,
                    "cat": "Other",
                    "desc": "Slike",
                    "default": true
                },
                {
                    "id": 41,
                    "cat": "Audio/Audiobook",
                    "desc": "AudioBook",
                    "default": true
                },
                {
                    "id": 44,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android",
                    "default": true
                },
                {
                    "id": 45,
                    "cat": "PC/Mobile-iOS",
                    "desc": "iOS",
                    "default": true
                },
                {
                    "id": 46,
                    "cat": "PC/Mac",
                    "desc": "Mac",
                    "default": true
                },
                {
                    "id": 47,
                    "cat": "PC/ISO",
                    "desc": "Linux",
                    "default": true
                },
                {
                    "id": 102,
                    "cat": "Other",
                    "desc": "3D STL",
                    "default": true
                },
                {
                    "id": 95,
                    "cat": "TV/Documentary",
                    "desc": "Dokumentarni Film",
                    "default": true
                },
                {
                    "id": 96,
                    "cat": "TV/Documentary",
                    "desc": "Dokumentarna Serija",
                    "default": true
                }
            ],
            "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": "data",
                "options": {
                    "data": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "filename": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "DESC",
                "options": {
                    "DESC": "desc",
                    "ASC": "asc"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "The period of inactivity after which we delete your account is 3 months. VIP users are not deleted."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action^=\"login.php\"]",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}",
                "login": "Prijavi se"
            },
            "error": [
                {
                    "selector": "font[color=\"#FF0000\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "headers": {
                "Referer": [
                    "{{ .Config.sitelink }}torrents.php"
                ]
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        14,
                        15,
                        16,
                        20,
                        21,
                        49,
                        50,
                        51,
                        52,
                        55,
                        71,
                        72,
                        73,
                        74,
                        77,
                        97,
                        99,
                        100,
                        23,
                        24,
                        75,
                        76,
                        78,
                        79,
                        80,
                        81,
                        82,
                        98,
                        26,
                        56,
                        93,
                        29,
                        30,
                        31,
                        34,
                        83,
                        42,
                        43,
                        53,
                        54,
                        62,
                        37,
                        85,
                        86,
                        87,
                        88,
                        89,
                        90,
                        91,
                        38,
                        39,
                        40,
                        41,
                        44,
                        45,
                        46,
                        47,
                        102,
                        95,
                        96
                    ]
                },
                {
                    "path": "xxx.php",
                    "categories": [
                        60,
                        61,
                        66,
                        67,
                        68,
                        69,
                        84
                    ]
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "active": 0,
                "gold": "{{ if .Config.freeleech }}3{{ else }}0{{ end }}",
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.mg-b-0 > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "categorydesc": {
                    "selector": "span:has(i.fa-compact-disc)"
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "date": {
                    "selector": "td:nth-last-child(5)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyyHH:mm:ss"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(1)"
                },
                "genre": {
                    "selector": "td:nth-child(2) > span:nth-child(5)",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Znanstvena fantastika)",
                                "Znanstvena_fantastika"
                            ]
                        },
                        {
                            "name": "validate",
                            "args": "Akcija, Animirani, Animacija, Avantura, Biografski, Dokumentarni, Drама, Družinski, Fantastika, Fantazija, Glasbeni, Grozljivka, Комеdija, Kratek, Kriminalka, Кriminalni, Misterij, Mladinski, Potovanje, Pustolovski, Romantika, Sport, Sci-Fi, Тriler, Vojni, Western, Zgodovinski, Znanstvena_fantastika"
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span:contains(\"100% Freeleech\")": 0,
                        "span:contains(\"50% Freeleech\")": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "insanetracker": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "insanetracker",
        "name": "Insane Tracker",
        "description": "Insane Tracker is a HUNGARIAN Private Torrent Tracker for 0DAY / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://newinsane.info/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 8,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Hun"
                },
                {
                    "id": 40,
                    "cat": "TV/HD",
                    "desc": "Sorozat/Hun/HD"
                },
                {
                    "id": 47,
                    "cat": "TV/UHD",
                    "desc": "Sorozat/Hun/UHD"
                },
                {
                    "id": 7,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Eng"
                },
                {
                    "id": 39,
                    "cat": "TV/HD",
                    "desc": "Sorozat/Eng/HD"
                },
                {
                    "id": 46,
                    "cat": "TV/UHD",
                    "desc": "Sorozat/Eng/UHD"
                },
                {
                    "id": 41,
                    "cat": "Movies/SD",
                    "desc": "Film/Hun/SD"
                },
                {
                    "id": 27,
                    "cat": "Movies/HD",
                    "desc": "Film/Hun/HD"
                },
                {
                    "id": 44,
                    "cat": "Movies/UHD",
                    "desc": "Film/Hun/UHD"
                },
                {
                    "id": 15,
                    "cat": "Movies/DVD",
                    "desc": "Film/Hun/DVD-R"
                },
                {
                    "id": 42,
                    "cat": "Movies/SD",
                    "desc": "Film/Eng/SD"
                },
                {
                    "id": 25,
                    "cat": "Movies/HD",
                    "desc": "Film/Eng/HD"
                },
                {
                    "id": 45,
                    "cat": "Movies/UHD",
                    "desc": "Film/Eng/UHD"
                },
                {
                    "id": 14,
                    "cat": "Movies/DVD",
                    "desc": "Film/Eng/DVD-R"
                },
                {
                    "id": 2,
                    "cat": "Books",
                    "desc": "eBook/Hun"
                },
                {
                    "id": 1,
                    "cat": "Books",
                    "desc": "eBook/Eng"
                },
                {
                    "id": 38,
                    "cat": "Audio/Audiobook",
                    "desc": "Hangoskönyv"
                },
                {
                    "id": 19,
                    "cat": "Audio/MP3",
                    "desc": "Zene/Hun"
                },
                {
                    "id": 37,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless/Hun"
                },
                {
                    "id": 18,
                    "cat": "Audio/MP3",
                    "desc": "Zene/Eng"
                },
                {
                    "id": 26,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless/Eng"
                },
                {
                    "id": 4,
                    "cat": "PC/ISO",
                    "desc": "Program/ISO"
                },
                {
                    "id": 3,
                    "cat": "PC/0day",
                    "desc": "Program/Egyéb"
                },
                {
                    "id": 11,
                    "cat": "PC/Games",
                    "desc": "Játék/Rip"
                },
                {
                    "id": 9,
                    "cat": "PC/Games",
                    "desc": "Játék/ISO"
                },
                {
                    "id": 43,
                    "cat": "Console",
                    "desc": "Játék/Konzol"
                },
                {
                    "id": 13,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 28,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX Képek"
                },
                {
                    "id": 29,
                    "cat": "Other",
                    "desc": "Képek"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": 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"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "After half a year of inactivity you will first be placed in a parked state which ensures that you can enter for another year and a half. If you don't log in by then, the system will permanently delete it."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "notsecure": ""
            },
            "error": [
                {
                    "selector": "div.login_error_content_text"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href$=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 1,
                "nohnr": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.torrenttable > tbody > tr:has(td.torrentmain)"
            },
            "fields": {
                "title": {
                    "selector": "td.torrentmain > a.torrentname",
                    "attribute": "title"
                },
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "details": {
                    "selector": "td.torrentmain > a.torrentname",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/download.php/\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[title=\"IMDb link\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[alt=\"offer\"], a.cover",
                    "attribute": "src"
                },
                "files": {
                    "selector": "div.files > a.button.small"
                },
                "size": {
                    "selector": "td.center.size"
                },
                "seeders": {
                    "selector": "td.center.data > a:first-child"
                },
                "leechers": {
                    "selector": "td.center.data > a:nth-child(2)"
                },
                "date": {
                    "selector": "td.center.date",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "a[href^=\"?nohnr=1\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "a[href^=\"?doubleup=four\"]": 4,
                        "a[href^=\"?doubleup=three\"]": 3,
                        "a[href^=\"?doubleup=two\"]": 2,
                        "*": 1
                    }
                },
                "description_text": {
                    "selector": "div.contenttext",
                    "optional": true,
                    "remove": "div.contenttitle"
                },
                "description": {
                    "case": {
                        "span.accepted": "Verified: {{ .Result.description_text }}",
                        "span.notchecked": "Unverified: {{ .Result.description_text }}"
                    }
                },
                "grabs": {
                    "selector": "td.center.data",
                    "remove": "div.uploader, div.moderation, a.leftborder"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "internetarchive": {
        "id": "internetarchive",
        "name": "Internet Archive",
        "description": "Internet Archive is a non-profit digital library offering free universal access to books, movies & music, as well as 406 billion archived web pages",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://archive.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "audio",
                    "cat": "Audio",
                    "desc": "audio"
                },
                {
                    "id": "etree",
                    "cat": "Audio",
                    "desc": "etree"
                },
                {
                    "id": "movies",
                    "cat": "Movies",
                    "desc": "movies"
                },
                {
                    "id": "movies",
                    "cat": "TV",
                    "desc": "movies"
                },
                {
                    "id": "image",
                    "cat": "Other/Misc",
                    "desc": "image"
                },
                {
                    "id": "texts",
                    "cat": "Books",
                    "desc": "texts"
                },
                {
                    "id": "software",
                    "cat": "PC",
                    "desc": "software"
                },
                {
                    "id": "web",
                    "cat": "Other",
                    "desc": "web"
                },
                {
                    "id": "collection",
                    "cat": "Other",
                    "desc": "collection"
                },
                {
                    "id": "account",
                    "cat": "Other",
                    "desc": "account"
                },
                {
                    "id": "data",
                    "cat": "Other",
                    "desc": "data"
                },
                {
                    "id": "other",
                    "cat": "Other",
                    "desc": "other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "titleOnly",
                "type": "checkbox",
                "label": "Search only in title",
                "default": true
            },
            {
                "name": "noMagnet",
                "type": "checkbox",
                "label": "Download using .torrent only. No Magnets.",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "publicdate",
                "options": {
                    "publicdate": "created",
                    "downloads": "downloads",
                    "item_size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "-",
                "options": {
                    "-": "desc",
                    "_": "asc"
                }
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "advancedsearch.php",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "q": "{{ if and .Config.titleOnly .Keywords }}title:({{ else }}{{ end }}{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ end }}{{ if and .Config.titleOnly .Keywords }}){{ else }}{{ end }}{{ if .Keywords }} AND {{ else }}{{ end }}format:(\"Archive BitTorrent\"){{ if .Categories }} AND mediatype:({{ join .Categories \" OR \" }}){{ else }}{{ end }}",
                "fl[]": "identifier,title,mediatype,item_size,downloads,btih,publicdate",
                "sort": "{{ if .Keywords }}{{ re_replace .Config.type \"_\" \"\" }}{{ .Config.sort }}{{ else }}-publicdate{{ end }}",
                "rows": 100,
                "output": "json"
            },
            "rows": {
                "selector": "response.docs",
                "count": {
                    "selector": "response.numFound"
                }
            },
            "fields": {
                "_id": {
                    "selector": "identifier"
                },
                "category": {
                    "selector": "mediatype"
                },
                "title": {
                    "selector": "title",
                    "optional": true,
                    "default": "Missing title for {{ .Result._id }}"
                },
                "details": {
                    "text": "details/{{ .Result._id }}"
                },
                "download": {
                    "text": "download/{{ .Result._id }}/{{ .Result._id }}_archive.torrent"
                },
                "_btih": {
                    "selector": "btih",
                    "optional": true
                },
                "infohash": {
                    "text": "{{ if .Config.noMagnet }}{{ else }}{{ .Result._btih }}{{ end }}"
                },
                "date": {
                    "selector": "publicdate"
                },
                "size": {
                    "selector": "item_size"
                },
                "grabs": {
                    "selector": "downloads",
                    "optional": true
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "itatorrents": {
        "credentials": {
            "apikey": ""
        },
        "id": "itatorrents",
        "name": "ItaTorrents",
        "description": "ItaTorrents is an ITALIAN Private tracker for MOVIES / TV / GENERAL",
        "language": "it-IT",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://itatorrents.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Film"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Serie TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Musica"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Giochi"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "Applicazioni"
                },
                {
                    "id": 6,
                    "cat": "Books/Mags",
                    "desc": "Edicola"
                },
                {
                    "id": 7,
                    "cat": "Books/EBook",
                    "desc": "E-Book"
                },
                {
                    "id": 8,
                    "cat": "Audio/Audiobook",
                    "desc": "AudioLibri"
                },
                {
                    "id": 12,
                    "cat": "Other",
                    "desc": "Corsi"
                },
                {
                    "id": 13,
                    "cat": "Books/Comics",
                    "desc": "Fumetti"
                },
                {
                    "id": 14,
                    "cat": "Audio/Video",
                    "desc": "Concerti"
                },
                {
                    "id": 15,
                    "cat": "Audio",
                    "desc": "Discografie"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://itatorrents.xyz/\" target=\"_blank\">ItaTorrents</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "tmdbidonly",
                "type": "checkbox",
                "label": "Disable IMDB and TVDB ID search (only support TMDB ID) to potentially improve Sonarr and Radarr results",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "To not get disabled, you are required to login to the site at least once every 90 days or be actively seeding at least 1 torrent."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ if .Config.tmdbidonly }}{{ else }}{{ .Query.IMDBIDShort }}{{ end }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ if .Config.tmdbidonly }}{{ else }}{{ .Query.TVDBID }}{{ end }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "^([SE]\\d{1,4}){1,2}$",
                        "{{ if or (.Query.Season) (.Query.Ep) }}{{ else }}$1{{ end }}"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "Stagione $1"
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "\\.",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStagion[ei]\\s?(\\d{1})\\b|\\bSeason'?s?\\s?(\\d{1})\\b",
                                "S0$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStagion[ei]\\s?(\\d{2,})\\b|\\bSeason'?s?\\s?(\\d{2,})\\b",
                                "S$1$2"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(televisione film)",
                                "televisione_film"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "jme-reunit3d-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "jme-reunit3d-api",
        "name": "JME-REUNIT3D (API)",
        "description": "JME-REUNIT3D is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://jme-reunit3d.de/"
        ],
        "legacylinks": [
            "https://jme-reunit3d.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 7,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "Application"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Game"
                },
                {
                    "id": 8,
                    "cat": "Books",
                    "desc": "E-Books"
                },
                {
                    "id": 9,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio-Books"
                },
                {
                    "id": 12,
                    "cat": "Audio/Video",
                    "desc": "Music-Video"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://jme-reunit3d.de/\" target=\"_blank\">JME-REUNIT3D</a> account <i>My Security</i> page and clicking on the <b>API Token</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "If a user has not actively logged in for 30 days, the profile is automatically deactivated and receives the user class 'Disabled'.<br>After deactivation, the profile can be reactivated within 60 days – after which it will be permanently deleted."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "categorydesc": {
                    "selector": "category"
                },
                "title": {
                    "selector": "name"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "files": {
                    "selector": "num_file"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "downloadvolumefactor": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "uploadvolumefactor": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "minimumseedtime": {
                    "text": 345600
                }
            }
        }
    },
    "jpopsuki": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "jpopsuki",
        "name": "JPopsuki",
        "description": "JPopSuki is a Private Torrent Tracker for ASIAN MUSIC",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 3,
        "links": [
            "https://jpopsuki.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Audio",
                    "desc": "Album"
                },
                {
                    "id": 2,
                    "cat": "Audio",
                    "desc": "Single"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "PV"
                },
                {
                    "id": 4,
                    "cat": "Movies/DVD",
                    "desc": "DVD"
                },
                {
                    "id": 5,
                    "cat": "TV",
                    "desc": "TV-Music"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "TV-Variety"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "TV-Drama"
                },
                {
                    "id": 8,
                    "cat": "Other",
                    "desc": "Fansubs"
                },
                {
                    "id": 9,
                    "cat": "Other",
                    "desc": "Pictures"
                },
                {
                    "id": 10,
                    "cat": "Other/Misc",
                    "desc": "Misc"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "genre"
                ],
                "movie-search": [
                    "q",
                    "genre"
                ],
                "music-search": [
                    "q",
                    "genre"
                ]
            }
        },
        "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": "s3",
                "options": {
                    "s3": "created",
                    "s6": "seeders",
                    "s4": "size",
                    "s1": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "keeplogged": 1,
                "login": "Log In!"
            },
            "error": [
                {
                    "selector": "form#loginform > span.warning, font[color=\"red\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?auth=\"], a[href^=\"torrents.php?action=download&id=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "ajax.php"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[\\[!\"#$%&'()*+,\\-.\\/:;<=>?@[\\]^_`{|}~]",
                        " "
                    ]
                }
            ],
            "inputs": {
                "section": "torrents",
                "disablegrouping": 1,
                "searchstr": "{{ .Keywords }}",
                "action": "basic",
                "searchtags": "{{ .Query.Genre }}",
                "tags_type": 1,
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "$raw": "{{ range .Categories }}&filter_cat[{{.}}]=1{{end}}"
            },
            "error": [
                {
                    "selector": ":root:contains(\"Database error.\")"
                }
            ],
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent\"]:has(a[href^=\"torrents.php?action=download&id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "%5B(\\d+?)%5D"
                        }
                    ]
                },
                "download": {
                    "selector": "a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "div.tags",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                ".",
                                "_"
                            ]
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "artist": {
                    "selector": "td:nth-last-child(7) a[href*=\"artist.php\"]",
                    "optional": true
                },
                "title": {
                    "selector": "td:nth-last-child(7)",
                    "remove": "span, div.tags, a[title=\"View Comments\"]",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " ()",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "\t",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " / Freeleech!",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"torrents.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[src^=\"static/images/torrents/\"]",
                    "attribute": "src"
                },
                "files": {
                    "selector": "td:nth-last-child(6)"
                },
                "date": {
                    "selector": "td:nth-last-child(5)",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(2)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(1)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "strong:contains(\"Freeleech!\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.6
                }
            }
        }
    },
    "jptv4us-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "jptv4us-api",
        "name": "JPTV4us (API)",
        "description": "JPTV4us is a JAPANESE Private Torrent Tracker for MOVIES / TV / MUSIC / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://jptv4.us/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Anime Movie"
                },
                {
                    "id": 2,
                    "cat": "TV/Anime",
                    "desc": "Anime Series"
                },
                {
                    "id": 3,
                    "cat": "TV/Documentary",
                    "desc": "Documentary"
                },
                {
                    "id": 4,
                    "cat": "TV",
                    "desc": "Drama"
                },
                {
                    "id": 5,
                    "cat": "TV/Other",
                    "desc": "Informational"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 7,
                    "cat": "Audio/Video",
                    "desc": "Music"
                },
                {
                    "id": 8,
                    "cat": "TV/Other",
                    "desc": "News"
                },
                {
                    "id": 9,
                    "cat": "TV/Other",
                    "desc": "Variety"
                },
                {
                    "id": 10,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 11,
                    "cat": "Audio",
                    "desc": "Audio Only"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://jptv4.us/\" target=\"_blank\">JPTV4us</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "kamept": {
        "credentials": {
            "cookie": ""
        },
        "id": "kamept",
        "name": "KamePT",
        "description": "KamePT is a CHINESE Private Torrent Tracker for 3X",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://kamept.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 410,
                    "cat": "XXX",
                    "desc": "同人AV"
                },
                {
                    "id": 413,
                    "cat": "XXX",
                    "desc": "男娘"
                },
                {
                    "id": 414,
                    "cat": "XXX",
                    "desc": "同人VR"
                },
                {
                    "id": 417,
                    "cat": "XXX",
                    "desc": "Cosplay套图"
                },
                {
                    "id": 419,
                    "cat": "XXX",
                    "desc": "里番"
                },
                {
                    "id": 411,
                    "cat": "XXX",
                    "desc": "2D动画"
                },
                {
                    "id": 423,
                    "cat": "XXX",
                    "desc": "3D动画"
                },
                {
                    "id": 424,
                    "cat": "XXX/ImageSet",
                    "desc": "单行本"
                },
                {
                    "id": 435,
                    "cat": "XXX/ImageSet",
                    "desc": "同人志"
                },
                {
                    "id": 433,
                    "cat": "XXX/ImageSet",
                    "desc": "画师CG"
                },
                {
                    "id": 415,
                    "cat": "XXX/Other",
                    "desc": "游戏"
                },
                {
                    "id": 418,
                    "cat": "XXX/Other",
                    "desc": "中文游戏"
                },
                {
                    "id": 434,
                    "cat": "XXX/ImageSet",
                    "desc": "游戏CG"
                },
                {
                    "id": 420,
                    "cat": "XXX/Other",
                    "desc": "外语音声"
                },
                {
                    "id": 421,
                    "cat": "XXX/Other",
                    "desc": "中文音声"
                },
                {
                    "id": 422,
                    "cat": "XXX/Other",
                    "desc": "视频音声"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"usercp.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.9
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "karagarga": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "karagarga",
        "name": "Karagarga",
        "description": "Karagarga is a Private Torrent Tracker that tracks non-hollywood, rare and obscure MOVIES, MUSIC and LITERATURE.",
        "language": "en-US",
        "type": "private",
        "encoding": "iso-8859-1",
        "links": [
            "https://karagarga.in/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 3,
                    "cat": "Books",
                    "desc": "Literature"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "captcha": {
                "type": "image",
                "selector": "img#captcha_img",
                "input": "captcha"
            },
            "error": [
                {
                    "selector": "table:contains(\"Login failed!\")"
                },
                {
                    "selector": "table:contains(\"Login unsuccessful\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "search_type": "{{ if .Query.IMDBID }}imdb{{ else }}title{{ end }}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "cat": 0,
                "genre": "",
                "subgenre": "",
                "country": 0,
                "hdrip": "",
                "incldead": "",
                "source": "",
                "fl": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "sort": "{{ if .Keywords }}{{ else }}added{{ end }}",
                "d": "{{ if .Keywords }}{{ else }}DESC{{ end }}"
            },
            "rows": {
                "selector": "table#browse > tbody > tr:has(a[href^=\"browse.php?genre=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?genre=\"] img",
                    "case": {
                        "img[title^=\"Movie\"]": 1,
                        "img[title^=\"Music\"]": 2,
                        "img[title^=\"Literature\"]": 3
                    }
                },
                "year": {
                    "selector": "a[href$=\"search_type=year\"]",
                    "optional": true
                },
                "_flag": {
                    "selector": "a[href^=\"browse.php?country=\"] img",
                    "attribute": "title",
                    "optional": true
                },
                "_filename": {
                    "selector": "a[href^=\"/down.php/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(?:/down\\.php/\\d+/)(.+?)\\.torrent"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "%20",
                                "."
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "filters": [
                        {
                            "name": "append",
                            "args": " {{ .Result.year }} {{ .Result._flag }} [{{ .Result._filename }}]"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/down.php/\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(9)",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "([a-zA-Z]+)\\s+(\\d{1,2})\\s+'(\\d{2})",
                                "$2 $1 $3"
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "d MMM yy"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(10)"
                },
                "size": {
                    "selector": "td:nth-child(11)"
                },
                "grabs": {
                    "selector": "td:nth-child(12)"
                },
                "seeders": {
                    "selector": "td:nth-child(13)"
                },
                "leechers": {
                    "selector": "td:nth-child(14)"
                },
                "_subs": {
                    "selector": "span:contains(\"Subs:\")",
                    "optional": true
                },
                "genre": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "\n",
                                " "
                            ]
                        }
                    ]
                },
                "_mom": {
                    "selector": "img[title^=\"CURRENT\"]",
                    "attribute": "title",
                    "optional": true
                },
                "description": {
                    "text": "{{ if .Result._subs }}Subs: {{ .Result._subs }}</br>{{ else }}{{ end }}{{ if .Result.genre }}Genre: {{ .Result.genre }}</br>{{ else }}{{ end }}{{ if .Result._mom }}Current MoM{{ else }}{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span:contains(\"Freeleech\")": 0,
                        "span:contains(\"Featured\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[title^=\"CURRENT\"]": 1.6,
                        "*": 1.1
                    }
                },
                "minimumratio": {
                    "text": 0.25
                }
            }
        }
    },
    "keepfriends": {
        "credentials": {
            "cookie": ""
        },
        "id": "keepfriends",
        "name": "Keep Friends",
        "description": "Keep Friends (FRDS-PT) is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.keepfrds.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 301,
                    "cat": "Movies",
                    "desc": "Movie Packs/电影(合集)"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 304,
                    "cat": "TV/Documentary",
                    "desc": "Documentary Packs/纪录片(合集)"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫"
                },
                {
                    "id": 305,
                    "cat": "TV/Anime",
                    "desc": "Animation Packs/动漫(合集)"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/剧集"
                },
                {
                    "id": 302,
                    "cat": "TV",
                    "desc": "TV Serie Packs/剧集(合集)"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 303,
                    "cat": "TV",
                    "desc": "TV Show Packs/综艺(合集)"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 307,
                    "cat": "TV/Sport",
                    "desc": "Sport Packs/体育(合集)"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MusicVideo/音乐录影带"
                },
                {
                    "id": 306,
                    "cat": "Audio/Video",
                    "desc": "MusicVideo Packs/音乐录影带(合集)"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Music/音乐"
                },
                {
                    "id": 308,
                    "cat": "Audio",
                    "desc": "Music Packs/音乐(合集)"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc/其他"
                },
                {
                    "id": 309,
                    "cat": "Other",
                    "desc": "Misc Packs/其他(合集)"
                },
                {
                    "id": 300,
                    "cat": "Other",
                    "desc": "Recycle Bin/回收站"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 4,
                "options": {
                    "4": "created",
                    "7": "seeders",
                    "5": "size",
                    "10": "title"
                }
            },
            {
                "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>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[onclick=\"document.getElementById('logout').submit();\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title_raw": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "img[class*=\"imdb_\"]",
                    "attribute": "class",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "imdb_(\\d+)"
                        }
                    ]
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "_staff_edit": {
                    "selector": "a[href^=\"edit.php?\"]",
                    "attribute": "href",
                    "optional": true
                },
                "date_elapsed": {
                    "selector": "{{ if .Result._staff_edit }}td:nth-child(5) > span[title]{{ else }}td:nth-child(4) > span[title]{{ end }}",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "{{ if .Result._staff_edit }}td:nth-child(5):not(:has(span)){{ else }}td:nth-child(4):not(:has(span)){{ end }}",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "{{ if .Result._staff_edit }}td:nth-child(6){{ else }}td:nth-child(5){{ end }}"
                },
                "seeders": {
                    "selector": "{{ if .Result._staff_edit }}td:nth-child(7){{ else }}td:nth-child(6){{ end }}"
                },
                "leechers": {
                    "selector": "{{ if .Result._staff_edit }}td:nth-child(8){{ else }}td:nth-child(7){{ end }}"
                },
                "grabs": {
                    "selector": "{{ if .Result._staff_edit }}td:nth-child(9){{ else }}td:nth-child(8){{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "title_alt": {
                    "selector": "table.torrentname > tbody > tr > td.embedded:first-child",
                    "remove": "a, b, div, font, img"
                },
                "title_raw_has_cjk": {
                    "text": "{{ .Result.title_raw }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([\\u4e00-\\u9fff])"
                        }
                    ]
                },
                "description": {
                    "text": "{{ if .Result.title_raw_has_cjk }}{{ .Result.title_raw }}{{ else }}{{ .Result.title_alt }}{{ end }}"
                },
                "title": {
                    "text": "{{ if .Result.title_raw_has_cjk }}{{ .Result.title_alt }}{{ else }}{{ .Result.title_raw }}{{ end }}"
                }
            }
        }
    },
    "kelu": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "kelu",
        "name": "Kelu",
        "description": "Kelu is a CHINESE Private Torrent Tracker for GAY 3X",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://our.kelu.one/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 408,
                    "cat": "XXX/Other",
                    "desc": "其他"
                },
                {
                    "id": 409,
                    "cat": "XXX/Other",
                    "desc": "动漫/二次元"
                },
                {
                    "id": 403,
                    "cat": "XXX",
                    "desc": "SM"
                },
                {
                    "id": 402,
                    "cat": "XXX",
                    "desc": "日韩"
                },
                {
                    "id": 405,
                    "cat": "XXX",
                    "desc": "欧美"
                },
                {
                    "id": 404,
                    "cat": "XXX",
                    "desc": "国产"
                },
                {
                    "id": 401,
                    "cat": "XXX/ImageSet",
                    "desc": "写真"
                },
                {
                    "id": 410,
                    "cat": "XXX",
                    "desc": "影视"
                },
                {
                    "id": 411,
                    "cat": "PC/Games",
                    "desc": "游戏"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the Kelu Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts (i.e. not logged in for a long time) are automatically deleted."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "case": {
                        "img.hitandrun": 86400,
                        "*": 0
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "kickasstorrents-to": {
        "id": "kickasstorrents-to",
        "name": "kickasstorrents.to",
        "description": "kickasstorrents.to is a Public KickAssTorrent clone for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://kickass.torrentbay.st/",
            "https://kickass.torrentsbay.org/",
            "https://kickasstorrents.unblockninja.com/",
            "https://kickasstorrents.ninjaproxy1.com/",
            "https://kickasstorrents.proxyninja.org/",
            "https://kickasstorrents.proxyninja.net/"
        ],
        "legacylinks": [
            "https://kat.root.yt/",
            "https://kickasstorrents.abcproxy.org/",
            "https://kickasstorrents.to/",
            "https://kickasstorrent.cr/",
            "https://katcr.to/",
            "https://www.kickasstorrents.do/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "3DMovies",
                    "cat": "Movies/3D",
                    "desc": "Movies 3D Movies"
                },
                {
                    "id": "Adult",
                    "cat": "XXX/WEB-DL",
                    "desc": "Adult Video"
                },
                {
                    "id": "AdultGames",
                    "cat": "XXX/Other",
                    "desc": "Adult Games"
                },
                {
                    "id": "AdultHentai",
                    "cat": "XXX/Other",
                    "desc": "Adult Hentai"
                },
                {
                    "id": "AdultMagazines",
                    "cat": "XXX/Other",
                    "desc": "Adult Magazines"
                },
                {
                    "id": "AdultPictures",
                    "cat": "XXX/ImageSet",
                    "desc": "Adult Pictures"
                },
                {
                    "id": "AdultVideo",
                    "cat": "XXX/WEB-DL",
                    "desc": "Adult Video"
                },
                {
                    "id": "Android",
                    "cat": "PC/Mobile-Android",
                    "desc": "Apps Android"
                },
                {
                    "id": "Anime",
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": "AnimeAudioLossless",
                    "cat": "Audio/Lossless",
                    "desc": "Anime Audio Lossless"
                },
                {
                    "id": "AnimeAudio[Lossless]",
                    "cat": "Audio/Lossless",
                    "desc": "Anime Audio Lossless"
                },
                {
                    "id": "AnimeAudio[Lossy]",
                    "cat": "Audio/MP3",
                    "desc": "Anime Audio Lossy"
                },
                {
                    "id": "AnimeEnglish-translated",
                    "cat": "TV/Anime",
                    "desc": "Anime English-translated"
                },
                {
                    "id": "AnimeLiveAction[English-translated]",
                    "cat": "TV/Anime",
                    "desc": "Anime Live Action English-translated"
                },
                {
                    "id": "AnimeLiveAction[Non-English]",
                    "cat": "TV/Anime",
                    "desc": "Anime Live Action Non-English"
                },
                {
                    "id": "AnimeLiveAction[Raw]",
                    "cat": "TV/Anime",
                    "desc": "Anime Live Action Raw"
                },
                {
                    "id": "AnimeManga[English-translated]",
                    "cat": "TV/Anime",
                    "desc": "Anime Manga English-translated"
                },
                {
                    "id": "AnimeManga[Raw]",
                    "cat": "TV/Anime",
                    "desc": "Anime Manga Raw"
                },
                {
                    "id": "AnimeMusicvideo",
                    "cat": "Audio/Video",
                    "desc": "Anime Music video"
                },
                {
                    "id": "AnimePictures",
                    "cat": "Other",
                    "desc": "Anime Pictures"
                },
                {
                    "id": "AnimeRaw",
                    "cat": "TV/Anime",
                    "desc": "Anime Raw"
                },
                {
                    "id": "AnimeSubs",
                    "cat": "TV/Anime",
                    "desc": "Anime Subs"
                },
                {
                    "id": "Apps",
                    "cat": "PC",
                    "desc": "Apps"
                },
                {
                    "id": "AppsAndroid",
                    "cat": "PC/Mobile-Android",
                    "desc": "Apps Android"
                },
                {
                    "id": "AppsLinux",
                    "cat": "PC",
                    "desc": "Apps Linux"
                },
                {
                    "id": "AppsMac",
                    "cat": "PC/Mac",
                    "desc": "Apps Mac"
                },
                {
                    "id": "AppsWindows",
                    "cat": "PC/0day",
                    "desc": "Apps Windows"
                },
                {
                    "id": "Audiobooks",
                    "cat": "Audio/Audiobook",
                    "desc": "Audio books"
                },
                {
                    "id": "Bollywood",
                    "cat": "Movies",
                    "desc": "Movies Bollywood"
                },
                {
                    "id": "Books",
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": "BooksAudiobooks",
                    "cat": "Audio/Audiobook",
                    "desc": "Audio books"
                },
                {
                    "id": "BooksComics",
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": "BooksEbooks",
                    "cat": "Books/EBook",
                    "desc": "Ebooks"
                },
                {
                    "id": "BooksManga[English-translated]",
                    "cat": "Books/Comics",
                    "desc": "Books Manga English-translated"
                },
                {
                    "id": "BooksManga[Raw]",
                    "cat": "Books/Comics",
                    "desc": "Books Manga Raw"
                },
                {
                    "id": "Comics",
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": "DVD",
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD"
                },
                {
                    "id": "Documentary",
                    "cat": "Movies/Other",
                    "desc": "Movies Documentary"
                },
                {
                    "id": "DubbedMovies",
                    "cat": "Movies",
                    "desc": "Movies Dubbed"
                },
                {
                    "id": "EBooks",
                    "cat": "Books/EBook",
                    "desc": "Ebooks"
                },
                {
                    "id": "English-translated",
                    "cat": "TV/Anime",
                    "desc": "Anime English-translated"
                },
                {
                    "id": "Games",
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": "GamesNDS",
                    "cat": "Console/NDS",
                    "desc": "NDS"
                },
                {
                    "id": "GamesOtherGames",
                    "cat": "PC/Games",
                    "desc": "Games Other"
                },
                {
                    "id": "GamesPCGames",
                    "cat": "PC/Games",
                    "desc": "Games PC"
                },
                {
                    "id": "GamesPS3",
                    "cat": "Console/PS3",
                    "desc": "PS3"
                },
                {
                    "id": "GamesPS4",
                    "cat": "Console/PS4",
                    "desc": "PS4"
                },
                {
                    "id": "GamesPSP",
                    "cat": "Console/PSP",
                    "desc": "PSP"
                },
                {
                    "id": "GamesWii",
                    "cat": "Console/Wii",
                    "desc": "Wii"
                },
                {
                    "id": "GamesXbox360",
                    "cat": "Console/XBox 360",
                    "desc": "Xbox360"
                },
                {
                    "id": "HighresMovies",
                    "cat": "Movies/HD",
                    "desc": "Movies Highres"
                },
                {
                    "id": "Linux",
                    "cat": "PC",
                    "desc": "Apps Linux"
                },
                {
                    "id": "Lossless",
                    "cat": "Audio/Lossless",
                    "desc": "Music Lossless"
                },
                {
                    "id": "MP3",
                    "cat": "Audio/MP3",
                    "desc": "Music MP3"
                },
                {
                    "id": "MP4",
                    "cat": "Movies/HD",
                    "desc": "Movies MP4"
                },
                {
                    "id": "Mac",
                    "cat": "PC/Mac",
                    "desc": "Apps Mac"
                },
                {
                    "id": "Movieclips",
                    "cat": "Other",
                    "desc": "Movie clips"
                },
                {
                    "id": "Movies",
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": "Movies3DMovies",
                    "cat": "Movies/3D",
                    "desc": "Movies 3D Movies"
                },
                {
                    "id": "MoviesBollywood",
                    "cat": "Movies",
                    "desc": "Movies Bollywood"
                },
                {
                    "id": "MoviesDVD",
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD"
                },
                {
                    "id": "MoviesDocumentary",
                    "cat": "Movies/Other",
                    "desc": "Movies Documentary"
                },
                {
                    "id": "MoviesDubbedMovies",
                    "cat": "Movies",
                    "desc": "Movies Dubbed"
                },
                {
                    "id": "MoviesHighresMovies",
                    "cat": "Movies/HD",
                    "desc": "Movies Highres"
                },
                {
                    "id": "MoviesMP4",
                    "cat": "Movies/HD",
                    "desc": "Movies MP4"
                },
                {
                    "id": "MoviesMusicvideos",
                    "cat": "Audio/Video",
                    "desc": "Movies Music videos"
                },
                {
                    "id": "MoviesMovieclips",
                    "cat": "Other",
                    "desc": "Movies Movie clips"
                },
                {
                    "id": "MoviesOtherMovies",
                    "cat": "Movies/Other",
                    "desc": "Movies Other"
                },
                {
                    "id": "MoviesUltraHD",
                    "cat": "Movies/UHD",
                    "desc": "Movies UltraHD"
                },
                {
                    "id": "Music",
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": "MusicLossless",
                    "cat": "Audio/Lossless",
                    "desc": "Music Lossless"
                },
                {
                    "id": "MusicMP3",
                    "cat": "Audio/MP3",
                    "desc": "Music MP3"
                },
                {
                    "id": "MusicMusicvideos",
                    "cat": "Audio/Video",
                    "desc": "Music videos"
                },
                {
                    "id": "MusicOthermusic",
                    "cat": "Audio/Other",
                    "desc": "Music Other"
                },
                {
                    "id": "Musicvideos",
                    "cat": "Audio/Video",
                    "desc": "Music videos"
                },
                {
                    "id": "NDS",
                    "cat": "Console/NDS",
                    "desc": "NDS"
                },
                {
                    "id": "Other",
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": "OtherGames",
                    "cat": "PC/Games",
                    "desc": "Games Other"
                },
                {
                    "id": "OtherMovies",
                    "cat": "Movies/Other",
                    "desc": "Movies Other"
                },
                {
                    "id": "Othermusic",
                    "cat": "Audio/Other",
                    "desc": "Music Other"
                },
                {
                    "id": "PCGames",
                    "cat": "PC/Games",
                    "desc": "Games PC"
                },
                {
                    "id": "PS3",
                    "cat": "Console/PS3",
                    "desc": "PS3"
                },
                {
                    "id": "PS4",
                    "cat": "Console/PS4",
                    "desc": "PS4"
                },
                {
                    "id": "PSP",
                    "cat": "Console/PSP",
                    "desc": "PSP"
                },
                {
                    "id": "TV",
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": "UltraHD",
                    "cat": "Movies/UHD",
                    "desc": "Movies UltraHD"
                },
                {
                    "id": "Video",
                    "cat": "XXX/WEB-DL",
                    "desc": "Adult Video"
                },
                {
                    "id": "Wii",
                    "cat": "Console/Wii",
                    "desc": "Wii"
                },
                {
                    "id": "Windows",
                    "cat": "PC/0day",
                    "desc": "Apps Windows"
                },
                {
                    "id": "XXXGames",
                    "cat": "XXX/Other",
                    "desc": "Adult Games"
                },
                {
                    "id": "XXXPictures",
                    "cat": "XXX/ImageSet",
                    "desc": "Adult Pictures"
                },
                {
                    "id": "XXXVideo",
                    "cat": "XXX/WEB-DL",
                    "desc": "Adult Video"
                },
                {
                    "id": "Xbox360",
                    "cat": "Console/XBox 360",
                    "desc": "Xbox360"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search/?q={{ .Keywords }}{{ else }}17/All/{{ end }}"
                },
                {
                    "path": "{{ if .Keywords }}search/?page=2&q={{ .Keywords }}{{ else }}17/All/?page=2{{ end }}"
                }
            ],
            "rows": {
                "selector": "table.data > tbody > tr:has(a[href^=\"magnet:?xt=\"])"
            },
            "fields": {
                "category": {
                    "selector": "span > strong",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "[>| ]+",
                                ""
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "a.cellMainLink"
                },
                "details": {
                    "selector": "a.cellMainLink",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(2)"
                },
                "date": {
                    "selector": "td.timeago",
                    "filters": [
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-child(6)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "kickasstorrents-ws": {
        "id": "kickasstorrents-ws",
        "replaces": [
            "kickasstorrent-kathow"
        ],
        "name": "kickasstorrents.ws",
        "description": "kickasstorrents.ws is a Public KickAssTorrent clone for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://kickass.ws/",
            "https://kickasstorrents.bz/",
            "https://kkickass.com/",
            "https://kkat.net/",
            "https://kick4ss.com/",
            "https://kickasst.net/",
            "https://kickasstorrents.id/",
            "https://thekat.cc/",
            "https://kattracker.com/"
        ],
        "legacylinks": [
            "https://kickass.gg/",
            "https://katcr.io/",
            "https://thekat.nz/",
            "https://thekat.se/",
            "https://kat.how/",
            "https://kat.li/",
            "https://katcr.to/",
            "https://kickasstorrent.cr/",
            "https://kickasstorrents.unblockninja.com/",
            "https://kickass-kat.com/",
            "https://kickass.sh/",
            "https://kickasshydra.dev/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "applications",
                    "cat": "PC",
                    "desc": "Apps"
                },
                {
                    "id": "books",
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": "games",
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": "movies",
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": "music",
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": "other",
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": "tv",
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": "xxx",
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time_add",
                "options": {
                    "time_add": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}usearch/{{ .Keywords }}/{{ else }}new/{{ end }}?field={{ .Config.sort }}&sorder={{ .Config.type }}"
                }
            ],
            "headers": {
                "User-Agent": [
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203"
                ]
            },
            "rows": {
                "selector": "table.data tr[id]:has(a[data-download])"
            },
            "fields": {
                "category_optional": {
                    "selector": "span[id^=\"cat_\"] > strong > a",
                    "attribute": "href",
                    "optional": true,
                    "filters": [
                        {
                            "name": "tolower"
                        },
                        {
                            "name": "trim",
                            "args": "/"
                        }
                    ]
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}other{{ end }}"
                },
                "title": {
                    "selector": "a[class=\"cellMainLink\"]"
                },
                "details": {
                    "selector": "a[class=\"cellMainLink\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td:nth-child(1) > div > a[data-download]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "url"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(2)"
                },
                "date": {
                    "selector": "td:nth-child(3)",
                    "filters": [
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "N/A",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "N/A",
                                0
                            ]
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "kinorun": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "kinorun",
        "name": "Kinorun",
        "description": "Kinorun is a RUSSIAN Semi-Private Torrent Tracker for 3X",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "windows-1251",
        "links": [
            "http://kinorun.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "All sex"
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "Anal Sex"
                },
                {
                    "id": 58,
                    "cat": "XXX",
                    "desc": "Asian"
                },
                {
                    "id": 63,
                    "cat": "XXX",
                    "desc": "BBW, FAT"
                },
                {
                    "id": 45,
                    "cat": "XXX",
                    "desc": "Bdsm"
                },
                {
                    "id": 59,
                    "cat": "XXX",
                    "desc": "Big tits"
                },
                {
                    "id": 66,
                    "cat": "XXX",
                    "desc": "Black (Ebony)"
                },
                {
                    "id": 73,
                    "cat": "XXX",
                    "desc": "Bukkake"
                },
                {
                    "id": 46,
                    "cat": "XXX",
                    "desc": "Copro, Scat"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "Documentary"
                },
                {
                    "id": 70,
                    "cat": "XXX",
                    "desc": "Fisting"
                },
                {
                    "id": 38,
                    "cat": "XXX",
                    "desc": "Gay (homosexual)"
                },
                {
                    "id": 42,
                    "cat": "XXX",
                    "desc": "Hentai, Cartoon"
                },
                {
                    "id": 43,
                    "cat": "XXX",
                    "desc": "Home sex, Amateur"
                },
                {
                    "id": 56,
                    "cat": "XXX",
                    "desc": "Incest"
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "Lesbians"
                },
                {
                    "id": 60,
                    "cat": "XXX",
                    "desc": "Mature 35"
                },
                {
                    "id": 67,
                    "cat": "XXX",
                    "desc": "Midgets"
                },
                {
                    "id": 68,
                    "cat": "XXX",
                    "desc": "Old 50"
                },
                {
                    "id": 55,
                    "cat": "XXX",
                    "desc": "Orgy, group sex"
                },
                {
                    "id": 54,
                    "cat": "XXX",
                    "desc": "Oral Sex"
                },
                {
                    "id": 77,
                    "cat": "XXX",
                    "desc": "Porno pack"
                },
                {
                    "id": 76,
                    "cat": "XXX",
                    "desc": "Porno parody"
                },
                {
                    "id": 69,
                    "cat": "XXX",
                    "desc": "Pregnant"
                },
                {
                    "id": 75,
                    "cat": "XXX",
                    "desc": "Retro porno "
                },
                {
                    "id": 52,
                    "cat": "XXX",
                    "desc": "Russian porn"
                },
                {
                    "id": 44,
                    "cat": "XXX",
                    "desc": "Shemales, Tranny"
                },
                {
                    "id": 61,
                    "cat": "XXX",
                    "desc": "Solo, Toys"
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "Special Movies"
                },
                {
                    "id": 39,
                    "cat": "XXX",
                    "desc": "Teens 18"
                },
                {
                    "id": 74,
                    "cat": "XXX",
                    "desc": "w/ Russian Subs"
                },
                {
                    "id": 79,
                    "cat": "XXX",
                    "desc": "Erotic"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "Games"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Cartoons"
                },
                {
                    "id": 24,
                    "cat": "XXX",
                    "desc": "Other"
                },
                {
                    "id": 37,
                    "cat": "XXX",
                    "desc": "Photo"
                },
                {
                    "id": 72,
                    "cat": "XXX",
                    "desc": "Horses"
                },
                {
                    "id": 71,
                    "cat": "XXX",
                    "desc": "Dogs"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "Animals"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "ip_filtering",
                "type": "info",
                "label": "IP Filtering",
                "default": "Kinorun allows only certain IP addressess. The error <b>403 Forbidden: Parse error</b> means your IP was not accepted."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "path": "takelogin1.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(div.error)"
                },
                {
                    "selector": "title:contains(\"403\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.embedded > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category_optional": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "optional": true,
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}24{{ end }}"
                },
                "title": {
                    "selector": "a[href^=\"./torrent-\"]"
                },
                "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 }}"
                },
                "description": {
                    "selector": "a[href^=\"browse.php?cat=\"] img",
                    "attribute": "alt"
                },
                "poster": {
                    "selector": "td[onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=([^\\s]+)"
                        }
                    ]
                },
                "date": {
                    "selector": "td:nth-child(2) i",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                1
                            ]
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freedownload.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "kinozal": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "kinozal",
        "name": "Kinozal",
        "description": "Kinozal is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / TV / MUSIC. This indexer uses torrents.",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "windows-1251",
        "links": [
            "https://kinozal.tv/",
            "https://kinozal.guru/"
        ],
        "legacylinks": [
            "https://kinozal-tv.appspot.com/",
            "http://kinozal.tv/",
            "https://kinozal-guru.appspot.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1001,
                    "cat": "TV",
                    "desc": "All TV Shows"
                },
                {
                    "id": 45,
                    "cat": "TV",
                    "desc": "TV Series - Russian"
                },
                {
                    "id": 46,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 1002,
                    "cat": "Movies",
                    "desc": "All Movies"
                },
                {
                    "id": 8,
                    "cat": "Movies",
                    "desc": "Movies - Comedy"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "Movies - Action / War"
                },
                {
                    "id": 15,
                    "cat": "Movies",
                    "desc": "Movies - Thriller / Detective"
                },
                {
                    "id": 17,
                    "cat": "Movies",
                    "desc": "Movies - Drama"
                },
                {
                    "id": 35,
                    "cat": "Movies",
                    "desc": "Movies - Melodrama"
                },
                {
                    "id": 39,
                    "cat": "Movies",
                    "desc": "Movies - Indian"
                },
                {
                    "id": 13,
                    "cat": "Movies",
                    "desc": "Movies - Science Fiction"
                },
                {
                    "id": 14,
                    "cat": "Movies",
                    "desc": "Movies - Fantasy"
                },
                {
                    "id": 24,
                    "cat": "Movies",
                    "desc": "Movies - Horror / Mystery"
                },
                {
                    "id": 11,
                    "cat": "Movies",
                    "desc": "Movies - Adventure"
                },
                {
                    "id": 10,
                    "cat": "Movies",
                    "desc": "Movies - Russian"
                },
                {
                    "id": 9,
                    "cat": "Movies",
                    "desc": "Movies - Historical"
                },
                {
                    "id": 47,
                    "cat": "Movies",
                    "desc": "Movies - Asian"
                },
                {
                    "id": 18,
                    "cat": "Movies",
                    "desc": "Movies - Documentaries"
                },
                {
                    "id": 37,
                    "cat": "Movies",
                    "desc": "Movies - Sport"
                },
                {
                    "id": 12,
                    "cat": "Movies",
                    "desc": "Movies - Kids / Family"
                },
                {
                    "id": 7,
                    "cat": "Movies",
                    "desc": "Movies - Classic"
                },
                {
                    "id": 48,
                    "cat": "Movies",
                    "desc": "Movies - Concerts"
                },
                {
                    "id": 49,
                    "cat": "Movies",
                    "desc": "Movies - Shows / TV Shows"
                },
                {
                    "id": 50,
                    "cat": "Movies",
                    "desc": "Movies - TV Show Mir"
                },
                {
                    "id": 38,
                    "cat": "Movies",
                    "desc": "Movies - Theatre, Opera, Ballet"
                },
                {
                    "id": 16,
                    "cat": "Movies",
                    "desc": "Movies - Erotica"
                },
                {
                    "id": 1003,
                    "cat": "TV",
                    "desc": "All Cartoons"
                },
                {
                    "id": 1003,
                    "cat": "Movies",
                    "desc": "All Cartoons"
                },
                {
                    "id": 21,
                    "cat": "TV",
                    "desc": "Cartoons"
                },
                {
                    "id": 21,
                    "cat": "Movies",
                    "desc": "Cartoons"
                },
                {
                    "id": 22,
                    "cat": "TV",
                    "desc": "Cartoons - Russian"
                },
                {
                    "id": 22,
                    "cat": "Movies",
                    "desc": "Cartoons - Russian"
                },
                {
                    "id": 20,
                    "cat": "TV/Anime",
                    "desc": "Cartoons - Anime"
                },
                {
                    "id": 20,
                    "cat": "Movies/Other",
                    "desc": "Cartoons - Anime"
                },
                {
                    "id": 1004,
                    "cat": "Audio",
                    "desc": "All Music"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "Music - Russian"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Music - Collections"
                },
                {
                    "id": 42,
                    "cat": "Audio",
                    "desc": "Music - Classical"
                },
                {
                    "id": 1006,
                    "cat": "TV/Other",
                    "desc": "Shows, Concerts, Sports"
                },
                {
                    "id": 2,
                    "cat": "Audio/Audiobook",
                    "desc": "Other - AudioBooks"
                },
                {
                    "id": 1,
                    "cat": "Audio/Video",
                    "desc": "Other - Music Video's"
                },
                {
                    "id": 23,
                    "cat": "PC/Games",
                    "desc": "Other - Games"
                },
                {
                    "id": 32,
                    "cat": "PC",
                    "desc": "Other - Programs"
                },
                {
                    "id": 40,
                    "cat": "Other",
                    "desc": "Other - Design / Graphics"
                },
                {
                    "id": 41,
                    "cat": "Books",
                    "desc": "Other - Library"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": true
            },
            {
                "name": "addrussian",
                "type": "checkbox",
                "label": "Add RUSSIAN to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 0,
                "options": {
                    "0": "created",
                    "1": "seeders",
                    "3": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 0,
                "options": [
                    "desc",
                    "asc"
                ]
            },
            {
                "name": "info_torrent",
                "type": "info",
                "label": "Torrents",
                "default": "This tracker limits the number of torrents a user can download each day without paying. This indexer uses <b>torrent files</b> with the user's passkey, so any download/upload is recorded. If you receive errors when downloading torrent files, you may have reached this limit. To bypass the limit with magnet links, use <b>Kinozal (M)</b>."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.bx1:has(div.red)",
                    "message": {
                        "selector": "div.bx1 div.red"
                    }
                }
            ],
            "test": {
                "path": "my.php",
                "selector": "a[href*=\"logout.php?hash4u=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php",
                    "followredirect": true
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[^a-zA-Zа-яА-ЯёЁ0-9]+",
                        " "
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "$1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "$1 $2"
                    ]
                }
            ],
            "inputs": {
                "c": 0,
                "s": "{{ .Keywords }}",
                "g": 0,
                "v": 0,
                "d": 0,
                "w": "{{ if .Config.freeleech }}11{{ else }}0{{ end }}",
                "t": "{{ .Config.sort }}",
                "f": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table > tbody > tr:has(td.bt)"
            },
            "fields": {
                "title": {
                    "selector": "td.nam a[href^=\"/details.php?\"]",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Кураж-Бамбей",
                                "kurazh"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Кубик в Кубе",
                                "Kubik"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Кравец",
                                "Kravec"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Пифагор",
                                "Pifagor"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Невафильм",
                                "Nevafilm"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "АП",
                                "AVO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ЛО",
                                "VO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ЛД",
                                "DVO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ЛМ",
                                "MVO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ПО",
                                "VO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ПД",
                                "DVO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ПМ",
                                "MVO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ДБ",
                                "DUB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "СТ",
                                "Sub"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\((\\d+-*\\d*)\\s+[Сс]езоны?:?\\s+(?:(\\d+-*\\d*)\\s+(?:[Сс]ери[ийя]|выпуски?(?:ов)?)(?:.*\\d+)?)?\\)(.*)\\s+((?:[12][0-9]{3}-?){1,})(.*)",
                                "$3 - S$1E$2 - $4 $5"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\((?:(\\d+-*\\d*)\\s+(?:[Сс]ери[ийя]|выпуски?(?:ов)?)(?:.*\\d+)?)?\\)(.*)\\s+((?:[12][0-9]{3}-?){1,})(.*)",
                                "$2 - E$1 - $3 $4"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ ((?:[12][0-9]{3}-?){1,}))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$0{{ end }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " / ",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^-\\s+",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\((\\d+[pi])\\)",
                                "$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(.*)(Blu-Ray\\s*(?:Disc|EUR|CEE)?)\\s*(\\d+[pi])",
                                "$1 BR-DISK $3"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussian }} - RUSSIAN{{ else }}{{ end }}"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "-Rip",
                                "Rip"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "WEB-DL",
                                "WEBDL"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "WEBDLRip",
                                "WEBDL"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "HDTVRip",
                                "HDTV"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "td.nam a[href^=\"/details.php?\"]",
                    "attribute": "href"
                },
                "category": {
                    "selector": "td.bt img",
                    "attribute": "onclick",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "[^\\d+]",
                                ""
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "td.nam a[href^=\"/details.php?\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details",
                                "download"
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "ТБ",
                                "TB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ГБ",
                                "GB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "МБ",
                                "MB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "КБ",
                                "KB"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-child(6)"
                },
                "date_day": {
                    "selector": "td:nth-child(7):not(:contains(\".\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " в",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "сейчас",
                                "now"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "сегодня",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "вчера",
                                "Yesterday"
                            ]
                        }
                    ]
                },
                "date_year": {
                    "selector": "td:nth-child(7):contains(\".\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " в",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "a.r1": 0,
                        "a.r2": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "kinozal-magnet": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "kinozal-magnet",
        "name": "Kinozal (M)",
        "description": "Kinozal is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / TV / MUSIC. This indexer uses magnet links.",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "windows-1251",
        "links": [
            "https://kinozal.tv/",
            "https://kinozal.guru/"
        ],
        "legacylinks": [
            "https://kinozal-tv.appspot.com/",
            "http://kinozal.tv/",
            "https://kinozal-guru.appspot.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1001,
                    "cat": "TV",
                    "desc": "All TV Shows"
                },
                {
                    "id": 45,
                    "cat": "TV",
                    "desc": "TV Series - Russian"
                },
                {
                    "id": 46,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 1002,
                    "cat": "Movies",
                    "desc": "All Movies"
                },
                {
                    "id": 8,
                    "cat": "Movies",
                    "desc": "Movies - Comedy"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "Movies - Action / War"
                },
                {
                    "id": 15,
                    "cat": "Movies",
                    "desc": "Movies - Thriller / Detective"
                },
                {
                    "id": 17,
                    "cat": "Movies",
                    "desc": "Movies - Drama"
                },
                {
                    "id": 35,
                    "cat": "Movies",
                    "desc": "Movies - Melodrama"
                },
                {
                    "id": 39,
                    "cat": "Movies",
                    "desc": "Movies - Indian"
                },
                {
                    "id": 13,
                    "cat": "Movies",
                    "desc": "Movies - Science Fiction"
                },
                {
                    "id": 14,
                    "cat": "Movies",
                    "desc": "Movies - Fantasy"
                },
                {
                    "id": 24,
                    "cat": "Movies",
                    "desc": "Movies - Horror / Mystery"
                },
                {
                    "id": 11,
                    "cat": "Movies",
                    "desc": "Movies - Adventure"
                },
                {
                    "id": 10,
                    "cat": "Movies",
                    "desc": "Movies - Russian"
                },
                {
                    "id": 9,
                    "cat": "Movies",
                    "desc": "Movies - Historical"
                },
                {
                    "id": 47,
                    "cat": "Movies",
                    "desc": "Movies - Asian"
                },
                {
                    "id": 18,
                    "cat": "Movies",
                    "desc": "Movies - Documentaries"
                },
                {
                    "id": 37,
                    "cat": "Movies",
                    "desc": "Movies - Sport"
                },
                {
                    "id": 12,
                    "cat": "Movies",
                    "desc": "Movies - Kids / Family"
                },
                {
                    "id": 7,
                    "cat": "Movies",
                    "desc": "Movies - Classic"
                },
                {
                    "id": 48,
                    "cat": "Movies",
                    "desc": "Movies - Concerts"
                },
                {
                    "id": 49,
                    "cat": "Movies",
                    "desc": "Movies - Shows / TV Shows"
                },
                {
                    "id": 50,
                    "cat": "Movies",
                    "desc": "Movies - TV Show Mir"
                },
                {
                    "id": 38,
                    "cat": "Movies",
                    "desc": "Movies - Theatre, Opera, Ballet"
                },
                {
                    "id": 16,
                    "cat": "Movies",
                    "desc": "Movies - Erotica"
                },
                {
                    "id": 1003,
                    "cat": "TV",
                    "desc": "All Cartoons"
                },
                {
                    "id": 1003,
                    "cat": "Movies",
                    "desc": "All Cartoons"
                },
                {
                    "id": 21,
                    "cat": "TV",
                    "desc": "Cartoons"
                },
                {
                    "id": 21,
                    "cat": "Movies",
                    "desc": "Cartoons"
                },
                {
                    "id": 22,
                    "cat": "TV",
                    "desc": "Cartoons - Russian"
                },
                {
                    "id": 22,
                    "cat": "Movies",
                    "desc": "Cartoons - Russian"
                },
                {
                    "id": 20,
                    "cat": "TV/Anime",
                    "desc": "Cartoons - Anime"
                },
                {
                    "id": 20,
                    "cat": "Movies/Other",
                    "desc": "Cartoons - Anime"
                },
                {
                    "id": 1004,
                    "cat": "Audio",
                    "desc": "All Music"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "Music - Russian"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Music - Collections"
                },
                {
                    "id": 42,
                    "cat": "Audio",
                    "desc": "Music - Classical"
                },
                {
                    "id": 1006,
                    "cat": "TV/Other",
                    "desc": "Shows, Concerts, Sports"
                },
                {
                    "id": 2,
                    "cat": "Audio/Audiobook",
                    "desc": "Other - AudioBooks"
                },
                {
                    "id": 1,
                    "cat": "Audio/Video",
                    "desc": "Other - Music Video's"
                },
                {
                    "id": 23,
                    "cat": "PC/Games",
                    "desc": "Other - Games"
                },
                {
                    "id": 32,
                    "cat": "PC",
                    "desc": "Other - Programs"
                },
                {
                    "id": 40,
                    "cat": "Other",
                    "desc": "Other - Design / Graphics"
                },
                {
                    "id": 41,
                    "cat": "Books",
                    "desc": "Other - Library"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": true
            },
            {
                "name": "addrussian",
                "type": "checkbox",
                "label": "Add RUSSIAN to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 0,
                "options": {
                    "0": "created",
                    "1": "seeders",
                    "3": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 0,
                "options": [
                    "desc",
                    "asc"
                ]
            },
            {
                "name": "info_magnets",
                "type": "info",
                "label": "Magnets",
                "default": "This tracker limits the number of torrents a user can download each day without paying. This indexer uses <b>magnet links</b> to bypass that limit, however this doesn't include the passkey, so any download/upload is not recorded. To download with torrents, use <b>Kinozal</b>."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.bx1:has(div.red)",
                    "message": {
                        "selector": "div.bx1 div.red"
                    }
                }
            ],
            "test": {
                "path": "my.php",
                "selector": "a[href*=\"logout.php?hash4u=\"]"
            }
        },
        "download": {
            "before": {
                "path": "get_srv_details.php",
                "inputs": {
                    "action": 2,
                    "id": "{{ .DownloadUri.Query.id }}"
                }
            },
            "infohash": {
                "usebeforeresponse": true,
                "hash": {
                    "selector": "li:first-child",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "title": {
                    "selector": "div.b",
                    "filters": [
                        {
                            "name": "trim"
                        },
                        {
                            "name": "validfilename"
                        }
                    ]
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php",
                    "followredirect": true
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[^a-zA-Zа-яА-ЯёЁ0-9]+",
                        " "
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "$1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "$1 $2"
                    ]
                }
            ],
            "inputs": {
                "c": 0,
                "s": "{{ .Keywords }}",
                "g": 0,
                "v": 0,
                "d": 0,
                "w": "{{ if .Config.freeleech }}11{{ else }}0{{ end }}",
                "t": "{{ .Config.sort }}",
                "f": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table > tbody > tr:has(td.bt)"
            },
            "fields": {
                "title": {
                    "selector": "td.nam a[href^=\"/details.php?\"]",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Кураж-Бамбей",
                                "kurazh"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Кубик в Кубе",
                                "Kubik"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Кравец",
                                "Kravec"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Пифагор",
                                "Pifagor"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Невафильм",
                                "Nevafilm"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "АП",
                                "AVO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ЛО",
                                "VO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ЛД",
                                "DVO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ЛМ",
                                "MVO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ПО",
                                "VO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ПД",
                                "DVO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ПМ",
                                "MVO"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ДБ",
                                "DUB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "СТ",
                                "Sub"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\((\\d+-*\\d*)\\s+[Сс]езоны?:?\\s+(?:(\\d+-*\\d*)\\s+(?:[Сс]ери[ийя]|выпуски?(?:ов)?)(?:.*\\d+)?)?\\)(.*)\\s+((?:[12][0-9]{3}-?){1,})(.*)",
                                "$3 - S$1E$2 - $4 $5"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\((?:(\\d+-*\\d*)\\s+(?:[Сс]ери[ийя]|выпуски?(?:ов)?)(?:.*\\d+)?)?\\)(.*)\\s+((?:[12][0-9]{3}-?){1,})(.*)",
                                "$2 - E$1 - $3 $4"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ ((?:[12][0-9]{3}-?){1,}))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$0{{ end }}"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " / ",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^-\\s+",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\((\\d+[pi])\\)",
                                "$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(.*)(Blu-Ray\\s*(?:Disc|EUR|CEE)?)\\s*(\\d+[pi])",
                                "$1 BR-DISK $3"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussian }} - RUSSIAN{{ else }}{{ end }}"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "-Rip",
                                "Rip"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "WEB-DL",
                                "WEBDL"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "WEBDLRip",
                                "WEBDL"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "HDTVRip",
                                "HDTV"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "td.nam a[href^=\"/details.php?\"]",
                    "attribute": "href"
                },
                "category": {
                    "selector": "td.bt img",
                    "attribute": "onclick",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "[^\\d+]",
                                ""
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "td.nam a[href^=\"/details.php?\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details",
                                "download"
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "ТБ",
                                "TB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ГБ",
                                "GB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "МБ",
                                "MB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "КБ",
                                "KB"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-child(6)"
                },
                "date_day": {
                    "selector": "td:nth-child(7):not(:contains(\".\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " в",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "сейчас",
                                "now"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "сегодня",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "вчера",
                                "Yesterday"
                            ]
                        }
                    ]
                },
                "date_year": {
                    "selector": "td:nth-child(7):contains(\".\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " в",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "a.r1": 0,
                        "a.r2": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "korsar": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "korsar",
        "name": "Korsar",
        "description": "Korsar is a RUSSIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ru-RU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "http://filbi1976.org/"
        ],
        "legacylinks": [
            "https://korsar.tv/",
            "http://korsar.info/",
            "https://korsar.info/",
            "http://korsar.tv/",
            "http://korsar.rest/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Все Кинофильмы"
                },
                {
                    "id": 153,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Кино времён СССР"
                },
                {
                    "id": 656,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Детские фильмы времён СССР"
                },
                {
                    "id": 186,
                    "cat": "Movies/HD",
                    "desc": "Кинофильмы - Кино времён СССР (HD Video)"
                },
                {
                    "id": 657,
                    "cat": "Movies/HD",
                    "desc": "Кинофильмы - Детские фильмы времён СССР (HD Video)"
                },
                {
                    "id": 49,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Наше современное кино"
                },
                {
                    "id": 203,
                    "cat": "Movies/HD",
                    "desc": "Кинофильмы - Наше современное кино (HD Video)"
                },
                {
                    "id": 268,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Зарубежное кино"
                },
                {
                    "id": 654,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Классика зарубежного кино (фильмы до 1980 года)"
                },
                {
                    "id": 658,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Зарубежное кино (1981-1990)"
                },
                {
                    "id": 659,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Зарубежное кино (1991-2000)"
                },
                {
                    "id": 660,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Зарубежное кино (2001-2010)"
                },
                {
                    "id": 661,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Зарубежное кино (2011-2023)"
                },
                {
                    "id": 944,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Зарубежное кино (2024-2030)"
                },
                {
                    "id": 676,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Зарубежное кино (Сборники фильмов)"
                },
                {
                    "id": 913,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Зарубежное кино (КПК Video)"
                },
                {
                    "id": 205,
                    "cat": "Movies/HD",
                    "desc": "Кинофильмы - Зарубежное кино (HD Video)"
                },
                {
                    "id": 655,
                    "cat": "Movies/HD",
                    "desc": "Кинофильмы - Классика зарубежного кино (фильмы до 1980 года / HD Video)"
                },
                {
                    "id": 662,
                    "cat": "Movies/HD",
                    "desc": "Кинофильмы - Зарубежное кино (1981-1990 / HD Video)"
                },
                {
                    "id": 663,
                    "cat": "Movies/HD",
                    "desc": "Кинофильмы - Зарубежное кино (1991-2000 / HD Video)"
                },
                {
                    "id": 664,
                    "cat": "Movies/HD",
                    "desc": "Кинофильмы - Зарубежное кино (2001-2010 / HD Video)"
                },
                {
                    "id": 665,
                    "cat": "Movies/HD",
                    "desc": "Кинофильмы - Зарубежное кино (2011-2023 / HD Video)"
                },
                {
                    "id": 943,
                    "cat": "Movies/3D",
                    "desc": "Кинофильмы - Зарубежное кино (2024-2030 / HD Video)"
                },
                {
                    "id": 666,
                    "cat": "Movies/HD",
                    "desc": "Кинофильмы - Зарубежное кино (Сборники фильмов / HD Video)"
                },
                {
                    "id": 922,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Фильмы Ближнего Зарубежья"
                },
                {
                    "id": 923,
                    "cat": "Movies/HD",
                    "desc": "Кинофильмы - Фильмы Ближнего Зарубежья (HD Video)"
                },
                {
                    "id": 838,
                    "cat": "Movies/UHD",
                    "desc": "Кинофильмы - Фильмы 4К (UHD 4K)"
                },
                {
                    "id": 848,
                    "cat": "Movies",
                    "desc": "Кинофильмы - Фильмы HEVC (HEVC Video)"
                },
                {
                    "id": 837,
                    "cat": "Movies/3D",
                    "desc": "Кинофильмы - Фильмы 3D (3D Video)"
                },
                {
                    "id": 33,
                    "cat": "TV",
                    "desc": "Все Сериалы"
                },
                {
                    "id": 35,
                    "cat": "TV",
                    "desc": "Сериалы - Отечественные сериалы"
                },
                {
                    "id": 266,
                    "cat": "TV/HD",
                    "desc": "Сериалы - Отечественные сериалы (HD Video)"
                },
                {
                    "id": 34,
                    "cat": "TV",
                    "desc": "Сериалы - Зарубежные сериалы"
                },
                {
                    "id": 267,
                    "cat": "TV/HD",
                    "desc": "Сериалы - Зарубежные сериалы (HD Video)"
                },
                {
                    "id": 916,
                    "cat": "TV",
                    "desc": "Сериалы - ближнего зарубежья"
                },
                {
                    "id": 917,
                    "cat": "TV/HD",
                    "desc": "Сериалы ближнего зарубежья (HD Video)"
                },
                {
                    "id": 800,
                    "cat": "TV",
                    "desc": "Сериалы - Зарубежные сериалы (Сборники сезонов)"
                },
                {
                    "id": 801,
                    "cat": "TV/HD",
                    "desc": "Сериалы - Зарубежные сериалы (Сборники сезонов / HD Video)"
                },
                {
                    "id": 906,
                    "cat": "TV/UHD",
                    "desc": "Сериалы - Зарубежные сериалы (4K)"
                },
                {
                    "id": 910,
                    "cat": "TV",
                    "desc": "Сериалы - Зарубежные сериалы (HEVC Video)"
                },
                {
                    "id": 46,
                    "cat": "TV/Documentary",
                    "desc": "Все Документалистика"
                },
                {
                    "id": 77,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Документальные фильмы и телепередачи"
                },
                {
                    "id": 84,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Биографии. Личности и кумиры"
                },
                {
                    "id": 92,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Космос"
                },
                {
                    "id": 86,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Флора и фауна"
                },
                {
                    "id": 85,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Научно-популярные фильмы"
                },
                {
                    "id": 148,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Познавательные фильмы"
                },
                {
                    "id": 187,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Путешествия и туризм"
                },
                {
                    "id": 88,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - BBC, Discovery, National Geographic"
                },
                {
                    "id": 692,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Военное дело"
                },
                {
                    "id": 91,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - История: Древний мир / Античность / Средневековье"
                },
                {
                    "id": 693,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - КВН, Ток-Шоу, ТВ-Шоу"
                },
                {
                    "id": 694,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Интеллектуальные игры и викторины"
                },
                {
                    "id": 696,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Сатирики, юмористы, приколы и юмор"
                },
                {
                    "id": 700,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Естествознание, наука и техника"
                },
                {
                    "id": 698,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Аудио и видео ролики (Приколы и юмор)"
                },
                {
                    "id": 47,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Документальные фильмы и телепередачи (HD Video)"
                },
                {
                    "id": 283,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Биографии. Личности и кумиры (HD Video)"
                },
                {
                    "id": 290,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Военное дело (HD Video)"
                },
                {
                    "id": 291,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Естествознание, наука и техника (HD Video)"
                },
                {
                    "id": 288,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Путешествия и туризм (HD Video)"
                },
                {
                    "id": 285,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Флора и фауна (HD Video)"
                },
                {
                    "id": 284,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Космос (HD Video)"
                },
                {
                    "id": 573,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Познавательные фильмы (HD Video)"
                },
                {
                    "id": 286,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Научно-популярные фильмы (HD Video)"
                },
                {
                    "id": 289,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - BBC, Discovery, National Geographic (HD Video)"
                },
                {
                    "id": 690,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - КВН, ТВ-Шоу, Ток-Шоу (HD Video)"
                },
                {
                    "id": 695,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Интеллектуальные игры и викторины (HD Video)"
                },
                {
                    "id": 697,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Сатирики, юмористы, приколы и юмор (HD Video)"
                },
                {
                    "id": 701,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - История: Древний мир / Античность / Средневековье (HD Video)"
                },
                {
                    "id": 699,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Аудио и видео ролики (Приколы и юмор / HD Video)"
                },
                {
                    "id": 689,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Документальные (3D Video)"
                },
                {
                    "id": 893,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Документальные (4К)"
                },
                {
                    "id": 79,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Вера и религия"
                },
                {
                    "id": 98,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Христианство"
                },
                {
                    "id": 99,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Ислам"
                },
                {
                    "id": 100,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика - Религии Индии, Тибета и Восточной Азии"
                },
                {
                    "id": 73,
                    "cat": "TV/Anime",
                    "desc": "Все Мультипликация"
                },
                {
                    "id": 74,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Мультфильмы"
                },
                {
                    "id": 292,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Зарубежные мультфильмы (HD Video)"
                },
                {
                    "id": 874,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Отечественные мультфильмы (HD Video)"
                },
                {
                    "id": 299,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Зарубежные мультфильмы"
                },
                {
                    "id": 297,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Отечественные мультфильмы"
                },
                {
                    "id": 301,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Сборники зарубежных мультфильмов (HD Video)"
                },
                {
                    "id": 876,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Сборники зарубежных мультфильмов"
                },
                {
                    "id": 877,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Сборники отечественных мультфильмов (HD Video)"
                },
                {
                    "id": 875,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Сборники отечественных мультфильмов<"
                },
                {
                    "id": 294,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Отечественные (DVD)"
                },
                {
                    "id": 295,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Иностранные (DVD)"
                },
                {
                    "id": 688,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Мультфильмы (3D Video)"
                },
                {
                    "id": 807,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Мультфильмы (60 FPS)"
                },
                {
                    "id": 841,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Мультфильмы (UHD 4K)"
                },
                {
                    "id": 867,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Мультфильмы (HEVC Video)"
                },
                {
                    "id": 75,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Мультсериалы"
                },
                {
                    "id": 872,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Зарубежные мультсериалы (HD Video)"
                },
                {
                    "id": 878,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Зарубежные мультсериалы"
                },
                {
                    "id": 879,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Отечественные мультсериалы (HD Video)"
                },
                {
                    "id": 880,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Отечественные мультсериалы"
                },
                {
                    "id": 76,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Аниме"
                },
                {
                    "id": 302,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Аниме"
                },
                {
                    "id": 303,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Аниме (DVD)"
                },
                {
                    "id": 304,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация - Аниме (HD Video)"
                },
                {
                    "id": 108,
                    "cat": "TV",
                    "desc": "Все Театр"
                },
                {
                    "id": 109,
                    "cat": "TV",
                    "desc": "Бенефис. Мастера искусств отечественного Театра и Кино"
                },
                {
                    "id": 130,
                    "cat": "TV",
                    "desc": "Театр - Фильмы-спектакли, театральные постановки"
                },
                {
                    "id": 319,
                    "cat": "TV/Sport",
                    "desc": "Все Спорт"
                },
                {
                    "id": 320,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Спортивные турниры, фильмы и передачи"
                },
                {
                    "id": 321,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Автоспорт"
                },
                {
                    "id": 322,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Мотоспорт"
                },
                {
                    "id": 323,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Формула 1 "
                },
                {
                    "id": 324,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Велоспорт"
                },
                {
                    "id": 325,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Волейбол/Гандбол"
                },
                {
                    "id": 326,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Бокс"
                },
                {
                    "id": 327,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Единоборства"
                },
                {
                    "id": 328,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Американский футбол"
                },
                {
                    "id": 329,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Регби"
                },
                {
                    "id": 330,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Бейсбол"
                },
                {
                    "id": 331,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Теннис"
                },
                {
                    "id": 332,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Биатлон"
                },
                {
                    "id": 333,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Фигурное катание"
                },
                {
                    "id": 334,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Экстрим"
                },
                {
                    "id": 335,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Спорт (видео)"
                },
                {
                    "id": 338,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Футбол"
                },
                {
                    "id": 680,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Чемпионаты футбольных держав (Англия, Германия, Испания, Италия, Франция)"
                },
                {
                    "id": 681,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Еврокубки"
                },
                {
                    "id": 682,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Чемпионаты Европы"
                },
                {
                    "id": 683,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Чемпионаты мира"
                },
                {
                    "id": 684,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Международные турниры"
                },
                {
                    "id": 685,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Обзорные и аналитические передачи"
                },
                {
                    "id": 686,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Россия"
                },
                {
                    "id": 339,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Баскетбол"
                },
                {
                    "id": 340,
                    "cat": "TV/Sport",
                    "desc": "Спорт - Хоккей"
                },
                {
                    "id": 32,
                    "cat": "Audio",
                    "desc": "Все Музыка"
                },
                {
                    "id": 134,
                    "cat": "Audio/Video",
                    "desc": "Музыка - Музыка (SD Video)"
                },
                {
                    "id": 544,
                    "cat": "Audio/Video",
                    "desc": "Музыка - Концерты"
                },
                {
                    "id": 545,
                    "cat": "Audio/Video",
                    "desc": "Музыка - Видеоклипы"
                },
                {
                    "id": 36,
                    "cat": "Audio/Video",
                    "desc": "Музыка - Музыка (HD Video)"
                },
                {
                    "id": 542,
                    "cat": "Audio/Video",
                    "desc": "Музыка - Концерты (HD Video)"
                },
                {
                    "id": 543,
                    "cat": "Audio/Video",
                    "desc": "Музыка - Видеоклипы (HD Video)"
                },
                {
                    "id": 483,
                    "cat": "Audio",
                    "desc": "Музыка - Популярная музыка"
                },
                {
                    "id": 490,
                    "cat": "Audio",
                    "desc": "Музыка - Зарубежная поп-музыка (Lossless)"
                },
                {
                    "id": 546,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Зарубежная поп-музыка (Lossy)"
                },
                {
                    "id": 620,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Eurodance, Euro-House, Technopop, Disco, Italo-Disco (Lossless)"
                },
                {
                    "id": 621,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Eurodance, Euro-House, Technopop, Disco, Italo-Disco (Lossy)"
                },
                {
                    "id": 484,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Отечественная поп-музыка (Lossless)"
                },
                {
                    "id": 547,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Отечественная поп-музыка (Lossy)"
                },
                {
                    "id": 523,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Зарубежные сборники (Lossless)"
                },
                {
                    "id": 548,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Зарубежные сборники (Lossy)"
                },
                {
                    "id": 522,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Отечественные сборники (Lossless)"
                },
                {
                    "id": 498,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Отечественные сборники (Lossy)"
                },
                {
                    "id": 788,
                    "cat": "Audio",
                    "desc": "Музыка - Популярная музыка"
                },
                {
                    "id": 787,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Сборники 50х50 (Lossy)"
                },
                {
                    "id": 505,
                    "cat": "Audio",
                    "desc": "Музыка - Рок-музыка"
                },
                {
                    "id": 506,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Зарубежный Rock (Lossless)"
                },
                {
                    "id": 537,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Зарубежный Rock (Lossy)"
                },
                {
                    "id": 507,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Зарубежный Metal (Lossless)"
                },
                {
                    "id": 538,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Зарубежный Metal (Lossy)"
                },
                {
                    "id": 588,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Зарубежные Alternative, Punk, Independent (Lossless)"
                },
                {
                    "id": 589,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Зарубежные Alternative, Punk, Independent (Lossy)"
                },
                {
                    "id": 539,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Отечественный Рок (Lossy)"
                },
                {
                    "id": 541,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Сборники (Lossy)"
                },
                {
                    "id": 524,
                    "cat": "Audio",
                    "desc": "Музыка - Блюзовая и Джазовая музыка"
                },
                {
                    "id": 527,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Зарубежный блюз (Lossless)"
                },
                {
                    "id": 528,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Зарубежный блюз (Lossy)"
                },
                {
                    "id": 642,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Зарубежный джаз (Lossless)"
                },
                {
                    "id": 643,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Зарубежный джаз (Lossy)"
                },
                {
                    "id": 529,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Сборники (Lossless)"
                },
                {
                    "id": 530,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Сборники (Lossy)"
                },
                {
                    "id": 531,
                    "cat": "Audio",
                    "desc": "Музыка - New Country"
                },
                {
                    "id": 532,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Зарубежное New Country (Lossless)"
                },
                {
                    "id": 533,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Зарубежное New Country (Lossy)"
                },
                {
                    "id": 534,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Сборники (Lossless)"
                },
                {
                    "id": 535,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Сборники (Lossy)"
                },
                {
                    "id": 551,
                    "cat": "Audio",
                    "desc": "Музыка - Электронная музыка"
                },
                {
                    "id": 552,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Chillout, Lounge, Downtempo, Trip-Hop (Lossless) "
                },
                {
                    "id": 553,
                    "cat": "Audio/MP3",
                    "desc": "Музыка -  Chillout, Lounge, Downtempo, Trip-Hop (Lossy)"
                },
                {
                    "id": 624,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка -  Drum & ass, Jungle, Breakbeat, Dubstep, IDM, Trap (Lossless)"
                },
                {
                    "id": 623,
                    "cat": "Audio/MP3",
                    "desc": "Музыка -  Drum & ass, Jungle, Breakbeat, Dubstep, IDM, Trap (Lossy)"
                },
                {
                    "id": 785,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка -  Trance, Goa Trance, Psy-Trance, PsyChill, Ambient, Full On, Dub (Lossless)"
                },
                {
                    "id": 786,
                    "cat": "Audio/MP3",
                    "desc": "Музыка -  Trance, Goa Trance, Psy-Trance, PsyChill, Ambient, Full On, Dub (Lossy)"
                },
                {
                    "id": 571,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка -  Progressive Trance, Progressive House, Tech-House, Deep-House, Electro, Electro-House, House (Lossless)"
                },
                {
                    "id": 572,
                    "cat": "Audio/MP3",
                    "desc": "Музыка -  Progressive Trance, Progressive House, Tech-House, Deep-House, Electro, Electro-House, House (Lossy)"
                },
                {
                    "id": 843,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка -  Dj-миксы и радиошоу,  Dance, Club, Hands Up (Lossless)"
                },
                {
                    "id": 844,
                    "cat": "Audio/MP3",
                    "desc": "Музыка -  Dj-миксы и радиошоу, Dance, Club, Hands Up (Lossy)"
                },
                {
                    "id": 846,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка -  Darkwave, Dark Electro, Aggrotech, Industrial (Lossless)"
                },
                {
                    "id": 845,
                    "cat": "Audio/MP3",
                    "desc": "Музыка -  Darkwave, Dark Electro, Aggrotech, Industrial (Lossy)"
                },
                {
                    "id": 644,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка -  Сборники (Lossless)"
                },
                {
                    "id": 645,
                    "cat": "Audio/MP3",
                    "desc": "Музыка -  Сборники (Lossy)"
                },
                {
                    "id": 771,
                    "cat": "Audio",
                    "desc": "Музыка - Psychedelic Trance"
                },
                {
                    "id": 772,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Psychedelic Trance (Lossless)"
                },
                {
                    "id": 773,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Psychedelic Trance (Lossy)"
                },
                {
                    "id": 344,
                    "cat": "Audio",
                    "desc": "Музыка - Рэп, Хип-Хоп, R'n'B"
                },
                {
                    "id": 556,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Зарубежный (Lossless)"
                },
                {
                    "id": 348,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Зарубежный (Lossy)"
                },
                {
                    "id": 557,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Отечественный (Lossless)"
                },
                {
                    "id": 345,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Отечественный (Lossy)"
                },
                {
                    "id": 633,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Сборники (Lossless)"
                },
                {
                    "id": 634,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Сборники (Lossy)"
                },
                {
                    "id": 622,
                    "cat": "Audio",
                    "desc": "Музыка - Reggae, Ska, Dub"
                },
                {
                    "id": 629,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Зарубежный (Lossless)"
                },
                {
                    "id": 630,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Зарубежный (Lossy)"
                },
                {
                    "id": 635,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Отечественный (Lossless)"
                },
                {
                    "id": 636,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Отечественный (Lossy)"
                },
                {
                    "id": 631,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Сборники (Lossless)"
                },
                {
                    "id": 632,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Сборники (Lossy)"
                },
                {
                    "id": 387,
                    "cat": "Audio",
                    "desc": "Музыка - Музыка других жанров"
                },
                {
                    "id": 560,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Зарубежная музыка других жанров (Lossless)"
                },
                {
                    "id": 561,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Зарубежная музыка других жанров (Lossy)"
                },
                {
                    "id": 570,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Сборники смешанных жанров (lossless)"
                },
                {
                    "id": 569,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Сборники смешанных жанров (lossy)"
                },
                {
                    "id": 889,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Сборники песен для детей (Lossless)"
                },
                {
                    "id": 562,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Сборники песен для детей (Lossy)"
                },
                {
                    "id": 362,
                    "cat": "Audio",
                    "desc": "Музыка - Саундтреки"
                },
                {
                    "id": 555,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Саундтреки к зарубежным фильмам (Lossless)"
                },
                {
                    "id": 368,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Саундтреки к зарубежным фильмам (Lossy)"
                },
                {
                    "id": 554,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Саундтреки к отечественным фильмам (Lossless)"
                },
                {
                    "id": 366,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Саундтреки к отечественным фильмам (Lossy)"
                },
                {
                    "id": 376,
                    "cat": "Audio",
                    "desc": "Музыка - Шансон, Авторская и Военная песня"
                },
                {
                    "id": 558,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Отечественный шансон (Lossless)"
                },
                {
                    "id": 378,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Отечественный шансон (Lossy)"
                },
                {
                    "id": 379,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Сборники отечественного шансона (Lossless)"
                },
                {
                    "id": 559,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Сборники отечественного шансона (Lossy)"
                },
                {
                    "id": 564,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Военная песня (Lossless)"
                },
                {
                    "id": 380,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Военная песня (Lossy)"
                },
                {
                    "id": 565,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Авторская песня (Lossless)"
                },
                {
                    "id": 383,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Авторская песня (Lossy)"
                },
                {
                    "id": 779,
                    "cat": "Audio",
                    "desc": "Музыка - New Age, Relax, Meditative & Flamenсо"
                },
                {
                    "id": 780,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Фламенко и акустическая гитара (lossless)"
                },
                {
                    "id": 781,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Фламенко и акустическая гитара (lossy)"
                },
                {
                    "id": 341,
                    "cat": "Audio",
                    "desc": "Музыка - Классическая и современная академическая музыка"
                },
                {
                    "id": 549,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка - Классическая и современная академическая музыка  (lossless)"
                },
                {
                    "id": 550,
                    "cat": "Audio/MP3",
                    "desc": "Музыка - Классическая и современная академическая музыка (lossy)"
                },
                {
                    "id": 536,
                    "cat": "Audio",
                    "desc": "Музыка - Многоканальная музыка, Hi-Res форматы, оцифровки"
                },
                {
                    "id": 653,
                    "cat": "Audio",
                    "desc": "Музыка - Музыка (HD Audio)"
                },
                {
                    "id": 45,
                    "cat": "Audio/Audiobook",
                    "desc": "Все Аудиокниги"
                },
                {
                    "id": 141,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Радиоспектакли, история, мемуары"
                },
                {
                    "id": 389,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Радиоспектакли и литературные чтения"
                },
                {
                    "id": 388,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Жизнь замечательных людей"
                },
                {
                    "id": 390,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Историческая книга"
                },
                {
                    "id": 48,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Фантастика, фэнтези, мистика, ужасы, фанфики"
                },
                {
                    "id": 391,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Зарубежная фантастика, фэнтези, мистика, ужасы, фанфики"
                },
                {
                    "id": 392,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Российская фантастика, фэнтези, мистика, ужасы, фанфики"
                },
                {
                    "id": 126,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Художественная литература"
                },
                {
                    "id": 394,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Поэзия"
                },
                {
                    "id": 395,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Зарубежная литература"
                },
                {
                    "id": 396,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Русская литература"
                },
                {
                    "id": 397,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Детская литература"
                },
                {
                    "id": 398,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Детективы, приключения, триллеры, боевики"
                },
                {
                    "id": 399,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Религии"
                },
                {
                    "id": 400,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Православие"
                },
                {
                    "id": 401,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Ислам"
                },
                {
                    "id": 402,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Другие традиционные религии"
                },
                {
                    "id": 404,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Прочая литература"
                },
                {
                    "id": 405,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Учебная и научно-популярная литература"
                },
                {
                    "id": 406,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Аудиокниги в lossless-форматах"
                },
                {
                    "id": 407,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Бизнес"
                },
                {
                    "id": 408,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги - Разное"
                },
                {
                    "id": 37,
                    "cat": "Books",
                    "desc": "Все Книги и журналы"
                },
                {
                    "id": 471,
                    "cat": "Books",
                    "desc": "Книги и журналы - Книги"
                },
                {
                    "id": 472,
                    "cat": "Books",
                    "desc": "Книги и журналы - Кино, театр, ТВ, мультипликация"
                },
                {
                    "id": 473,
                    "cat": "Books",
                    "desc": "Книги и журналы - Рисунок, графический дизайн"
                },
                {
                    "id": 474,
                    "cat": "Books",
                    "desc": "Книги и журналы - Фото и видеосъемка"
                },
                {
                    "id": 475,
                    "cat": "Books",
                    "desc": "Книги и журналы - Журналы и газеты (общий раздел)"
                },
                {
                    "id": 479,
                    "cat": "Books",
                    "desc": "Книги и журналы - Мода. Стиль. Этикет"
                },
                {
                    "id": 678,
                    "cat": "Books",
                    "desc": "Книги и журналы - Православие"
                },
                {
                    "id": 420,
                    "cat": "Books",
                    "desc": "Книги и журналы - Для детей, родителей и учителей"
                },
                {
                    "id": 421,
                    "cat": "Books",
                    "desc": "Книги и журналы - Учебная литература для детского сада и начальной школы (до 4 класса)"
                },
                {
                    "id": 422,
                    "cat": "Books",
                    "desc": "Книги и журналы - Учебная литература для старших классов (5-11 класс)"
                },
                {
                    "id": 423,
                    "cat": "Books",
                    "desc": "Книги и журналы - Учителям и педагогам"
                },
                {
                    "id": 424,
                    "cat": "Books",
                    "desc": "Книги и журналы - Научно-популярная и познавательная литература (для детей)"
                },
                {
                    "id": 425,
                    "cat": "Books",
                    "desc": "Книги и журналы - Досуг и творчество"
                },
                {
                    "id": 426,
                    "cat": "Books",
                    "desc": "Книги и журналы - Воспитание и развитие"
                },
                {
                    "id": 427,
                    "cat": "Books",
                    "desc": "Книги и журналы - Худ. лит-ра для дошкольников и младших классов"
                },
                {
                    "id": 428,
                    "cat": "Books",
                    "desc": "Книги и журналы - Худ. лит-ра для средних и старших классов"
                },
                {
                    "id": 429,
                    "cat": "Books",
                    "desc": "Книги и журналы - Спорт, физическая культура, боевые искусства"
                },
                {
                    "id": 430,
                    "cat": "Books",
                    "desc": "Книги и журналы - Футбол"
                },
                {
                    "id": 431,
                    "cat": "Books",
                    "desc": "Книги и журналы - Хоккей"
                },
                {
                    "id": 432,
                    "cat": "Books",
                    "desc": "Книги и журналы - Игровые виды спорта"
                },
                {
                    "id": 433,
                    "cat": "Books",
                    "desc": "Книги и журналы - Легкая атлетика. Плавание. Гимнастика. Тяжелая атлетика. Гребля"
                },
                {
                    "id": 434,
                    "cat": "Books",
                    "desc": "Книги и журналы - Автоспорт. Мотоспорт. Велоспорт"
                },
                {
                    "id": 435,
                    "cat": "Books",
                    "desc": "Книги и журналы - Шахматы. Шашки"
                },
                {
                    "id": 436,
                    "cat": "Books",
                    "desc": "Книги и журналы - Боевые искусства, единоборства"
                },
                {
                    "id": 437,
                    "cat": "Books",
                    "desc": "Книги и журналы - Экстрим"
                },
                {
                    "id": 438,
                    "cat": "Books",
                    "desc": "Книги и журналы - Физкультура, фитнес, бодибилдинг"
                },
                {
                    "id": 439,
                    "cat": "Books",
                    "desc": "Книги и журналы - Спортивная пресса"
                },
                {
                    "id": 440,
                    "cat": "Books",
                    "desc": "Книги и журналы - Гуманитарные науки"
                },
                {
                    "id": 441,
                    "cat": "Books",
                    "desc": "Книги и журналы - Искусствоведение. Культурология"
                },
                {
                    "id": 443,
                    "cat": "Books",
                    "desc": "Книги и журналы - Литературоведение"
                },
                {
                    "id": 444,
                    "cat": "Books",
                    "desc": "Книги и журналы - Лингвистика"
                },
                {
                    "id": 445,
                    "cat": "Books",
                    "desc": "Книги и журналы - Философия"
                },
                {
                    "id": 446,
                    "cat": "Books",
                    "desc": "Книги и журналы - Политология"
                },
                {
                    "id": 447,
                    "cat": "Books",
                    "desc": "Книги и журналы - Социология"
                },
                {
                    "id": 448,
                    "cat": "Books",
                    "desc": "Книги и журналы - Бизнес, менеджмент"
                },
                {
                    "id": 451,
                    "cat": "Books",
                    "desc": "Книги и журналы - Экономика"
                },
                {
                    "id": 311,
                    "cat": "Books",
                    "desc": "Книги и журналы - Военное дело"
                },
                {
                    "id": 312,
                    "cat": "Books",
                    "desc": "Книги и журналы - Милитария"
                },
                {
                    "id": 313,
                    "cat": "Books",
                    "desc": "Книги и журналы - Военная история"
                },
                {
                    "id": 314,
                    "cat": "Books",
                    "desc": "Книги и журналы - История Второй мировой войны"
                },
                {
                    "id": 315,
                    "cat": "Books",
                    "desc": "Книги и журналы - Военная техника"
                },
                {
                    "id": 316,
                    "cat": "Books",
                    "desc": "Книги и журналы - Стрелковое оружие"
                },
                {
                    "id": 317,
                    "cat": "Books",
                    "desc": "Книги и журналы - Учебно-методическая литература"
                },
                {
                    "id": 318,
                    "cat": "Books",
                    "desc": "Книги и журналы - Спецслужбы мира"
                },
                {
                    "id": 39,
                    "cat": "Books",
                    "desc": "Книги и журналы - Художественная литература"
                },
                {
                    "id": 104,
                    "cat": "Books",
                    "desc": "Книги и журналы - Русская литература"
                },
                {
                    "id": 105,
                    "cat": "Books",
                    "desc": "Книги и журналы - Зарубежная литература"
                },
                {
                    "id": 106,
                    "cat": "Books",
                    "desc": "Книги и журналы - Литературные журналы"
                },
                {
                    "id": 107,
                    "cat": "Books",
                    "desc": "Книги и журналы - Художественная литература"
                },
                {
                    "id": 679,
                    "cat": "Books",
                    "desc": "Книги и журналы - Отечественная фантастика / фэнтези / мистика"
                },
                {
                    "id": 102,
                    "cat": "Books",
                    "desc": "Книги и журналы - Компьютерная литература"
                },
                {
                    "id": 103,
                    "cat": "Books",
                    "desc": "Книги и журналы - Компьютерные журналы и приложения к ним"
                },
                {
                    "id": 415,
                    "cat": "Books",
                    "desc": "Книги и журналы - Дисковые приложения к игровым журналам"
                },
                {
                    "id": 409,
                    "cat": "Books",
                    "desc": "Книги и журналы - Программы от Microsoft"
                },
                {
                    "id": 416,
                    "cat": "Books",
                    "desc": "Книги и журналы - Другие программы"
                },
                {
                    "id": 410,
                    "cat": "Books",
                    "desc": "Книги и журналы - Веб-дизайн и программирование"
                },
                {
                    "id": 411,
                    "cat": "Books",
                    "desc": "Книги и журналы - Программирование"
                },
                {
                    "id": 419,
                    "cat": "Books",
                    "desc": "Книги и журналы - Mac OS; Linux, FreeBSD и прочие *NIX"
                },
                {
                    "id": 412,
                    "cat": "Books",
                    "desc": "Книги и журналы - Графика, обработка видео"
                },
                {
                    "id": 414,
                    "cat": "Books",
                    "desc": "Книги и журналы - Инженерные и научные программы"
                },
                {
                    "id": 413,
                    "cat": "Books",
                    "desc": "Книги и журналы - Сети / VoIP"
                },
                {
                    "id": 417,
                    "cat": "Books",
                    "desc": "Книги и журналы - Железо (книги о ПК)"
                },
                {
                    "id": 418,
                    "cat": "Books",
                    "desc": "Книги и журналы - СУБД"
                },
                {
                    "id": 464,
                    "cat": "Books",
                    "desc": "Книги и журналы - Комиксы"
                },
                {
                    "id": 465,
                    "cat": "Books",
                    "desc": "Книги и журналы - Комиксы на русском языке"
                },
                {
                    "id": 466,
                    "cat": "Books",
                    "desc": "Книги и журналы - Комиксы издательства Marvel"
                },
                {
                    "id": 467,
                    "cat": "Books",
                    "desc": "Книги и журналы - Комиксы издательства DC"
                },
                {
                    "id": 468,
                    "cat": "Books",
                    "desc": "Книги и журналы - Комиксы других издательств"
                },
                {
                    "id": 470,
                    "cat": "Books",
                    "desc": "Книги и журналы - Манга (на иностранных языках)"
                },
                {
                    "id": 454,
                    "cat": "Books",
                    "desc": "Книги и журналы - Коллекции книг и библиотеки"
                },
                {
                    "id": 455,
                    "cat": "Books",
                    "desc": "Книги и журналы - Библиотеки (зеркала сетевых библиотек/коллекций)"
                },
                {
                    "id": 456,
                    "cat": "Books",
                    "desc": "Книги и журналы - Тематические коллекции (подборки)"
                },
                {
                    "id": 457,
                    "cat": "Books",
                    "desc": "Книги и журналы - Многопредметные коллекции (подборки)"
                },
                {
                    "id": 458,
                    "cat": "Books",
                    "desc": "Книги и журналы - Мультимедийные и интерактивные издания"
                },
                {
                    "id": 459,
                    "cat": "Books",
                    "desc": "Книги и журналы - Мультимедийные энциклопедии"
                },
                {
                    "id": 460,
                    "cat": "Books",
                    "desc": "Книги и журналы - >Интерактивные обучающие и развивающие материалы"
                },
                {
                    "id": 461,
                    "cat": "Books",
                    "desc": "Книги и журналы - Обучающие издания для детей"
                },
                {
                    "id": 462,
                    "cat": "Books",
                    "desc": "Книги и журналы - Кулинария. Цветоводство. Домоводство"
                },
                {
                    "id": 463,
                    "cat": "Books",
                    "desc": "Книги и журналы - Культура. Искусство. История"
                },
                {
                    "id": 677,
                    "cat": "Books",
                    "desc": "Книги и журналы - Детективы, приключения"
                },
                {
                    "id": 128,
                    "cat": "Books",
                    "desc": "Книги и журналы - Разное"
                },
                {
                    "id": 774,
                    "cat": "Other",
                    "desc": "Все Графика, Арт, Разное"
                },
                {
                    "id": 775,
                    "cat": "Other",
                    "desc": "Живопись, Графика, Скульптура, Digital Art"
                },
                {
                    "id": 776,
                    "cat": "Other",
                    "desc": "Рисунки, графический дизайн"
                },
                {
                    "id": 778,
                    "cat": "Other",
                    "desc": "Обои, аватары, иконки и прочее"
                },
                {
                    "id": 777,
                    "cat": "Other",
                    "desc": "3D-графика"
                },
                {
                    "id": 38,
                    "cat": "PC",
                    "desc": "Программное обеспечение"
                },
                {
                    "id": 40,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Операционные системы"
                },
                {
                    "id": 41,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Windows"
                },
                {
                    "id": 42,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Mac"
                },
                {
                    "id": 43,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Linux (Unix)"
                },
                {
                    "id": 112,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Софт"
                },
                {
                    "id": 113,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Сборники программ"
                },
                {
                    "id": 273,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Безопасность"
                },
                {
                    "id": 278,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Информация и диагностика"
                },
                {
                    "id": 275,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Программы для интернет и сетей"
                },
                {
                    "id": 276,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Программы для настройки и оптимизации ОС"
                },
                {
                    "id": 116,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Аудио и видео редакторы и конвертеры"
                },
                {
                    "id": 115,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Графические редакторы"
                },
                {
                    "id": 518,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Каталогизаторы и просмотрщики графики"
                },
                {
                    "id": 117,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Аудио и видео-проигрыватели и каталогизаторы"
                },
                {
                    "id": 282,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Виртуальные студии, секвенсоры"
                },
                {
                    "id": 517,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Словари, переводчики"
                },
                {
                    "id": 667,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Офисное ПО"
                },
                {
                    "id": 668,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Работа с жёстким диском"
                },
                {
                    "id": 669,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Сервисное обслуживание компьютера"
                },
                {
                    "id": 670,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Архиваторы и файловые менеджеры"
                },
                {
                    "id": 114,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Плагины и программы компании Adobe"
                },
                {
                    "id": 274,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Видеокурсы"
                },
                {
                    "id": 675,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Разное (Системные программы для Windows)"
                },
                {
                    "id": 671,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Игры и программы для iOS"
                },
                {
                    "id": 672,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Игры и программы для Android"
                },
                {
                    "id": 673,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Текстовые редакторы"
                },
                {
                    "id": 674,
                    "cat": "PC",
                    "desc": "Программное обеспечение - Работа с носителями информации"
                },
                {
                    "id": 113,
                    "cat": "PC",
                    "desc": "Сборники программ"
                },
                {
                    "id": 273,
                    "cat": "PC",
                    "desc": "Безопасность"
                },
                {
                    "id": 278,
                    "cat": "PC",
                    "desc": "Сериалы - Информация и диагностика"
                },
                {
                    "id": 275,
                    "cat": "PC",
                    "desc": "Программы для интернет и сетей"
                },
                {
                    "id": 276,
                    "cat": "PC",
                    "desc": "Программы для настройки и оптимизации ОС"
                },
                {
                    "id": 116,
                    "cat": "PC",
                    "desc": "Аудио и видео редакторы и конвертеры"
                },
                {
                    "id": 115,
                    "cat": "PC",
                    "desc": "Графические редакторы"
                },
                {
                    "id": 518,
                    "cat": "PC",
                    "desc": "Каталогизаторы и просмотрщики графики"
                },
                {
                    "id": 117,
                    "cat": "PC",
                    "desc": "Аудио и видео-проигрыватели и каталогизаторы"
                },
                {
                    "id": 282,
                    "cat": "PC",
                    "desc": "Виртуальные студии, секвенсоры"
                },
                {
                    "id": 517,
                    "cat": "PC",
                    "desc": "Словари, переводчики"
                },
                {
                    "id": 667,
                    "cat": "PC",
                    "desc": "Офисное ПО"
                },
                {
                    "id": 668,
                    "cat": "PC",
                    "desc": "Работа с жёстким диском"
                },
                {
                    "id": 669,
                    "cat": "PC",
                    "desc": "Сервисное обслуживание компьютера"
                },
                {
                    "id": 670,
                    "cat": "PC",
                    "desc": "Архиваторы и файловые менеджеры"
                },
                {
                    "id": 114,
                    "cat": "PC",
                    "desc": "Плагины и программы компании Adobe"
                },
                {
                    "id": 274,
                    "cat": "PC",
                    "desc": "Видеокурсы"
                },
                {
                    "id": 675,
                    "cat": "PC",
                    "desc": "Разное (Системные программы для Windows)"
                },
                {
                    "id": 671,
                    "cat": "PC",
                    "desc": "Игры и программы для iOS"
                },
                {
                    "id": 672,
                    "cat": "PC",
                    "desc": "Игры и программы для Android"
                },
                {
                    "id": 673,
                    "cat": "PC",
                    "desc": "Текстовые редакторы"
                },
                {
                    "id": 674,
                    "cat": "PC",
                    "desc": "Работа с носителями информации"
                },
                {
                    "id": 30,
                    "cat": "Console",
                    "desc": "Все Игры"
                },
                {
                    "id": 80,
                    "cat": "Console",
                    "desc": "Игры - Игры для Windows"
                },
                {
                    "id": 81,
                    "cat": "Console",
                    "desc": "Игры - Игры и приложения для Android"
                },
                {
                    "id": 44,
                    "cat": "Console",
                    "desc": "Игры - Игры для PSP"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "t",
                "options": {
                    "nt": "created",
                    "ts": "seeders",
                    "sz": "size",
                    "i": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "d",
                "options": {
                    "d": "desc",
                    "a": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[href*=\"ucp.php?mode=logout\"]"
            }
        },
        "search": {
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "paths": [
                {
                    "path": "search.php"
                }
            ],
            "inputs": {
                "t": 0,
                "cs": 1,
                "cs_post": 1,
                "sc": 1,
                "keywords": "{{ .Keywords }}",
                "cs_where": "title",
                "cs_forb": "",
                "submit": "Hand+Search",
                "$raw": "{{ if .Categories }}{{ range .Categories }}&fid[]={{.}}{{end}}{{ else }}&fid[]=0{{ end }}",
                "cs_format": 0,
                "cs_year": 0,
                "cs_filter": 0,
                "sk": "{{ .Config.sort }}",
                "sd": "{{ .Config.type }}",
                "cs_private": 0
            },
            "rows": {
                "selector": "li.row:has(a.topictitle)"
            },
            "fields": {
                "category": {
                    "selector": "dt > a[href$=\".html\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "-f(\\d+)"
                        }
                    ]
                },
                "title": {
                    "selector": "a.topictitle"
                },
                "details": {
                    "selector": "a.topictitle",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./download/file.php?id=\"][title=\"Скачать торрент\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "dt",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Размер: (.+?),"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ТБ",
                                "TB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ГБ",
                                "GB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "МБ",
                                "MB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "КБ",
                                "KB"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "span.seed"
                },
                "leechers": {
                    "selector": "span.leech"
                },
                "grabs": {
                    "selector": "span.complet"
                },
                "date_day": {
                    "selector": "dd:last-of-type:contains(\"Сегодня,\"), dd:last-of-type:contains(\"Вчера,\")",
                    "remove": "a",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "»",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Вчера,",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Сегодня,",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_time": {
                    "selector": "dd:last-of-type:contains(\"назад\")",
                    "remove": "a",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "»",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "назад",
                                "ago"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "минуты",
                                "minutes"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "минут",
                                "minutes"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "часа",
                                "hours"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "часов",
                                "hours"
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "date_year": {
                    "selector": "dd:last-of-type:not(:contains(\"назад\")):not(:contains(\"Сегодня,\")):not(:contains(\"Вчера,\"))",
                    "remove": "a",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "»",
                                ""
                            ]
                        },
                        {
                            "name": "regexp",
                            "args": "(\\d{2} \\D{3} \\d{4}, \\d{2}:\\d{2})"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "янв",
                                "Jan"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "фев",
                                "Feb"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "мар",
                                "Mar"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "апр",
                                "Apr"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "май",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июн",
                                "Jun"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июл",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "авг",
                                "Aug"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "сен",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "окт",
                                "Oct"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ноя",
                                "Nov"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "дек",
                                "Dec"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd MMM yyyy, HH:mm zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_time .Result.date_year .Result.date_day }}{{ or .Result.date_time .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "krazyzone": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "krazyzone",
        "name": "KrazyZone",
        "description": "KrazyZone is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://krazyzone.net/"
        ],
        "legacylinks": [
            "http://krazyzone.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 79,
                    "cat": "Audio",
                    "desc": "Mastermix: Mastermix"
                },
                {
                    "id": 80,
                    "cat": "Audio",
                    "desc": "DMC: DMC"
                },
                {
                    "id": 49,
                    "cat": "Audio/MP3",
                    "desc": "KZN MP3 Weekly: Ex-Vip"
                },
                {
                    "id": 76,
                    "cat": "Audio",
                    "desc": "KZN-Exclusive: Exclusive "
                },
                {
                    "id": 98,
                    "cat": "Audio/MP3",
                    "desc": "Other Mp3 Weeky: Mp3"
                },
                {
                    "id": 77,
                    "cat": "Audio",
                    "desc": "KZN: Out Of VIP"
                },
                {
                    "id": 99,
                    "cat": "Audio/MP3",
                    "desc": "KZ Internal: KZ Internal"
                },
                {
                    "id": 74,
                    "cat": "Audio",
                    "desc": "Discography: Collection"
                },
                {
                    "id": 82,
                    "cat": "Audio/Lossless",
                    "desc": "Flac: Flac-Flac Packs"
                },
                {
                    "id": 101,
                    "cat": "Audio",
                    "desc": "Wav: Wav - Wav Packs"
                },
                {
                    "id": 81,
                    "cat": "Audio",
                    "desc": "Albums : Albums / Singles"
                },
                {
                    "id": 78,
                    "cat": "Audio",
                    "desc": "Dj-Only: Dj-Music"
                },
                {
                    "id": 100,
                    "cat": "Audio",
                    "desc": "Web Music: Flac - MP3"
                },
                {
                    "id": 46,
                    "cat": "Audio/Video",
                    "desc": "Music Video: Music Video"
                },
                {
                    "id": 24,
                    "cat": "Audio",
                    "desc": "Karaoke: All Karaoke"
                },
                {
                    "id": 47,
                    "cat": "Movies/BluRay",
                    "desc": "Movies: Bluray-HD"
                },
                {
                    "id": 110,
                    "cat": "Movies",
                    "desc": "Movies: Movie Packs or movie Collecti"
                },
                {
                    "id": 25,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies: Web-DL"
                },
                {
                    "id": 48,
                    "cat": "Movies/SD",
                    "desc": "Movies: Xvid-Dvd-Webrip"
                },
                {
                    "id": 23,
                    "cat": "Movies/Other",
                    "desc": "Movie: Kids-Anime-Family"
                },
                {
                    "id": 9,
                    "cat": "Movies/DVD",
                    "desc": "Movies: DVD Rip"
                },
                {
                    "id": 22,
                    "cat": "Movies/Foreign",
                    "desc": "Movies: Foreign"
                },
                {
                    "id": 107,
                    "cat": "Movies",
                    "desc": "Movies: Movies 2026"
                },
                {
                    "id": 108,
                    "cat": "Movies",
                    "desc": "Movies: Movies Pre90s"
                },
                {
                    "id": 111,
                    "cat": "Movies",
                    "desc": "Movies: Movies Assorted"
                },
                {
                    "id": 109,
                    "cat": "Movies/UHD",
                    "desc": "Movies: Movies 4K Ultra HD"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "TV: Episodes"
                },
                {
                    "id": 8,
                    "cat": "TV/Anime",
                    "desc": "TV: Kids - TV"
                },
                {
                    "id": 75,
                    "cat": "TV/Documentary",
                    "desc": "TV: Documentary"
                },
                {
                    "id": 26,
                    "cat": "TV/Sport",
                    "desc": "TV: Sports"
                },
                {
                    "id": 42,
                    "cat": "Movies",
                    "desc": "TV Packs: Full Seasons"
                },
                {
                    "id": 50,
                    "cat": "TV/Anime",
                    "desc": "TV Packs: Kids- Anime-Packs"
                },
                {
                    "id": 83,
                    "cat": "Movies",
                    "desc": "TV Packs: Pre90s"
                },
                {
                    "id": 84,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Books: A-Books"
                },
                {
                    "id": 85,
                    "cat": "Books",
                    "desc": "Ebook: Ebook-Mag-Comic"
                },
                {
                    "id": 87,
                    "cat": "PC/0day",
                    "desc": "Apps: Window-Linux-Mac"
                },
                {
                    "id": 88,
                    "cat": "TV/Anime",
                    "desc": "Anime: All Anime"
                },
                {
                    "id": 89,
                    "cat": "PC/Games",
                    "desc": "Games: Pc - Iso"
                },
                {
                    "id": 90,
                    "cat": "PC/Games",
                    "desc": "Games: Misc"
                },
                {
                    "id": 91,
                    "cat": "Other",
                    "desc": "Wallpapers: Wallpapers"
                },
                {
                    "id": 92,
                    "cat": "Other",
                    "desc": "Xmas Albums: Albums"
                },
                {
                    "id": 93,
                    "cat": "Movies/Other",
                    "desc": "Xmas Movies : Packs"
                },
                {
                    "id": 94,
                    "cat": "Audio/Other",
                    "desc": "Xmas Music Pack: Packs"
                },
                {
                    "id": 95,
                    "cat": "Other",
                    "desc": "Misc: Misc"
                },
                {
                    "id": 106,
                    "cat": "Audio",
                    "desc": "Sals Top Torren: Never Forgotten"
                }
            ],
            "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": "id",
                "options": {
                    "id": "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_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting <b>0 results</b> then access the site with your browser and <b>mark as read</b> all PMs."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Be active here, you must login at least once a month. Also, not downloading anything is considered being inactive (except if you're an uploader or VIP). Accounts that are inactive for 30 days are deleted unless you have told staff in advance."
            }
        ],
        "login": {
            "path": "account-login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.myFrame:contains(\"Access Denied\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"account-logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents-search.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "freeleech": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "inclrosub": 0,
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.ttable_headinner > tbody > tr:has(a[href^=\"download.php?id=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category_optional": {
                    "selector": "a[href^=\"torrents.php?cat=\"]",
                    "attribute": "href",
                    "optional": true,
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}95{{ end }}"
                },
                "title": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[|\\]]",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=([^\\s]+)"
                        }
                    ]
                },
                "genre": {
                    "selector": "div.t-tags",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Chat Show)",
                                "Chat_Show"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Game Show)",
                                "Game_Show"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Panel Show)",
                                "Panel_Show"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Talk Show)",
                                "Talk_Show"
                            ]
                        },
                        {
                            "name": "validate",
                            "args": "Action, Adventure, Animation, Biography, Chat_Show, Comedy, Crime, Documentary, Drama, Family, Fantasy, Game_Show, History, Horror, Kids, Medical, Music, Mystery, Nature, News, Panel_Show, Reality, Romance, Science_Fiction, Science-Fiction, SciFi, Soap, Supernatural, Talk_Show, Thriller, War, Western"
                        }
                    ]
                },
                "description": {
                    "case": {
                        "img[src=\"images/ro-eng-flag.png\"]": "Verified: {{ .Result.genre }}",
                        "*": "Unverified: {{ .Result.genre }}"
                    }
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(4)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "d.MMMyyyyHH:mm"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/free.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "kufei": {
        "credentials": {
            "cookie": ""
        },
        "id": "kufei",
        "name": "Kufei (库非)",
        "description": "Kufei (库非) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://kufei.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 410,
                    "cat": "Console",
                    "desc": "Games/游戏"
                },
                {
                    "id": 411,
                    "cat": "Books",
                    "desc": "E-Books/电子书"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Music/音乐"
                },
                {
                    "id": 412,
                    "cat": "PC",
                    "desc": "Software/软件"
                },
                {
                    "id": 415,
                    "cat": "TV",
                    "desc": "Drama/戏剧"
                },
                {
                    "id": 416,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Books/有声读物"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Others/其他"
                },
                {
                    "id": 413,
                    "cat": "Other",
                    "desc": "Education/教育"
                },
                {
                    "id": 414,
                    "cat": "Audio/Video",
                    "desc": "Concert/演唱会"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos/音乐、视频"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动画、动漫"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted</li><li>Elite User or above would never be deleted if parked (at User CP)</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row</li><li>Un-parked accounts would be deleted if users have not logged in for more than 150 days in a row</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 30 days in a row.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "kufirc": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "kufirc",
        "name": "Kufirc",
        "description": "Kufirc is a HUNGARIAN Private tracker for 3X",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://kufirc.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "Amateur"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "Anal"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "Animal"
                },
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "Asian"
                },
                {
                    "id": 26,
                    "cat": "XXX",
                    "desc": "BBW"
                },
                {
                    "id": 44,
                    "cat": "XXX",
                    "desc": "BDSM"
                },
                {
                    "id": 25,
                    "cat": "XXX",
                    "desc": "Big Ass"
                },
                {
                    "id": 24,
                    "cat": "XXX",
                    "desc": "Big Tits"
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "Black"
                },
                {
                    "id": 35,
                    "cat": "XXX",
                    "desc": "Busty"
                },
                {
                    "id": 23,
                    "cat": "XXX",
                    "desc": "Classic"
                },
                {
                    "id": 33,
                    "cat": "XXX",
                    "desc": "Creampie"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "Cumshot"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "Feature"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "Fetish"
                },
                {
                    "id": 31,
                    "cat": "XXX",
                    "desc": "Film/Cam/Hun"
                },
                {
                    "id": 46,
                    "cat": "XXX/XviD",
                    "desc": "Film/Xvid/hun"
                },
                {
                    "id": 37,
                    "cat": "XXX",
                    "desc": "Foreign"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "Gay / Bi"
                },
                {
                    "id": 18,
                    "cat": "XXX",
                    "desc": "Hardcore"
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "HD porn"
                },
                {
                    "id": 28,
                    "cat": "XXX",
                    "desc": "Hentai / 3D"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "Homemade"
                },
                {
                    "id": 38,
                    "cat": "XXX",
                    "desc": "Interracial"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "Kép"
                },
                {
                    "id": 48,
                    "cat": "XXX",
                    "desc": "Latina"
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "Lesbian"
                },
                {
                    "id": 56,
                    "cat": "Books/Mags",
                    "desc": "Magazines"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "Magyar"
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "Masturbation"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Mature"
                },
                {
                    "id": 13,
                    "cat": "XXX/Pack",
                    "desc": "Megapack"
                },
                {
                    "id": 55,
                    "cat": "XXX",
                    "desc": "Milf"
                },
                {
                    "id": 49,
                    "cat": "XXX",
                    "desc": "Natural Tits"
                },
                {
                    "id": 39,
                    "cat": "XXX",
                    "desc": "Old + Young"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Oral"
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "Orgia / Gang Bang"
                },
                {
                    "id": 42,
                    "cat": "XXX/Other",
                    "desc": "Other"
                },
                {
                    "id": 50,
                    "cat": "XXX",
                    "desc": "Parody"
                },
                {
                    "id": 41,
                    "cat": "XXX",
                    "desc": "Paysite"
                },
                {
                    "id": 40,
                    "cat": "XXX",
                    "desc": "Piss"
                },
                {
                    "id": 43,
                    "cat": "XXX",
                    "desc": "Porn Music Videos"
                },
                {
                    "id": 54,
                    "cat": "XXX",
                    "desc": "Pov"
                },
                {
                    "id": 45,
                    "cat": "XXX",
                    "desc": "Pregnant / Preggo"
                },
                {
                    "id": 57,
                    "cat": "XXX",
                    "desc": "Scat/Puke"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "Shemale / TS"
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "Siterip"
                },
                {
                    "id": 52,
                    "cat": "XXX",
                    "desc": "Softcore"
                },
                {
                    "id": 53,
                    "cat": "XXX",
                    "desc": "Squirt"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "Straight"
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "Tini"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "VR"
                },
                {
                    "id": 7,
                    "cat": "PC/Games",
                    "desc": "XXX játék / program"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA",
                "default": "If you want to enable 2FA then use the Kufirc2FA indexer instead."
            },
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrentek oldalanként:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "cinfo": "1920|1080|24|-60",
                "iplocked": 0,
                "keeploggedin": 1
            },
            "error": [
                {
                    "selector": "div.error"
                }
            ],
            "test": {
                "path": "/",
                "selector": "#nav_userinfo"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchtext": "",
                "title": "{{ .Keywords }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "sizeall": "",
                "sizetype": "",
                "sizerange": "",
                "filelist": "",
                "taglist": "",
                "autocomplete_toggle": ""
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent row\"]:has(a[href*=\"action=download\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)]=1"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/torrents.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "description_tags": {
                    "selector": "div.tags"
                },
                "description": {
                    "case": {
                        "span.icon_okay": "Verified: {{ .Result.description_tags }}",
                        "*": "Unverified: {{ .Result.description_tags }}"
                    }
                },
                "poster": {
                    "selector": "td:nth-child(2) > script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\\"(.*?)\\\\\""
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\\\(.)",
                                "$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "/static/common/noartwork/noimage.png",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5) > span",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"Freeleech\"]": 0,
                        "img[alt=\"Freeleech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"DoubleSeed\"]": 2,
                        "img[alt=\"DoubleSeed\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "kufirc2fa": {
        "credentials": {
            "cookie": ""
        },
        "id": "kufirc2fa",
        "name": "Kufirc2FA",
        "description": "Kufirc is a HUNGARIAN Private tracker for 3X. This indexer uses cookie login for 2FA.",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://kufirc.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "Amateur"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "Anal"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "Animal"
                },
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "Asian"
                },
                {
                    "id": 26,
                    "cat": "XXX",
                    "desc": "BBW"
                },
                {
                    "id": 44,
                    "cat": "XXX",
                    "desc": "BDSM"
                },
                {
                    "id": 25,
                    "cat": "XXX",
                    "desc": "Big Ass"
                },
                {
                    "id": 24,
                    "cat": "XXX",
                    "desc": "Big Tits"
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "Black"
                },
                {
                    "id": 35,
                    "cat": "XXX",
                    "desc": "Busty"
                },
                {
                    "id": 23,
                    "cat": "XXX",
                    "desc": "Classic"
                },
                {
                    "id": 33,
                    "cat": "XXX",
                    "desc": "Creampie"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "Cumshot"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "Feature"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "Fetish"
                },
                {
                    "id": 31,
                    "cat": "XXX",
                    "desc": "Film/Cam/Hun"
                },
                {
                    "id": 46,
                    "cat": "XXX/XviD",
                    "desc": "Film/Xvid/hun"
                },
                {
                    "id": 37,
                    "cat": "XXX",
                    "desc": "Foreign"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "Gay / Bi"
                },
                {
                    "id": 18,
                    "cat": "XXX",
                    "desc": "Hardcore"
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "HD porn"
                },
                {
                    "id": 28,
                    "cat": "XXX",
                    "desc": "Hentai / 3D"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "Homemade"
                },
                {
                    "id": 38,
                    "cat": "XXX",
                    "desc": "Interracial"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "Kép"
                },
                {
                    "id": 48,
                    "cat": "XXX",
                    "desc": "Latina"
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "Lesbian"
                },
                {
                    "id": 56,
                    "cat": "Books/Mags",
                    "desc": "Magazines"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "Magyar"
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "Masturbation"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Mature"
                },
                {
                    "id": 13,
                    "cat": "XXX/Pack",
                    "desc": "Megapack"
                },
                {
                    "id": 55,
                    "cat": "XXX",
                    "desc": "Milf"
                },
                {
                    "id": 49,
                    "cat": "XXX",
                    "desc": "Natural Tits"
                },
                {
                    "id": 39,
                    "cat": "XXX",
                    "desc": "Old + Young"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Oral"
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "Orgia / Gang Bang"
                },
                {
                    "id": 42,
                    "cat": "XXX/Other",
                    "desc": "Other"
                },
                {
                    "id": 50,
                    "cat": "XXX",
                    "desc": "Parody"
                },
                {
                    "id": 41,
                    "cat": "XXX",
                    "desc": "Paysite"
                },
                {
                    "id": 40,
                    "cat": "XXX",
                    "desc": "Piss"
                },
                {
                    "id": 43,
                    "cat": "XXX",
                    "desc": "Porn Music Videos"
                },
                {
                    "id": 54,
                    "cat": "XXX",
                    "desc": "Pov"
                },
                {
                    "id": 45,
                    "cat": "XXX",
                    "desc": "Pregnant / Preggo"
                },
                {
                    "id": 57,
                    "cat": "XXX",
                    "desc": "Scat/Puke"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "Shemale / TS"
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "Siterip"
                },
                {
                    "id": 52,
                    "cat": "XXX",
                    "desc": "Softcore"
                },
                {
                    "id": 53,
                    "cat": "XXX",
                    "desc": "Squirt"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "Straight"
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "Tini"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "VR"
                },
                {
                    "id": 7,
                    "cat": "PC/Games",
                    "desc": "XXX játék / program"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrentek oldalanként:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "#nav_userinfo"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchtext": "",
                "title": "{{ .Keywords }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "sizeall": "",
                "sizetype": "",
                "sizerange": "",
                "filelist": "",
                "taglist": "",
                "autocomplete_toggle": ""
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent row\"]:has(a[href*=\"action=download\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)]=1"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/torrents.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "description_tags": {
                    "selector": "div.tags"
                },
                "description": {
                    "case": {
                        "span.icon_okay": "Verified: {{ .Result.description_tags }}",
                        "*": "Unverified: {{ .Result.description_tags }}"
                    }
                },
                "poster": {
                    "selector": "td:nth-child(2) > script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\\"(.*?)\\\\\""
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\\\(.)",
                                "$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "/static/common/noartwork/noimage.png",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5) > span",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"Freeleech\"]": 0,
                        "img[alt=\"Freeleech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"DoubleSeed\"]": 2,
                        "img[alt=\"DoubleSeed\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "kunlun": {
        "credentials": {
            "cookie": ""
        },
        "id": "kunlun",
        "name": "Kunlun (昆仑)",
        "description": "Kunlun (昆仑) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.yhpp.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫、动画"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos/音乐视频"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 408,
                    "cat": "Audio/Lossless",
                    "desc": "Music/音乐"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Others/其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted</li><li>Elite User or above would never be deleted if parked (at User CP)</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row</li><li>Un-parked accounts would be deleted if users have not logged in for more than 150 days in a row</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "lajidui": {
        "credentials": {
            "cookie": ""
        },
        "id": "lajidui",
        "name": "lajidui",
        "description": "lajidui is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.lajidui.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentary/纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos/音乐视频"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Music/音频"
                },
                {
                    "id": 409,
                    "cat": "Other/Misc",
                    "desc": "Misc/其他"
                },
                {
                    "id": 410,
                    "cat": "TV/Anime",
                    "desc": "Cartoon/少儿动画"
                },
                {
                    "id": 411,
                    "cat": "Books",
                    "desc": "EBook/电子书"
                },
                {
                    "id": 412,
                    "cat": "TV",
                    "desc": "Playlet/短剧"
                },
                {
                    "id": 413,
                    "cat": "PC/Games",
                    "desc": "Games/游戏"
                },
                {
                    "id": 414,
                    "cat": "PC/0day",
                    "desc": "APP/软件"
                },
                {
                    "id": 415,
                    "cat": "Other",
                    "desc": "Education/教育视频"
                },
                {
                    "id": 416,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook/有声书"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "lastdigitalunderground": {
        "credentials": {
            "apikey": ""
        },
        "id": "lastdigitalunderground",
        "name": "Last Digital Underground",
        "description": "Last Digital Underground (LDU) is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://theldu.to/"
        ],
        "legacylinks": [
            "https://theldu.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Films: General"
                },
                {
                    "id": 21,
                    "cat": "Movies/3D",
                    "desc": "Films: 3D"
                },
                {
                    "id": 33,
                    "cat": "Movies/Other",
                    "desc": "Films: [TMDB UnListed]"
                },
                {
                    "id": 25,
                    "cat": "Movies/Other",
                    "desc": "Films: Musical"
                },
                {
                    "id": 18,
                    "cat": "Movies/Other",
                    "desc": "Films: Silent"
                },
                {
                    "id": 24,
                    "cat": "Movies/Other",
                    "desc": "Films: Holiday"
                },
                {
                    "id": 19,
                    "cat": "Movies/Other",
                    "desc": "Films: Shorts"
                },
                {
                    "id": 42,
                    "cat": "Movies/Other",
                    "desc": "Films: Shorts [TMDB UnListed]"
                },
                {
                    "id": 17,
                    "cat": "TV/Documentary",
                    "desc": "Films: Documentary"
                },
                {
                    "id": 12,
                    "cat": "Movies/Other",
                    "desc": "Films: FanEdits/Restorations"
                },
                {
                    "id": 27,
                    "cat": "Movies/Foreign",
                    "desc": "Films SP1: Dubs/Cams/Vid Issues"
                },
                {
                    "id": 22,
                    "cat": "Movies/Foreign",
                    "desc": "Films SP2: No English"
                },
                {
                    "id": 28,
                    "cat": "Movies/Other",
                    "desc": "Films SP3: Other"
                },
                {
                    "id": 8,
                    "cat": "Movies/Other",
                    "desc": "Anime: Films"
                },
                {
                    "id": 9,
                    "cat": "TV/Anime",
                    "desc": "Anime: Series/OVAs"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Series/TV: Complete Seasons"
                },
                {
                    "id": 41,
                    "cat": "TV",
                    "desc": "Series/TV: Single Episodes"
                },
                {
                    "id": 31,
                    "cat": "TV/Foreign",
                    "desc": "Series/TV SP1: video issues or Dub"
                },
                {
                    "id": 29,
                    "cat": "TV/Foreign",
                    "desc": "Series/TV SP2: No English"
                },
                {
                    "id": 32,
                    "cat": "TV/Other",
                    "desc": "Series/TV SP3: Other"
                },
                {
                    "id": 38,
                    "cat": "TV/Other",
                    "desc": "Series/TV [TMDB unlisted]"
                },
                {
                    "id": 40,
                    "cat": "TV/Documentary",
                    "desc": "Series: Documentary"
                },
                {
                    "id": 46,
                    "cat": "Other",
                    "desc": "Collections [Various Media]"
                },
                {
                    "id": 20,
                    "cat": "TV/Other",
                    "desc": "Culture: Stand-up"
                },
                {
                    "id": 7,
                    "cat": "Books/EBook",
                    "desc": "Culture: Ebooks"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Culture: Music"
                },
                {
                    "id": 16,
                    "cat": "Audio/Video",
                    "desc": "Culture: Music Videos"
                },
                {
                    "id": 34,
                    "cat": "Audio/Audiobook",
                    "desc": "Culture: Audio Books"
                },
                {
                    "id": 35,
                    "cat": "TV/Sport",
                    "desc": "Culture: Sports"
                },
                {
                    "id": 37,
                    "cat": "TV/Other",
                    "desc": "Culture: Firearms and Freedom"
                },
                {
                    "id": 36,
                    "cat": "TV/Other",
                    "desc": "Culture: Roms"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "Mature: NSFW [TMDB Listed]"
                },
                {
                    "id": 45,
                    "cat": "XXX",
                    "desc": "Mature: NSFW No ENG Subs"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "Mature: NSFW [UnListed]"
                },
                {
                    "id": 52,
                    "cat": "XXX",
                    "desc": "Mature: NSFW LGBTQ [UnListed]"
                },
                {
                    "id": 15,
                    "cat": "XXX/Pack",
                    "desc": "Mature: NSFW MegaPacks"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "Mature: Hentai"
                },
                {
                    "id": 14,
                    "cat": "XXX/Other",
                    "desc": "Mature: Creators Corner"
                },
                {
                    "id": 39,
                    "cat": "XXX/Other",
                    "desc": "Mature: NSFL [Listed]"
                },
                {
                    "id": 11,
                    "cat": "XXX/Other",
                    "desc": "Mature: NSFL [Unlisted]"
                },
                {
                    "id": 44,
                    "cat": "XXX/Other",
                    "desc": "Mature: Audio"
                },
                {
                    "id": 53,
                    "cat": "XXX/Other",
                    "desc": "Mature: Ebooks"
                },
                {
                    "id": 47,
                    "cat": "PC/0day",
                    "desc": "Software: PC"
                },
                {
                    "id": 48,
                    "cat": "PC/Mac",
                    "desc": "Software: Mac"
                },
                {
                    "id": 49,
                    "cat": "PC",
                    "desc": "Software: Linux/Unix"
                },
                {
                    "id": 50,
                    "cat": "Console",
                    "desc": "Software: Console/ROMS"
                },
                {
                    "id": 51,
                    "cat": "XXX/Other",
                    "desc": "Software: Adult Games Mature"
                },
                {
                    "id": 43,
                    "cat": "Other",
                    "desc": "Internal Testing"
                },
                {
                    "id": 23,
                    "cat": "Other",
                    "desc": "Other_Or_Not_Sure"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://theldu.to/\" target=\"_blank\">Last Digital Underground</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "You must log in once every 60 days. You must download at least 1 item within your first month."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "lastfiles": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "lastfiles",
        "name": "LastFiles",
        "description": "LastFiles (LF) is a ROMANIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ro-RO",
        "type": "private",
        "encoding": "UTF-8",
        "followredirect": true,
        "requestDelay": 2,
        "links": [
            "https://lastfiles.ro/",
            "https://www.last-torrents.org/"
        ],
        "legacylinks": [
            "http://last-torrents.org/",
            "https://www.lastfiles.ro/",
            "http://www.lastfiles.ro/",
            "http://www.last-torrents.org/",
            "https://last-torrents.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Movies: Anime",
                    "default": true
                },
                {
                    "id": 2,
                    "cat": "TV/Anime",
                    "desc": "Movies: Anime-Ro",
                    "default": true
                },
                {
                    "id": 5,
                    "cat": "Movies/BluRay",
                    "desc": "Movies: BluRay",
                    "default": true
                },
                {
                    "id": 6,
                    "cat": "Movies/BluRay",
                    "desc": "Movies: BluRay-Ro",
                    "default": true
                },
                {
                    "id": 9,
                    "cat": "Movies/DVD",
                    "desc": "Movies: DVD",
                    "default": true
                },
                {
                    "id": 10,
                    "cat": "Movies/DVD",
                    "desc": "Movies: DVD-Ro",
                    "default": true
                },
                {
                    "id": 11,
                    "cat": "Movies/HD",
                    "desc": "Movies: HD",
                    "default": true
                },
                {
                    "id": 12,
                    "cat": "Movies/HD",
                    "desc": "Movies: HD-Ro",
                    "default": true
                },
                {
                    "id": 16,
                    "cat": "Movies",
                    "desc": "Movies: Old",
                    "default": true
                },
                {
                    "id": 17,
                    "cat": "Movies",
                    "desc": "Movies: Old-Ro",
                    "default": true
                },
                {
                    "id": 18,
                    "cat": "Movies",
                    "desc": "Movies: Pack",
                    "default": true
                },
                {
                    "id": 19,
                    "cat": "Movies",
                    "desc": "Movies: Pack-Ro",
                    "default": true
                },
                {
                    "id": 24,
                    "cat": "Movies/SD",
                    "desc": "Movies: XVID",
                    "default": true
                },
                {
                    "id": 25,
                    "cat": "Movies/SD",
                    "desc": "Movies: XVID-Ro",
                    "default": true
                },
                {
                    "id": 31,
                    "cat": "Movies/UHD",
                    "desc": "Movies: 4K",
                    "default": true
                },
                {
                    "id": 32,
                    "cat": "Movies/UHD",
                    "desc": "Movies: 4KRo",
                    "default": true
                },
                {
                    "id": 54,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies: WEB-DL",
                    "default": true
                },
                {
                    "id": 55,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies: WEB-DL Ro",
                    "default": true
                },
                {
                    "id": 81,
                    "cat": "Movies/HD",
                    "desc": "Movies: x265-Ro",
                    "default": true
                },
                {
                    "id": 82,
                    "cat": "Movies/HD",
                    "desc": "Movies: x265",
                    "default": true
                },
                {
                    "id": 13,
                    "cat": "TV/HD",
                    "desc": "HDTV Episodes",
                    "default": true
                },
                {
                    "id": 14,
                    "cat": "TV/HD",
                    "desc": "HDTV Episodes-Ro",
                    "default": true
                },
                {
                    "id": 20,
                    "cat": "TV",
                    "desc": "TV Episodes",
                    "default": true
                },
                {
                    "id": 21,
                    "cat": "TV",
                    "desc": "TV Episodes-Ro",
                    "default": true
                },
                {
                    "id": 22,
                    "cat": "Other",
                    "desc": "RoContent",
                    "default": true
                },
                {
                    "id": 26,
                    "cat": "PC/0day",
                    "desc": "Software",
                    "default": true
                },
                {
                    "id": 28,
                    "cat": "Audio",
                    "desc": "Music",
                    "default": true
                },
                {
                    "id": 30,
                    "cat": "PC/Games",
                    "desc": "Games: PC-ISO",
                    "default": true
                },
                {
                    "id": 33,
                    "cat": "PC/Games",
                    "desc": "Games: Packs",
                    "default": true
                },
                {
                    "id": 42,
                    "cat": "TV/Sport",
                    "desc": "Sport",
                    "default": true
                },
                {
                    "id": 43,
                    "cat": "Books",
                    "desc": "Documents",
                    "default": true
                },
                {
                    "id": 44,
                    "cat": "Other",
                    "desc": "Images",
                    "default": true
                },
                {
                    "id": 49,
                    "cat": "Other",
                    "desc": "Diverse",
                    "default": true
                },
                {
                    "id": 56,
                    "cat": "TV/Documentary",
                    "desc": "Documentary",
                    "default": true
                },
                {
                    "id": 57,
                    "cat": "TV/Documentary",
                    "desc": "Documentary-Ro",
                    "default": true
                },
                {
                    "id": 27,
                    "cat": "XXX/x264",
                    "desc": "Movies: XXX",
                    "default": false
                },
                {
                    "id": 34,
                    "cat": "XXX/Pack",
                    "desc": "XXX Pack",
                    "default": false
                }
            ],
            "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": "sort2",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "form": "form[action$=\"/login\"]",
            "inputs": {
                "name": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "remember": true
            },
            "selectorinputs": {
                "_token": {
                    "selector": "input[name=\"_token\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "div.alert-danger:contains(\"Invalid credentials\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href$=\"/logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents",
                    "categories": [
                        1,
                        2,
                        5,
                        6,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        24,
                        25,
                        26,
                        28,
                        30,
                        31,
                        32,
                        33,
                        42,
                        43,
                        44,
                        49,
                        54,
                        55,
                        56,
                        57,
                        81,
                        82
                    ],
                    "inputs": {
                        "$raw": "{{ range .Categories }}categories[]={{.}}&{{end}}"
                    }
                },
                {
                    "path": "torrents/adult",
                    "categories": [
                        27,
                        34
                    ]
                }
            ],
            "inputs": {
                "keyword": "{{ .Keywords }}",
                "torrent_status": "{{ if .Config.freeleech }}free{{ else }}active{{ end }}",
                "sort": "{{ .Config.sort2 }}",
                "direction": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\W+",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "div.g-0:has(a[href*=\"/download/\"])"
            },
            "fields": {
                "category": {
                    "selector": "img[src*=\"images/categories\"]",
                    "attribute": "src",
                    "case": {
                        "img[src*=\"/anime.png\"]": 1,
                        "img[src*=\"/anime-ro.png\"]": 2,
                        "img[src*=\"/bluray.png\"]": 5,
                        "img[src*=\"/bluray-ro.png\"]": 6,
                        "img[src*=\"/dvd.png\"]": 9,
                        "img[src*=\"/dvd-ro.png\"]": 10,
                        "img[src*=\"/hd.png\"]": 11,
                        "img[src*=\"/hd-ro.png\"]": 12,
                        "img[src*=\"/hdtve.png\"]": 13,
                        "img[src*=\"/hdtve-ro.png\"]": 14,
                        "img[src*=\"/oldies.png\"]": 16,
                        "img[src*=\"/oldies-ro.png\"]": 17,
                        "img[src*=\"/pack.png\"]": 18,
                        "img[src*=\"/pack-ro.png\"]": 19,
                        "img[src*=\"/tvepisode.png\"]": 20,
                        "img[src*=\"/tvepisode-ro.png\"]": 21,
                        "img[src*=\"/rocontent.png\"]": 22,
                        "img[src*=\"/xvid.png\"]": 24,
                        "img[src*=\"/xvid-ro.png\"]": 25,
                        "img[src*=\"/soft.png\"]": 26,
                        "img[src*=\"/xxx.jpeg\"]": 27,
                        "img[src*=\"/music.png\"]": 28,
                        "img[src*=\"/pciso.png\"]": 30,
                        "img[src*=\"/4k.png\"]": 31,
                        "img[src*=\"/4kRO.png\"]": 32,
                        "img[src*=\"/gpack.png\"]": 33,
                        "img[src*=\"/xxxpack.jpeg\"]": 34,
                        "img[src*=\"/sport.png\"]": 42,
                        "img[src*=\"/docs.png\"]": 43,
                        "img[src*=\"/images.png\"]": 44,
                        "img[src*=\"/misc.png\"]": 49,
                        "img[src*=\"/web-DL.png\"]": 54,
                        "img[src*=\"/web-DLRO.png\"]": 55,
                        "img[src*=\"/doc.png\"]": 56,
                        "img[src*=\"/doc-ro.png\"]": 57,
                        "img[src*=\"/x265ro.png\"]": 81,
                        "img[src*=\"/x265.png\"]": 82
                    }
                },
                "title": {
                    "selector": "a[href*=\"/torrents/\"]"
                },
                "details": {
                    "selector": "a[href*=\"/torrents/\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href*=\"/torrents/\"]",
                    "attribute": "data-bs-title",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src='(.+?)'"
                        }
                    ]
                },
                "genre": {
                    "selector": "div.gap-2",
                    "remove": "style",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "\n",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Science Fiction",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "TV Movie",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Various Artists",
                                "Various_Artists"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Packs Android",
                                "Packs_Android"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Hard Rock",
                                "Hard_Rock"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Romanian Standup Comedy",
                                "Romanian_Standup_Comedy"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Windows Apps",
                                "Windows_Apps"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Rock Pop  Soul soft rock",
                                "Rock_Pop_Soul_soft_rock"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Love songs",
                                "Love_songs"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Dance-pop  Synth-pop",
                                "Dance-pop_Synth-pop"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "R&B  Soul",
                                "R&B_Soul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Heavy Metal",
                                "Heavy_Metal"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Alternative Rock  Electronic",
                                "Alternative_Rock_Electronic"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "New Wave",
                                "New_Wave"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Alternative Rock",
                                "Alternative_Rock"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Deep House Mix",
                                "Deep_House_Mix"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Folk metal",
                                "Folk_metal"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ro eBook",
                                "Ro_eBook"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Pop rock",
                                "Pop_rock"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Indie Folk",
                                "Indie_Folk"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Folk Rock",
                                "Folk_Rock"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "World Music",
                                "World_Music"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Black Metal",
                                "Black_Metal"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Blues Rock",
                                "Blues_Rock"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Jazz Rock",
                                "Jazz_Rock"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Indie Pop",
                                "Indie_Pop"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Indie Rock",
                                "Indie_Rock"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "XXX Images",
                                "XXX_Images"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Biblia Sacra",
                                "Biblia_Sacra"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Video Downloader",
                                "Video_Downloader"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "XXX  ADULT  +18",
                                "XXX_ADULT_+18"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Fotbal | UEFA EURO 2025 U21",
                                "Fotbal_|_UEFA_EURO_2025_U21"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Dezvoltare Personala",
                                "Dezvoltare_Personala"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Action Drama War History Adventure",
                                "Action_Drama_War_History_Adventure"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Bossa Nova",
                                "Bossa_Nova"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Funk Soul",
                                "Funk_Soul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Formula 1",
                                "Formula_1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Literatura Universala",
                                "Literatura_Universala"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Romane inspirate de Holocaust",
                                "Romane_inspirate_de_Holocaust"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Politica si stiinte politice",
                                "Politica_si_stiinte_politice"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Comentarii si opinii",
                                "Comentarii_si_opinii"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Studii și eseuri",
                                "Studii_ș_i_eseuri"
                            ]
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "download": {
                    "selector": "a[href*=\"/download/\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "div.d-none:contains(\",\")",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd, yyyy"
                        }
                    ]
                },
                "size": {
                    "selector": "div.d-none:contains(\" GB\"), div.d-none:contains(\" MB\"), div.d-none:contains(\" KB\"), div.d-none:contains(\" TB\")"
                },
                "grabs": {
                    "selector": "div.text-success",
                    "optional": true
                },
                "seeders": {
                    "selector": "span.text-success"
                },
                "leechers": {
                    "selector": "span.text-danger"
                },
                "downloadvolumefactor": {
                    "case": {
                        "div.free-btn": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "div.double-btn": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 43200
                }
            }
        }
    },
    "lat-team-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "lat-team-api",
        "name": "Lat-Team (API)",
        "description": "Lat-Team is a SPANISH Private Torrent Tracker for MOVIES / TV",
        "language": "es-MX",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://lat-team.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Peliculas"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 5,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 20,
                    "cat": "TV/Foreign",
                    "desc": "Doramas & Turcas"
                },
                {
                    "id": 8,
                    "cat": "TV/Foreign",
                    "desc": "Telenovelas"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Musica"
                },
                {
                    "id": 9,
                    "cat": "Audio/Video",
                    "desc": "Conciertos"
                },
                {
                    "id": 16,
                    "cat": "TV/Sport",
                    "desc": "Eventos Deportivos"
                },
                {
                    "id": 22,
                    "cat": "TV/Other",
                    "desc": "Playlist_Collection"
                },
                {
                    "id": 17,
                    "cat": "PC",
                    "desc": "Software & O.S."
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 18,
                    "cat": "Books/EBook",
                    "desc": "E-Books"
                },
                {
                    "id": 11,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiolibros"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Juegos"
                },
                {
                    "id": 24,
                    "cat": "Other",
                    "desc": "Cursos"
                },
                {
                    "id": 29,
                    "cat": "Books/Mags",
                    "desc": "Revistas & Periódicos"
                },
                {
                    "id": 30,
                    "cat": "Books/Comics",
                    "desc": "Comics & Manga"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowtvsearchimdb": true
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://lat-team.com/\" target=\"_blank\">Lat-Team</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "You must log in once every 90 days or seed at least 5 torrents to avoid having your account deactivated."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title_phase1": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "title_vose": {
                    "selector": "name:contains(VOSE)",
                    "optional": true
                },
                "title": {
                    "text": "{{ .Result.title_phase1 }}{{ if .Result.title_vose }} ENGLiSH{{ else }} SPANiSH{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "learnflakes": {
        "credentials": {
            "cookie": ""
        },
        "id": "learnflakes",
        "name": "LearnFlakes",
        "description": "LearnFlakes is a Private Torrent Tracker for CERTIFICATE / TRAINING E-LEARNING",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://learnflakes.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Books",
                    "desc": "LearnFlakes"
                },
                {
                    "id": 14,
                    "cat": "Books",
                    "desc": "EMC"
                },
                {
                    "id": 16,
                    "cat": "Books",
                    "desc": "SANS"
                },
                {
                    "id": 17,
                    "cat": "Books",
                    "desc": "MOC "
                },
                {
                    "id": 31,
                    "cat": "Books",
                    "desc": "CareerAcademy"
                },
                {
                    "id": 32,
                    "cat": "Books",
                    "desc": "CBTNuggets"
                },
                {
                    "id": 33,
                    "cat": "Books",
                    "desc": "INE"
                },
                {
                    "id": 34,
                    "cat": "Books",
                    "desc": "Symantec"
                },
                {
                    "id": 35,
                    "cat": "Books",
                    "desc": "Infiniteskills"
                },
                {
                    "id": 36,
                    "cat": "Books",
                    "desc": "IPExpert"
                },
                {
                    "id": 37,
                    "cat": "Books",
                    "desc": "Tuts+"
                },
                {
                    "id": 38,
                    "cat": "Books",
                    "desc": "Pluralsight"
                },
                {
                    "id": 39,
                    "cat": "Books/EBook",
                    "desc": "E-Books"
                },
                {
                    "id": 40,
                    "cat": "Books",
                    "desc": "CBT-Videos"
                },
                {
                    "id": 41,
                    "cat": "Books",
                    "desc": "Linux-CBT"
                },
                {
                    "id": 42,
                    "cat": "Books",
                    "desc": "VTC"
                },
                {
                    "id": 43,
                    "cat": "Books",
                    "desc": "Lynda"
                },
                {
                    "id": 44,
                    "cat": "Books",
                    "desc": "TrainSignal"
                },
                {
                    "id": 50,
                    "cat": "Books",
                    "desc": "LiveLessons"
                },
                {
                    "id": 47,
                    "cat": "Books",
                    "desc": "Health"
                },
                {
                    "id": 48,
                    "cat": "Books/Mags",
                    "desc": "Magazines"
                },
                {
                    "id": 49,
                    "cat": "Books",
                    "desc": "CourseWare"
                },
                {
                    "id": 51,
                    "cat": "Books",
                    "desc": "Programming"
                },
                {
                    "id": 52,
                    "cat": "Books",
                    "desc": "Graphic & Design"
                },
                {
                    "id": 53,
                    "cat": "Books",
                    "desc": "Udemy"
                },
                {
                    "id": 45,
                    "cat": "Books/Other",
                    "desc": "Others"
                },
                {
                    "id": 54,
                    "cat": "Books",
                    "desc": "SAP"
                },
                {
                    "id": 46,
                    "cat": "Books",
                    "desc": "LF VIP"
                },
                {
                    "id": 55,
                    "cat": "Books",
                    "desc": "Exclusive"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting the error <b>Found no results while trying to browse this tracker</b> then first access the site with your browser and check that you are not being forced to change your password because it has expired after 180 days."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "?p=home&pid=1",
                "selector": "div#member_info_bar"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/",
                    "inputs": {
                        "page": 1
                    }
                },
                {
                    "path": "/",
                    "inputs": {
                        "page": 2
                    }
                },
                {
                    "path": "/",
                    "inputs": {
                        "page": 3
                    }
                }
            ],
            "inputs": {
                "p": "torrents",
                "pid": 10,
                "$raw": "{{ range .Categories }}&cid[]={{.}}{{end}}",
                "keywords": "{{ .Keywords }}",
                "search_type": "name",
                "sortOptions[sortBy]": "{{ .Config.sort }}",
                "sortOptions[sortOrder]": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.torrent-box[id^=\"torrent_\"]{{ if .Config.freeleech }}:has(img[src$=\"/torrent_free.png\"]){{ else }}{{ end }}"
            },
            "fields": {
                "title": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details&tid=\"]"
                },
                "details": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details&tid=\"]",
                    "attribute": "href"
                },
                "category": {
                    "selector": "a[href*=\"?p=torrents&pid=10&cid=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cid"
                        }
                    ]
                },
                "download": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=download&tid=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href*=\"data/torrents/torrent_images/\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "div.torrentDetails > div:has(a[href*=\"&genre=\"])",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Genre:",
                                ""
                            ]
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "size": {
                    "selector": "a[rel=\"torrent_size\"]"
                },
                "grabs": {
                    "selector": "a[rel=\"times_completed\"]"
                },
                "seeders": {
                    "selector": "a[rel=\"torrent_seeders\"]"
                },
                "leechers": {
                    "selector": "a[rel=\"torrent_leechers\"]"
                },
                "date_day": {
                    "selector": "div.torrentOwner:contains(\"day\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.torrentOwner:contains(\"-\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "date_unix": {
                    "selector": "div.torrentOwner abbr",
                    "optional": true,
                    "attribute": "data-time"
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year .Result.date_unix }}{{ or .Result.date_day .Result.date_year .Result.date_unix }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/torrent_free.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "leech24": {
        "credentials": {
            "cookie": ""
        },
        "id": "leech24",
        "name": "leech24",
        "description": "leech24 is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "certificates": [
            "5d263f5abbb3448711801378991bf115c95d9a33"
        ],
        "links": [
            "https://leech24.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 28,
                    "cat": "TV/Anime",
                    "desc": "Anime - All"
                },
                {
                    "id": 20,
                    "cat": "PC",
                    "desc": "Apps - Linux"
                },
                {
                    "id": 19,
                    "cat": "PC/Mac",
                    "desc": "Apps - Mac"
                },
                {
                    "id": 21,
                    "cat": "PC/Mobile-Other",
                    "desc": "Apps - Other"
                },
                {
                    "id": 18,
                    "cat": "PC/0day",
                    "desc": "Apps - PC"
                },
                {
                    "id": 9,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries - All"
                },
                {
                    "id": 16,
                    "cat": "Console/Other",
                    "desc": "Games - Dreamcast"
                },
                {
                    "id": 45,
                    "cat": "Console/NDS",
                    "desc": "Games - DS"
                },
                {
                    "id": 46,
                    "cat": "Console/Other",
                    "desc": "Games - GameCube"
                },
                {
                    "id": 49,
                    "cat": "Console/NDS",
                    "desc": "Games - Nintendo"
                },
                {
                    "id": 17,
                    "cat": "Console/Other",
                    "desc": "Games - Other"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Games - PC"
                },
                {
                    "id": 11,
                    "cat": "Console/PS3",
                    "desc": "Games - PS"
                },
                {
                    "id": 12,
                    "cat": "Console/PSP",
                    "desc": "Games - PSP"
                },
                {
                    "id": 44,
                    "cat": "Console/Wii",
                    "desc": "Games - Wii"
                },
                {
                    "id": 13,
                    "cat": "Console/XBox",
                    "desc": "Games - Xbox"
                },
                {
                    "id": 3,
                    "cat": "Movies/SD",
                    "desc": "Movies - 480p"
                },
                {
                    "id": 57,
                    "cat": "Movies/UHD",
                    "desc": "Movies - 4K"
                },
                {
                    "id": 50,
                    "cat": "Movies/BluRay",
                    "desc": "Movies - Bluray"
                },
                {
                    "id": 51,
                    "cat": "Movies/BluRay",
                    "desc": "Movies - Bluray-Full"
                },
                {
                    "id": 1,
                    "cat": "Movies/DVD",
                    "desc": "Movies - DVD"
                },
                {
                    "id": 42,
                    "cat": "Movies/HD",
                    "desc": "Movies - HD"
                },
                {
                    "id": 54,
                    "cat": "Movies/HD",
                    "desc": "Movies - MP4"
                },
                {
                    "id": 4,
                    "cat": "Movies/Other",
                    "desc": "Movies - Other"
                },
                {
                    "id": 47,
                    "cat": "Movies",
                    "desc": "Movies - Packs"
                },
                {
                    "id": 2,
                    "cat": "Movies/SD",
                    "desc": "Movies - SD/Xvid"
                },
                {
                    "id": 61,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies - Web-DL"
                },
                {
                    "id": 56,
                    "cat": "Movies/HD",
                    "desc": "Movies - x265"
                },
                {
                    "id": 24,
                    "cat": "Audio/Video",
                    "desc": "Music - DVD"
                },
                {
                    "id": 23,
                    "cat": "Audio/Lossless",
                    "desc": "Music - Lossless"
                },
                {
                    "id": 22,
                    "cat": "Audio/MP3",
                    "desc": "Music - MP3"
                },
                {
                    "id": 27,
                    "cat": "Audio/Other",
                    "desc": "Music - Other"
                },
                {
                    "id": 26,
                    "cat": "Audio/Other",
                    "desc": "Music - Radio"
                },
                {
                    "id": 25,
                    "cat": "Audio/Video",
                    "desc": "Music - Video"
                },
                {
                    "id": 36,
                    "cat": "Books/EBook",
                    "desc": "Other - E-Books"
                },
                {
                    "id": 33,
                    "cat": "PC",
                    "desc": "Other - Emulation"
                },
                {
                    "id": 39,
                    "cat": "Other",
                    "desc": "Other - Extra Pars/Fills"
                },
                {
                    "id": 37,
                    "cat": "Other",
                    "desc": "Other - Images"
                },
                {
                    "id": 38,
                    "cat": "PC/Mobile-Other",
                    "desc": "Other - Mobile Phone"
                },
                {
                    "id": 40,
                    "cat": "Other",
                    "desc": "Other - Other"
                },
                {
                    "id": 34,
                    "cat": "PC/Mobile-Other",
                    "desc": "Other - PPC/PDA"
                },
                {
                    "id": 35,
                    "cat": "Audio",
                    "desc": "Other - Sounds"
                },
                {
                    "id": 58,
                    "cat": "TV/SD",
                    "desc": "TV - 480p"
                },
                {
                    "id": 52,
                    "cat": "TV/UHD",
                    "desc": "TV - Bluray"
                },
                {
                    "id": 6,
                    "cat": "TV/SD",
                    "desc": "TV - Divx/Xvid"
                },
                {
                    "id": 5,
                    "cat": "TV/SD",
                    "desc": "TV - DVD-R"
                },
                {
                    "id": 59,
                    "cat": "TV/SD",
                    "desc": "TV - DVD-Rip"
                },
                {
                    "id": 48,
                    "cat": "TV/Other",
                    "desc": "TV - Packs"
                },
                {
                    "id": 53,
                    "cat": "TV/SD",
                    "desc": "TV - SD/x264"
                },
                {
                    "id": 7,
                    "cat": "TV/SD",
                    "desc": "TV - SVCD/VCD"
                },
                {
                    "id": 62,
                    "cat": "TV/WEB-DL",
                    "desc": "TV - Web-DL"
                },
                {
                    "id": 41,
                    "cat": "TV/HD",
                    "desc": "TV - x264"
                },
                {
                    "id": 60,
                    "cat": "TV/HD",
                    "desc": "TV - x265"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "id",
                "options": {
                    "id": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[href=\"account-logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents-search.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "freeleech": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "lang": 0,
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(\\w+)",
                        "+$1"
                    ]
                }
            ],
            "rows": {
                "selector": "table.ttable_headinner tr.t-row:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrents.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/free.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.95
                }
            }
        }
    },
    "lemonhd-net": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "lemonhd-net",
        "name": "LemonHD.net",
        "description": "LemonHD.net is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://lemonhd.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 402,
                    "cat": "Audio",
                    "desc": "Misc"
                },
                {
                    "id": 403,
                    "cat": "TV/Anime",
                    "desc": "Animations"
                },
                {
                    "id": 404,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": 405,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries"
                },
                {
                    "id": 406,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 407,
                    "cat": "TV",
                    "desc": "TV Shows"
                },
                {
                    "id": 408,
                    "cat": "Movies/3D",
                    "desc": "3D"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted.</li><li>Elite User or above would never be deleted if parked (at User CP).</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row.</li><li>Unparked accounts would be deleted if users have not logged in for more than 150 days in a row.</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href$=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "lesaloon": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "lesaloon",
        "name": "LeSaloon",
        "description": "Le Saloon is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://lesaloonv2-0.lol/",
            "https://lesaloonv2-0.net/"
        ],
        "legacylinks": [
            "http://lesaloonv2-0.net/",
            "https://lesaloonv2-0.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 13,
                    "cat": "Movies/BluRay",
                    "desc": "Films BD-Rip / BRRip"
                },
                {
                    "id": 19,
                    "cat": "Movies/WEB-DL",
                    "desc": "Films WEB-DL / WEB-Rip"
                },
                {
                    "id": 15,
                    "cat": "Movies/DVD",
                    "desc": "Films DVD-Rip"
                },
                {
                    "id": 18,
                    "cat": "Movies/HD",
                    "desc": "Films HD 720p"
                },
                {
                    "id": 20,
                    "cat": "Movies/HD",
                    "desc": "Films HD 1080p"
                },
                {
                    "id": 26,
                    "cat": "Movies/HD",
                    "desc": "Films mHD 720p"
                },
                {
                    "id": 27,
                    "cat": "Movies/HD",
                    "desc": "Films mHD 1080p"
                },
                {
                    "id": 28,
                    "cat": "Movies/HD",
                    "desc": "Films x265"
                },
                {
                    "id": 29,
                    "cat": "Movies",
                    "desc": "Films Remux"
                },
                {
                    "id": 30,
                    "cat": "Movies/BluRay",
                    "desc": "Films Blu-Ray (complet)"
                },
                {
                    "id": 31,
                    "cat": "Movies/3D",
                    "desc": "Films 3D"
                },
                {
                    "id": 32,
                    "cat": "Movies/UHD",
                    "desc": "Films 4K UHD"
                },
                {
                    "id": 33,
                    "cat": "Movies/SD",
                    "desc": "Films Québécois SD"
                },
                {
                    "id": 34,
                    "cat": "Movies/HD",
                    "desc": "Films Québécois HD"
                },
                {
                    "id": 35,
                    "cat": "Movies/DVD",
                    "desc": "Films Québécois DVD-R"
                },
                {
                    "id": 37,
                    "cat": "Movies/DVD",
                    "desc": "Films DVD-R"
                },
                {
                    "id": 38,
                    "cat": "Movies/SD",
                    "desc": "Films V.O.S.T. SD"
                },
                {
                    "id": 39,
                    "cat": "Movies/HD",
                    "desc": "Films V.O.S.T. HD"
                },
                {
                    "id": 40,
                    "cat": "Movies/SD",
                    "desc": "Films V.O. SD"
                },
                {
                    "id": 41,
                    "cat": "Movies/HD",
                    "desc": "Films V.O. HD"
                },
                {
                    "id": 42,
                    "cat": "Movies",
                    "desc": "Films TV-Rip"
                },
                {
                    "id": 21,
                    "cat": "TV/SD",
                    "desc": "Séries-Télé SD"
                },
                {
                    "id": 22,
                    "cat": "TV/HD",
                    "desc": "Séries-Télé HD"
                },
                {
                    "id": 17,
                    "cat": "TV/SD",
                    "desc": "Séries-Télé Pack SD"
                },
                {
                    "id": 23,
                    "cat": "TV/HD",
                    "desc": "Séries-Télé Pack HD"
                },
                {
                    "id": 45,
                    "cat": "TV/SD",
                    "desc": "Séries-Télé Québécois SD"
                },
                {
                    "id": 46,
                    "cat": "TV/HD",
                    "desc": "Séries-Télé Québécois HD"
                },
                {
                    "id": 47,
                    "cat": "TV/SD",
                    "desc": "Séries-Télé V.O.S.T. SD"
                },
                {
                    "id": 48,
                    "cat": "TV/HD",
                    "desc": "Séries-Télé V.O.S.T. HD"
                },
                {
                    "id": 49,
                    "cat": "TV/SD",
                    "desc": "Séries-Télé Émissions TV SD"
                },
                {
                    "id": 50,
                    "cat": "TV/HD",
                    "desc": "Séries-Télé Émissions TV HD"
                },
                {
                    "id": 51,
                    "cat": "TV",
                    "desc": "Séries-Télé Blu-Ray"
                },
                {
                    "id": 52,
                    "cat": "TV",
                    "desc": "Séries-Télé DVD-R"
                },
                {
                    "id": 43,
                    "cat": "TV/SD",
                    "desc": "Séries-Télé Pack SD Québec"
                },
                {
                    "id": 44,
                    "cat": "TV/HD",
                    "desc": "Séries-Télé Pack HD Québec"
                },
                {
                    "id": 77,
                    "cat": "TV/Documentary",
                    "desc": "Docu. SD"
                },
                {
                    "id": 78,
                    "cat": "TV/Documentary",
                    "desc": "Docu. HD"
                },
                {
                    "id": 79,
                    "cat": "TV/Documentary",
                    "desc": "Docu. V.O.S.T. SD"
                },
                {
                    "id": 80,
                    "cat": "TV/Documentary",
                    "desc": "Docu. V.O.S.T. HD"
                },
                {
                    "id": 85,
                    "cat": "TV/Documentary",
                    "desc": "Docu-Série SD"
                },
                {
                    "id": 86,
                    "cat": "TV/Documentary",
                    "desc": "Docu-Série HD"
                },
                {
                    "id": 87,
                    "cat": "TV/Documentary",
                    "desc": "Docu-Pack SD"
                },
                {
                    "id": 88,
                    "cat": "TV/Documentary",
                    "desc": "Docu-Pack HD"
                },
                {
                    "id": 54,
                    "cat": "Audio/MP3",
                    "desc": "Musique MP3"
                },
                {
                    "id": 55,
                    "cat": "Audio/Lossless",
                    "desc": "Musique FLAC"
                },
                {
                    "id": 56,
                    "cat": "Audio",
                    "desc": "Musique DSD"
                },
                {
                    "id": 57,
                    "cat": "Audio",
                    "desc": "Musique Karaoke"
                },
                {
                    "id": 58,
                    "cat": "Audio/Other",
                    "desc": "Musique Autres"
                },
                {
                    "id": 59,
                    "cat": "PC/Games",
                    "desc": "Jeux PC"
                },
                {
                    "id": 60,
                    "cat": "Console",
                    "desc": "Jeux Consoles"
                },
                {
                    "id": 61,
                    "cat": "Books/EBook",
                    "desc": "Livres epub"
                },
                {
                    "id": 62,
                    "cat": "Books/EBook",
                    "desc": "Livres pdf"
                },
                {
                    "id": 63,
                    "cat": "Books/Mags",
                    "desc": "Livres Journaux"
                },
                {
                    "id": 64,
                    "cat": "Books/Mags",
                    "desc": "Livres Magazines"
                },
                {
                    "id": 65,
                    "cat": "Books/Comics",
                    "desc": "Livres Bandes Dessinées"
                },
                {
                    "id": 66,
                    "cat": "Books/Other",
                    "desc": "Livres Multi-Format"
                },
                {
                    "id": 68,
                    "cat": "PC/0day",
                    "desc": "Logiciels Windows"
                },
                {
                    "id": 69,
                    "cat": "PC/Mac",
                    "desc": "Logiciels Mac"
                },
                {
                    "id": 71,
                    "cat": "TV/Other",
                    "desc": "Spectacles Humour"
                },
                {
                    "id": 72,
                    "cat": "TV/Other",
                    "desc": "Spectacles Live"
                },
                {
                    "id": 84,
                    "cat": "TV/Other",
                    "desc": "Théâtre"
                },
                {
                    "id": 83,
                    "cat": "TV/Anime",
                    "desc": "Séries Animées"
                },
                {
                    "id": 74,
                    "cat": "TV/Sport",
                    "desc": "Sports [Français]"
                },
                {
                    "id": 75,
                    "cat": "TV/Sport",
                    "desc": "Sports [Anglais]"
                },
                {
                    "id": 82,
                    "cat": "Other",
                    "desc": "Autres / Inclassable"
                }
            ],
            "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": "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi FRENCH": "MULTi FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi ENGLISH": "MULTi ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi VOSTFR": "MULTi VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "vfq",
                "type": "checkbox",
                "label": "Replace VFQ with FRENCH",
                "default": false
            }
        ],
        "login": {
            "path": "yupy_login.php",
            "method": "form",
            "form": "form[action^=\"login\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "loginButton": "XZ"
            },
            "error": [
                {
                    "selector": "p[style=\"color: #B73C38\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ .Keywords }}",
                "parentcategory": 0,
                "category": 0,
                "genre": 0,
                "options": "{{ if .Config.freeleech }}5{{ else }}0{{ end }}",
                "active": 0,
                "iwantdots": 1
            },
            "rows": {
                "selector": "table.torrentlist tbody tr:has(a[href^=\"index.php?page=torrent-details\"])"
            },
            "fields": {
                "category": {
                    "selector": "td a[href^=\"index.php?page=torrents&category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title_phase1": {
                    "selector": "td a[href^=\"index.php?page=torrent-details\"]"
                },
                "title_vfq": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(VFQ)\\b",
                                "FRENCH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vfq }}{{ .Result.title_vfq }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase3": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase3 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase3 }}{{ end }}"
                },
                "details": {
                    "selector": "td a[href^=\"index.php?page=torrent-details\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"index.php?page=torrent-details\"][onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.*?) "
                        }
                    ]
                },
                "date": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "grabs": {
                    "selector": "td:nth-child(10)"
                },
                "size": {
                    "selector": "td:nth-child(12)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/freeleech.gif\"]": 0,
                        "img[src=\"images/gold.gif\"]": 0,
                        "img[src=\"images/silver.gif\"]": 0.5,
                        "img[src=\"images/bronze.gif\"]": 0.25,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "*": 1
                    }
                }
            }
        }
    },
    "letseed": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "letseed",
        "name": "LetSeed",
        "description": "LetSeed is a TURKISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "tr-TR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://letseed.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 3,
                    "cat": "TV",
                    "desc": "Diziler"
                },
                {
                    "id": 5,
                    "cat": "TV/Foreign",
                    "desc": "Yabancı Diziler"
                },
                {
                    "id": 6,
                    "cat": "TV/Other",
                    "desc": "Yerli Dizi Boxset"
                },
                {
                    "id": 4,
                    "cat": "TV",
                    "desc": "Yerli Diziler"
                },
                {
                    "id": 44,
                    "cat": "Books",
                    "desc": "Eğitim"
                },
                {
                    "id": 46,
                    "cat": "Books/EBook",
                    "desc": "E-Book"
                },
                {
                    "id": 45,
                    "cat": "Books/Other",
                    "desc": "Eğitim"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Filmler"
                },
                {
                    "id": 15,
                    "cat": "Movies/UHD",
                    "desc": "4K"
                },
                {
                    "id": 2,
                    "cat": "Movies/Other",
                    "desc": "Animasyonlar"
                },
                {
                    "id": 16,
                    "cat": "Movies/Other",
                    "desc": "BoxSet"
                },
                {
                    "id": 14,
                    "cat": "Movies/Foreign",
                    "desc": "Yabancı Yapımlar"
                },
                {
                    "id": 13,
                    "cat": "Movies",
                    "desc": "Yerli Yapımlar"
                },
                {
                    "id": 32,
                    "cat": "Audio",
                    "desc": "Müzik"
                },
                {
                    "id": 35,
                    "cat": "Audio/Other",
                    "desc": "Diskografi"
                },
                {
                    "id": 34,
                    "cat": "Audio/Foreign",
                    "desc": "Yabancı"
                },
                {
                    "id": 33,
                    "cat": "Audio",
                    "desc": "Yerli"
                },
                {
                    "id": 28,
                    "cat": "PC/Games",
                    "desc": "Oyun"
                },
                {
                    "id": 29,
                    "cat": "PC/Games",
                    "desc": "PC"
                },
                {
                    "id": 31,
                    "cat": "Console/PS4",
                    "desc": "Playstation"
                },
                {
                    "id": 30,
                    "cat": "Console/XBox",
                    "desc": "XBOX"
                },
                {
                    "id": 19,
                    "cat": "Other",
                    "desc": "Platform Sunumları"
                },
                {
                    "id": 21,
                    "cat": "Movies",
                    "desc": "AMZN"
                },
                {
                    "id": 23,
                    "cat": "Movies",
                    "desc": "BluTv"
                },
                {
                    "id": 22,
                    "cat": "TV",
                    "desc": "DSNP"
                },
                {
                    "id": 24,
                    "cat": "TV",
                    "desc": "Exxen"
                },
                {
                    "id": 26,
                    "cat": "TV",
                    "desc": "GAIN"
                },
                {
                    "id": 47,
                    "cat": "TV",
                    "desc": "MAX"
                },
                {
                    "id": 20,
                    "cat": "Movies",
                    "desc": "Netflix"
                },
                {
                    "id": 42,
                    "cat": "TV",
                    "desc": "Tabii"
                },
                {
                    "id": 25,
                    "cat": "TV",
                    "desc": "TOD"
                },
                {
                    "id": 27,
                    "cat": "TV",
                    "desc": "TV+"
                },
                {
                    "id": 36,
                    "cat": "PC",
                    "desc": "Program"
                },
                {
                    "id": 37,
                    "cat": "PC/ISO",
                    "desc": "İşletim Sistemi"
                },
                {
                    "id": 38,
                    "cat": "PC/Mac",
                    "desc": "Mac"
                },
                {
                    "id": 39,
                    "cat": "PC/0day",
                    "desc": "Windows"
                },
                {
                    "id": 40,
                    "cat": "TV/Sport",
                    "desc": "Spor"
                },
                {
                    "id": 41,
                    "cat": "TV/Sport",
                    "desc": "Spor Sunumları"
                },
                {
                    "id": 17,
                    "cat": "TV",
                    "desc": "VIP Sunumlar"
                },
                {
                    "id": 18,
                    "cat": "TV",
                    "desc": "VIP Sunumlar"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-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": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>40</b> on your account profile. The Default is <i>30</i>."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "To keep records updated regularly, all inactive accounts will be deleted after 60 days of inactivity."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img#regimage",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": ""
            },
            "error": [
                {
                    "selector": "table:has(td:contains(\"Bir hata oluştu\"))"
                },
                {
                    "selector": "table:has(a[href*=\"login.php?error=1\"])",
                    "message": {
                        "text": "Incorrect username!"
                    }
                },
                {
                    "selector": "table:has(a[href*=\"login.php?error=2\"])",
                    "message": {
                        "text": "The image verification code you entered was not approved."
                    }
                },
                {
                    "selector": "table:has(a[href*=\"login.php?error=3\"])",
                    "message": {
                        "text": "Please do not leave required fields blank!"
                    }
                },
                {
                    "selector": "table:has(a[href*=\"login.php?error=4\"])",
                    "message": {
                        "text": "Incorrect password!"
                    }
                },
                {
                    "selector": "table:has(a[href*=\"login.php?error=\"])",
                    "message": {
                        "text": "Something went wrong during login!"
                    }
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href*=\"/logout.php\"]"
            }
        },
        "download": {
            "before": {
                "path": "takethanks.php",
                "method": "post",
                "inputs": {
                    "torrentid": "{{ .DownloadUri.Query.id }}"
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php",
                    "method": "post"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[\\s]+",
                        "%"
                    ]
                }
            ],
            "inputs": {
                "do": "search",
                "keywords": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "search_type": "{{ if .Query.IMDBID }}t_genre{{ else }}t_name{{ end }}",
                "category": 0,
                "include_dead_torrents": true,
                "sort": "{{ if .Config.freeleech }}free{{ else }}{{ .Config.sort }}{{ end }}",
                "order": "{{ if .Config.freeleech }}asc{{ else }}{{ .Config.type }}{{ end }}"
            },
            "rows": {
                "selector": "table.sortable tr:has(a[href*=\"download.php?id=\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"browse.php?category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "div.tooltip-content > div",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[src*=\"/torrents/images/\"]",
                    "attribute": "src"
                },
                "date": {
                    "selector": "td:nth-child(2)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{2}-\\d{2}-\\d{4} \\d{2}:\\d{2})"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/freedownload.gif\"]": 0,
                        "img[src$=\"/silverdownload.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"/x2.gif\"]": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "libranet": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "libranet",
        "name": "LibraNet",
        "description": "LibraNet (LN) is a HUNGARIAN Private Torrent Tracker for EBOOKS / LOSSLESS MUSIC",
        "language": "hu-HU",
        "type": "private",
        "encoding": "ISO-8859-2",
        "links": [
            "https://libranet.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 50,
                    "cat": "Movies",
                    "desc": "Film"
                },
                {
                    "id": 51,
                    "cat": "Movies",
                    "desc": "Film/Hun"
                },
                {
                    "id": 3,
                    "cat": "Audio/Audiobook",
                    "desc": "Hangoskönyv"
                },
                {
                    "id": 4,
                    "cat": "Audio/Audiobook",
                    "desc": "Hangoskönyv/Hun"
                },
                {
                    "id": 1,
                    "cat": "Books/EBook",
                    "desc": "Könyv"
                },
                {
                    "id": 2,
                    "cat": "Books/EBook",
                    "desc": "Könyv/Hun"
                },
                {
                    "id": 56,
                    "cat": "Audio/Lossless",
                    "desc": "LossLess"
                },
                {
                    "id": 57,
                    "cat": "Audio/Lossless",
                    "desc": "LossLess/Hun"
                },
                {
                    "id": 48,
                    "cat": "Books/Mags",
                    "desc": "Magazin"
                },
                {
                    "id": 49,
                    "cat": "Books/Mags",
                    "desc": "Magazin/Hun"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "If you do not visit the site for 90 days, the system may delete it due to inactivity."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.text:contains(\"Error\")",
                    "message": {
                        "selector": "td.text"
                    }
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "searchwhere": "",
                "subcat": "",
                "musicstyle": "",
                "format": "",
                "incldead": 1
            },
            "rows": {
                "selector": "table.rounded tr:has(a[href^=\"browse.php?cat=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "_format": {
                    "selector": "img[width=\"60\"]",
                    "attribute": "title"
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "filters": [
                        {
                            "name": "append",
                            "args": " {{ .Result._format }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details",
                                "download"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "&hit=1",
                                ""
                            ]
                        }
                    ]
                },
                "poster": {
                    "selector": "a[onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=([^\\s]+)"
                        }
                    ]
                },
                "date": {
                    "selector": "td:nth-last-child(7)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(4)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(3)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/pic/freeleech.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "genre": {
                    "selector": "td > table",
                    "remove": "b"
                },
                "description": {
                    "text": "{{ .Result._format }}{{ if .Result.genre }} - {{ .Result.genre }}{{ else }}{{ end }}"
                }
            }
        }
    },
    "limetorrents": {
        "id": "limetorrents",
        "name": "LimeTorrents",
        "description": "LimeTorrents is a Public general torrent index with mostly verified torrents",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.limetorrents.fun/",
            "https://limetorrents.unblockninja.com/",
            "https://limetorrents.ninjaproxy1.com/",
            "https://limetorrents.proxyninja.org/",
            "https://limetorrents.proxyninja.net/",
            "https://limetorrents.torrentbay.st/",
            "https://limetorrents.torrentsbay.org/"
        ],
        "legacylinks": [
            "https://limetorrents.mrunblock.bond/",
            "https://limetorrents.nocensor.cloud/",
            "https://limetorrents.abcproxy.org/",
            "https://limetorrents.unblockit.download/",
            "https://www.limetorrents.lol/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "TV shows",
                    "cat": "TV",
                    "desc": "TV shows"
                },
                {
                    "id": "Movies",
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": "Music",
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": "Games",
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": "Applications",
                    "cat": "PC/0day",
                    "desc": "Applications"
                },
                {
                    "id": "Other",
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": "Anime",
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": "E-books",
                    "cat": "Books/EBook",
                    "desc": "E-books"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "downloadlink",
                "type": "select",
                "label": "Download link",
                "default": "magnet:",
                "options": {
                    "http://itorrents.org/": "iTorrents.org",
                    "magnet:": "magnet"
                }
            },
            {
                "name": "downloadlink2",
                "type": "select",
                "label": "Download link (fallback)",
                "default": "http://itorrents.org/",
                "options": {
                    "http://itorrents.org/": "iTorrents.org",
                    "magnet:": "magnet"
                }
            },
            {
                "name": "info_download",
                "type": "info",
                "label": "About the Download links",
                "default": "As the .torrent download links on this site are known to fail from time to time, you can optionally set as a fallback an automatic alternate link."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "date",
                "options": {
                    "date": "created",
                    "seeds": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "info_category_8000",
                "type": "info",
                "label": "About LimeTorrents Categories",
                "default": "LimeTorrents only returns category <b>Other</b> in its <i>Keywordless</i> search results page.</br>To pass your apps' indexer TEST you will need to include the 8000(Other) category."
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "a.csprite_dltorrent[href^=\"{{ .Config.downloadlink }}\"]",
                    "attribute": "href"
                },
                {
                    "selector": "a.csprite_dltorrent[href^=\"{{ .Config.downloadlink2 }}\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search/all/{{ .Keywords }}/{{ .Config.sort }}/1/{{ else }}/latest100{{ end }}"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "S[0-9]{2}([^E]|$)",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": ".table2 > tbody > tr[bgcolor]"
            },
            "fields": {
                "title": {
                    "selector": "div.tt-name > a[href^=\"/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "/(.+?)-torrent-\\d+\\.html"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "-",
                                " "
                            ]
                        }
                    ]
                },
                "category_is_tv_show": {
                    "text": "{{ .Result.title }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\b(S\\d+(?:E\\d+)?)\\b"
                        }
                    ]
                },
                "category": {
                    "selector": "td:nth-child(2)",
                    "optional": true,
                    "default": "{{ if .Result.category_is_tv_show }}TV shows{{ else }}Other{{ end }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": " in (.+?)[.]?$"
                        }
                    ]
                },
                "details": {
                    "selector": "div.tt-name > a[href^=\"/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "div.tt-name > a[href^=\"/\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(2)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "-",
                                0
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Last Month",
                                "1 month ago"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "+",
                                " ago"
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(3)"
                },
                "seeders": {
                    "selector": ".tdseed"
                },
                "leechers": {
                    "selector": ".tdleech"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "linkomanija": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "linkomanija",
        "name": "LinkoManija",
        "description": "LinkoManija is an LITHUANIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "lt-LT",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.linkomanija.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 29,
                    "cat": "Movies/SD",
                    "desc": "Movies"
                },
                {
                    "id": 52,
                    "cat": "Movies/HD",
                    "desc": "Movies HD"
                },
                {
                    "id": 30,
                    "cat": "TV/SD",
                    "desc": "TV"
                },
                {
                    "id": 60,
                    "cat": "TV/HD",
                    "desc": "TV HD"
                },
                {
                    "id": 45,
                    "cat": "PC/Games",
                    "desc": "PC Games"
                },
                {
                    "id": 37,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 56,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 40,
                    "cat": "Other/Misc",
                    "desc": "Misc"
                },
                {
                    "id": 53,
                    "cat": "Movies/SD",
                    "desc": "Movies LT"
                },
                {
                    "id": 61,
                    "cat": "Movies/HD",
                    "desc": "Movies LT HD"
                },
                {
                    "id": 28,
                    "cat": "TV/SD",
                    "desc": "TV LT"
                },
                {
                    "id": 62,
                    "cat": "TV/HD",
                    "desc": "TV LT HD"
                },
                {
                    "id": 63,
                    "cat": "PC/Games",
                    "desc": "PC Games Misc"
                },
                {
                    "id": 33,
                    "cat": "Audio",
                    "desc": "Music LT"
                },
                {
                    "id": 57,
                    "cat": "Books",
                    "desc": "Books LT"
                },
                {
                    "id": 43,
                    "cat": "Other/Misc",
                    "desc": "Misc LT"
                },
                {
                    "id": 51,
                    "cat": "Movies/SD",
                    "desc": "Movies RU"
                },
                {
                    "id": 64,
                    "cat": "Movies/HD",
                    "desc": "Movies RU HD"
                },
                {
                    "id": 65,
                    "cat": "TV",
                    "desc": "TV RU"
                },
                {
                    "id": 25,
                    "cat": "Movies/DVD",
                    "desc": "DVD"
                },
                {
                    "id": 42,
                    "cat": "Console/XBox",
                    "desc": "XBOX"
                },
                {
                    "id": 66,
                    "cat": "Audio/Lossless",
                    "desc": "Music Lossless"
                },
                {
                    "id": 41,
                    "cat": "PC/Mac",
                    "desc": "MAC"
                },
                {
                    "id": 69,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 46,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 58,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries"
                },
                {
                    "id": 38,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 26,
                    "cat": "Movies/DVD",
                    "desc": "DVD LT"
                },
                {
                    "id": 44,
                    "cat": "Console/Other",
                    "desc": "Consoles"
                },
                {
                    "id": 31,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": 32,
                    "cat": "PC/0day",
                    "desc": "Appz"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": "added",
                "options": {
                    "name": "title",
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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>Torrentų puslapyje</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive users will be deleted after 90 days. The newly created account with 0 sent data will be deleted after 28 days."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.klaida"
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 1,
                "freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "searchindesc": "{{ if .Query.IMDBID }}1{{ else }}{{ end }}",
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(\\w+)",
                        "+$1"
                    ]
                }
            ],
            "rows": {
                "selector": "table> tbody > tr:has(a[href^=\"details?\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details?\"]"
                },
                "details": {
                    "selector": "a[href^=\"details?\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "td:nth-child(2) > span",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                " \\| .+",
                                ""
                            ]
                        }
                    ]
                },
                "description": {
                    "selector": "td:nth-child(2) > span"
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/images/flag_green.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.3
                }
            }
        }
    },
    "linuxtracker": {
        "id": "linuxtracker",
        "name": "LinuxTracker",
        "description": "LinuxTracker is a Public Linux ISO Torrent Repository",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://linuxtracker.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 0,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 2002,
                    "cat": "PC/ISO",
                    "desc": "4MLinux"
                },
                {
                    "id": 2004,
                    "cat": "PC/ISO",
                    "desc": "ALT Linux"
                },
                {
                    "id": 2289,
                    "cat": "PC/ISO",
                    "desc": "APODIO"
                },
                {
                    "id": 2012,
                    "cat": "PC/ISO",
                    "desc": "AV Linux"
                },
                {
                    "id": 13,
                    "cat": "PC/ISO",
                    "desc": "Absolute"
                },
                {
                    "id": 2003,
                    "cat": "PC/ISO",
                    "desc": "Alpine Linux"
                },
                {
                    "id": 2292,
                    "cat": "PC/ISO",
                    "desc": "Anarchy Linux"
                },
                {
                    "id": 2005,
                    "cat": "PC/ISO",
                    "desc": "Android x86"
                },
                {
                    "id": 2006,
                    "cat": "PC/ISO",
                    "desc": "Antergos"
                },
                {
                    "id": 2007,
                    "cat": "PC/ISO",
                    "desc": "AntiX"
                },
                {
                    "id": 2263,
                    "cat": "PC/ISO",
                    "desc": "Antivirus Live CD"
                },
                {
                    "id": 39,
                    "cat": "PC/ISO",
                    "desc": "Arch Linux"
                },
                {
                    "id": 2212,
                    "cat": "PC/ISO",
                    "desc": "ArchLabs"
                },
                {
                    "id": 2009,
                    "cat": "PC/ISO",
                    "desc": "Archbang"
                },
                {
                    "id": 2183,
                    "cat": "PC/ISO",
                    "desc": "Archman"
                },
                {
                    "id": 2196,
                    "cat": "PC/ISO",
                    "desc": "ArcoLinux"
                },
                {
                    "id": 2216,
                    "cat": "PC/ISO",
                    "desc": "Artix Linux"
                },
                {
                    "id": 2227,
                    "cat": "PC/ISO",
                    "desc": "AryaLinux"
                },
                {
                    "id": 2288,
                    "cat": "PC/ISO",
                    "desc": "Audiophile Linux"
                },
                {
                    "id": 56,
                    "cat": "PC/ISO",
                    "desc": "Austrumi"
                },
                {
                    "id": 2252,
                    "cat": "PC/ISO",
                    "desc": "BBQLinux"
                },
                {
                    "id": 2260,
                    "cat": "PC/ISO",
                    "desc": "BSD Router Project"
                },
                {
                    "id": 2219,
                    "cat": "PC/ISO",
                    "desc": "BackSlash Linux"
                },
                {
                    "id": 1231,
                    "cat": "PC/ISO",
                    "desc": "Backbox"
                },
                {
                    "id": 2237,
                    "cat": "PC/ISO",
                    "desc": "Batocera Linux"
                },
                {
                    "id": 2272,
                    "cat": "PC/ISO",
                    "desc": "BeeFree OS"
                },
                {
                    "id": 2017,
                    "cat": "PC/ISO",
                    "desc": "Berry Linux"
                },
                {
                    "id": 2301,
                    "cat": "PC/ISO",
                    "desc": "Berserk Arch"
                },
                {
                    "id": 2243,
                    "cat": "PC/ISO",
                    "desc": "BicomSystems PBXware"
                },
                {
                    "id": 2275,
                    "cat": "PC/ISO",
                    "desc": "BigLinux"
                },
                {
                    "id": 2286,
                    "cat": "PC/ISO",
                    "desc": "BitKey"
                },
                {
                    "id": 2020,
                    "cat": "PC/ISO",
                    "desc": "BlackArch"
                },
                {
                    "id": 1238,
                    "cat": "PC/ISO",
                    "desc": "BlackPanther OS"
                },
                {
                    "id": 2262,
                    "cat": "PC/ISO",
                    "desc": "BlackWeb"
                },
                {
                    "id": 2283,
                    "cat": "PC/ISO",
                    "desc": "Blackhat-Global OS"
                },
                {
                    "id": 2021,
                    "cat": "PC/ISO",
                    "desc": "Blacklab"
                },
                {
                    "id": 2022,
                    "cat": "PC/ISO",
                    "desc": "Blag"
                },
                {
                    "id": 79,
                    "cat": "PC/ISO",
                    "desc": "BlankOn"
                },
                {
                    "id": 2182,
                    "cat": "PC/ISO",
                    "desc": "Bluestar Linux"
                },
                {
                    "id": 2023,
                    "cat": "PC/ISO",
                    "desc": "Bodhi"
                },
                {
                    "id": 2205,
                    "cat": "PC/ISO",
                    "desc": "BunsenLabs"
                },
                {
                    "id": 2026,
                    "cat": "PC/ISO",
                    "desc": "Cae"
                },
                {
                    "id": 1220,
                    "cat": "PC/ISO",
                    "desc": "Caine"
                },
                {
                    "id": 2028,
                    "cat": "PC/ISO",
                    "desc": "Calculate Linux"
                },
                {
                    "id": 102,
                    "cat": "PC/ISO",
                    "desc": "CentOS"
                },
                {
                    "id": 1216,
                    "cat": "PC/ISO",
                    "desc": "Chakra"
                },
                {
                    "id": 2253,
                    "cat": "PC/ISO",
                    "desc": "Clear Linux"
                },
                {
                    "id": 2264,
                    "cat": "PC/ISO",
                    "desc": "ClearOS"
                },
                {
                    "id": 2248,
                    "cat": "PC/ISO",
                    "desc": "ClonOS"
                },
                {
                    "id": 107,
                    "cat": "PC/ISO",
                    "desc": "Clonezilla"
                },
                {
                    "id": 2257,
                    "cat": "PC/ISO",
                    "desc": "Condres OS"
                },
                {
                    "id": 2037,
                    "cat": "PC/ISO",
                    "desc": "Container Linux"
                },
                {
                    "id": 121,
                    "cat": "PC/ISO",
                    "desc": "Crunchbang"
                },
                {
                    "id": 122,
                    "cat": "PC/ISO",
                    "desc": "Crux"
                },
                {
                    "id": 2273,
                    "cat": "PC/ISO",
                    "desc": "Cryptocurrency OS"
                },
                {
                    "id": 2245,
                    "cat": "PC/ISO",
                    "desc": "Cucumber Linux"
                },
                {
                    "id": 2285,
                    "cat": "PC/ISO",
                    "desc": "DRBL Live"
                },
                {
                    "id": 123,
                    "cat": "PC/ISO",
                    "desc": "Damnsmall"
                },
                {
                    "id": 128,
                    "cat": "PC/ISO",
                    "desc": "Debian"
                },
                {
                    "id": 131,
                    "cat": "PC/ISO",
                    "desc": "Deepin"
                },
                {
                    "id": 2038,
                    "cat": "PC/ISO",
                    "desc": "Deft"
                },
                {
                    "id": 2192,
                    "cat": "PC/ISO",
                    "desc": "Devuan"
                },
                {
                    "id": 2287,
                    "cat": "PC/ISO",
                    "desc": "Doge Linux"
                },
                {
                    "id": 144,
                    "cat": "PC/ISO",
                    "desc": "DragonFly BSD"
                },
                {
                    "id": 2307,
                    "cat": "PC/ISO",
                    "desc": "Drauger OS"
                },
                {
                    "id": 2226,
                    "cat": "PC/ISO",
                    "desc": "DuZeru OS"
                },
                {
                    "id": 148,
                    "cat": "PC/ISO",
                    "desc": "Dynebolic"
                },
                {
                    "id": 2261,
                    "cat": "PC/ISO",
                    "desc": "Eagle Mode"
                },
                {
                    "id": 2265,
                    "cat": "PC/ISO",
                    "desc": "EasyNAS"
                },
                {
                    "id": 2259,
                    "cat": "PC/ISO",
                    "desc": "EasyOS"
                },
                {
                    "id": 155,
                    "cat": "PC/ISO",
                    "desc": "Edubuntu"
                },
                {
                    "id": 2040,
                    "cat": "PC/ISO",
                    "desc": "Elastix"
                },
                {
                    "id": 2041,
                    "cat": "PC/ISO",
                    "desc": "Elementary OS"
                },
                {
                    "id": 161,
                    "cat": "PC/ISO",
                    "desc": "Elive"
                },
                {
                    "id": 2042,
                    "cat": "PC/ISO",
                    "desc": "Emmabuntus"
                },
                {
                    "id": 2278,
                    "cat": "PC/ISO",
                    "desc": "EndeavourOS"
                },
                {
                    "id": 164,
                    "cat": "PC/ISO",
                    "desc": "Endian"
                },
                {
                    "id": 2179,
                    "cat": "PC/ISO",
                    "desc": "Endless OS"
                },
                {
                    "id": 2223,
                    "cat": "PC/ISO",
                    "desc": "Enso OS"
                },
                {
                    "id": 2043,
                    "cat": "PC/ISO",
                    "desc": "Exe GNU/Linux"
                },
                {
                    "id": 2045,
                    "cat": "PC/ISO",
                    "desc": "Extix"
                },
                {
                    "id": 2220,
                    "cat": "PC/ISO",
                    "desc": "Fatdog64 Linux"
                },
                {
                    "id": 178,
                    "cat": "PC/ISO",
                    "desc": "Fedora"
                },
                {
                    "id": 2194,
                    "cat": "PC/ISO",
                    "desc": "Feren OS"
                },
                {
                    "id": 181,
                    "cat": "PC/ISO",
                    "desc": "Finnix"
                },
                {
                    "id": 2266,
                    "cat": "PC/ISO",
                    "desc": "Forensic Hard Copy"
                },
                {
                    "id": 190,
                    "cat": "PC/ISO",
                    "desc": "FreeBSD"
                },
                {
                    "id": 194,
                    "cat": "PC/ISO",
                    "desc": "FreeNAS"
                },
                {
                    "id": 197,
                    "cat": "PC/ISO",
                    "desc": "Freespire"
                },
                {
                    "id": 2046,
                    "cat": "PC/ISO",
                    "desc": "FuguIta"
                },
                {
                    "id": 2290,
                    "cat": "PC/ISO",
                    "desc": "FuryBSD"
                },
                {
                    "id": 2256,
                    "cat": "PC/ISO",
                    "desc": "G4L"
                },
                {
                    "id": 2235,
                    "cat": "PC/ISO",
                    "desc": "GALPon MiniNo"
                },
                {
                    "id": 1212,
                    "cat": "PC/ISO",
                    "desc": "GParted"
                },
                {
                    "id": 2299,
                    "cat": "PC/ISO",
                    "desc": "Garuda Linux"
                },
                {
                    "id": 2214,
                    "cat": "PC/ISO",
                    "desc": "GeckoLinux"
                },
                {
                    "id": 203,
                    "cat": "PC/ISO",
                    "desc": "GeeXboX"
                },
                {
                    "id": 206,
                    "cat": "PC/ISO",
                    "desc": "Gentoo"
                },
                {
                    "id": 2048,
                    "cat": "PC/ISO",
                    "desc": "GhostBSD"
                },
                {
                    "id": 210,
                    "cat": "PC/ISO",
                    "desc": "Gnewsense"
                },
                {
                    "id": 216,
                    "cat": "PC/ISO",
                    "desc": "GoboLinux"
                },
                {
                    "id": 220,
                    "cat": "PC/ISO",
                    "desc": "Greenie Linux"
                },
                {
                    "id": 221,
                    "cat": "PC/ISO",
                    "desc": "Grml"
                },
                {
                    "id": 2280,
                    "cat": "PC/ISO",
                    "desc": "GroovyArcade"
                },
                {
                    "id": 2228,
                    "cat": "PC/ISO",
                    "desc": "Guix System"
                },
                {
                    "id": 2049,
                    "cat": "PC/ISO",
                    "desc": "Haiku"
                },
                {
                    "id": 2276,
                    "cat": "PC/ISO",
                    "desc": "Hanthana Linux"
                },
                {
                    "id": 2186,
                    "cat": "PC/ISO",
                    "desc": "HardenedBSD"
                },
                {
                    "id": 2200,
                    "cat": "PC/ISO",
                    "desc": "Heads"
                },
                {
                    "id": 2293,
                    "cat": "PC/ISO",
                    "desc": "Hiren's BootCD+PE"
                },
                {
                    "id": 2166,
                    "cat": "PC/ISO",
                    "desc": "Huayra Linux"
                },
                {
                    "id": 2244,
                    "cat": "PC/ISO",
                    "desc": "Hyperbola GNU"
                },
                {
                    "id": 252,
                    "cat": "PC/ISO",
                    "desc": "IPFire"
                },
                {
                    "id": 2181,
                    "cat": "PC/ISO",
                    "desc": "KDE Neon"
                },
                {
                    "id": 2052,
                    "cat": "PC/ISO",
                    "desc": "KaOS"
                },
                {
                    "id": 2294,
                    "cat": "PC/ISO",
                    "desc": "Kaisen Linux"
                },
                {
                    "id": 2051,
                    "cat": "PC/ISO",
                    "desc": "Kali"
                },
                {
                    "id": 2053,
                    "cat": "PC/ISO",
                    "desc": "Karoshi"
                },
                {
                    "id": 277,
                    "cat": "PC/ISO",
                    "desc": "Knoppix"
                },
                {
                    "id": 2054,
                    "cat": "PC/ISO",
                    "desc": "Kolibri"
                },
                {
                    "id": 287,
                    "cat": "PC/ISO",
                    "desc": "Kubuntu"
                },
                {
                    "id": 2057,
                    "cat": "PC/ISO",
                    "desc": "Kwort Linux"
                },
                {
                    "id": 2068,
                    "cat": "PC/ISO",
                    "desc": "LXLE"
                },
                {
                    "id": 2258,
                    "cat": "PC/ISO",
                    "desc": "Lakka"
                },
                {
                    "id": 2176,
                    "cat": "PC/ISO",
                    "desc": "LibreELEC"
                },
                {
                    "id": 2061,
                    "cat": "PC/ISO",
                    "desc": "LinHES"
                },
                {
                    "id": 2242,
                    "cat": "PC/ISO",
                    "desc": "Linspire"
                },
                {
                    "id": 311,
                    "cat": "PC/ISO",
                    "desc": "Linux"
                },
                {
                    "id": 2239,
                    "cat": "PC/ISO",
                    "desc": "Linux Kodachi"
                },
                {
                    "id": 1234,
                    "cat": "PC/ISO",
                    "desc": "Linux Lite"
                },
                {
                    "id": 347,
                    "cat": "PC/ISO",
                    "desc": "Linux Mint"
                },
                {
                    "id": 304,
                    "cat": "PC/ISO",
                    "desc": "LinuxConsole"
                },
                {
                    "id": 2063,
                    "cat": "PC/ISO",
                    "desc": "Linuxfx"
                },
                {
                    "id": 2064,
                    "cat": "PC/ISO",
                    "desc": "Liquid Lemur"
                },
                {
                    "id": 2191,
                    "cat": "PC/ISO",
                    "desc": "Live Raizo"
                },
                {
                    "id": 1218,
                    "cat": "PC/ISO",
                    "desc": "Lubuntu"
                },
                {
                    "id": 2163,
                    "cat": "PC/ISO",
                    "desc": "MOFO Linux"
                },
                {
                    "id": 2177,
                    "cat": "PC/ISO",
                    "desc": "MX Linux"
                },
                {
                    "id": 2296,
                    "cat": "PC/ISO",
                    "desc": "Mabox Linux"
                },
                {
                    "id": 1228,
                    "cat": "PC/ISO",
                    "desc": "Mageia"
                },
                {
                    "id": 2071,
                    "cat": "PC/ISO",
                    "desc": "MakuluLinux"
                },
                {
                    "id": 2073,
                    "cat": "PC/ISO",
                    "desc": "Manjaro"
                },
                {
                    "id": 343,
                    "cat": "PC/ISO",
                    "desc": "MidnightBSD"
                },
                {
                    "id": 2075,
                    "cat": "PC/ISO",
                    "desc": "Minino"
                },
                {
                    "id": 2076,
                    "cat": "PC/ISO",
                    "desc": "Minix"
                },
                {
                    "id": 2300,
                    "cat": "PC/ISO",
                    "desc": "MocaccinoOS"
                },
                {
                    "id": 2241,
                    "cat": "PC/ISO",
                    "desc": "MorpheusArch Linux"
                },
                {
                    "id": 373,
                    "cat": "PC/ISO",
                    "desc": "Mythbuntu"
                },
                {
                    "id": 2078,
                    "cat": "PC/ISO",
                    "desc": "NAS4Free"
                },
                {
                    "id": 2302,
                    "cat": "PC/ISO",
                    "desc": "NakeDeb"
                },
                {
                    "id": 2217,
                    "cat": "PC/ISO",
                    "desc": "Namib GNU/Linux"
                },
                {
                    "id": 2079,
                    "cat": "PC/ISO",
                    "desc": "Neptune"
                },
                {
                    "id": 2080,
                    "cat": "PC/ISO",
                    "desc": "Nethserver"
                },
                {
                    "id": 2081,
                    "cat": "PC/ISO",
                    "desc": "Netrunner"
                },
                {
                    "id": 2190,
                    "cat": "PC/ISO",
                    "desc": "Nitrux"
                },
                {
                    "id": 2084,
                    "cat": "PC/ISO",
                    "desc": "NixOS"
                },
                {
                    "id": 2254,
                    "cat": "PC/ISO",
                    "desc": "NomadBSD"
                },
                {
                    "id": 391,
                    "cat": "PC/ISO",
                    "desc": "Nst"
                },
                {
                    "id": 2086,
                    "cat": "PC/ISO",
                    "desc": "Nutyx"
                },
                {
                    "id": 2203,
                    "cat": "PC/ISO",
                    "desc": "OPNsense"
                },
                {
                    "id": 2234,
                    "cat": "PC/ISO",
                    "desc": "OSGeoLive"
                },
                {
                    "id": 2096,
                    "cat": "PC/ISO",
                    "desc": "OSMC"
                },
                {
                    "id": 2240,
                    "cat": "PC/ISO",
                    "desc": "Obarun"
                },
                {
                    "id": 2211,
                    "cat": "PC/ISO",
                    "desc": "Omarine"
                },
                {
                    "id": 401,
                    "cat": "PC/ISO",
                    "desc": "OpenBSD"
                },
                {
                    "id": 2090,
                    "cat": "PC/ISO",
                    "desc": "OpenIndiana"
                },
                {
                    "id": 2091,
                    "cat": "PC/ISO",
                    "desc": "OpenMandriva Lx"
                },
                {
                    "id": 2092,
                    "cat": "PC/ISO",
                    "desc": "Openmediavault"
                },
                {
                    "id": 2093,
                    "cat": "PC/ISO",
                    "desc": "Opensuse"
                },
                {
                    "id": 1237,
                    "cat": "PC/ISO",
                    "desc": "Oracle Linux"
                },
                {
                    "id": 4,
                    "cat": "PC/ISO",
                    "desc": "Other distros"
                },
                {
                    "id": 2218,
                    "cat": "PC/ISO",
                    "desc": "OviOS Linux"
                },
                {
                    "id": 423,
                    "cat": "PC/ISO",
                    "desc": "PCLinuxOS"
                },
                {
                    "id": 2233,
                    "cat": "PC/ISO",
                    "desc": "PI MusicBox"
                },
                {
                    "id": 416,
                    "cat": "PC/ISO",
                    "desc": "Paldo"
                },
                {
                    "id": 2098,
                    "cat": "PC/ISO",
                    "desc": "Parabola GNU/Linux"
                },
                {
                    "id": 419,
                    "cat": "PC/ISO",
                    "desc": "Pardus"
                },
                {
                    "id": 2162,
                    "cat": "PC/ISO",
                    "desc": "Parrot"
                },
                {
                    "id": 422,
                    "cat": "PC/ISO",
                    "desc": "Pcbsd"
                },
                {
                    "id": 430,
                    "cat": "PC/ISO",
                    "desc": "Peppermint"
                },
                {
                    "id": 432,
                    "cat": "PC/ISO",
                    "desc": "Pfsense"
                },
                {
                    "id": 2101,
                    "cat": "PC/ISO",
                    "desc": "Pinguy OS"
                },
                {
                    "id": 2102,
                    "cat": "PC/ISO",
                    "desc": "Pisi Linux"
                },
                {
                    "id": 441,
                    "cat": "PC/ISO",
                    "desc": "Plamo Linux"
                },
                {
                    "id": 2103,
                    "cat": "PC/ISO",
                    "desc": "Plop"
                },
                {
                    "id": 1235,
                    "cat": "PC/ISO",
                    "desc": "Point Linux"
                },
                {
                    "id": 2207,
                    "cat": "PC/ISO",
                    "desc": "Pop!_OS"
                },
                {
                    "id": 2106,
                    "cat": "PC/ISO",
                    "desc": "Porteus"
                },
                {
                    "id": 2107,
                    "cat": "PC/ISO",
                    "desc": "Porteus Kiosk"
                },
                {
                    "id": 2209,
                    "cat": "PC/ISO",
                    "desc": "PrimTux"
                },
                {
                    "id": 2247,
                    "cat": "PC/ISO",
                    "desc": "Project Trident"
                },
                {
                    "id": 1230,
                    "cat": "PC/ISO",
                    "desc": "Proxmox"
                },
                {
                    "id": 452,
                    "cat": "PC/ISO",
                    "desc": "Puppy"
                },
                {
                    "id": 2221,
                    "cat": "PC/ISO",
                    "desc": "PureOS"
                },
                {
                    "id": 2108,
                    "cat": "PC/ISO",
                    "desc": "Q4OS"
                },
                {
                    "id": 2109,
                    "cat": "PC/ISO",
                    "desc": "Qubes"
                },
                {
                    "id": 455,
                    "cat": "PC/ISO",
                    "desc": "Quirky"
                },
                {
                    "id": 2180,
                    "cat": "PC/ISO",
                    "desc": "RancherOS"
                },
                {
                    "id": 2201,
                    "cat": "PC/ISO",
                    "desc": "Raspberry Digital"
                },
                {
                    "id": 2199,
                    "cat": "PC/ISO",
                    "desc": "Raspberry Slideshow"
                },
                {
                    "id": 2110,
                    "cat": "PC/ISO",
                    "desc": "Raspbian"
                },
                {
                    "id": 2111,
                    "cat": "PC/ISO",
                    "desc": "Reactos"
                },
                {
                    "id": 2232,
                    "cat": "PC/ISO",
                    "desc": "RebeccaBlackOS"
                },
                {
                    "id": 2236,
                    "cat": "PC/ISO",
                    "desc": "Reborn OS"
                },
                {
                    "id": 2274,
                    "cat": "PC/ISO",
                    "desc": "Redcore Linux"
                },
                {
                    "id": 458,
                    "cat": "PC/ISO",
                    "desc": "Redhat"
                },
                {
                    "id": 2202,
                    "cat": "PC/ISO",
                    "desc": "Refracta"
                },
                {
                    "id": 2291,
                    "cat": "PC/ISO",
                    "desc": "RegataOS"
                },
                {
                    "id": 2114,
                    "cat": "PC/ISO",
                    "desc": "Rescatux"
                },
                {
                    "id": 2270,
                    "cat": "PC/ISO",
                    "desc": "Resilient Linux"
                },
                {
                    "id": 2116,
                    "cat": "PC/ISO",
                    "desc": "Robolinux"
                },
                {
                    "id": 1223,
                    "cat": "PC/ISO",
                    "desc": "Rosa"
                },
                {
                    "id": 2117,
                    "cat": "PC/ISO",
                    "desc": "Runtu"
                },
                {
                    "id": 2119,
                    "cat": "PC/ISO",
                    "desc": "SELKS"
                },
                {
                    "id": 14,
                    "cat": "PC/ISO",
                    "desc": "Sabayon"
                },
                {
                    "id": 2118,
                    "cat": "PC/ISO",
                    "desc": "Salentos"
                },
                {
                    "id": 477,
                    "cat": "PC/ISO",
                    "desc": "Salix"
                },
                {
                    "id": 482,
                    "cat": "PC/ISO",
                    "desc": "Scientific Linux"
                },
                {
                    "id": 2304,
                    "cat": "PC/ISO",
                    "desc": "Security Onion"
                },
                {
                    "id": 2250,
                    "cat": "PC/ISO",
                    "desc": "Septor"
                },
                {
                    "id": 489,
                    "cat": "PC/ISO",
                    "desc": "SharkLinux"
                },
                {
                    "id": 2121,
                    "cat": "PC/ISO",
                    "desc": "Siduction"
                },
                {
                    "id": 2122,
                    "cat": "PC/ISO",
                    "desc": "Simplicity Linux"
                },
                {
                    "id": 2164,
                    "cat": "PC/ISO",
                    "desc": "Skywave Linux"
                },
                {
                    "id": 493,
                    "cat": "PC/ISO",
                    "desc": "Slackel"
                },
                {
                    "id": 495,
                    "cat": "PC/ISO",
                    "desc": "Slackware"
                },
                {
                    "id": 499,
                    "cat": "PC/ISO",
                    "desc": "Slax"
                },
                {
                    "id": 2303,
                    "cat": "PC/ISO",
                    "desc": "Slimbook OS"
                },
                {
                    "id": 2124,
                    "cat": "PC/ISO",
                    "desc": "SmartOS"
                },
                {
                    "id": 2125,
                    "cat": "PC/ISO",
                    "desc": "Smeserver"
                },
                {
                    "id": 505,
                    "cat": "PC/ISO",
                    "desc": "Smoothwall Express"
                },
                {
                    "id": 2126,
                    "cat": "PC/ISO",
                    "desc": "Solus"
                },
                {
                    "id": 2127,
                    "cat": "PC/ISO",
                    "desc": "Solydxk"
                },
                {
                    "id": 1236,
                    "cat": "PC/ISO",
                    "desc": "SparkyLinux"
                },
                {
                    "id": 2297,
                    "cat": "PC/ISO",
                    "desc": "SpiralLinux"
                },
                {
                    "id": 2225,
                    "cat": "PC/ISO",
                    "desc": "Star"
                },
                {
                    "id": 2132,
                    "cat": "PC/ISO",
                    "desc": "Steamos"
                },
                {
                    "id": 2174,
                    "cat": "PC/ISO",
                    "desc": "Super Grub2 Disk"
                },
                {
                    "id": 2134,
                    "cat": "PC/ISO",
                    "desc": "SuperX"
                },
                {
                    "id": 2189,
                    "cat": "PC/ISO",
                    "desc": "SwagArch"
                },
                {
                    "id": 2267,
                    "cat": "PC/ISO",
                    "desc": "Symphony OS"
                },
                {
                    "id": 2295,
                    "cat": "PC/ISO",
                    "desc": "SysLinuxOS"
                },
                {
                    "id": 2135,
                    "cat": "PC/ISO",
                    "desc": "SystemRescueCD"
                },
                {
                    "id": 2188,
                    "cat": "PC/ISO",
                    "desc": "TENS"
                },
                {
                    "id": 2136,
                    "cat": "PC/ISO",
                    "desc": "Tails"
                },
                {
                    "id": 542,
                    "cat": "PC/ISO",
                    "desc": "Thinstation"
                },
                {
                    "id": 2279,
                    "cat": "PC/ISO",
                    "desc": "TinyPaw Linux"
                },
                {
                    "id": 2138,
                    "cat": "PC/ISO",
                    "desc": "Tinycore"
                },
                {
                    "id": 550,
                    "cat": "PC/ISO",
                    "desc": "Trisquel"
                },
                {
                    "id": 2195,
                    "cat": "PC/ISO",
                    "desc": "TrueOS"
                },
                {
                    "id": 2271,
                    "cat": "PC/ISO",
                    "desc": "Tsurugi Linux"
                },
                {
                    "id": 2140,
                    "cat": "PC/ISO",
                    "desc": "TurnKey"
                },
                {
                    "id": 2206,
                    "cat": "PC/ISO",
                    "desc": "UBOS"
                },
                {
                    "id": 563,
                    "cat": "PC/ISO",
                    "desc": "Ubuntu"
                },
                {
                    "id": 2198,
                    "cat": "PC/ISO",
                    "desc": "Ubuntu Budgie"
                },
                {
                    "id": 2284,
                    "cat": "PC/ISO",
                    "desc": "Ubuntu Cinnamon Rem"
                },
                {
                    "id": 2249,
                    "cat": "PC/ISO",
                    "desc": "Ubuntu DesktopPack"
                },
                {
                    "id": 2143,
                    "cat": "PC/ISO",
                    "desc": "Ubuntu Gnome"
                },
                {
                    "id": 2144,
                    "cat": "PC/ISO",
                    "desc": "Ubuntu Kylin"
                },
                {
                    "id": 2145,
                    "cat": "PC/ISO",
                    "desc": "Ubuntu Mate"
                },
                {
                    "id": 564,
                    "cat": "PC/ISO",
                    "desc": "Ubuntu Studio"
                },
                {
                    "id": 569,
                    "cat": "PC/ISO",
                    "desc": "Ultimate Edition"
                },
                {
                    "id": 2222,
                    "cat": "PC/ISO",
                    "desc": "Univention Corporate"
                },
                {
                    "id": 2149,
                    "cat": "PC/ISO",
                    "desc": "Untangle NG Firewall"
                },
                {
                    "id": 2173,
                    "cat": "PC/ISO",
                    "desc": "Uruk GNU/Linux"
                },
                {
                    "id": 579,
                    "cat": "PC/ISO",
                    "desc": "Vector"
                },
                {
                    "id": 2282,
                    "cat": "PC/ISO",
                    "desc": "Virage"
                },
                {
                    "id": 2151,
                    "cat": "PC/ISO",
                    "desc": "Void Linux"
                },
                {
                    "id": 2152,
                    "cat": "PC/ISO",
                    "desc": "Volumio"
                },
                {
                    "id": 2153,
                    "cat": "PC/ISO",
                    "desc": "Voyager Live"
                },
                {
                    "id": 2154,
                    "cat": "PC/ISO",
                    "desc": "VyOS"
                },
                {
                    "id": 2281,
                    "cat": "PC/ISO",
                    "desc": "Web Security Dojo"
                },
                {
                    "id": 2246,
                    "cat": "PC/ISO",
                    "desc": "Whonix"
                },
                {
                    "id": 2155,
                    "cat": "PC/ISO",
                    "desc": "Wifislax"
                },
                {
                    "id": 2229,
                    "cat": "PC/ISO",
                    "desc": "XiVa Studio"
                },
                {
                    "id": 2251,
                    "cat": "PC/ISO",
                    "desc": "XigmaNAS"
                },
                {
                    "id": 607,
                    "cat": "PC/ISO",
                    "desc": "Xubuntu"
                },
                {
                    "id": 612,
                    "cat": "PC/ISO",
                    "desc": "Zen"
                },
                {
                    "id": 2159,
                    "cat": "PC/ISO",
                    "desc": "Zentyal"
                },
                {
                    "id": 346,
                    "cat": "PC/ISO",
                    "desc": "Zenwalk Linux"
                },
                {
                    "id": 2160,
                    "cat": "PC/ISO",
                    "desc": "Zeroshell"
                },
                {
                    "id": 2193,
                    "cat": "PC/ISO",
                    "desc": "Zevenet"
                },
                {
                    "id": 1233,
                    "cat": "PC/ISO",
                    "desc": "Zorin"
                },
                {
                    "id": 531,
                    "cat": "PC/ISO",
                    "desc": "no category"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "index.php"
                },
                {
                    "path": "index.php",
                    "inputs": {
                        "pages": 2
                    }
                }
            ],
            "inputs": {
                "$raw": "category={{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}&",
                "search": "{{ .Keywords }}",
                "page": "torrents",
                "active": 1,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.lista[width=\"100%\"] > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"][title])"
            },
            "fields": {
                "category_id": {
                    "selector": "a[href^=\"index.php?page=torrents&category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "category": {
                    "text": "{{ .Result.category_id }}"
                },
                "title": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"][title]"
                },
                "details": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"][title]",
                    "attribute": "href"
                },
                "infohash": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"][title]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "id"
                        }
                    ]
                },
                "poster": {
                    "selector": "img[src*=\"/images/categories/\"]",
                    "attribute": "src"
                },
                "date": {
                    "selector": "td:nth-child(2) > table > tbody > tr > td",
                    "remove": "strong",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(2) > table > tbody > tr:nth-child(2) > td",
                    "remove": "strong"
                },
                "seeders": {
                    "selector": "td:nth-child(2) > table > tbody > tr:nth-child(3) > td",
                    "remove": "strong"
                },
                "leechers": {
                    "selector": "td:nth-child(2) > table > tbody > tr:nth-child(4) > td",
                    "remove": "strong"
                },
                "grabs": {
                    "selector": "td:nth-child(2) > table > tbody > tr:nth-child(5) > td",
                    "remove": "strong"
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "table",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "category={{ .Result.category_id }}; "
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "locadora": {
        "credentials": {
            "apikey": ""
        },
        "id": "locadora",
        "name": "Locadora (API)",
        "description": "Locadora is a BRAZILIAN Private Torrent Tracker for MOVIES / TV / ANIME",
        "language": "pt-BR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://locadora.cc/"
        ],
        "legacylinks": [
            "https://locadora.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Filmes"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Series"
                },
                {
                    "id": 6,
                    "cat": "TV/Anime",
                    "desc": "Animes"
                },
                {
                    "id": 7,
                    "cat": "Audio/Video",
                    "desc": "Shows"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://locadora.cc/\" target=\"_blank\">Locadora</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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 that are inactive for 90 days are deactivated."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Cinema TV)",
                                "Cinema_TV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Ficção científica)",
                                "Ficção_científica"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "longpt": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "longpt",
        "name": "LongPT",
        "description": "LongPT is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://longpt.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 408,
                    "cat": "Audio/Lossless",
                    "desc": "音频"
                },
                {
                    "id": 410,
                    "cat": "Audio/Audiobook",
                    "desc": "有声书"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "音乐视频"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "剧集"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动画"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影"
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": "其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the LongPT Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted</li><li>Elite User or above would never be deleted if parked (at User CP)</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row</li><li>Un-parked accounts would be deleted if users have not logged in for more than 150 days in a row</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"]": "Verified:",
                        "span[title=\"未审\"]": "Unverified:",
                        "span[title=\"拒绝\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "losslessclub": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "losslessclub",
        "name": "LosslessClub",
        "description": "LosslessClub is a RUSSIAN Private Torrent Tracker for High Quality Music",
        "language": "ru-RU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://losslessclub.com/"
        ],
        "caps": {
            "categories": {
                "1": "Audio/Lossless"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "artist"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "info_login",
                "type": "info",
                "label": "About LosslessClub Forum versus LosslessClub Tracker",
                "default": "The <a href=\"https://losslessclub.com/\" target=\"_blank\">LosslessClub Forum</a> credentials are different from the <a href=\"https://losslessclub.com/login.php\" target=\"_blank\">LosslessClub Tracker</a> credentials so if the indexer is giving you 'Error Username or password is incorrect' then you are likely using the Forum credentials to access the Tracker."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded > div.error"
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "span.bar_user_welcome"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "search": "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}",
                "t": "all"
            },
            "rows": {
                "selector": "div#releases-table > table > tbody > tr:has(a.browselink)"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "a.browselink"
                },
                "details": {
                    "selector": "a.browselink",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img.thumbnail",
                    "attribute": "src"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "optional": true,
                    "selector": "td:nth-child(6) br + span"
                },
                "seeders": {
                    "selector": "td:nth-child(6)",
                    "remove": "br + span",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([\\.\\d]+)\\s+\\|"
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(6)",
                    "remove": "br + span",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\|\\s*([\\.\\d]+)"
                        }
                    ]
                },
                "date": {
                    "selector": "td:nth-child(7)",
                    "remove": "a, i",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "by",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "d/MM/yy zzz"
                        }
                    ]
                },
                "description": {
                    "selector": "div.tag_list_browse"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "lp-bits": {
        "credentials": {
            "cookie": ""
        },
        "id": "lp-bits",
        "name": "LP-Bits 2.0",
        "description": "LP-Bits 2.0 is a Private Torrent Tracker for Linkin Park Music Releases.\"",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://lp-bits.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 409,
                    "cat": "Audio/Video",
                    "desc": "Video Audience Shot"
                },
                {
                    "id": 404,
                    "cat": "Audio/Video",
                    "desc": "Documentaries  Misc"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": 407,
                    "cat": "Audio",
                    "desc": "Audio Professional"
                },
                {
                    "id": 408,
                    "cat": "Audio/Video",
                    "desc": "Pro Shot Video"
                },
                {
                    "id": 410,
                    "cat": "Audio",
                    "desc": "Audio Audience Shot"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "pic/imdb_pic/nophoto.gif",
                                ""
                            ]
                        }
                    ]
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                }
            }
        }
    },
    "lst": {
        "credentials": {
            "apikey": ""
        },
        "id": "lst",
        "name": "LST",
        "description": "LST is an ENGLISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://lst.gg/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 6,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Game"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "Application"
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 9,
                    "cat": "Books/EBook",
                    "desc": "Ebook/Manga"
                },
                {
                    "id": 10,
                    "cat": "Other",
                    "desc": "Education"
                },
                {
                    "id": 11,
                    "cat": "Movies/Other",
                    "desc": "FANRES"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://lst.gg/\" target=\"_blank\">LST</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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 get disabled after 90 days of no logins or any sort of activity. Accounts will also get soft deleted after 120 days."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "luckpt": {
        "credentials": {
            "cookie": ""
        },
        "id": "luckpt",
        "name": "LuckPT",
        "description": "LuckPT is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.luckpt.de/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影 / Movies"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧 / TV Series"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫 / Animations"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "演唱会、MV / Music Videos"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐 / Music"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他 / Other"
                },
                {
                    "id": 410,
                    "cat": "TV",
                    "desc": "综艺 / TV Shows"
                },
                {
                    "id": 411,
                    "cat": "TV/Documentary",
                    "desc": "纪录片 / Documentary"
                },
                {
                    "id": 412,
                    "cat": "TV/Sport",
                    "desc": "体育 / Sports"
                },
                {
                    "id": 413,
                    "cat": "TV/Other",
                    "desc": "短剧 / Playlet"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>If there is no valid traffic within 100 days of registration (participation in the calculation of sharing rate), the account will be blocked</li><li>After the level is reduced to \"Peasant\", if the sharing rate is not improved within 30 days, the account will be blocked</li><li>Long-term non-login:<ul>- UnParked account: 150 consecutive days of non-login → banned</ul><ul>- Parked account: 400 consecutive days of non-login → banned</ul><ul>- Veteran Master and above levels are not subject to long-term non-login ban restrictions</ul></li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "luminarr-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "luminarr-api",
        "name": "Luminarr (API)",
        "description": "Luminarr is a Private Torrent Tracker for MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://luminarr.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://luminarr.me/\" target=\"_blank\">luminarr.me</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "<ul><li>To avoid your account being disabled, you must login at least once every 3 months (90 days). Accounts will be pruned three months after deactivation for inactivity.</li><li> Luminarr is a sharing community, not a collection service. You must actively participate by uploading or downloading content within 30 days of account creation. Accounts that show no activity within this period may be pruned.</li></ul>"
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "mactorrentsdownload": {
        "id": "mactorrentsdownload",
        "name": "Mac Torrents Download",
        "description": "Mac Torrents Download is a Public tracker for Mac software",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.torrentmac.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "apps",
                    "cat": "PC/Mac",
                    "desc": "Apps"
                },
                {
                    "id": "games",
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": "design-assets",
                    "cat": "Other",
                    "desc": "Design Assets"
                },
                {
                    "id": "uncategorized",
                    "cat": "Other",
                    "desc": "Uncategorized"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "download": {
            "before": {
                "pathselector": {
                    "selector": "a[href^=\"/download?\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "/download?",
                                "/download/?"
                            ]
                        }
                    ]
                }
            },
            "selectors": [
                {
                    "selector": "script:contains(\"torrentLink\")",
                    "usebeforeresponse": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "torrentLink = '(.+?)';"
                        }
                    ]
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "s": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "article[id^=\"post-\"]",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"/category/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                4
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "a",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "description": {
                    "selector": "section p"
                },
                "date": {
                    "selector": "time",
                    "attribute": "datetime",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd zzz"
                        }
                    ]
                },
                "size": {
                    "text": "512 MB"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "madsrevolution": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "madsrevolution",
        "name": "MaDs Revolution",
        "description": "MaDs Revolution is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://madsrevolution.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 52,
                    "cat": "Movies/UHD",
                    "desc": "Filme UHD"
                },
                {
                    "id": 3,
                    "cat": "Movies/HD",
                    "desc": "Filme 1080p"
                },
                {
                    "id": 4,
                    "cat": "Movies/HD",
                    "desc": "Filme 720p"
                },
                {
                    "id": 47,
                    "cat": "Movies/HD",
                    "desc": "Filme x264"
                },
                {
                    "id": 2,
                    "cat": "Movies/SD",
                    "desc": "Filme DivX/XviD"
                },
                {
                    "id": 1,
                    "cat": "Movies/DVD",
                    "desc": "Filme DVD-R"
                },
                {
                    "id": 20,
                    "cat": "Movies/3D",
                    "desc": "Filme 3D"
                },
                {
                    "id": 54,
                    "cat": "TV/UHD",
                    "desc": "Serien UHD"
                },
                {
                    "id": 28,
                    "cat": "TV/HD",
                    "desc": "Serien 1080p"
                },
                {
                    "id": 26,
                    "cat": "TV/HD",
                    "desc": "Serien 720p"
                },
                {
                    "id": 48,
                    "cat": "TV/HD",
                    "desc": "Serien x264"
                },
                {
                    "id": 27,
                    "cat": "TV/SD",
                    "desc": "Serien DivX/XviD"
                },
                {
                    "id": 25,
                    "cat": "TV/SD",
                    "desc": "Serien DVD-R"
                },
                {
                    "id": 8,
                    "cat": "TV/Other",
                    "desc": "Serien Unsorted"
                },
                {
                    "id": 38,
                    "cat": "Audio",
                    "desc": "Musik Album"
                },
                {
                    "id": 37,
                    "cat": "Audio",
                    "desc": "Musik Single/EP"
                },
                {
                    "id": 40,
                    "cat": "Audio/Video",
                    "desc": "Musik Video"
                },
                {
                    "id": 39,
                    "cat": "Audio",
                    "desc": "Musik Pack"
                },
                {
                    "id": 14,
                    "cat": "Audio/Other",
                    "desc": "Musik Unsorted"
                },
                {
                    "id": 44,
                    "cat": "PC/0day",
                    "desc": "Software Windows"
                },
                {
                    "id": 42,
                    "cat": "PC/Mac",
                    "desc": "Software Mac"
                },
                {
                    "id": 41,
                    "cat": "PC",
                    "desc": "Software Linux"
                },
                {
                    "id": 43,
                    "cat": "PC/Mobile-Other",
                    "desc": "Software Mobile"
                },
                {
                    "id": 11,
                    "cat": "PC",
                    "desc": "Software Unsorted"
                },
                {
                    "id": 12,
                    "cat": "PC/Games",
                    "desc": "Spiele PC"
                },
                {
                    "id": 13,
                    "cat": "Console",
                    "desc": "Spiele Konsole"
                },
                {
                    "id": 17,
                    "cat": "Console",
                    "desc": "Spiele Portable"
                },
                {
                    "id": 46,
                    "cat": "Console",
                    "desc": "Spiele Other"
                },
                {
                    "id": 53,
                    "cat": "TV/Documentary",
                    "desc": "Dokus UHD"
                },
                {
                    "id": 24,
                    "cat": "TV/Documentary",
                    "desc": "Dokus 1080p"
                },
                {
                    "id": 22,
                    "cat": "TV/Documentary",
                    "desc": "Dokus 720p"
                },
                {
                    "id": 49,
                    "cat": "TV/Documentary",
                    "desc": "Dokus x264"
                },
                {
                    "id": 23,
                    "cat": "TV/Documentary",
                    "desc": "Dokus DivX/XviD"
                },
                {
                    "id": 21,
                    "cat": "TV/Documentary",
                    "desc": "Dokus DVD-R"
                },
                {
                    "id": 7,
                    "cat": "TV/Documentary",
                    "desc": "Dokus Unsorted"
                },
                {
                    "id": 55,
                    "cat": "TV/Sport",
                    "desc": "Sport UHD"
                },
                {
                    "id": 32,
                    "cat": "TV/Sport",
                    "desc": "Sport 1080p"
                },
                {
                    "id": 30,
                    "cat": "TV/Sport",
                    "desc": "Sport 720p"
                },
                {
                    "id": 50,
                    "cat": "TV/Sport",
                    "desc": "Sport x264"
                },
                {
                    "id": 31,
                    "cat": "TV/Sport",
                    "desc": "Sport DivX/XviD"
                },
                {
                    "id": 29,
                    "cat": "TV/Sport",
                    "desc": "Sport DVD-R"
                },
                {
                    "id": 9,
                    "cat": "TV/Sport",
                    "desc": "Sport Unsorted"
                },
                {
                    "id": 15,
                    "cat": "Audio/Audiobook",
                    "desc": "Books aBooks"
                },
                {
                    "id": 18,
                    "cat": "Books/EBook",
                    "desc": "Books eBooks"
                },
                {
                    "id": 56,
                    "cat": "XXX",
                    "desc": "XXX UHD"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "XXX 1080p"
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "XXX 720p"
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "XXX x264"
                },
                {
                    "id": 35,
                    "cat": "XXX",
                    "desc": "XXX DivX/XviD"
                },
                {
                    "id": 33,
                    "cat": "XXX",
                    "desc": "XXX DVD-R"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "XXX Unsorted"
                },
                {
                    "id": 5,
                    "cat": "TV/Anime",
                    "desc": "Misc Anime"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "Misc Hentai"
                },
                {
                    "id": 19,
                    "cat": "Other",
                    "desc": "Misc Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "genre"
                ],
                "movie-search": [
                    "q",
                    "genre"
                ],
                "music-search": [
                    "q",
                    "genre"
                ],
                "book-search": [
                    "q",
                    "genre"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "s3",
                "options": {
                    "s3": "created",
                    "s6": "seeders",
                    "s4": "size",
                    "s1": "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": "After 8 weeks of inactivity, the account will be automatically deleted."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "keeplogged": 1
            },
            "error": [
                {
                    "selector": "div#error-text"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?auth=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "action": "{{ if .Config.freeleech }}uploadonly{{ else }}{{ end }}",
                "searchstr": "{{ .Keywords }}",
                "searchtags": "{{ .Query.Genre }}",
                "tags_type": 0,
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr.torrent:has(a[href^=\"torrents.php?action=download&id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a.c-sub",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[(\\d+)\\]"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"torrents.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"torrents.php?id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.+?) "
                        }
                    ]
                },
                "genre": {
                    "selector": "div.tags"
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "date": {
                    "selector": "td:nth-last-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd MMM yyyy, HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(2)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(1)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "strong:contains(\"UploadOnly!\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.8
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "magico": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "magico",
        "replaces": [
            "trellas"
        ],
        "name": "Magico",
        "description": "Magico (Trellas) is a GREEK Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "el-GR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://mpellas.me/"
        ],
        "legacylinks": [
            "https://magico.to/",
            "https://magico.info/",
            "https://magico.one/",
            "https://magico.club/",
            "https://magico.fun/",
            "https://trellas.info/",
            "https://trelas.club/",
            "https://trellas.net/",
            "https://trellas.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 84,
                    "cat": "Movies",
                    "desc": "Movies New (2022, 2023, 2024)"
                },
                {
                    "id": 14,
                    "cat": "Movies/SD",
                    "desc": "Movies DVDRip-WEBRip-BRRip (up to 2021)"
                },
                {
                    "id": 16,
                    "cat": "Movies/SD",
                    "desc": "Movies (CAM)"
                },
                {
                    "id": 17,
                    "cat": "Movies/BluRay",
                    "desc": "Movies BLU-RAY"
                },
                {
                    "id": 44,
                    "cat": "Movies",
                    "desc": "Movies Greek"
                },
                {
                    "id": 76,
                    "cat": "Movies",
                    "desc": "Movies Documentaries"
                },
                {
                    "id": 82,
                    "cat": "Movies",
                    "desc": "Movies Theater"
                },
                {
                    "id": 52,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 53,
                    "cat": "TV/SD",
                    "desc": "TV Series Foreign"
                },
                {
                    "id": 70,
                    "cat": "TV/HD",
                    "desc": "TV Series Foreign (720p/1080p)"
                },
                {
                    "id": 54,
                    "cat": "TV",
                    "desc": "TV Series Greek"
                },
                {
                    "id": 86,
                    "cat": "TV",
                    "desc": "TV Series Foreign Complete Seasons"
                },
                {
                    "id": 92,
                    "cat": "TV",
                    "desc": "TV Series Foreign Complete Seasons (720p/1080p)"
                },
                {
                    "id": 87,
                    "cat": "TV",
                    "desc": "TV Series Greek Complete Seasons"
                },
                {
                    "id": 99,
                    "cat": "TV",
                    "desc": "TV Series Greek Turkish women"
                },
                {
                    "id": 63,
                    "cat": "TV",
                    "desc": "TV Series Recreational"
                },
                {
                    "id": 83,
                    "cat": "TV/Sport",
                    "desc": "TV Sports"
                },
                {
                    "id": 55,
                    "cat": "Movies",
                    "desc": "Children"
                },
                {
                    "id": 38,
                    "cat": "Movies",
                    "desc": "Children (Movies)"
                },
                {
                    "id": 39,
                    "cat": "Movies",
                    "desc": "Children Subtitled (Movies)"
                },
                {
                    "id": 93,
                    "cat": "Movies",
                    "desc": "Children (TV Series)"
                },
                {
                    "id": 94,
                    "cat": "Movies",
                    "desc": "Children Subtitled (TV Series)"
                },
                {
                    "id": 45,
                    "cat": "Movies",
                    "desc": "Children Anime"
                },
                {
                    "id": 98,
                    "cat": "Movies",
                    "desc": "Children 3D"
                },
                {
                    "id": 64,
                    "cat": "Movies",
                    "desc": "Children Music"
                },
                {
                    "id": 7,
                    "cat": "Audio",
                    "desc": "Music Foreign"
                },
                {
                    "id": 21,
                    "cat": "Audio",
                    "desc": "Music Foreign New Releases"
                },
                {
                    "id": 46,
                    "cat": "Audio",
                    "desc": "Music Foreign Old Releases"
                },
                {
                    "id": 32,
                    "cat": "Audio",
                    "desc": "Music Foreign Discographies"
                },
                {
                    "id": 20,
                    "cat": "Audio",
                    "desc": "Music Foreign Collections"
                },
                {
                    "id": 102,
                    "cat": "Audio",
                    "desc": "Music Foreign MAGICO Radio"
                },
                {
                    "id": 108,
                    "cat": "Audio",
                    "desc": "Music Foreign Lice Cd's"
                },
                {
                    "id": 81,
                    "cat": "Audio",
                    "desc": "Music Foreign Karaoke"
                },
                {
                    "id": 95,
                    "cat": "Audio",
                    "desc": "Music Foreign Soundtrack"
                },
                {
                    "id": 47,
                    "cat": "Audio",
                    "desc": "Music Greek"
                },
                {
                    "id": 48,
                    "cat": "Audio",
                    "desc": "Music Greek New Releases"
                },
                {
                    "id": 49,
                    "cat": "Audio",
                    "desc": "Music Greek Old Releases"
                },
                {
                    "id": 51,
                    "cat": "Audio",
                    "desc": "Music Greek Discographies"
                },
                {
                    "id": 50,
                    "cat": "Audio",
                    "desc": "Music Greek Collections"
                },
                {
                    "id": 101,
                    "cat": "Audio",
                    "desc": "Music Greek MAGICO Radio"
                },
                {
                    "id": 97,
                    "cat": "Audio",
                    "desc": "Music Greek Live Cd's"
                },
                {
                    "id": 57,
                    "cat": "Audio",
                    "desc": "Music Greek Rebetika"
                },
                {
                    "id": 58,
                    "cat": "Audio",
                    "desc": "Music Greek Primary"
                },
                {
                    "id": 59,
                    "cat": "Audio",
                    "desc": "Music Greek Cretan"
                },
                {
                    "id": 60,
                    "cat": "Audio",
                    "desc": "Music Greek Island"
                },
                {
                    "id": 62,
                    "cat": "Audio",
                    "desc": "Music Greek Pontian"
                },
                {
                    "id": 80,
                    "cat": "Audio",
                    "desc": "Music Greek Karaoke"
                },
                {
                    "id": 96,
                    "cat": "Audio",
                    "desc": "Music Greek Soundtracks"
                },
                {
                    "id": 73,
                    "cat": "Audio",
                    "desc": "Music Seasonal"
                },
                {
                    "id": 74,
                    "cat": "Audio",
                    "desc": "Music Seasonal Xmas"
                },
                {
                    "id": 79,
                    "cat": "Audio",
                    "desc": "Music Seasonal Easter"
                },
                {
                    "id": 75,
                    "cat": "Audio",
                    "desc": "Music Seasonal Halloween"
                },
                {
                    "id": 78,
                    "cat": "Audio",
                    "desc": "Music  Seasonal Valentines"
                },
                {
                    "id": 33,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 41,
                    "cat": "Books",
                    "desc": "Books Greek"
                },
                {
                    "id": 71,
                    "cat": "Books",
                    "desc": "Books (A)"
                },
                {
                    "id": 65,
                    "cat": "Books",
                    "desc": "Books Comics"
                },
                {
                    "id": 43,
                    "cat": "Books",
                    "desc": "Books Periodicals"
                },
                {
                    "id": 105,
                    "cat": "Books",
                    "desc": "Books Audio"
                },
                {
                    "id": 72,
                    "cat": "Books",
                    "desc": "Books Children"
                },
                {
                    "id": 66,
                    "cat": "Books",
                    "desc": "Books Educational"
                },
                {
                    "id": 42,
                    "cat": "Books",
                    "desc": "Books Foreign"
                },
                {
                    "id": 67,
                    "cat": "Books",
                    "desc": "Books Photos"
                },
                {
                    "id": 6,
                    "cat": "PC",
                    "desc": "Programs"
                },
                {
                    "id": 18,
                    "cat": "PC/0day",
                    "desc": "Programs PC"
                },
                {
                    "id": 40,
                    "cat": "PC/Mobile-Android",
                    "desc": "Programs Android"
                },
                {
                    "id": 19,
                    "cat": "PC/Mac",
                    "desc": "Programs Mac"
                },
                {
                    "id": 2,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 27,
                    "cat": "PC/Games",
                    "desc": "Games PC"
                },
                {
                    "id": 88,
                    "cat": "Other",
                    "desc": "Tutorials / Design / Accessories"
                },
                {
                    "id": 89,
                    "cat": "Other",
                    "desc": "Tutorials Photoshop"
                },
                {
                    "id": 91,
                    "cat": "Other",
                    "desc": "Tutorials Illustrator"
                },
                {
                    "id": 90,
                    "cat": "Other",
                    "desc": "Tutorials After Effects"
                }
            ],
            "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": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "?p=home&pid=1",
            "method": "form",
            "form": "form#loginbox_form",
            "submitpath": "/ajax/login.php",
            "inputs": {
                "action": "login",
                "loginbox_membername": "{{ .Config.username }}",
                "loginbox_password": "{{ .Config.password }}",
                "loginbox_remember": 1
            },
            "selectorinputs": {
                "securitytoken": {
                    "selector": "script:contains(\"stKey: \")",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "stKey: \"(.+?)\","
                        }
                    ]
                }
            },
            "error": [
                {
                    "selector": ":contains(\"-ERROR-\")"
                }
            ],
            "test": {
                "path": "?p=home&pid=1",
                "selector": "div#member_info_bar"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/?p=torrents&pid=10",
                    "method": "post"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "toupper"
                },
                {
                    "name": "re_replace",
                    "args": [
                        "\\(*((19|20)\\d{2})\\)*",
                        "($1)"
                    ]
                },
                {
                    "name": "replace",
                    "args": [
                        "Greys Anatomy",
                        "Grey's Anatomy"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "[^\\w\\d\\(\\)]+",
                        "+"
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cid[]={{.}}&{{end}}",
                "keywords": "{{ .Keywords }}",
                "search_type": "name",
                "sortOptions[sortBy]": "{{ .Config.sort }}",
                "sortOptions[sortOrder]": "{{ .Config.type }}"
            },
            "error": [
                {
                    "selector": "div#show_error:not(:contains(\"Δεν βρέθηκαν αποτελέσματα\")) font"
                }
            ],
            "rows": {
                "selector": "div#content > div.torrent-box[id^=\"torrent_\"]{{ if .Config.freeleech }}:has(img[src$=\"torrent_free.png\"]){{ else }}{{ end }}, tr:has(a[href*=\"?p=torrents\"][href*=\"&action=details\"]){{ if .Config.freeleech }}:has(img[src$=\"torrent_free.png\"]){{ else }}{{ end }}"
            },
            "fields": {
                "title": {
                    "selector": "a[href*=\"?p=torrents\"][href*=\"&action=details\"]",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Grey's Anatomy",
                                "Greys Anatomy"
                            ]
                        }
                    ]
                },
                "category": {
                    "selector": "a[href*=\"?p=torrents\"][href*=\"&cid=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cid"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href*=\"?p=torrents\"][href*=\"&action=details\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"?p=torrents\"][href*=\"&action=download\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "a[rel=\"torrent_size\"]"
                },
                "seeders": {
                    "selector": "a[rel=\"torrent_seeders\"]"
                },
                "leechers": {
                    "selector": "a[rel=\"torrent_leechers\"]"
                },
                "grabs": {
                    "selector": "a[rel=\"times_completed\"]"
                },
                "poster": {
                    "selector": "a[rel=\"fancybox\"]",
                    "attribute": "href"
                },
                "description": {
                    "selector": "div.torrentDetails > div:has(span.floatright)",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(.+?\\/10)",
                                "IMDB Rating: $1"
                            ]
                        }
                    ]
                },
                "genre": {
                    "selector": "div.torrentDetails > div:has(span.floatright)",
                    "remove": "span",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(Είδος:|\\))",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " (",
                                "_"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Α- ",
                                "Α-_"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ω- ",
                                "Ω-_"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " - ",
                                "_-_"
                            ]
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"torrent_free.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "*": 1
                    }
                },
                "date_day": {
                    "selector": "div.torrentOwner:not(:has(abbr.timeago)):contains(\"day\"), div.torrentOwner:not(:has(abbr.timeago)):contains(\"σήμερα\"), div.torrentOwner:not(:has(abbr.timeago)):contains(\"εχθές\"), div.torrentOwner:not(:has(abbr.timeago)):contains(\"Δευτέρα\"), div.torrentOwner:not(:has(abbr.timeago)):contains(\"Τρίτη\"), div.torrentOwner:not(:has(abbr.timeago)):contains(\"Τετάρτη\"), div.torrentOwner:not(:has(abbr.timeago)):contains(\"Πέμπτη\"), div.torrentOwner:not(:has(abbr.timeago)):contains(\"Παρασκευή\"), div.torrentOwner:not(:has(abbr.timeago)):contains(\"Σάββατο\"), div.torrentOwner:not(:has(abbr.timeago)):contains(\"Κυριακή\")",
                    "optional": true,
                    "remove": "span",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Uploaded ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " by",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ανέβηκε ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " από",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " τον/την",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "στις ",
                                "at "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "σήμερα",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "εχθές",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Δευτέρα",
                                "Monday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Τρίτη",
                                "Tuesday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Τετάρτη",
                                "Wednesday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Πέμπτη",
                                "Thursday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Παρασκευή",
                                "Friday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Σάββατο",
                                "Saturday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Κυριακή",
                                "Sunday"
                            ]
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.torrentOwner:not(:has(abbr.timeago)):contains(\"-\")",
                    "optional": true,
                    "remove": "span",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Uploaded ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " by",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "at ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ανέβηκε ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " από",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " τον/την",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "στις ",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "date_other": {
                    "selector": "td.torrent_name",
                    "optional": true,
                    "remove": "div, a, span",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Uploaded ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " by",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "at ",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "date_unix": {
                    "selector": "div.torrentOwner > abbr.timeago",
                    "attribute": "data-time",
                    "optional": true
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year .Result.date_other .Result.date_unix }}{{ or .Result.date_day .Result.date_year .Result.date_other .Result.date_unix }}{{ else }}now{{ end }}"
                }
            }
        }
    },
    "magnetcat": {
        "id": "magnetcat",
        "name": "Magnet Cat",
        "description": "Magnet Cat is a Public Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://magnetcatcat.com/",
            "https://clmclm.com/",
            "https://www.8800585.xyz/",
            "https://www.8800586.xyz/",
            "https://www.8800587.xyz/",
            "https://www.8800588.xyz/"
        ],
        "legacylinks": [
            "https://www.8800570.xyz/",
            "https://www.8800571.xyz/",
            "https://www.8800572.xyz/",
            "https://www.8800573.xyz/",
            "https://www.8800574.xyz/",
            "https://www.8800575.xyz/",
            "https://www.8800576.xyz/",
            "https://www.8800577.xyz/",
            "https://www.8800579.xyz/",
            "https://www.8800580.xyz/",
            "https://www.8800581.xyz/",
            "https://www.8800578.xyz/",
            "https://www.8800582.xyz/",
            "https://www.8800583.xyz/",
            "https://www.8800584.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "影视",
                    "cat": "TV",
                    "desc": "影视"
                },
                {
                    "id": "影视",
                    "cat": "Movies",
                    "desc": "影视"
                },
                {
                    "id": "音乐",
                    "cat": "Audio",
                    "desc": "音乐"
                },
                {
                    "id": "图像",
                    "cat": "Other",
                    "desc": "图像"
                },
                {
                    "id": "文档书籍",
                    "cat": "Books",
                    "desc": "文档书籍"
                },
                {
                    "id": "压缩文件",
                    "cat": "Other",
                    "desc": "压缩文件"
                },
                {
                    "id": "安装包",
                    "cat": "PC",
                    "desc": "安装包"
                },
                {
                    "id": "其他",
                    "cat": "Other",
                    "desc": "其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cat-id",
                "type": "select",
                "label": "Category",
                "default": 0,
                "options": [
                    "All categories",
                    "Movies and TV shows",
                    "Music",
                    "Images",
                    "Documents and books",
                    "Compressed files",
                    "Installer packages",
                    "Other"
                ]
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 2,
                "options": {
                    "2": "created",
                    "1": "size",
                    "0": "relevance"
                }
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "search-{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}-{{ .Config.cat-id }}-{{ .Config.sort }}-1.html"
                }
            ],
            "error": [
                {
                    "selector": ":root:contains(\"Internal Server Error\")"
                }
            ],
            "rows": {
                "selector": "div.ssbox"
            },
            "fields": {
                "categorydesc": {
                    "selector": "div.title > h3 > span",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "([\\[\\]]+)",
                                ""
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/hash/\"]"
                },
                "details": {
                    "selector": "a[href^=\"/hash/\"]",
                    "attribute": "href"
                },
                "infohash": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "date": {
                    "selector": "div.sbar > span:contains(\"Date added:\") > b, div.sbar > span:contains(\"添加时间:\") > b",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "div.sbar > span:contains(\"Size:\") > b, div.sbar > span:contains(\"大小:\") > b"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "magnetdownload": {
        "id": "magnetdownload",
        "name": "MagnetDownload",
        "description": "MagnetDownload is a Public DHT Crawler",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.magnetdownload.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "Other",
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_category_8000",
                "type": "info_category_8000"
            }
        ],
        "download": {
            "before": {
                "path": "api/json_info",
                "inputs": {
                    "hashes": "{{ re_replace .DownloadUri.AbsolutePath \"/info/\" \"\" }}"
                }
            },
            "infohash": {
                "usebeforeresponse": true,
                "hash": {
                    "selector": ":root",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "title": {
                    "selector": ":root",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "name\\\". \\\"(.+?)\\\""
                        },
                        {
                            "name": "validfilename"
                        }
                    ]
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "search/{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}/"
                }
            ],
            "rows": {
                "selector": "tr > td.x-item"
            },
            "fields": {
                "category": {
                    "text": "Other"
                },
                "title": {
                    "selector": "a",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a",
                    "attribute": "href"
                },
                "date": {
                    "selector": "span.ctime",
                    "filters": [
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "files": {
                    "selector": "div.tail",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Files. (\\d+)"
                        }
                    ]
                },
                "size": {
                    "selector": "div.tail",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "size. (.+?)  T"
                        }
                    ]
                },
                "grabs": {
                    "selector": "div.tail",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "requests. (\\d+)"
                        }
                    ]
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "majomparade": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "majomparade",
        "name": "Majomparádé",
        "description": "Majomparádé (TurkDepo) is a HUNGARIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://majomparade.eu/",
            "https://majomparade.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2,
                    "cat": "Movies/3D",
                    "desc": "3D/Külföldi",
                    "default": true
                },
                {
                    "id": 1,
                    "cat": "Movies/3D",
                    "desc": "3D/Magyar",
                    "default": true
                },
                {
                    "id": 3,
                    "cat": "Movies/HD",
                    "desc": "Film/BR-BDRIP/Külföldi",
                    "default": true
                },
                {
                    "id": 4,
                    "cat": "Movies/HD",
                    "desc": "Film/BR-BDRIP/Magyar",
                    "default": true
                },
                {
                    "id": 5,
                    "cat": "Movies/SD",
                    "desc": "Film/Cam/Külföldi",
                    "default": true
                },
                {
                    "id": 6,
                    "cat": "Movies/SD",
                    "desc": "Film/Cam/Magyar",
                    "default": true
                },
                {
                    "id": 7,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD/Külföldi",
                    "default": true
                },
                {
                    "id": 8,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD/Magyar",
                    "default": true
                },
                {
                    "id": 9,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD9/Külföld",
                    "default": true
                },
                {
                    "id": 10,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD9/Magyar",
                    "default": true
                },
                {
                    "id": 11,
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Külföldi",
                    "default": true
                },
                {
                    "id": 12,
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Magyar",
                    "default": true
                },
                {
                    "id": 13,
                    "cat": "Movies/SD",
                    "desc": "Film/XviD/Külföldi",
                    "default": true
                },
                {
                    "id": 14,
                    "cat": "Movies/SD",
                    "desc": "Film/XviD/Magyar",
                    "default": true
                },
                {
                    "id": 21,
                    "cat": "Audio/Audiobook",
                    "desc": "Hangoskönyv",
                    "default": true
                },
                {
                    "id": 24,
                    "cat": "PC/Games",
                    "desc": "Játék/ISO",
                    "default": true
                },
                {
                    "id": 25,
                    "cat": "Console",
                    "desc": "Játék/Konzol",
                    "default": true
                },
                {
                    "id": 26,
                    "cat": "PC/Games",
                    "desc": "Játék/RIP",
                    "default": true
                },
                {
                    "id": 22,
                    "cat": "Books",
                    "desc": "Könyv/Külföldi",
                    "default": true
                },
                {
                    "id": 23,
                    "cat": "Books",
                    "desc": "Könyv/Magyar",
                    "default": true
                },
                {
                    "id": 27,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless/Külföldi",
                    "default": true
                },
                {
                    "id": 28,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless/Magyar",
                    "default": true
                },
                {
                    "id": 31,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil",
                    "default": true
                },
                {
                    "id": 32,
                    "cat": "PC/ISO",
                    "desc": "Programok/ISO",
                    "default": true
                },
                {
                    "id": 33,
                    "cat": "PC/0day",
                    "desc": "Programok/RIP",
                    "default": true
                },
                {
                    "id": 20,
                    "cat": "TV/HD",
                    "desc": "Sorozat/HD/Magyar",
                    "default": true
                },
                {
                    "id": 19,
                    "cat": "TV/HD",
                    "desc": "Sorozat/HD/Külföldi",
                    "default": true
                },
                {
                    "id": 17,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Külföldi",
                    "default": true
                },
                {
                    "id": 18,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Magyar",
                    "default": true
                },
                {
                    "id": 15,
                    "cat": "TV/Sport",
                    "desc": "Sport/Külföldi",
                    "default": true
                },
                {
                    "id": 16,
                    "cat": "TV/Sport",
                    "desc": "Sport/Magyar",
                    "default": true
                },
                {
                    "id": 29,
                    "cat": "Audio/Other",
                    "desc": "Zene/Külföldi",
                    "default": true
                },
                {
                    "id": 30,
                    "cat": "Audio/Other",
                    "desc": "Zene/Magyar",
                    "default": true
                },
                {
                    "id": 34,
                    "cat": "XXX/DVD",
                    "desc": "XXX/DVD",
                    "default": false
                },
                {
                    "id": 36,
                    "cat": "XXX/x264",
                    "desc": "XXX/HD",
                    "default": false
                },
                {
                    "id": 35,
                    "cat": "XXX/XviD",
                    "desc": "XXX/XviD",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 0,
                "options": {
                    "0": "created",
                    "5": "seeders",
                    "3": "size",
                    "1": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 0,
                "options": [
                    "desc",
                    "asc"
                ]
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrentek oldalanként:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Users who have been inactive for more than 25 weeks are automatically deleted."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index",
                "selector": "a[href^=\"/logout/\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents/",
                    "categories": [
                        2,
                        1,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        21,
                        24,
                        25,
                        26,
                        27,
                        28,
                        31,
                        32,
                        33,
                        20,
                        19,
                        17,
                        18,
                        15,
                        16,
                        29,
                        30
                    ]
                },
                {
                    "path": "torrents/turkalo/",
                    "categories": [
                        2,
                        1,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        21,
                        24,
                        25,
                        26,
                        27,
                        28,
                        31,
                        32,
                        33,
                        20,
                        19,
                        17,
                        18,
                        15,
                        16,
                        29,
                        30
                    ]
                },
                {
                    "path": "torrents/xxx/",
                    "categories": [
                        34,
                        36,
                        35
                    ]
                }
            ],
            "inputs": {
                "action": "search",
                "search_text": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 1,
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "sort": "{{ .Config.sort }}",
                "order_by": "{{ .Config.type }}"
            },
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "rows": {
                "selector": "article.torrent-card"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"&categories[]=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "categories[]"
                        }
                    ]
                },
                "title": {
                    "selector": "a.torrent-title",
                    "attribute": "data-name"
                },
                "details": {
                    "selector": "a.torrent-title",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.torrent-title",
                    "attribute": "data-dl"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a.torrent-title",
                    "attribute": "data-cover"
                },
                "size": {
                    "selector": "div.torrent-card__meta-short span:nth-child(3)"
                },
                "grabs": {
                    "selector": "a[href^=\"/torrent/snatches/\"]"
                },
                "seeders": {
                    "selector": "a[href^=\"/torrent/peers/\"]"
                },
                "leechers": {
                    "selector": "a[href$=\"leechers\"]"
                },
                "date": {
                    "selector": "div.torrent-card__meta-short span:nth-child(1)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.torrent-chip--boost:contains(\"0.5x\")": 0.5,
                        "span.torrent-chip--boost:contains(\"2x\")": 2,
                        "span.torrent-chip--boost:contains(\"3x\")": 3,
                        "span.torrent-chip--boost:contains(\"4x\")": 4,
                        "*": 1
                    }
                },
                "_verification": {
                    "case": {
                        "span.torrent-chip--mod-ok": "Verified",
                        "span.torrent-chip--mod-unknown": "Unverified",
                        "span.torrent-chip--mod-bad": "Blocked"
                    }
                },
                "genre": {
                    "selector": "div.torrent-card__actions-row",
                    "remove": "a, span.torrent-chip--boost, span.torrent-chip--mod-ok, span.torrent-chip--mod-unknown"
                },
                "description": {
                    "text": "{{ .Result._verification }}: {{ if .Result.genre }}{{ .Result.genre }}{{ else }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "makingoff": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "makingoff",
        "name": "Making Off",
        "description": "Making Off is a BRAZILIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pt-BR",
        "type": "private",
        "encoding": "iso-8859-1",
        "requestDelay": 5,
        "links": [
            "https://makingoff.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 23,
                    "cat": "Movies",
                    "desc": "O Verdadeiro Cinema Está Aqui!"
                },
                {
                    "id": 461,
                    "cat": "Movies",
                    "desc": "  |-- África",
                    "default": true
                },
                {
                    "id": 26,
                    "cat": "Movies",
                    "desc": "  |-- América do Norte",
                    "default": true
                },
                {
                    "id": 24,
                    "cat": "Movies",
                    "desc": "  |-- Asiático",
                    "default": true
                },
                {
                    "id": 77,
                    "cat": "Movies",
                    "desc": "  |-- Curtas",
                    "default": true
                },
                {
                    "id": 28,
                    "cat": "TV/Documentary",
                    "desc": "  |-- Documentários",
                    "default": true
                },
                {
                    "id": 25,
                    "cat": "Movies",
                    "desc": "  |-- Europeu",
                    "default": true
                },
                {
                    "id": 29,
                    "cat": "Movies",
                    "desc": "  |-- Latino-Americano",
                    "default": true
                },
                {
                    "id": 27,
                    "cat": "Movies",
                    "desc": "  |-- Nacional",
                    "default": true
                },
                {
                    "id": 30,
                    "cat": "Movies",
                    "desc": "  |-- Oriente Médio",
                    "default": true
                },
                {
                    "id": 31,
                    "cat": "Movies",
                    "desc": "  |-- Oceania",
                    "default": true
                },
                {
                    "id": 15,
                    "cat": "Audio",
                    "desc": "  |-- Trilhas Sonoras",
                    "default": true
                },
                {
                    "id": 173,
                    "cat": "Movies",
                    "desc": "  |-- Prata da Casa",
                    "default": true
                },
                {
                    "id": 36,
                    "cat": "Movies",
                    "desc": "Diretores",
                    "default": true
                },
                {
                    "id": 460,
                    "cat": "Movies",
                    "desc": "  |-- Africanos"
                },
                {
                    "id": 632,
                    "cat": "Movies",
                    "desc": "  |---- Abdellatif Kechiche"
                },
                {
                    "id": 679,
                    "cat": "Movies",
                    "desc": "  |---- Abderrahmane Sissako"
                },
                {
                    "id": 483,
                    "cat": "Movies",
                    "desc": "  |---- Djibril Diop Mambéty"
                },
                {
                    "id": 884,
                    "cat": "Movies",
                    "desc": "  |---- Flora Gomes"
                },
                {
                    "id": 885,
                    "cat": "Movies",
                    "desc": "  |---- Gaston Kaboré"
                },
                {
                    "id": 745,
                    "cat": "Movies",
                    "desc": "  |---- Henry Barakat"
                },
                {
                    "id": 484,
                    "cat": "Movies",
                    "desc": "  |---- Idrissa Ouedraogo"
                },
                {
                    "id": 680,
                    "cat": "Movies",
                    "desc": "  |---- Mahamat-Saleh Haroun"
                },
                {
                    "id": 886,
                    "cat": "Movies",
                    "desc": "  |---- Merzak Allouache"
                },
                {
                    "id": 433,
                    "cat": "Movies",
                    "desc": "  |---- Ousmane Sembène"
                },
                {
                    "id": 574,
                    "cat": "Movies",
                    "desc": "  |---- Youssef Chahine"
                },
                {
                    "id": 75,
                    "cat": "Movies",
                    "desc": "  |-- Americanos e Canadenses"
                },
                {
                    "id": 199,
                    "cat": "Movies",
                    "desc": "  |---- Abel Ferrara"
                },
                {
                    "id": 141,
                    "cat": "Movies",
                    "desc": "  |---- Alan Parker"
                },
                {
                    "id": 682,
                    "cat": "Movies",
                    "desc": "  |---- Alex Gibney"
                },
                {
                    "id": 985,
                    "cat": "Movies",
                    "desc": "  |---- Alex Ross Perry"
                },
                {
                    "id": 818,
                    "cat": "Movies",
                    "desc": "  |---- Alexander Payne"
                },
                {
                    "id": 681,
                    "cat": "Movies",
                    "desc": "  |---- Allan Dwan"
                },
                {
                    "id": 437,
                    "cat": "Movies",
                    "desc": "  |---- Albert e David Maysles"
                },
                {
                    "id": 405,
                    "cat": "Movies",
                    "desc": "  |---- Anatole Litvak"
                },
                {
                    "id": 419,
                    "cat": "Movies",
                    "desc": "  |---- André de Toth"
                },
                {
                    "id": 335,
                    "cat": "Movies",
                    "desc": "  |---- Andrew V. McLaglen"
                },
                {
                    "id": 336,
                    "cat": "Movies",
                    "desc": "  |---- Andy Warhol"
                },
                {
                    "id": 234,
                    "cat": "Movies",
                    "desc": "  |---- Anthony Mann"
                },
                {
                    "id": 746,
                    "cat": "Movies",
                    "desc": "  |---- Arthur Hiller"
                },
                {
                    "id": 819,
                    "cat": "Movies",
                    "desc": "  |---- Arthur Lubin"
                },
                {
                    "id": 262,
                    "cat": "Movies",
                    "desc": "  |---- Arthur Penn"
                },
                {
                    "id": 304,
                    "cat": "Movies",
                    "desc": "  |---- Atom Egoyan"
                },
                {
                    "id": 883,
                    "cat": "Movies",
                    "desc": "  |---- Barbara Hammer"
                },
                {
                    "id": 438,
                    "cat": "Movies",
                    "desc": "  |---- Barry Levinson"
                },
                {
                    "id": 887,
                    "cat": "Movies",
                    "desc": "  |---- Benny & Josh Safdie"
                },
                {
                    "id": 820,
                    "cat": "Movies",
                    "desc": "  |---- Bernard Rose"
                },
                {
                    "id": 85,
                    "cat": "Movies",
                    "desc": "  |---- Billy Wilder"
                },
                {
                    "id": 125,
                    "cat": "Movies",
                    "desc": "  |---- Blake Edwards"
                },
                {
                    "id": 747,
                    "cat": "Movies",
                    "desc": "  |---- Bob Fosse"
                },
                {
                    "id": 515,
                    "cat": "Movies",
                    "desc": "  |---- Bob Rafelson"
                },
                {
                    "id": 142,
                    "cat": "Movies",
                    "desc": "  |---- Brian De Palma"
                },
                {
                    "id": 683,
                    "cat": "Movies",
                    "desc": "  |---- Budd Boetticher"
                },
                {
                    "id": 821,
                    "cat": "Movies",
                    "desc": "  |---- Busby Berkeley"
                },
                {
                    "id": 218,
                    "cat": "Movies",
                    "desc": "  |---- Buster Keaton"
                },
                {
                    "id": 888,
                    "cat": "Movies",
                    "desc": "  |---- Byron Haskin"
                },
                {
                    "id": 575,
                    "cat": "Movies",
                    "desc": "  |---- Cameron Crowe"
                },
                {
                    "id": 257,
                    "cat": "Movies",
                    "desc": "  |---- Cecil B. DeMille"
                },
                {
                    "id": 40,
                    "cat": "Movies",
                    "desc": "  |---- Charles Chaplin"
                },
                {
                    "id": 533,
                    "cat": "Movies",
                    "desc": "  |---- Charles Vidor"
                },
                {
                    "id": 684,
                    "cat": "Movies",
                    "desc": "  |---- Charles Walters"
                },
                {
                    "id": 889,
                    "cat": "Movies",
                    "desc": "  |---- Christopher Guest"
                },
                {
                    "id": 685,
                    "cat": "Movies",
                    "desc": "  |---- Clarence Brown"
                },
                {
                    "id": 88,
                    "cat": "Movies",
                    "desc": "  |---- Clint Eastwood"
                },
                {
                    "id": 748,
                    "cat": "Movies",
                    "desc": "  |---- Curtis Bernhardt"
                },
                {
                    "id": 822,
                    "cat": "Movies",
                    "desc": "  |---- Curtis Hanson"
                },
                {
                    "id": 890,
                    "cat": "Movies",
                    "desc": "  |---- Dan Curtis"
                },
                {
                    "id": 439,
                    "cat": "Movies",
                    "desc": "  |---- Daniel Mann"
                },
                {
                    "id": 485,
                    "cat": "Movies",
                    "desc": "  |---- Darren Aronofsky"
                },
                {
                    "id": 65,
                    "cat": "Movies",
                    "desc": "  |---- David Cronenberg"
                },
                {
                    "id": 440,
                    "cat": "Movies",
                    "desc": "  |---- David Fincher"
                },
                {
                    "id": 41,
                    "cat": "Movies",
                    "desc": "  |---- David Lynch"
                },
                {
                    "id": 441,
                    "cat": "Movies",
                    "desc": "  |---- David Mamet"
                },
                {
                    "id": 823,
                    "cat": "Movies",
                    "desc": "  |---- David Miller"
                },
                {
                    "id": 602,
                    "cat": "Movies",
                    "desc": "  |---- Delbert Mann"
                },
                {
                    "id": 421,
                    "cat": "Movies",
                    "desc": "  |---- Delmer Daves"
                },
                {
                    "id": 633,
                    "cat": "Movies",
                    "desc": "  |---- Denis Villeneuve"
                },
                {
                    "id": 462,
                    "cat": "Movies",
                    "desc": "  |---- Dennis Hopper"
                },
                {
                    "id": 182,
                    "cat": "Movies",
                    "desc": "  |---- Denys Arcand"
                },
                {
                    "id": 824,
                    "cat": "Movies",
                    "desc": "  |---- Don Hertzfeldt"
                },
                {
                    "id": 891,
                    "cat": "Movies",
                    "desc": "  |---- Don Medford"
                },
                {
                    "id": 249,
                    "cat": "Movies",
                    "desc": "  |---- Don Siegel"
                },
                {
                    "id": 263,
                    "cat": "Movies",
                    "desc": "  |---- Douglas Sirk"
                },
                {
                    "id": 208,
                    "cat": "Movies",
                    "desc": "  |---- D.W. Griffith"
                },
                {
                    "id": 406,
                    "cat": "Movies",
                    "desc": "  |---- Edmund Goulding"
                },
                {
                    "id": 253,
                    "cat": "Movies",
                    "desc": "  |---- Edward Dmytryk"
                },
                {
                    "id": 749,
                    "cat": "Movies",
                    "desc": "  |---- Edgar G. Ulmer "
                },
                {
                    "id": 750,
                    "cat": "Movies",
                    "desc": "  |---- Edwin L. Marin"
                },
                {
                    "id": 140,
                    "cat": "Movies",
                    "desc": "  |---- Elia Kazan"
                },
                {
                    "id": 576,
                    "cat": "Movies",
                    "desc": "  |---- Erich Von Stroheim"
                },
                {
                    "id": 231,
                    "cat": "Movies",
                    "desc": "  |---- Ernst Lubitsch"
                },
                {
                    "id": 368,
                    "cat": "Movies",
                    "desc": "  |---- Errol Morris"
                },
                {
                    "id": 825,
                    "cat": "Movies",
                    "desc": "  |---- Felix E. Feist"
                },
                {
                    "id": 91,
                    "cat": "Movies",
                    "desc": "  |---- Francis Ford Coppola"
                },
                {
                    "id": 389,
                    "cat": "Movies",
                    "desc": "  |---- Frank Borzage"
                },
                {
                    "id": 123,
                    "cat": "Movies",
                    "desc": "  |---- Frank Capra"
                },
                {
                    "id": 382,
                    "cat": "Movies",
                    "desc": "  |---- Franklin J. Schaffner"
                },
                {
                    "id": 751,
                    "cat": "Movies",
                    "desc": "  |---- Frank Tashlin"
                },
                {
                    "id": 369,
                    "cat": "Movies",
                    "desc": "  |---- Fred C. Newmeyer"
                },
                {
                    "id": 381,
                    "cat": "Movies",
                    "desc": "  |---- Fred Zinnemann"
                },
                {
                    "id": 892,
                    "cat": "Movies",
                    "desc": "  |---- Frederick Wiseman"
                },
                {
                    "id": 534,
                    "cat": "Movies",
                    "desc": "  |---- Gene Kelly"
                },
                {
                    "id": 383,
                    "cat": "Movies",
                    "desc": "  |---- George A. Romero"
                },
                {
                    "id": 250,
                    "cat": "Movies",
                    "desc": "  |---- George Cukor"
                },
                {
                    "id": 258,
                    "cat": "Movies",
                    "desc": "  |---- George Roy Hill"
                },
                {
                    "id": 407,
                    "cat": "Movies",
                    "desc": "  |---- George Seaton"
                },
                {
                    "id": 370,
                    "cat": "Movies",
                    "desc": "  |---- George Sidney"
                },
                {
                    "id": 143,
                    "cat": "Movies",
                    "desc": "  |---- George Stevens"
                },
                {
                    "id": 893,
                    "cat": "Movies",
                    "desc": "  |---- Gerd Oswald"
                },
                {
                    "id": 577,
                    "cat": "Movies",
                    "desc": "  |---- Godfrey Reggio"
                },
                {
                    "id": 536,
                    "cat": "Movies",
                    "desc": "  |---- Gordon Douglas"
                },
                {
                    "id": 442,
                    "cat": "Movies",
                    "desc": "  |---- Gregg Araki"
                },
                {
                    "id": 99,
                    "cat": "Movies",
                    "desc": "  |---- Gus Van Sant"
                },
                {
                    "id": 277,
                    "cat": "Movies",
                    "desc": "  |---- Guy Maddin"
                },
                {
                    "id": 752,
                    "cat": "Movies",
                    "desc": "  |---- H. C. Potter"
                },
                {
                    "id": 408,
                    "cat": "Movies",
                    "desc": "  |---- Hal Ashby"
                },
                {
                    "id": 371,
                    "cat": "Movies",
                    "desc": "  |---- Hal Hartley"
                },
                {
                    "id": 372,
                    "cat": "Movies",
                    "desc": "  |---- Hal Roach"
                },
                {
                    "id": 603,
                    "cat": "Movies",
                    "desc": "  |---- Harmony Korine"
                },
                {
                    "id": 373,
                    "cat": "Movies",
                    "desc": "  |---- Henry King"
                },
                {
                    "id": 443,
                    "cat": "Movies",
                    "desc": "  |---- Henry Koster"
                },
                {
                    "id": 251,
                    "cat": "Movies",
                    "desc": "  |---- Henry Hathaway"
                },
                {
                    "id": 826,
                    "cat": "Movies",
                    "desc": "  |---- Henry Levin"
                },
                {
                    "id": 486,
                    "cat": "Movies",
                    "desc": "  |---- Herbert Ross"
                },
                {
                    "id": 100,
                    "cat": "Movies",
                    "desc": "  |---- Howard Hawks"
                },
                {
                    "id": 367,
                    "cat": "Movies",
                    "desc": "  |---- Ida Lupino"
                },
                {
                    "id": 753,
                    "cat": "Movies",
                    "desc": "  |---- Irving Pichel"
                },
                {
                    "id": 374,
                    "cat": "Movies",
                    "desc": "  |---- J. Lee Thompson"
                },
                {
                    "id": 578,
                    "cat": "Movies",
                    "desc": "  |---- Jack Arnold"
                },
                {
                    "id": 604,
                    "cat": "Movies",
                    "desc": "  |---- Jack Conway"
                },
                {
                    "id": 259,
                    "cat": "Movies",
                    "desc": "  |---- Jacques Tourneur"
                },
                {
                    "id": 686,
                    "cat": "Movies",
                    "desc": "  |---- James Benning"
                },
                {
                    "id": 687,
                    "cat": "Movies",
                    "desc": "  |---- James Gray"
                },
                {
                    "id": 418,
                    "cat": "Movies",
                    "desc": "  |---- Jean Negulesco"
                },
                {
                    "id": 975,
                    "cat": "Movies",
                    "desc": "  |---- Jerry Lewis"
                },
                {
                    "id": 61,
                    "cat": "Movies",
                    "desc": "  |---- Jim Jarmusch"
                },
                {
                    "id": 688,
                    "cat": "Movies",
                    "desc": "  |---- Joe Dante"
                },
                {
                    "id": 754,
                    "cat": "Movies",
                    "desc": "  |---- Joe Swanberg"
                },
                {
                    "id": 90,
                    "cat": "Movies",
                    "desc": "  |---- Joel & Ethan Coen"
                },
                {
                    "id": 894,
                    "cat": "Movies",
                    "desc": "  |---- John Badham"
                },
                {
                    "id": 634,
                    "cat": "Movies",
                    "desc": "  |---- John Brahm"
                },
                {
                    "id": 375,
                    "cat": "Movies",
                    "desc": "  |---- John Carpenter"
                },
                {
                    "id": 189,
                    "cat": "Movies",
                    "desc": "  |---- John Cassavetes"
                },
                {
                    "id": 487,
                    "cat": "Movies",
                    "desc": "  |---- John Cromwell"
                },
                {
                    "id": 827,
                    "cat": "Movies",
                    "desc": "  |---- John Farrow"
                },
                {
                    "id": 101,
                    "cat": "Movies",
                    "desc": "  |---- John Ford"
                },
                {
                    "id": 260,
                    "cat": "Movies",
                    "desc": "  |---- John Frankenheimer"
                },
                {
                    "id": 895,
                    "cat": "Movies",
                    "desc": "  |---- John Hughes"
                },
                {
                    "id": 89,
                    "cat": "Movies",
                    "desc": "  |---- John Huston"
                },
                {
                    "id": 898,
                    "cat": "Movies",
                    "desc": "  |---- John Landis"
                },
                {
                    "id": 979,
                    "cat": "Movies",
                    "desc": "  |---- John Milius"
                },
                {
                    "id": 376,
                    "cat": "Movies",
                    "desc": "  |---- John Sayles"
                },
                {
                    "id": 365,
                    "cat": "Movies",
                    "desc": "  |---- John Schlesinger"
                },
                {
                    "id": 256,
                    "cat": "Movies",
                    "desc": "  |---- John Sturges"
                },
                {
                    "id": 254,
                    "cat": "Movies",
                    "desc": "  |---- John Waters"
                },
                {
                    "id": 605,
                    "cat": "Movies",
                    "desc": "  |---- Jonas Mekas"
                },
                {
                    "id": 689,
                    "cat": "Movies",
                    "desc": "  |---- Jonathan Demme"
                },
                {
                    "id": 378,
                    "cat": "Movies",
                    "desc": "  |---- Josef von Sternberg"
                },
                {
                    "id": 755,
                    "cat": "Movies",
                    "desc": "  |---- Joseph H. Lewis"
                },
                {
                    "id": 156,
                    "cat": "Movies",
                    "desc": "  |---- Joseph L. Mankiewicz"
                },
                {
                    "id": 690,
                    "cat": "Movies",
                    "desc": "  |---- Joseph Sargent"
                },
                {
                    "id": 206,
                    "cat": "Movies",
                    "desc": "  |---- Jules Dassin"
                },
                {
                    "id": 896,
                    "cat": "Movies",
                    "desc": "  |---- Kathryn Bigelow"
                },
                {
                    "id": 828,
                    "cat": "Movies",
                    "desc": "  |---- Kelly Reichardt"
                },
                {
                    "id": 463,
                    "cat": "Movies",
                    "desc": "  |---- Kenneth Anger"
                },
                {
                    "id": 897,
                    "cat": "Movies",
                    "desc": "  |---- Kevin Smith"
                },
                {
                    "id": 444,
                    "cat": "Movies",
                    "desc": "  |---- King Vidor"
                },
                {
                    "id": 606,
                    "cat": "Movies",
                    "desc": "  |---- Larry Clark "
                },
                {
                    "id": 978,
                    "cat": "Movies",
                    "desc": "  |---- Larry Cohen"
                },
                {
                    "id": 366,
                    "cat": "Movies",
                    "desc": "  |---- Lasse Hallström"
                },
                {
                    "id": 516,
                    "cat": "Movies",
                    "desc": "  |---- Lawrence Kasdan"
                },
                {
                    "id": 417,
                    "cat": "Movies",
                    "desc": "  |---- Leo McCarey"
                },
                {
                    "id": 517,
                    "cat": "Movies",
                    "desc": "  |---- Lewis Allen"
                },
                {
                    "id": 390,
                    "cat": "Movies",
                    "desc": "  |---- Lewis Milestone"
                },
                {
                    "id": 829,
                    "cat": "Movies",
                    "desc": "  |---- Lewis R. Foster"
                },
                {
                    "id": 830,
                    "cat": "Movies",
                    "desc": "  |---- M. Night Shyamalan"
                },
                {
                    "id": 464,
                    "cat": "Movies",
                    "desc": "  |---- Mark Robson"
                },
                {
                    "id": 635,
                    "cat": "Movies",
                    "desc": "  |---- Mark Rydell"
                },
                {
                    "id": 488,
                    "cat": "Movies",
                    "desc": "  |---- Mark Sandrich"
                },
                {
                    "id": 380,
                    "cat": "Movies",
                    "desc": "  |---- Martin Ritt"
                },
                {
                    "id": 45,
                    "cat": "Movies",
                    "desc": "  |---- Martin Scorsese"
                },
                {
                    "id": 899,
                    "cat": "Movies",
                    "desc": "  |---- Maya Deren"
                },
                {
                    "id": 363,
                    "cat": "Movies",
                    "desc": "  |---- Mel Brooks"
                },
                {
                    "id": 385,
                    "cat": "Movies",
                    "desc": "  |---- Mervyn LeRoy"
                },
                {
                    "id": 636,
                    "cat": "Movies",
                    "desc": "  |---- Michael Cimino"
                },
                {
                    "id": 255,
                    "cat": "Movies",
                    "desc": "  |---- Michael Curtiz"
                },
                {
                    "id": 489,
                    "cat": "Movies",
                    "desc": "  |---- Michael Mann"
                },
                {
                    "id": 154,
                    "cat": "Movies",
                    "desc": "  |---- Michael Moore"
                },
                {
                    "id": 102,
                    "cat": "Movies",
                    "desc": "  |---- Mike Nichols"
                },
                {
                    "id": 900,
                    "cat": "Movies",
                    "desc": "  |---- Mitchell Leisen"
                },
                {
                    "id": 537,
                    "cat": "Movies",
                    "desc": "  |---- Monte Hellman"
                },
                {
                    "id": 607,
                    "cat": "Movies",
                    "desc": "  |---- Neil LaBute"
                },
                {
                    "id": 221,
                    "cat": "Movies",
                    "desc": "  |---- Nicholas Ray"
                },
                {
                    "id": 637,
                    "cat": "Movies",
                    "desc": "  |---- Noah Baumbach"
                },
                {
                    "id": 157,
                    "cat": "Movies",
                    "desc": "  |---- Norman Jewison"
                },
                {
                    "id": 901,
                    "cat": "Movies",
                    "desc": "  |---- Norman Z. McLeod"
                },
                {
                    "id": 158,
                    "cat": "Movies",
                    "desc": "  |---- Oliver Stone"
                },
                {
                    "id": 97,
                    "cat": "Movies",
                    "desc": "  |---- Orson Welles"
                },
                {
                    "id": 159,
                    "cat": "Movies",
                    "desc": "  |---- Otto Preminger"
                },
                {
                    "id": 691,
                    "cat": "Movies",
                    "desc": "  |---- Paul Mazursky"
                },
                {
                    "id": 538,
                    "cat": "Movies",
                    "desc": "  |---- Paul Morrisey"
                },
                {
                    "id": 902,
                    "cat": "Movies",
                    "desc": "  |---- Paul Newman"
                },
                {
                    "id": 445,
                    "cat": "Movies",
                    "desc": "  |---- Paul Schrader"
                },
                {
                    "id": 160,
                    "cat": "Movies",
                    "desc": "  |---- Paul Thomas Anderson"
                },
                {
                    "id": 220,
                    "cat": "Movies",
                    "desc": "  |---- Peter Bogdanovich"
                },
                {
                    "id": 539,
                    "cat": "Movies",
                    "desc": "  |---- Phil Karlson"
                },
                {
                    "id": 638,
                    "cat": "Movies",
                    "desc": "  |---- Philip Kaufman"
                },
                {
                    "id": 410,
                    "cat": "Movies",
                    "desc": "  |---- Preston Sturges"
                },
                {
                    "id": 235,
                    "cat": "Movies",
                    "desc": "  |---- Quentin Tarantino"
                },
                {
                    "id": 756,
                    "cat": "Movies",
                    "desc": "  |---- Ralph Bakshi"
                },
                {
                    "id": 362,
                    "cat": "Movies",
                    "desc": "  |---- Ralph Nelson"
                },
                {
                    "id": 361,
                    "cat": "Movies",
                    "desc": "  |---- Raoul Walsh"
                },
                {
                    "id": 360,
                    "cat": "Movies",
                    "desc": "  |---- Richard Brooks"
                },
                {
                    "id": 903,
                    "cat": "Movies",
                    "desc": "  |---- Richard Donner"
                },
                {
                    "id": 359,
                    "cat": "Movies",
                    "desc": "  |---- Richard Fleischer"
                },
                {
                    "id": 118,
                    "cat": "Movies",
                    "desc": "  |---- Richard Linklater"
                },
                {
                    "id": 423,
                    "cat": "Movies",
                    "desc": "  |---- Richard Schickel"
                },
                {
                    "id": 757,
                    "cat": "Movies",
                    "desc": "  |---- Richard Thorpe"
                },
                {
                    "id": 280,
                    "cat": "Movies",
                    "desc": "  |---- Ridley Scott"
                },
                {
                    "id": 831,
                    "cat": "Movies",
                    "desc": "  |---- Rob Reiner"
                },
                {
                    "id": 161,
                    "cat": "Movies",
                    "desc": "  |---- Robert Aldrich"
                },
                {
                    "id": 184,
                    "cat": "Movies",
                    "desc": "  |---- Robert Altman"
                },
                {
                    "id": 832,
                    "cat": "Movies",
                    "desc": "  |---- Robert Benton"
                },
                {
                    "id": 904,
                    "cat": "Movies",
                    "desc": "  |---- Robert Florey"
                },
                {
                    "id": 409,
                    "cat": "Movies",
                    "desc": "  |---- Robert J. Flaherty"
                },
                {
                    "id": 358,
                    "cat": "Movies",
                    "desc": "  |---- Robert Mulligan"
                },
                {
                    "id": 692,
                    "cat": "Movies",
                    "desc": "  |---- Robert Rossen"
                },
                {
                    "id": 261,
                    "cat": "Movies",
                    "desc": "  |---- Robert Siodmak"
                },
                {
                    "id": 357,
                    "cat": "Movies",
                    "desc": "  |---- Robert Stevens"
                },
                {
                    "id": 168,
                    "cat": "Movies",
                    "desc": "  |---- Robert Wise"
                },
                {
                    "id": 758,
                    "cat": "Movies",
                    "desc": "  |---- Robert Z. Leonard"
                },
                {
                    "id": 905,
                    "cat": "Movies",
                    "desc": "  |---- Robert Zemeckis"
                },
                {
                    "id": 252,
                    "cat": "Movies",
                    "desc": "  |---- Roger Corman"
                },
                {
                    "id": 833,
                    "cat": "Movies",
                    "desc": "  |---- Ron Howard"
                },
                {
                    "id": 356,
                    "cat": "Movies",
                    "desc": "  |---- Rouben Mamoulian"
                },
                {
                    "id": 355,
                    "cat": "Movies",
                    "desc": "  |---- Rudolph Maté"
                },
                {
                    "id": 759,
                    "cat": "Movies",
                    "desc": "  |---- Russ Meyer"
                },
                {
                    "id": 834,
                    "cat": "Movies",
                    "desc": "  |---- Sam Mendes"
                },
                {
                    "id": 162,
                    "cat": "Movies",
                    "desc": "  |---- Sam Peckinpah"
                },
                {
                    "id": 906,
                    "cat": "Movies",
                    "desc": "  |---- Sam Raimi"
                },
                {
                    "id": 354,
                    "cat": "Movies",
                    "desc": "  |---- Sam Wood"
                },
                {
                    "id": 192,
                    "cat": "Movies",
                    "desc": "  |---- Samuel Fuller"
                },
                {
                    "id": 835,
                    "cat": "Movies",
                    "desc": "  |---- Sean Penn"
                },
                {
                    "id": 836,
                    "cat": "Movies",
                    "desc": "  |---- Sidney J. Furie"
                },
                {
                    "id": 119,
                    "cat": "Movies",
                    "desc": "  |---- Sidney Lumet"
                },
                {
                    "id": 608,
                    "cat": "Movies",
                    "desc": "  |---- Sofia Coppola"
                },
                {
                    "id": 490,
                    "cat": "Movies",
                    "desc": "  |---- Spike Jonze"
                },
                {
                    "id": 121,
                    "cat": "Movies",
                    "desc": "  |---- Spike Lee"
                },
                {
                    "id": 353,
                    "cat": "Movies",
                    "desc": "  |---- Stan Brakhage"
                },
                {
                    "id": 279,
                    "cat": "Movies",
                    "desc": "  |---- Stanley Donen"
                },
                {
                    "id": 333,
                    "cat": "Movies",
                    "desc": "  |---- Stanley Kramer"
                },
                {
                    "id": 48,
                    "cat": "Movies",
                    "desc": "  |---- Stanley Kubrick"
                },
                {
                    "id": 278,
                    "cat": "Movies",
                    "desc": "  |---- Steven Soderbergh"
                },
                {
                    "id": 124,
                    "cat": "Movies",
                    "desc": "  |---- Steven Spielberg"
                },
                {
                    "id": 332,
                    "cat": "Movies",
                    "desc": "  |---- Stuart Gordon"
                },
                {
                    "id": 907,
                    "cat": "Movies",
                    "desc": "  |---- Stuart Heisler"
                },
                {
                    "id": 693,
                    "cat": "Movies",
                    "desc": "  |---- Stuart Rosenberg"
                },
                {
                    "id": 163,
                    "cat": "Movies",
                    "desc": "  |---- Sydney Pollack"
                },
                {
                    "id": 837,
                    "cat": "Movies",
                    "desc": "  |---- Ted Tetzlaff"
                },
                {
                    "id": 422,
                    "cat": "Movies",
                    "desc": "  |---- Terrence Malick"
                },
                {
                    "id": 116,
                    "cat": "Movies",
                    "desc": "  |---- Terry Gilliam"
                },
                {
                    "id": 117,
                    "cat": "Movies",
                    "desc": "  |---- Tim Burton"
                },
                {
                    "id": 838,
                    "cat": "Movies",
                    "desc": "  |---- Tobe Hooper"
                },
                {
                    "id": 331,
                    "cat": "Movies",
                    "desc": "  |---- Tod Browning"
                },
                {
                    "id": 420,
                    "cat": "Movies",
                    "desc": "  |---- Todd Haynes"
                },
                {
                    "id": 110,
                    "cat": "Movies",
                    "desc": "  |---- Todd Solondz"
                },
                {
                    "id": 609,
                    "cat": "Movies",
                    "desc": "  |---- Tom DiCillo"
                },
                {
                    "id": 465,
                    "cat": "Movies",
                    "desc": "  |---- Victor Fleming"
                },
                {
                    "id": 201,
                    "cat": "Movies",
                    "desc": "  |---- Vincente Minnelli"
                },
                {
                    "id": 760,
                    "cat": "Movies",
                    "desc": "  |---- Vincent Sherman"
                },
                {
                    "id": 839,
                    "cat": "Movies",
                    "desc": "  |---- W. S. Van Dyke"
                },
                {
                    "id": 973,
                    "cat": "Movies",
                    "desc": "  |---- Wachowski Brothers"
                },
                {
                    "id": 631,
                    "cat": "Movies",
                    "desc": "  |---- Walter Hill "
                },
                {
                    "id": 639,
                    "cat": "Movies",
                    "desc": "  |---- Walter Lang"
                },
                {
                    "id": 579,
                    "cat": "Movies",
                    "desc": "  |---- Wayne Wang"
                },
                {
                    "id": 165,
                    "cat": "Movies",
                    "desc": "  |---- Wes Anderson"
                },
                {
                    "id": 761,
                    "cat": "Movies",
                    "desc": "  |---- Wes Craven"
                },
                {
                    "id": 762,
                    "cat": "Movies",
                    "desc": "  |---- Whit Stillman"
                },
                {
                    "id": 330,
                    "cat": "Movies",
                    "desc": "  |---- William A. Wellman"
                },
                {
                    "id": 491,
                    "cat": "Movies",
                    "desc": "  |---- William Castle"
                },
                {
                    "id": 329,
                    "cat": "Movies",
                    "desc": "  |---- William Dieterle"
                },
                {
                    "id": 328,
                    "cat": "Movies",
                    "desc": "  |---- William Friedkin"
                },
                {
                    "id": 166,
                    "cat": "Movies",
                    "desc": "  |---- William Wyler"
                },
                {
                    "id": 83,
                    "cat": "Movies",
                    "desc": "  |---- Woody Allen"
                },
                {
                    "id": 763,
                    "cat": "Movies",
                    "desc": "  |---- Xavier Dolan"
                },
                {
                    "id": 73,
                    "cat": "Movies",
                    "desc": "  |-- Asiáticos"
                },
                {
                    "id": 840,
                    "cat": "Movies",
                    "desc": "  |---- Akio Jissôji"
                },
                {
                    "id": 37,
                    "cat": "Movies",
                    "desc": "  |---- Akira Kurosawa"
                },
                {
                    "id": 283,
                    "cat": "Movies",
                    "desc": "  |---- Ang Lee"
                },
                {
                    "id": 580,
                    "cat": "Movies",
                    "desc": "  |---- Anh Hung Tran"
                },
                {
                    "id": 411,
                    "cat": "Movies",
                    "desc": "  |---- Apichatpong Weerasethakul"
                },
                {
                    "id": 492,
                    "cat": "Movies",
                    "desc": "  |---- Bong Joon-Ho"
                },
                {
                    "id": 518,
                    "cat": "Movies",
                    "desc": "  |---- Brillante Mendonza"
                },
                {
                    "id": 300,
                    "cat": "Movies",
                    "desc": "  |---- Chan-wook Park"
                },
                {
                    "id": 764,
                    "cat": "Movies",
                    "desc": "  |---- Chang Cheh"
                },
                {
                    "id": 841,
                    "cat": "Movies",
                    "desc": "  |---- Darezhan Omirbayev"
                },
                {
                    "id": 765,
                    "cat": "Movies",
                    "desc": "  |---- Edward Yang"
                },
                {
                    "id": 640,
                    "cat": "Movies",
                    "desc": "  |---- Gakuryu Ishii"
                },
                {
                    "id": 540,
                    "cat": "Movies",
                    "desc": "  |---- Hayao Miyazaki"
                },
                {
                    "id": 610,
                    "cat": "Movies",
                    "desc": "  |---- Hideo Gosha"
                },
                {
                    "id": 766,
                    "cat": "Movies",
                    "desc": "  |---- Hideo Nakata"
                },
                {
                    "id": 316,
                    "cat": "Movies",
                    "desc": "  |---- Hirokazu Koreeda"
                },
                {
                    "id": 541,
                    "cat": "Movies",
                    "desc": "  |---- Hiroshi Inagaki"
                },
                {
                    "id": 611,
                    "cat": "Movies",
                    "desc": "  |---- Hiroshi Shimizu"
                },
                {
                    "id": 211,
                    "cat": "Movies",
                    "desc": "  |---- Hiroshi Teshigahara"
                },
                {
                    "id": 320,
                    "cat": "Movies",
                    "desc": "  |---- Hsiao-hsien Hou"
                },
                {
                    "id": 612,
                    "cat": "Movies",
                    "desc": "  |---- Isao Takahata"
                },
                {
                    "id": 908,
                    "cat": "Movies",
                    "desc": "  |---- Isao Yukisada"
                },
                {
                    "id": 641,
                    "cat": "Movies",
                    "desc": "  |---- Ishirô Honda"
                },
                {
                    "id": 301,
                    "cat": "Movies",
                    "desc": "  |---- Ji-woon Kim"
                },
                {
                    "id": 694,
                    "cat": "Movies",
                    "desc": "  |---- John Woo"
                },
                {
                    "id": 695,
                    "cat": "Movies",
                    "desc": "  |---- Johnnie To"
                },
                {
                    "id": 767,
                    "cat": "Movies",
                    "desc": "  |---- Juzo Itami"
                },
                {
                    "id": 542,
                    "cat": "Movies",
                    "desc": "  |---- Kaneto Shindô"
                },
                {
                    "id": 909,
                    "cat": "Movies",
                    "desc": "  |---- Kazuyoshi Kumakiri"
                },
                {
                    "id": 696,
                    "cat": "Movies",
                    "desc": "  |---- Kei Kumai"
                },
                {
                    "id": 543,
                    "cat": "Movies",
                    "desc": "  |---- Keisuke Kinoshita"
                },
                {
                    "id": 613,
                    "cat": "Movies",
                    "desc": "  |---- Kenji Misumi "
                },
                {
                    "id": 614,
                    "cat": "Movies",
                    "desc": "  |---- Kihachi Okamoto"
                },
                {
                    "id": 70,
                    "cat": "Movies",
                    "desc": "  |---- Kim Ki-Duk"
                },
                {
                    "id": 412,
                    "cat": "Movies",
                    "desc": "  |---- Kiyoshi Kurosawa"
                },
                {
                    "id": 202,
                    "cat": "Movies",
                    "desc": "  |---- Kenji Mizoguchi"
                },
                {
                    "id": 697,
                    "cat": "Movies",
                    "desc": "  |---- Kinji Fukasaku"
                },
                {
                    "id": 476,
                    "cat": "Movies",
                    "desc": "  |---- Kôji Wakamatsu"
                },
                {
                    "id": 544,
                    "cat": "Movies",
                    "desc": "  |---- Kon Ichikawa"
                },
                {
                    "id": 581,
                    "cat": "Movies",
                    "desc": "  |---- Koreyoshi Kurahara"
                },
                {
                    "id": 698,
                    "cat": "Movies",
                    "desc": "  |---- Lav Diaz"
                },
                {
                    "id": 699,
                    "cat": "Movies",
                    "desc": "  |---- Lee Chang-dong"
                },
                {
                    "id": 910,
                    "cat": "Movies",
                    "desc": "  |---- Makoto Shinkai"
                },
                {
                    "id": 642,
                    "cat": "Movies",
                    "desc": "  |---- Mamoru Oshii"
                },
                {
                    "id": 911,
                    "cat": "Movies",
                    "desc": "  |---- Mani Kaul"
                },
                {
                    "id": 519,
                    "cat": "Movies",
                    "desc": "  |---- Masahiro Shinoda"
                },
                {
                    "id": 317,
                    "cat": "Movies",
                    "desc": "  |---- Masaki Kobayashi"
                },
                {
                    "id": 318,
                    "cat": "Movies",
                    "desc": "  |---- Mikio Naruse"
                },
                {
                    "id": 480,
                    "cat": "Movies",
                    "desc": "  |---- Mira Nair"
                },
                {
                    "id": 222,
                    "cat": "Movies",
                    "desc": "  |---- Nagisa Oshima"
                },
                {
                    "id": 912,
                    "cat": "Movies",
                    "desc": "  |---- Naoko Ogigami"
                },
                {
                    "id": 545,
                    "cat": "Movies",
                    "desc": "  |---- Naomi Kawase"
                },
                {
                    "id": 769,
                    "cat": "Movies",
                    "desc": "  |---- Noboru Tanaka"
                },
                {
                    "id": 768,
                    "cat": "Movies",
                    "desc": "  |---- Nobuhiko Obayashi"
                },
                {
                    "id": 546,
                    "cat": "Movies",
                    "desc": "  |---- Pen-Ek Ratanaruang"
                },
                {
                    "id": 700,
                    "cat": "Movies",
                    "desc": "  |---- Rithy Panh"
                },
                {
                    "id": 478,
                    "cat": "Movies",
                    "desc": "  |---- Sang-soo Hong"
                },
                {
                    "id": 479,
                    "cat": "Movies",
                    "desc": "  |---- Sanjay Leela Bhansali"
                },
                {
                    "id": 701,
                    "cat": "Movies",
                    "desc": "  |---- Satoshi Kon"
                },
                {
                    "id": 193,
                    "cat": "Movies",
                    "desc": "  |---- Satyajit Ray"
                },
                {
                    "id": 493,
                    "cat": "Movies",
                    "desc": "  |---- Seijun Suzuki"
                },
                {
                    "id": 770,
                    "cat": "Movies",
                    "desc": "  |---- Shinji Aoyama"
                },
                {
                    "id": 273,
                    "cat": "Movies",
                    "desc": "  |---- Shinya Tsukamoto"
                },
                {
                    "id": 547,
                    "cat": "Movies",
                    "desc": "  |---- Sion Sono"
                },
                {
                    "id": 319,
                    "cat": "Movies",
                    "desc": "  |---- Shohei Imamura"
                },
                {
                    "id": 477,
                    "cat": "Movies",
                    "desc": "  |---- Shuji Terayama"
                },
                {
                    "id": 615,
                    "cat": "Movies",
                    "desc": "  |---- Shunji Iwai"
                },
                {
                    "id": 771,
                    "cat": "Movies",
                    "desc": "  |---- Tadashi Imai"
                },
                {
                    "id": 94,
                    "cat": "Movies",
                    "desc": "  |---- Takashi Miike"
                },
                {
                    "id": 66,
                    "cat": "Movies",
                    "desc": "  |---- Takeshi Kitano"
                },
                {
                    "id": 772,
                    "cat": "Movies",
                    "desc": "  |---- Tetsuya Nakashima"
                },
                {
                    "id": 773,
                    "cat": "Movies",
                    "desc": "  |---- Tomu Uchida"
                },
                {
                    "id": 105,
                    "cat": "Movies",
                    "desc": "  |---- Tsai Ming-liang"
                },
                {
                    "id": 842,
                    "cat": "Movies",
                    "desc": "  |---- Tsui Hark"
                },
                {
                    "id": 974,
                    "cat": "Movies",
                    "desc": "  |---- Wang Bing"
                },
                {
                    "id": 167,
                    "cat": "Movies",
                    "desc": "  |---- Wong Kar-wai"
                },
                {
                    "id": 549,
                    "cat": "Movies",
                    "desc": "  |---- Yasuzô Masumura"
                },
                {
                    "id": 548,
                    "cat": "Movies",
                    "desc": "  |---- Yoshishige Yoshida"
                },
                {
                    "id": 107,
                    "cat": "Movies",
                    "desc": "  |---- Yasujiro Ozu"
                },
                {
                    "id": 120,
                    "cat": "Movies",
                    "desc": "  |---- Yimou Zhang"
                },
                {
                    "id": 446,
                    "cat": "Movies",
                    "desc": "  |---- Yôji Yamada"
                },
                {
                    "id": 774,
                    "cat": "Movies",
                    "desc": "  |---- Yôjirô Takita"
                },
                {
                    "id": 702,
                    "cat": "Movies",
                    "desc": "  |---- Yoshimitsu Morita"
                },
                {
                    "id": 520,
                    "cat": "Movies",
                    "desc": "  |---- Zhang Ke Jia"
                },
                {
                    "id": 74,
                    "cat": "Movies",
                    "desc": "  |-- Brasileiros"
                },
                {
                    "id": 915,
                    "cat": "Movies",
                    "desc": "  |---- Adirley Queirós"
                },
                {
                    "id": 981,
                    "cat": "Movies",
                    "desc": "  |---- Agnaldo Siri Azevedo"
                },
                {
                    "id": 643,
                    "cat": "Movies",
                    "desc": "  |---- Alfredo Sternheim"
                },
                {
                    "id": 703,
                    "cat": "Movies",
                    "desc": "  |---- Alberto Pieralise"
                },
                {
                    "id": 704,
                    "cat": "Movies",
                    "desc": "  |---- Alberto Salvá"
                },
                {
                    "id": 843,
                    "cat": "Movies",
                    "desc": "  |---- Aloysio Raulino"
                },
                {
                    "id": 916,
                    "cat": "Movies",
                    "desc": "  |---- Aly Muritiba"
                },
                {
                    "id": 649,
                    "cat": "Movies",
                    "desc": "  |---- Amácio Mazzaropi"
                },
                {
                    "id": 241,
                    "cat": "Movies",
                    "desc": "  |---- Ana Carolina"
                },
                {
                    "id": 494,
                    "cat": "Movies",
                    "desc": "  |---- André Klotzel"
                },
                {
                    "id": 616,
                    "cat": "Movies",
                    "desc": "  |---- André Luís de Oliveira"
                },
                {
                    "id": 917,
                    "cat": "Movies",
                    "desc": "  |---- André Novais Oliveira"
                },
                {
                    "id": 617,
                    "cat": "Movies",
                    "desc": "  |---- Andrea Tonacci"
                },
                {
                    "id": 582,
                    "cat": "Movies",
                    "desc": "  |---- Andrucha Waddington"
                },
                {
                    "id": 844,
                    "cat": "Movies",
                    "desc": "  |---- Anna Muylaert"
                },
                {
                    "id": 242,
                    "cat": "Movies",
                    "desc": "  |---- Anselmo Duarte"
                },
                {
                    "id": 705,
                    "cat": "Movies",
                    "desc": "  |---- Antônio Calmon"
                },
                {
                    "id": 706,
                    "cat": "Movies",
                    "desc": "  |---- Antonio Carlos Fontoura"
                },
                {
                    "id": 136,
                    "cat": "Movies",
                    "desc": "  |---- Arnaldo Jabor"
                },
                {
                    "id": 707,
                    "cat": "Movies",
                    "desc": "  |---- Aurélio Teixeira"
                },
                {
                    "id": 918,
                    "cat": "Movies",
                    "desc": "  |---- Bárbara Wagner & Benjamin de Burca"
                },
                {
                    "id": 243,
                    "cat": "Movies",
                    "desc": "  |---- Beto Brant"
                },
                {
                    "id": 618,
                    "cat": "Movies",
                    "desc": "  |---- Braz Chediak"
                },
                {
                    "id": 244,
                    "cat": "Movies",
                    "desc": "  |---- Bruno Barreto"
                },
                {
                    "id": 845,
                    "cat": "Movies",
                    "desc": "  |---- Bruno Safadi"
                },
                {
                    "id": 619,
                    "cat": "Movies",
                    "desc": "  |---- Cao Guimarães"
                },
                {
                    "id": 644,
                    "cat": "Movies",
                    "desc": "  |---- Carlos Alberto Prates Correa"
                },
                {
                    "id": 620,
                    "cat": "Movies",
                    "desc": "  |---- Carlos Coimbra"
                },
                {
                    "id": 238,
                    "cat": "Movies",
                    "desc": "  |---- Carlos Diegues"
                },
                {
                    "id": 550,
                    "cat": "Movies",
                    "desc": "  |---- Carlos Gerbase"
                },
                {
                    "id": 551,
                    "cat": "Movies",
                    "desc": "  |---- Carlos Hugo Christensen"
                },
                {
                    "id": 435,
                    "cat": "Movies",
                    "desc": "  |---- Carlos Manga"
                },
                {
                    "id": 846,
                    "cat": "Movies",
                    "desc": "  |---- Carlos Nader"
                },
                {
                    "id": 225,
                    "cat": "Movies",
                    "desc": "  |---- Carlos Reichenbach"
                },
                {
                    "id": 847,
                    "cat": "Movies",
                    "desc": "  |---- Cláudio Assis"
                },
                {
                    "id": 708,
                    "cat": "Movies",
                    "desc": "  |---- Cláudio Cunha"
                },
                {
                    "id": 919,
                    "cat": "Movies",
                    "desc": "  |---- Cristiano Burlan"
                },
                {
                    "id": 775,
                    "cat": "Movies",
                    "desc": "  |---- Daniel Filho"
                },
                {
                    "id": 621,
                    "cat": "Movies",
                    "desc": "  |---- David Neves"
                },
                {
                    "id": 387,
                    "cat": "Movies",
                    "desc": "  |---- Domingos de Oliveira"
                },
                {
                    "id": 81,
                    "cat": "Movies",
                    "desc": "  |---- Eduardo Coutinho"
                },
                {
                    "id": 622,
                    "cat": "Movies",
                    "desc": "  |---- Eduardo Escorel"
                },
                {
                    "id": 848,
                    "cat": "Movies",
                    "desc": "  |---- Eliane Caffé"
                },
                {
                    "id": 709,
                    "cat": "Movies",
                    "desc": "  |---- Elyseu Visconti"
                },
                {
                    "id": 849,
                    "cat": "Movies",
                    "desc": "  |---- Eryk Rocha"
                },
                {
                    "id": 710,
                    "cat": "Movies",
                    "desc": "  |---- Eurípides Ramos"
                },
                {
                    "id": 711,
                    "cat": "Movies",
                    "desc": "  |---- Fabio Barreto"
                },
                {
                    "id": 712,
                    "cat": "Movies",
                    "desc": "  |---- Fauzi Mansur"
                },
                {
                    "id": 713,
                    "cat": "Movies",
                    "desc": "  |---- Fernando de Barros"
                },
                {
                    "id": 552,
                    "cat": "Movies",
                    "desc": "  |---- Fernando Meirelles"
                },
                {
                    "id": 714,
                    "cat": "Movies",
                    "desc": "  |---- Flávio Tambellini"
                },
                {
                    "id": 920,
                    "cat": "Movies",
                    "desc": "  |---- Francisco Cavalcanti"
                },
                {
                    "id": 413,
                    "cat": "Movies",
                    "desc": "  |---- Francisco Ramalho Jr."
                },
                {
                    "id": 715,
                    "cat": "Movies",
                    "desc": "  |---- Gabriel Mascaro"
                },
                {
                    "id": 776,
                    "cat": "Movies",
                    "desc": "  |---- Geraldo Sarno"
                },
                {
                    "id": 977,
                    "cat": "Movies",
                    "desc": "  |---- Geraldo Vietri"
                },
                {
                    "id": 921,
                    "cat": "Movies",
                    "desc": "  |---- Gerson Tavares"
                },
                {
                    "id": 62,
                    "cat": "Movies",
                    "desc": "  |---- Glauber Rocha"
                },
                {
                    "id": 623,
                    "cat": "Movies",
                    "desc": "  |---- Guilherme de Almeida Prado"
                },
                {
                    "id": 228,
                    "cat": "Movies",
                    "desc": "  |---- Hector Babenco"
                },
                {
                    "id": 925,
                    "cat": "Movies",
                    "desc": "  |---- Heitor Dhalia"
                },
                {
                    "id": 922,
                    "cat": "Movies",
                    "desc": "  |---- Helena Ignez"
                },
                {
                    "id": 647,
                    "cat": "Movies",
                    "desc": "  |---- Helvécio Ratton"
                },
                {
                    "id": 583,
                    "cat": "Movies",
                    "desc": "  |---- Hugo Carvana"
                },
                {
                    "id": 215,
                    "cat": "Movies",
                    "desc": "  |---- Humberto Mauro"
                },
                {
                    "id": 553,
                    "cat": "Movies",
                    "desc": "  |---- Ivan Cardoso"
                },
                {
                    "id": 645,
                    "cat": "Movies",
                    "desc": "  |---- J. B. Tanko"
                },
                {
                    "id": 191,
                    "cat": "Movies",
                    "desc": "  |---- Jairo Ferreira"
                },
                {
                    "id": 646,
                    "cat": "Movies",
                    "desc": "  |---- Jean Garret"
                },
                {
                    "id": 850,
                    "cat": "Movies",
                    "desc": "  |---- Jece Valadão"
                },
                {
                    "id": 584,
                    "cat": "Movies",
                    "desc": "  |---- João Batista Andrade"
                },
                {
                    "id": 923,
                    "cat": "Movies",
                    "desc": "  |---- João Moreira Salles"
                },
                {
                    "id": 203,
                    "cat": "Movies",
                    "desc": "  |---- Joaquim Pedro De Andrade"
                },
                {
                    "id": 976,
                    "cat": "Movies",
                    "desc": "  |---- Jom Tob Azulay"
                },
                {
                    "id": 851,
                    "cat": "Movies",
                    "desc": "  |---- Jorge Durán"
                },
                {
                    "id": 155,
                    "cat": "Movies",
                    "desc": "  |---- Jorge Furtado"
                },
                {
                    "id": 777,
                    "cat": "Movies",
                    "desc": "  |---- José Carlos Burle"
                },
                {
                    "id": 852,
                    "cat": "Movies",
                    "desc": "  |---- José Eduardo Belmonte"
                },
                {
                    "id": 436,
                    "cat": "Movies",
                    "desc": "  |---- José Joffily"
                },
                {
                    "id": 924,
                    "cat": "Movies",
                    "desc": "  |---- José Miziara"
                },
                {
                    "id": 82,
                    "cat": "Movies",
                    "desc": "  |---- José Mojica Marins"
                },
                {
                    "id": 853,
                    "cat": "Movies",
                    "desc": "  |---- José Padilha"
                },
                {
                    "id": 854,
                    "cat": "Movies",
                    "desc": "  |---- Juliana Rojas"
                },
                {
                    "id": 152,
                    "cat": "Movies",
                    "desc": "  |---- Júlio Bressane"
                },
                {
                    "id": 554,
                    "cat": "Movies",
                    "desc": "  |---- Karim Aïnouz"
                },
                {
                    "id": 555,
                    "cat": "Movies",
                    "desc": "  |---- Kleber Mendonça Filho"
                },
                {
                    "id": 239,
                    "cat": "Movies",
                    "desc": "  |---- Leon Hirszman"
                },
                {
                    "id": 855,
                    "cat": "Movies",
                    "desc": "  |---- Lírio Ferreira"
                },
                {
                    "id": 245,
                    "cat": "Movies",
                    "desc": "  |---- Lucia Murat"
                },
                {
                    "id": 466,
                    "cat": "Movies",
                    "desc": "  |---- Luis Sergio Person"
                },
                {
                    "id": 585,
                    "cat": "Movies",
                    "desc": "  |---- Luiz Carlos Lacerda"
                },
                {
                    "id": 778,
                    "cat": "Movies",
                    "desc": "  |---- Luiz Rosemberg Filho "
                },
                {
                    "id": 779,
                    "cat": "Movies",
                    "desc": "  |---- Marcelo Galvão"
                },
                {
                    "id": 716,
                    "cat": "Movies",
                    "desc": "  |---- Marcelo Gomes"
                },
                {
                    "id": 624,
                    "cat": "Movies",
                    "desc": "  |---- Marcelo Masagão"
                },
                {
                    "id": 717,
                    "cat": "Movies",
                    "desc": "  |---- Marcelo Pedroso"
                },
                {
                    "id": 718,
                    "cat": "Movies",
                    "desc": "  |---- Marco Altberg  "
                },
                {
                    "id": 856,
                    "cat": "Movies",
                    "desc": "  |---- Marcos Farias"
                },
                {
                    "id": 926,
                    "cat": "Movies",
                    "desc": "  |---- Maria Augusta Ramos"
                },
                {
                    "id": 648,
                    "cat": "Movies",
                    "desc": "  |---- Maurice Capovilla"
                },
                {
                    "id": 719,
                    "cat": "Movies",
                    "desc": "  |---- Miguel Borges"
                },
                {
                    "id": 556,
                    "cat": "Movies",
                    "desc": "  |---- Miguel Faria Jr."
                },
                {
                    "id": 248,
                    "cat": "Movies",
                    "desc": "  |---- Murilo Salles"
                },
                {
                    "id": 122,
                    "cat": "Movies",
                    "desc": "  |---- Nelson Pereira dos Santos"
                },
                {
                    "id": 720,
                    "cat": "Movies",
                    "desc": "  |---- Neville de Almeida"
                },
                {
                    "id": 650,
                    "cat": "Movies",
                    "desc": "  |---- Ody Fraga"
                },
                {
                    "id": 927,
                    "cat": "Movies",
                    "desc": "  |---- Olney São Paulo"
                },
                {
                    "id": 721,
                    "cat": "Movies",
                    "desc": "  |---- Osvaldo de Oliveira"
                },
                {
                    "id": 722,
                    "cat": "Movies",
                    "desc": "  |---- Oswaldo Caldeira"
                },
                {
                    "id": 379,
                    "cat": "Movies",
                    "desc": "  |---- Ozualdo Candeias"
                },
                {
                    "id": 986,
                    "cat": "Movies",
                    "desc": "  |---- Paula Gaitán"
                },
                {
                    "id": 495,
                    "cat": "Movies",
                    "desc": "  |---- Paulo Cesar Saraceni"
                },
                {
                    "id": 586,
                    "cat": "Movies",
                    "desc": "  |---- Paulo Thiago"
                },
                {
                    "id": 928,
                    "cat": "Movies",
                    "desc": "  |---- Pedro Carlos Rovai"
                },
                {
                    "id": 625,
                    "cat": "Movies",
                    "desc": "  |---- Petrus Cariry"
                },
                {
                    "id": 723,
                    "cat": "Movies",
                    "desc": "  |---- Reginaldo Faria"
                },
                {
                    "id": 557,
                    "cat": "Movies",
                    "desc": "  |---- Renato Tapajós"
                },
                {
                    "id": 983,
                    "cat": "Movies",
                    "desc": "  |---- Ricardo Alves Jr."
                },
                {
                    "id": 496,
                    "cat": "Movies",
                    "desc": "  |---- Roberto Farias"
                },
                {
                    "id": 467,
                    "cat": "Movies",
                    "desc": "  |---- Roberto Pires"
                },
                {
                    "id": 626,
                    "cat": "Movies",
                    "desc": "  |---- Roberto Santos"
                },
                {
                    "id": 106,
                    "cat": "Movies",
                    "desc": "  |---- Rogério Sganzerla"
                },
                {
                    "id": 587,
                    "cat": "Movies",
                    "desc": "  |---- Rosemberg Cariry"
                },
                {
                    "id": 108,
                    "cat": "Movies",
                    "desc": "  |---- Ruy Guerra"
                },
                {
                    "id": 929,
                    "cat": "Movies",
                    "desc": "  |---- Sandra Kogut"
                },
                {
                    "id": 588,
                    "cat": "Movies",
                    "desc": "  |---- Sandra Werneck"
                },
                {
                    "id": 384,
                    "cat": "Movies",
                    "desc": "  |---- Sérgio Bianchi"
                },
                {
                    "id": 236,
                    "cat": "Movies",
                    "desc": "  |---- Sérgio Rezende"
                },
                {
                    "id": 780,
                    "cat": "Movies",
                    "desc": "  |---- Sérgio Ricardo"
                },
                {
                    "id": 240,
                    "cat": "Movies",
                    "desc": "  |---- Silvio Tendler"
                },
                {
                    "id": 468,
                    "cat": "Movies",
                    "desc": "  |---- Sylvio Back"
                },
                {
                    "id": 857,
                    "cat": "Movies",
                    "desc": "  |---- Tata Amaral"
                },
                {
                    "id": 724,
                    "cat": "Movies",
                    "desc": "  |---- Tom Payne"
                },
                {
                    "id": 497,
                    "cat": "Movies",
                    "desc": "  |---- Toni Venturi"
                },
                {
                    "id": 246,
                    "cat": "Movies",
                    "desc": "  |---- Ugo Giorgetti "
                },
                {
                    "id": 781,
                    "cat": "Movies",
                    "desc": "  |---- Victor di Mello"
                },
                {
                    "id": 558,
                    "cat": "Movies",
                    "desc": "  |---- Victor Lima"
                },
                {
                    "id": 247,
                    "cat": "Movies",
                    "desc": "  |---- Vladimir Carvalho"
                },
                {
                    "id": 782,
                    "cat": "Movies",
                    "desc": "  |---- Walter Carvalho"
                },
                {
                    "id": 164,
                    "cat": "Movies",
                    "desc": "  |---- Walter Hugo Khouri"
                },
                {
                    "id": 237,
                    "cat": "Movies",
                    "desc": "  |---- Walter Lima Jr."
                },
                {
                    "id": 84,
                    "cat": "Movies",
                    "desc": "  |---- Walter Salles"
                },
                {
                    "id": 627,
                    "cat": "Movies",
                    "desc": "  |---- Watson Macedo"
                },
                {
                    "id": 982,
                    "cat": "Movies",
                    "desc": "  |---- Wolney Oliveira"
                },
                {
                    "id": 628,
                    "cat": "Movies",
                    "desc": "  |---- Xavier de Oliveira"
                },
                {
                    "id": 589,
                    "cat": "Movies",
                    "desc": "  |---- Zelito Viana"
                },
                {
                    "id": 187,
                    "cat": "Movies",
                    "desc": "  |-- Britânicos"
                },
                {
                    "id": 783,
                    "cat": "Movies",
                    "desc": "  |---- Alan Clarke"
                },
                {
                    "id": 391,
                    "cat": "Movies",
                    "desc": "  |---- Alberto Cavalcanti"
                },
                {
                    "id": 474,
                    "cat": "Movies",
                    "desc": "  |---- Alexander Mackendrick"
                },
                {
                    "id": 39,
                    "cat": "Movies",
                    "desc": "  |---- Alfred Hitchcock"
                },
                {
                    "id": 559,
                    "cat": "Movies",
                    "desc": "  |---- Anthony Asquith"
                },
                {
                    "id": 560,
                    "cat": "Movies",
                    "desc": "  |---- Anthony Minghella"
                },
                {
                    "id": 651,
                    "cat": "Movies",
                    "desc": "  |---- Bryan Forbes"
                },
                {
                    "id": 268,
                    "cat": "Movies",
                    "desc": "  |---- Carol Reed"
                },
                {
                    "id": 284,
                    "cat": "Movies",
                    "desc": "  |---- Danny Boyle"
                },
                {
                    "id": 148,
                    "cat": "Movies",
                    "desc": "  |---- David Lean"
                },
                {
                    "id": 858,
                    "cat": "Movies",
                    "desc": "  |---- David Mackenzie"
                },
                {
                    "id": 285,
                    "cat": "Movies",
                    "desc": "  |---- Derek Jarman"
                },
                {
                    "id": 930,
                    "cat": "Movies",
                    "desc": "  |---- Freddie Francis"
                },
                {
                    "id": 725,
                    "cat": "Movies",
                    "desc": "  |---- Jack Clayton"
                },
                {
                    "id": 286,
                    "cat": "Movies",
                    "desc": "  |---- James Ivory"
                },
                {
                    "id": 784,
                    "cat": "Movies",
                    "desc": "  |---- Jim Sheridan"
                },
                {
                    "id": 276,
                    "cat": "Movies",
                    "desc": "  |---- John Boorman "
                },
                {
                    "id": 931,
                    "cat": "Movies",
                    "desc": "  |---- John Guillermin"
                },
                {
                    "id": 219,
                    "cat": "Movies",
                    "desc": "  |---- Joseph Losey"
                },
                {
                    "id": 498,
                    "cat": "Movies",
                    "desc": "  |---- Karel Reisz"
                },
                {
                    "id": 113,
                    "cat": "Movies",
                    "desc": "  |---- Ken Loach"
                },
                {
                    "id": 282,
                    "cat": "Movies",
                    "desc": "  |---- Ken Russell"
                },
                {
                    "id": 207,
                    "cat": "Movies",
                    "desc": "  |---- Kenneth Branagh"
                },
                {
                    "id": 859,
                    "cat": "Movies",
                    "desc": "  |---- Kevin Macdonald"
                },
                {
                    "id": 414,
                    "cat": "Movies",
                    "desc": "  |---- Lewis Gilbert"
                },
                {
                    "id": 499,
                    "cat": "Movies",
                    "desc": "  |---- Lindsay Anderson"
                },
                {
                    "id": 500,
                    "cat": "Movies",
                    "desc": "  |---- Lynne Ramsay"
                },
                {
                    "id": 475,
                    "cat": "Movies",
                    "desc": "  |---- Michael Anderson"
                },
                {
                    "id": 287,
                    "cat": "Movies",
                    "desc": "  |---- Michael Powell"
                },
                {
                    "id": 958,
                    "cat": "Movies",
                    "desc": "  |---- Michael Radford"
                },
                {
                    "id": 150,
                    "cat": "Movies",
                    "desc": "  |---- Michael Winterbottom"
                },
                {
                    "id": 652,
                    "cat": "Movies",
                    "desc": "  |---- Mike Figgis"
                },
                {
                    "id": 291,
                    "cat": "Movies",
                    "desc": "  |---- Mike Leigh"
                },
                {
                    "id": 404,
                    "cat": "Movies",
                    "desc": "  |---- Nicolas Roeg"
                },
                {
                    "id": 416,
                    "cat": "Movies",
                    "desc": "  |---- Norman McLaren"
                },
                {
                    "id": 653,
                    "cat": "Movies",
                    "desc": "  |---- Peter Brook"
                },
                {
                    "id": 96,
                    "cat": "Movies",
                    "desc": "  |---- Peter Greenaway"
                },
                {
                    "id": 364,
                    "cat": "Movies",
                    "desc": "  |---- Peter Watkins"
                },
                {
                    "id": 288,
                    "cat": "Movies",
                    "desc": "  |---- Peter Yates"
                },
                {
                    "id": 281,
                    "cat": "Movies",
                    "desc": "  |---- Richard Attenborough"
                },
                {
                    "id": 289,
                    "cat": "Movies",
                    "desc": "  |---- Richard Lester"
                },
                {
                    "id": 932,
                    "cat": "Movies",
                    "desc": "  |---- Robert Hamer"
                },
                {
                    "id": 726,
                    "cat": "Movies",
                    "desc": "  |---- Robert Stevenson"
                },
                {
                    "id": 377,
                    "cat": "Movies",
                    "desc": "  |---- Ronald Neame"
                },
                {
                    "id": 727,
                    "cat": "Movies",
                    "desc": "  |---- Roy Ward Baker"
                },
                {
                    "id": 130,
                    "cat": "Movies",
                    "desc": "  |---- Stephen Frears"
                },
                {
                    "id": 785,
                    "cat": "Movies",
                    "desc": "  |---- Terence Davies"
                },
                {
                    "id": 415,
                    "cat": "Movies",
                    "desc": "  |---- Terence Fisher"
                },
                {
                    "id": 290,
                    "cat": "Movies",
                    "desc": "  |---- Tony Richardson"
                },
                {
                    "id": 72,
                    "cat": "Movies",
                    "desc": "  |-- Europeus (outros)"
                },
                {
                    "id": 307,
                    "cat": "Movies",
                    "desc": "  |---- Agnieszka Holland"
                },
                {
                    "id": 38,
                    "cat": "Movies",
                    "desc": "  |---- Aki Kaurismäki"
                },
                {
                    "id": 501,
                    "cat": "Movies",
                    "desc": "  |---- Alain Tanner"
                },
                {
                    "id": 424,
                    "cat": "Movies",
                    "desc": "  |---- Aleksandr Dovzhenko"
                },
                {
                    "id": 469,
                    "cat": "Movies",
                    "desc": "  |---- Aleksandr Petrov"
                },
                {
                    "id": 171,
                    "cat": "Movies",
                    "desc": "  |---- Aleksandr Sokurov"
                },
                {
                    "id": 786,
                    "cat": "Movies",
                    "desc": "  |---- Aleksei German"
                },
                {
                    "id": 400,
                    "cat": "Movies",
                    "desc": "  |---- Aleksey Balabanov"
                },
                {
                    "id": 521,
                    "cat": "Movies",
                    "desc": "  |---- Alex van Warmerdam"
                },
                {
                    "id": 274,
                    "cat": "Movies",
                    "desc": "  |---- Alexander Kluge"
                },
                {
                    "id": 860,
                    "cat": "Movies",
                    "desc": "  |---- André Delvaux"
                },
                {
                    "id": 453,
                    "cat": "Movies",
                    "desc": "  |---- Andrei Konchalovsky"
                },
                {
                    "id": 67,
                    "cat": "Movies",
                    "desc": "  |---- Andrei Tarkovsky"
                },
                {
                    "id": 933,
                    "cat": "Movies",
                    "desc": "  |---- Andrey Zvyagintsev"
                },
                {
                    "id": 104,
                    "cat": "Movies",
                    "desc": "  |---- Andrzej Wajda"
                },
                {
                    "id": 275,
                    "cat": "Movies",
                    "desc": "  |---- Andrzej Zulawski"
                },
                {
                    "id": 934,
                    "cat": "Movies",
                    "desc": "  |---- Angela Schanelec"
                },
                {
                    "id": 935,
                    "cat": "Movies",
                    "desc": "  |---- Arne Sucksdorff"
                },
                {
                    "id": 293,
                    "cat": "Movies",
                    "desc": "  |---- Artavazd Peleshian"
                },
                {
                    "id": 728,
                    "cat": "Movies",
                    "desc": "  |---- Baltasar Kormákur"
                },
                {
                    "id": 223,
                    "cat": "Movies",
                    "desc": "  |---- Béla Tarr"
                },
                {
                    "id": 936,
                    "cat": "Movies",
                    "desc": "  |---- Bert Haanstra"
                },
                {
                    "id": 454,
                    "cat": "Movies",
                    "desc": "  |---- Bille August"
                },
                {
                    "id": 729,
                    "cat": "Movies",
                    "desc": "  |---- Boris Barnet"
                },
                {
                    "id": 170,
                    "cat": "Movies",
                    "desc": "  |---- Carl Theodor Dreyer"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "  |---- Chantal Akerman"
                },
                {
                    "id": 561,
                    "cat": "Movies",
                    "desc": "  |---- Christian Petzold"
                },
                {
                    "id": 590,
                    "cat": "Movies",
                    "desc": "  |---- Christoffer Boe"
                },
                {
                    "id": 937,
                    "cat": "Movies",
                    "desc": "  |---- Christoph Hochhäusler"
                },
                {
                    "id": 861,
                    "cat": "Movies",
                    "desc": "  |---- Corneliu Porumboiu"
                },
                {
                    "id": 137,
                    "cat": "Movies",
                    "desc": "  |---- Costa-Gavras"
                },
                {
                    "id": 862,
                    "cat": "Movies",
                    "desc": "  |---- Cristi Puiu"
                },
                {
                    "id": 562,
                    "cat": "Movies",
                    "desc": "  |---- Cristian Mungiu"
                },
                {
                    "id": 787,
                    "cat": "Movies",
                    "desc": "  |---- Dagur Kári"
                },
                {
                    "id": 654,
                    "cat": "Movies",
                    "desc": "  |---- Danis Tanovic"
                },
                {
                    "id": 591,
                    "cat": "Movies",
                    "desc": "  |---- Dorota Kedzierzawska"
                },
                {
                    "id": 426,
                    "cat": "Movies",
                    "desc": "  |---- Dusan Makavejev"
                },
                {
                    "id": 402,
                    "cat": "Movies",
                    "desc": "  |---- Dziga Vertov"
                },
                {
                    "id": 788,
                    "cat": "Movies",
                    "desc": "  |---- Elem Klimov"
                },
                {
                    "id": 59,
                    "cat": "Movies",
                    "desc": "  |---- Emir Kusturica"
                },
                {
                    "id": 789,
                    "cat": "Movies",
                    "desc": "  |---- Evald Schorm"
                },
                {
                    "id": 149,
                    "cat": "Movies",
                    "desc": "  |---- Fatih Akin"
                },
                {
                    "id": 655,
                    "cat": "Movies",
                    "desc": "  |---- Frantisek Vlácil"
                },
                {
                    "id": 502,
                    "cat": "Movies",
                    "desc": "  |---- Fridrik Thor Fridriksson"
                },
                {
                    "id": 169,
                    "cat": "Movies",
                    "desc": "  |---- Friedrich Wilhelm Murnau"
                },
                {
                    "id": 95,
                    "cat": "Movies",
                    "desc": "  |---- Fritz Lang"
                },
                {
                    "id": 297,
                    "cat": "Movies",
                    "desc": "  |---- Georg Wilhelm Pabst"
                },
                {
                    "id": 592,
                    "cat": "Movies",
                    "desc": "  |---- Georgi Daneliya"
                },
                {
                    "id": 938,
                    "cat": "Movies",
                    "desc": "  |---- Goran Paskaljevic"
                },
                {
                    "id": 522,
                    "cat": "Movies",
                    "desc": "  |---- Grigori Kozintsev"
                },
                {
                    "id": 205,
                    "cat": "Movies",
                    "desc": "  |---- Harun Farocki"
                },
                {
                    "id": 298,
                    "cat": "Movies",
                    "desc": "  |---- Helmut Käutner"
                },
                {
                    "id": 730,
                    "cat": "Movies",
                    "desc": "  |---- Henri Storck"
                },
                {
                    "id": 42,
                    "cat": "Movies",
                    "desc": "  |---- Ingmar Bergman"
                },
                {
                    "id": 312,
                    "cat": "Movies",
                    "desc": "  |---- István Szabó"
                },
                {
                    "id": 523,
                    "cat": "Movies",
                    "desc": "  |---- Jan Hrebejk"
                },
                {
                    "id": 790,
                    "cat": "Movies",
                    "desc": "  |---- Jan Nemec"
                },
                {
                    "id": 731,
                    "cat": "Movies",
                    "desc": "  |---- Jan Troell"
                },
                {
                    "id": 132,
                    "cat": "Movies",
                    "desc": "  |---- Jan Svankmajer"
                },
                {
                    "id": 791,
                    "cat": "Movies",
                    "desc": "  |---- Jaromil Jires"
                },
                {
                    "id": 209,
                    "cat": "Movies",
                    "desc": "  |---- Jean-Pierre & Luc Dardenne"
                },
                {
                    "id": 863,
                    "cat": "Movies",
                    "desc": "  |---- Jerzy Kawalerowicz"
                },
                {
                    "id": 386,
                    "cat": "Movies",
                    "desc": "  |---- Jerzy Skolimowski"
                },
                {
                    "id": 503,
                    "cat": "Movies",
                    "desc": "  |---- Jirí Menzel"
                },
                {
                    "id": 864,
                    "cat": "Movies",
                    "desc": "  |---- Joachim Lafosse"
                },
                {
                    "id": 563,
                    "cat": "Movies",
                    "desc": "  |---- Johan van der Keuken"
                },
                {
                    "id": 939,
                    "cat": "Movies",
                    "desc": "  |---- John Carney"
                },
                {
                    "id": 792,
                    "cat": "Movies",
                    "desc": "  |---- Joris Ivens"
                },
                {
                    "id": 504,
                    "cat": "Movies",
                    "desc": "  |---- Jos Stelling"
                },
                {
                    "id": 793,
                    "cat": "Movies",
                    "desc": "  |---- Juraj Herz "
                },
                {
                    "id": 656,
                    "cat": "Movies",
                    "desc": "  |---- Juraj Jakubisko"
                },
                {
                    "id": 657,
                    "cat": "Movies",
                    "desc": "  |---- Karel Kachyna"
                },
                {
                    "id": 658,
                    "cat": "Movies",
                    "desc": "  |---- Karel Zeman"
                },
                {
                    "id": 940,
                    "cat": "Movies",
                    "desc": "  |---- Kira Muratova"
                },
                {
                    "id": 732,
                    "cat": "Movies",
                    "desc": "  |---- Konstantin Lopushanskiy"
                },
                {
                    "id": 941,
                    "cat": "Movies",
                    "desc": "  |---- Kornél Mundruczó"
                },
                {
                    "id": 69,
                    "cat": "Movies",
                    "desc": "  |---- Krzysztof Kieslowski"
                },
                {
                    "id": 470,
                    "cat": "Movies",
                    "desc": "  |---- Krzysztof Zanussi"
                },
                {
                    "id": 63,
                    "cat": "Movies",
                    "desc": "  |---- Lars Von Trier"
                },
                {
                    "id": 659,
                    "cat": "Movies",
                    "desc": "  |---- Lech Majewski"
                },
                {
                    "id": 403,
                    "cat": "Movies",
                    "desc": "  |---- Leni Riefenstahl"
                },
                {
                    "id": 505,
                    "cat": "Movies",
                    "desc": "  |---- Lev Kuleshov"
                },
                {
                    "id": 660,
                    "cat": "Movies",
                    "desc": "  |---- Lucas Belvaux"
                },
                {
                    "id": 733,
                    "cat": "Movies",
                    "desc": "  |---- Lucian Pintilie"
                },
                {
                    "id": 309,
                    "cat": "Movies",
                    "desc": "  |---- Lukas Moodysson"
                },
                {
                    "id": 524,
                    "cat": "Movies",
                    "desc": "  |---- Margarethe von Trotta"
                },
                {
                    "id": 734,
                    "cat": "Movies",
                    "desc": "  |---- Martin Sulík"
                },
                {
                    "id": 60,
                    "cat": "Movies",
                    "desc": "  |---- Michael Haneke"
                },
                {
                    "id": 865,
                    "cat": "Movies",
                    "desc": "  |---- Mika Kaurismäki"
                },
                {
                    "id": 272,
                    "cat": "Movies",
                    "desc": "  |---- Miklós Jancsó"
                },
                {
                    "id": 506,
                    "cat": "Movies",
                    "desc": "  |---- Mikhail Kalatozov"
                },
                {
                    "id": 942,
                    "cat": "Movies",
                    "desc": "  |---- Mikhail Romm"
                },
                {
                    "id": 46,
                    "cat": "Movies",
                    "desc": "  |---- Milos Forman"
                },
                {
                    "id": 866,
                    "cat": "Movies",
                    "desc": "  |---- Nanouk Leopold"
                },
                {
                    "id": 131,
                    "cat": "Movies",
                    "desc": "  |---- Neil Jordan"
                },
                {
                    "id": 507,
                    "cat": "Movies",
                    "desc": "  |---- Nicolas Winding Refn"
                },
                {
                    "id": 311,
                    "cat": "Movies",
                    "desc": "  |---- Nikita Mikhalkov"
                },
                {
                    "id": 564,
                    "cat": "Movies",
                    "desc": "  |---- Ole Christian Madsen"
                },
                {
                    "id": 294,
                    "cat": "Movies",
                    "desc": "  |---- Otar Iosseliani"
                },
                {
                    "id": 295,
                    "cat": "Movies",
                    "desc": "  |---- Paul Verhoeven"
                },
                {
                    "id": 794,
                    "cat": "Movies",
                    "desc": "  |---- Pavel Lungin"
                },
                {
                    "id": 943,
                    "cat": "Movies",
                    "desc": "  |---- Piotr Szulkin"
                },
                {
                    "id": 867,
                    "cat": "Movies",
                    "desc": "  |---- Radu Jude"
                },
                {
                    "id": 47,
                    "cat": "Movies",
                    "desc": "  |---- Rainer Werner Fassbinder"
                },
                {
                    "id": 944,
                    "cat": "Movies",
                    "desc": "  |---- Rein Raamat"
                },
                {
                    "id": 661,
                    "cat": "Movies",
                    "desc": "  |---- Roy Andersson"
                },
                {
                    "id": 795,
                    "cat": "Movies",
                    "desc": "  |---- Rúnar Rúnarsson"
                },
                {
                    "id": 735,
                    "cat": "Movies",
                    "desc": "  |---- Sergei Loznitsa"
                },
                {
                    "id": 133,
                    "cat": "Movies",
                    "desc": "  |---- Sergei M. Eisenstein"
                },
                {
                    "id": 196,
                    "cat": "Movies",
                    "desc": "  |---- Sergei Paradjanov"
                },
                {
                    "id": 796,
                    "cat": "Movies",
                    "desc": "  |---- Sergiu Nicolaescu"
                },
                {
                    "id": 508,
                    "cat": "Movies",
                    "desc": "  |---- Sharunas Bartas"
                },
                {
                    "id": 736,
                    "cat": "Movies",
                    "desc": "  |---- Stefan Uher"
                },
                {
                    "id": 455,
                    "cat": "Movies",
                    "desc": "  |---- Susanne Bier"
                },
                {
                    "id": 945,
                    "cat": "Movies",
                    "desc": "  |---- Takis Kanellopoulos"
                },
                {
                    "id": 868,
                    "cat": "Movies",
                    "desc": "  |---- Tengiz Abuladze"
                },
                {
                    "id": 176,
                    "cat": "Movies",
                    "desc": "  |---- Theo Angelopoulos"
                },
                {
                    "id": 946,
                    "cat": "Movies",
                    "desc": "  |---- Thomas Arslan"
                },
                {
                    "id": 471,
                    "cat": "Movies",
                    "desc": "  |---- Thomas Vinterberg"
                },
                {
                    "id": 299,
                    "cat": "Movies",
                    "desc": "  |---- Tom Tykwer"
                },
                {
                    "id": 662,
                    "cat": "Movies",
                    "desc": "  |---- Ulrich Seidl"
                },
                {
                    "id": 229,
                    "cat": "Movies",
                    "desc": "  |---- Vera Chytilová"
                },
                {
                    "id": 310,
                    "cat": "Movies",
                    "desc": "  |---- Victor Sjöström"
                },
                {
                    "id": 456,
                    "cat": "Movies",
                    "desc": "  |---- Volker Schlöndorff"
                },
                {
                    "id": 869,
                    "cat": "Movies",
                    "desc": "  |---- Vsevolod Pudovkin"
                },
                {
                    "id": 663,
                    "cat": "Movies",
                    "desc": "  |---- Walerian Borowczyk"
                },
                {
                    "id": 49,
                    "cat": "Movies",
                    "desc": "  |---- Werner Herzog"
                },
                {
                    "id": 472,
                    "cat": "Movies",
                    "desc": "  |---- Werner Schroeter"
                },
                {
                    "id": 111,
                    "cat": "Movies",
                    "desc": "  |---- Wim Wenders"
                },
                {
                    "id": 947,
                    "cat": "Movies",
                    "desc": "  |---- Witold Leszczynski"
                },
                {
                    "id": 797,
                    "cat": "Movies",
                    "desc": "  |---- Wladyslaw Starewicz "
                },
                {
                    "id": 473,
                    "cat": "Movies",
                    "desc": "  |---- Yevgeni Bauer"
                },
                {
                    "id": 948,
                    "cat": "Movies",
                    "desc": "  |---- Yorgos Lanthimos"
                },
                {
                    "id": 313,
                    "cat": "Movies",
                    "desc": "  |---- Zoltán Fábri"
                },
                {
                    "id": 138,
                    "cat": "Movies",
                    "desc": "  |-- Franceses"
                },
                {
                    "id": 565,
                    "cat": "Movies",
                    "desc": "  |---- Abel Gance"
                },
                {
                    "id": 200,
                    "cat": "Movies",
                    "desc": "  |---- Agnes Varda"
                },
                {
                    "id": 509,
                    "cat": "Movies",
                    "desc": "  |---- Alain Corneau"
                },
                {
                    "id": 870,
                    "cat": "Movies",
                    "desc": "  |---- Alain Guiraudie "
                },
                {
                    "id": 78,
                    "cat": "Movies",
                    "desc": "  |---- Alain Resnais"
                },
                {
                    "id": 430,
                    "cat": "Movies",
                    "desc": "  |---- Alain Robbe-Grillet"
                },
                {
                    "id": 798,
                    "cat": "Movies",
                    "desc": "  |---- Alexandre Astruc"
                },
                {
                    "id": 871,
                    "cat": "Movies",
                    "desc": "  |---- Alice Guy"
                },
                {
                    "id": 338,
                    "cat": "Movies",
                    "desc": "  |---- André Téchiné"
                },
                {
                    "id": 799,
                    "cat": "Movies",
                    "desc": "  |---- Anne Fontaine"
                },
                {
                    "id": 872,
                    "cat": "Movies",
                    "desc": "  |---- Arnaud Desplechin"
                },
                {
                    "id": 339,
                    "cat": "Movies",
                    "desc": "  |---- Barbet Schroeder"
                },
                {
                    "id": 593,
                    "cat": "Movies",
                    "desc": "  |---- Benoît Jacquot"
                },
                {
                    "id": 395,
                    "cat": "Movies",
                    "desc": "  |---- Bertrand Blier"
                },
                {
                    "id": 510,
                    "cat": "Movies",
                    "desc": "  |---- Bertrand Bonello"
                },
                {
                    "id": 396,
                    "cat": "Movies",
                    "desc": "  |---- Bertrand Tavernier"
                },
                {
                    "id": 427,
                    "cat": "Movies",
                    "desc": "  |---- Bruno Dumont"
                },
                {
                    "id": 266,
                    "cat": "Movies",
                    "desc": "  |---- Catherine Breillat"
                },
                {
                    "id": 980,
                    "cat": "Movies",
                    "desc": "  |---- Cédric Kahn"
                },
                {
                    "id": 447,
                    "cat": "Movies",
                    "desc": "  |---- Cédric Klapisch"
                },
                {
                    "id": 232,
                    "cat": "Movies",
                    "desc": "  |---- Chris Marker"
                },
                {
                    "id": 340,
                    "cat": "Movies",
                    "desc": "  |---- Christophe Honoré"
                },
                {
                    "id": 341,
                    "cat": "Movies",
                    "desc": "  |---- Claire Denis"
                },
                {
                    "id": 392,
                    "cat": "Movies",
                    "desc": "  |---- Claude Berri"
                },
                {
                    "id": 185,
                    "cat": "Movies",
                    "desc": "  |---- Claude Chabrol"
                },
                {
                    "id": 265,
                    "cat": "Movies",
                    "desc": "  |---- Claude Lelouch"
                },
                {
                    "id": 594,
                    "cat": "Movies",
                    "desc": "  |---- Claude Sautet"
                },
                {
                    "id": 737,
                    "cat": "Movies",
                    "desc": "  |---- Edouard Molinaro"
                },
                {
                    "id": 103,
                    "cat": "Movies",
                    "desc": "  |---- Eric Rohmer"
                },
                {
                    "id": 448,
                    "cat": "Movies",
                    "desc": "  |---- Eugène Green"
                },
                {
                    "id": 129,
                    "cat": "Movies",
                    "desc": "  |---- François Ozon"
                },
                {
                    "id": 79,
                    "cat": "Movies",
                    "desc": "  |---- François Truffaut"
                },
                {
                    "id": 93,
                    "cat": "Movies",
                    "desc": "  |---- Gaspar Noé"
                },
                {
                    "id": 450,
                    "cat": "Movies",
                    "desc": "  |---- Georges Franju"
                },
                {
                    "id": 954,
                    "cat": "Movies",
                    "desc": "  |---- Germaine Dulac"
                },
                {
                    "id": 342,
                    "cat": "Movies",
                    "desc": "  |---- Guy Debord"
                },
                {
                    "id": 566,
                    "cat": "Movies",
                    "desc": "  |---- Henri Verneuil"
                },
                {
                    "id": 393,
                    "cat": "Movies",
                    "desc": "  |---- Henri-Georges Clouzot"
                },
                {
                    "id": 800,
                    "cat": "Movies",
                    "desc": "  |---- Jacques Audiard"
                },
                {
                    "id": 567,
                    "cat": "Movies",
                    "desc": "  |---- Jacques Becker"
                },
                {
                    "id": 664,
                    "cat": "Movies",
                    "desc": "  |---- Jacques Demy"
                },
                {
                    "id": 665,
                    "cat": "Movies",
                    "desc": "  |---- Jacques Doillon"
                },
                {
                    "id": 216,
                    "cat": "Movies",
                    "desc": "  |---- Jacques Rivette"
                },
                {
                    "id": 955,
                    "cat": "Movies",
                    "desc": "  |---- Jacques Rozier"
                },
                {
                    "id": 217,
                    "cat": "Movies",
                    "desc": "  |---- Jacques Tati"
                },
                {
                    "id": 511,
                    "cat": "Movies",
                    "desc": "  |---- Jean Becker"
                },
                {
                    "id": 343,
                    "cat": "Movies",
                    "desc": "  |---- Jean Cocteau"
                },
                {
                    "id": 397,
                    "cat": "Movies",
                    "desc": "  |---- Jean Epstein"
                },
                {
                    "id": 801,
                    "cat": "Movies",
                    "desc": "  |---- Jean Eustache"
                },
                {
                    "id": 802,
                    "cat": "Movies",
                    "desc": "  |---- Jean Grémillon"
                },
                {
                    "id": 183,
                    "cat": "Movies",
                    "desc": "  |---- Jean Renoir"
                },
                {
                    "id": 595,
                    "cat": "Movies",
                    "desc": "  |---- Jean Rollin"
                },
                {
                    "id": 227,
                    "cat": "Movies",
                    "desc": "  |---- Jean Rouch"
                },
                {
                    "id": 428,
                    "cat": "Movies",
                    "desc": "  |---- Jean Vigo"
                },
                {
                    "id": 449,
                    "cat": "Movies",
                    "desc": "  |---- Jean-Claude Brisseau"
                },
                {
                    "id": 956,
                    "cat": "Movies",
                    "desc": "  |---- Jean-Claude Rousseau"
                },
                {
                    "id": 267,
                    "cat": "Movies",
                    "desc": "  |---- Jean-Jacques Annaud"
                },
                {
                    "id": 344,
                    "cat": "Movies",
                    "desc": "  |---- Jean-Jacques Beineix"
                },
                {
                    "id": 43,
                    "cat": "Movies",
                    "desc": "  |---- Jean-Luc Godard"
                },
                {
                    "id": 388,
                    "cat": "Movies",
                    "desc": "  |---- Jean-Marie Straub e Danièle Huillet"
                },
                {
                    "id": 345,
                    "cat": "Movies",
                    "desc": "  |---- Jean-Pierre Jeunet"
                },
                {
                    "id": 210,
                    "cat": "Movies",
                    "desc": "  |---- Jean-Pierre Melville"
                },
                {
                    "id": 346,
                    "cat": "Movies",
                    "desc": "  |---- Julien Duvivier"
                },
                {
                    "id": 666,
                    "cat": "Movies",
                    "desc": "  |---- Laurent Cantet"
                },
                {
                    "id": 568,
                    "cat": "Movies",
                    "desc": "  |---- Leos Carax"
                },
                {
                    "id": 134,
                    "cat": "Movies",
                    "desc": "  |---- Louis Malle"
                },
                {
                    "id": 270,
                    "cat": "Movies",
                    "desc": "  |---- Luc Besson"
                },
                {
                    "id": 525,
                    "cat": "Movies",
                    "desc": "  |---- Luc Moullet"
                },
                {
                    "id": 347,
                    "cat": "Movies",
                    "desc": "  |---- Marcel Carné"
                },
                {
                    "id": 957,
                    "cat": "Movies",
                    "desc": "  |---- Marcel Hanoun"
                },
                {
                    "id": 738,
                    "cat": "Movies",
                    "desc": "  |---- Marcel L'Herbier "
                },
                {
                    "id": 451,
                    "cat": "Movies",
                    "desc": "  |---- Marguerite Duras"
                },
                {
                    "id": 348,
                    "cat": "Movies",
                    "desc": "  |---- Maurice Pialat"
                },
                {
                    "id": 349,
                    "cat": "Movies",
                    "desc": "  |---- Max Ophüls"
                },
                {
                    "id": 803,
                    "cat": "Movies",
                    "desc": "  |---- Mia Hansen-Love"
                },
                {
                    "id": 151,
                    "cat": "Movies",
                    "desc": "  |---- Michel Gondry"
                },
                {
                    "id": 350,
                    "cat": "Movies",
                    "desc": "  |---- Olivier Assayas"
                },
                {
                    "id": 667,
                    "cat": "Movies",
                    "desc": "  |---- Pascal Aubier"
                },
                {
                    "id": 224,
                    "cat": "Movies",
                    "desc": "  |---- Patrice Leconte"
                },
                {
                    "id": 873,
                    "cat": "Movies",
                    "desc": "  |---- Paul Vecchiali"
                },
                {
                    "id": 874,
                    "cat": "Movies",
                    "desc": "  |---- Philippe de Broca"
                },
                {
                    "id": 452,
                    "cat": "Movies",
                    "desc": "  |---- Philippe Garrel"
                },
                {
                    "id": 959,
                    "cat": "Movies",
                    "desc": "  |---- Philippe Grandrieux"
                },
                {
                    "id": 629,
                    "cat": "Movies",
                    "desc": "  |---- Pierre Étaix "
                },
                {
                    "id": 875,
                    "cat": "Movies",
                    "desc": "  |---- Pierre Granier-Deferre"
                },
                {
                    "id": 271,
                    "cat": "Movies",
                    "desc": "  |---- Raoul Ruiz"
                },
                {
                    "id": 226,
                    "cat": "Movies",
                    "desc": "  |---- René Clair"
                },
                {
                    "id": 429,
                    "cat": "Movies",
                    "desc": "  |---- René Clément"
                },
                {
                    "id": 109,
                    "cat": "Movies",
                    "desc": "  |---- Robert Bresson"
                },
                {
                    "id": 351,
                    "cat": "Movies",
                    "desc": "  |---- Robert Guédiguian"
                },
                {
                    "id": 398,
                    "cat": "Movies",
                    "desc": "  |---- Roger Vadim"
                },
                {
                    "id": 57,
                    "cat": "Movies",
                    "desc": "  |---- Roman Polanski"
                },
                {
                    "id": 352,
                    "cat": "Movies",
                    "desc": "  |---- Tony Gatlif"
                },
                {
                    "id": 596,
                    "cat": "Movies",
                    "desc": "  |---- Yves Robert"
                },
                {
                    "id": 139,
                    "cat": "Movies",
                    "desc": "  |-- Italianos"
                },
                {
                    "id": 526,
                    "cat": "Movies",
                    "desc": "  |---- Alberto Lattuada"
                },
                {
                    "id": 804,
                    "cat": "Movies",
                    "desc": "  |---- Antonio Pietrangeli"
                },
                {
                    "id": 58,
                    "cat": "Movies",
                    "desc": "  |---- Bernardo Bertolucci"
                },
                {
                    "id": 198,
                    "cat": "Movies",
                    "desc": "  |---- Dario Argento"
                },
                {
                    "id": 394,
                    "cat": "Movies",
                    "desc": "  |---- Dino Risi"
                },
                {
                    "id": 668,
                    "cat": "Movies",
                    "desc": "  |---- Elio Petri"
                },
                {
                    "id": 321,
                    "cat": "Movies",
                    "desc": "  |---- Ermanno Olmi"
                },
                {
                    "id": 115,
                    "cat": "Movies",
                    "desc": "  |---- Ettore Scola"
                },
                {
                    "id": 56,
                    "cat": "Movies",
                    "desc": "  |---- Federico Fellini"
                },
                {
                    "id": 597,
                    "cat": "Movies",
                    "desc": "  |---- Ferzan Ozpetek"
                },
                {
                    "id": 322,
                    "cat": "Movies",
                    "desc": "  |---- Francesco Rosi"
                },
                {
                    "id": 960,
                    "cat": "Movies",
                    "desc": "  |---- Franco Brocani"
                },
                {
                    "id": 323,
                    "cat": "Movies",
                    "desc": "  |---- Franco Zeffirelli"
                },
                {
                    "id": 569,
                    "cat": "Movies",
                    "desc": "  |---- Gianni Amelio"
                },
                {
                    "id": 98,
                    "cat": "Movies",
                    "desc": "  |---- Giuseppe Tornatore"
                },
                {
                    "id": 739,
                    "cat": "Movies",
                    "desc": "  |---- Liliana Cavani"
                },
                {
                    "id": 457,
                    "cat": "Movies",
                    "desc": "  |---- Lina Wertmüller"
                },
                {
                    "id": 68,
                    "cat": "Movies",
                    "desc": "  |---- Luchino Visconti"
                },
                {
                    "id": 805,
                    "cat": "Movies",
                    "desc": "  |---- Luciano Salce"
                },
                {
                    "id": 598,
                    "cat": "Movies",
                    "desc": "  |---- Lucio Fulci"
                },
                {
                    "id": 431,
                    "cat": "Movies",
                    "desc": "  |---- Luigi Comencini"
                },
                {
                    "id": 324,
                    "cat": "Movies",
                    "desc": "  |---- Marco Bellocchio"
                },
                {
                    "id": 325,
                    "cat": "Movies",
                    "desc": "  |---- Marco Ferreri"
                },
                {
                    "id": 197,
                    "cat": "Movies",
                    "desc": "  |---- Mario Bava"
                },
                {
                    "id": 740,
                    "cat": "Movies",
                    "desc": "  |---- Mario Matolli"
                },
                {
                    "id": 128,
                    "cat": "Movies",
                    "desc": "  |---- Mario Monicelli"
                },
                {
                    "id": 876,
                    "cat": "Movies",
                    "desc": "  |---- Mauro Bolognini"
                },
                {
                    "id": 64,
                    "cat": "Movies",
                    "desc": "  |---- Michelangelo Antonioni"
                },
                {
                    "id": 961,
                    "cat": "Movies",
                    "desc": "  |---- Michele Soavi"
                },
                {
                    "id": 174,
                    "cat": "Movies",
                    "desc": "  |---- Nanni Moretti"
                },
                {
                    "id": 669,
                    "cat": "Movies",
                    "desc": "  |---- Paolo Sorrentino"
                },
                {
                    "id": 806,
                    "cat": "Movies",
                    "desc": "  |---- Paolo Virzi"
                },
                {
                    "id": 212,
                    "cat": "Movies",
                    "desc": "  |---- Paolo & Vittorio Taviani"
                },
                {
                    "id": 80,
                    "cat": "Movies",
                    "desc": "  |---- Pier Paolo Pasolini"
                },
                {
                    "id": 527,
                    "cat": "Movies",
                    "desc": "  |---- Pietro Germi"
                },
                {
                    "id": 962,
                    "cat": "Movies",
                    "desc": "  |---- Raffaello Matarazzo"
                },
                {
                    "id": 92,
                    "cat": "Movies",
                    "desc": "  |---- Roberto Benigni"
                },
                {
                    "id": 175,
                    "cat": "Movies",
                    "desc": "  |---- Roberto Rossellini"
                },
                {
                    "id": 327,
                    "cat": "Movies",
                    "desc": "  |---- Sergio Corbucci"
                },
                {
                    "id": 112,
                    "cat": "Movies",
                    "desc": "  |---- Sergio Leone"
                },
                {
                    "id": 807,
                    "cat": "Movies",
                    "desc": "  |---- Sergio Martino"
                },
                {
                    "id": 630,
                    "cat": "Movies",
                    "desc": "  |---- Steno"
                },
                {
                    "id": 230,
                    "cat": "Movies",
                    "desc": "  |---- Tinto Brass"
                },
                {
                    "id": 326,
                    "cat": "Movies",
                    "desc": "  |---- Valerio Zurlini"
                },
                {
                    "id": 963,
                    "cat": "Movies",
                    "desc": "  |---- Vittorio Cottafavi"
                },
                {
                    "id": 127,
                    "cat": "Movies",
                    "desc": "  |---- Vittorio de Sica"
                },
                {
                    "id": 86,
                    "cat": "Movies",
                    "desc": "  |-- Latino-Americanos"
                },
                {
                    "id": 599,
                    "cat": "Movies",
                    "desc": "  |---- Adolfo Aristarain"
                },
                {
                    "id": 528,
                    "cat": "Movies",
                    "desc": "  |---- Adrián Caetano"
                },
                {
                    "id": 87,
                    "cat": "Movies",
                    "desc": "  |---- Alejandro Jodorowsky"
                },
                {
                    "id": 670,
                    "cat": "Movies",
                    "desc": "  |---- Andrés Wood"
                },
                {
                    "id": 671,
                    "cat": "Movies",
                    "desc": "  |---- Carlos Enrique Taboada"
                },
                {
                    "id": 672,
                    "cat": "Movies",
                    "desc": "  |---- Carlos Reygadas"
                },
                {
                    "id": 481,
                    "cat": "Movies",
                    "desc": "  |---- Carlos Sorin"
                },
                {
                    "id": 432,
                    "cat": "Movies",
                    "desc": "  |---- Daniel Burman"
                },
                {
                    "id": 570,
                    "cat": "Movies",
                    "desc": "  |---- Eliseo Subiela"
                },
                {
                    "id": 964,
                    "cat": "Movies",
                    "desc": "  |---- Emilio Fernández"
                },
                {
                    "id": 303,
                    "cat": "Movies",
                    "desc": "  |---- Fernando E. Solanas"
                },
                {
                    "id": 571,
                    "cat": "Movies",
                    "desc": "  |---- Ismael Rodriguez"
                },
                {
                    "id": 965,
                    "cat": "Movies",
                    "desc": "  |---- Leopoldo Torre Nilsson"
                },
                {
                    "id": 808,
                    "cat": "Movies",
                    "desc": "  |---- Lisandro Alonso"
                },
                {
                    "id": 741,
                    "cat": "Movies",
                    "desc": "  |---- Lucrecia Martel"
                },
                {
                    "id": 673,
                    "cat": "Movies",
                    "desc": "  |---- Marcelo Piñeyro"
                },
                {
                    "id": 877,
                    "cat": "Movies",
                    "desc": "  |---- Marco Berger"
                },
                {
                    "id": 674,
                    "cat": "Movies",
                    "desc": "  |---- Miguel Littin"
                },
                {
                    "id": 809,
                    "cat": "Movies",
                    "desc": "  |---- Pablo Larraín"
                },
                {
                    "id": 529,
                    "cat": "Movies",
                    "desc": "  |---- Pablo Trapero"
                },
                {
                    "id": 302,
                    "cat": "Movies",
                    "desc": "  |---- Santiago Álvarez"
                },
                {
                    "id": 572,
                    "cat": "Movies",
                    "desc": "  |---- Tomás Gutiérrez Alea"
                },
                {
                    "id": 292,
                    "cat": "Movies",
                    "desc": "  |-- Oceania"
                },
                {
                    "id": 810,
                    "cat": "Movies",
                    "desc": "  |---- Bruce Beresford"
                },
                {
                    "id": 984,
                    "cat": "Movies",
                    "desc": "  |---- Fred Schepisi"
                },
                {
                    "id": 512,
                    "cat": "Movies",
                    "desc": "  |---- Jane Campion"
                },
                {
                    "id": 966,
                    "cat": "Movies",
                    "desc": "  |---- Peter Jackson"
                },
                {
                    "id": 296,
                    "cat": "Movies",
                    "desc": "  |---- Peter Weir"
                },
                {
                    "id": 482,
                    "cat": "Movies",
                    "desc": "  |---- Rolf de Heer"
                },
                {
                    "id": 146,
                    "cat": "Movies",
                    "desc": "  |-- Oriente Médio"
                },
                {
                    "id": 147,
                    "cat": "Movies",
                    "desc": "  |---- Abbas Kiarostami"
                },
                {
                    "id": 315,
                    "cat": "Movies",
                    "desc": "  |---- Amos Gitai"
                },
                {
                    "id": 530,
                    "cat": "Movies",
                    "desc": "  |---- Asghar Farhadi"
                },
                {
                    "id": 531,
                    "cat": "Movies",
                    "desc": "  |---- Bahman Ghobadi"
                },
                {
                    "id": 878,
                    "cat": "Movies",
                    "desc": "  |---- Çagan Irmak"
                },
                {
                    "id": 675,
                    "cat": "Movies",
                    "desc": "  |---- Dariush Mehrjui"
                },
                {
                    "id": 195,
                    "cat": "Movies",
                    "desc": "  |---- Jafar Panahi"
                },
                {
                    "id": 434,
                    "cat": "Movies",
                    "desc": "  |---- Majid Majidi"
                },
                {
                    "id": 879,
                    "cat": "Movies",
                    "desc": "  |---- Mohammad Rasoulof"
                },
                {
                    "id": 172,
                    "cat": "Movies",
                    "desc": "  |---- Mohsen Makhmalbaf"
                },
                {
                    "id": 194,
                    "cat": "Movies",
                    "desc": "  |---- Nuri Bilge Ceylan"
                },
                {
                    "id": 600,
                    "cat": "Movies",
                    "desc": "  |---- Reha Erdem"
                },
                {
                    "id": 967,
                    "cat": "Movies",
                    "desc": "  |---- Semih Kaponoglu"
                },
                {
                    "id": 676,
                    "cat": "Movies",
                    "desc": "  |---- Yilmaz Güney"
                },
                {
                    "id": 513,
                    "cat": "Movies",
                    "desc": "  |---- Zeki Demirkubuz"
                },
                {
                    "id": 459,
                    "cat": "Movies",
                    "desc": "  |-- Península Ibérica"
                },
                {
                    "id": 742,
                    "cat": "Movies",
                    "desc": "  |---- Adolfo Arrieta"
                },
                {
                    "id": 968,
                    "cat": "Movies",
                    "desc": "  |---- Agustí Villaronga"
                },
                {
                    "id": 305,
                    "cat": "Movies",
                    "desc": "  |---- Alejandro Amenábar"
                },
                {
                    "id": 969,
                    "cat": "Movies",
                    "desc": "  |---- Albert Serra"
                },
                {
                    "id": 269,
                    "cat": "Movies",
                    "desc": "  |---- Álex de la Iglesia"
                },
                {
                    "id": 144,
                    "cat": "Movies",
                    "desc": "  |---- Bigas Luna"
                },
                {
                    "id": 186,
                    "cat": "Movies",
                    "desc": "  |---- Carlos Saura"
                },
                {
                    "id": 811,
                    "cat": "Movies",
                    "desc": "  |---- Fernando Lopes"
                },
                {
                    "id": 514,
                    "cat": "Movies",
                    "desc": "  |---- Fernando Trueba"
                },
                {
                    "id": 306,
                    "cat": "Movies",
                    "desc": "  |---- Isabel Coixet"
                },
                {
                    "id": 743,
                    "cat": "Movies",
                    "desc": "  |---- João Botelho"
                },
                {
                    "id": 264,
                    "cat": "Movies",
                    "desc": "  |---- João César Monteiro"
                },
                {
                    "id": 601,
                    "cat": "Movies",
                    "desc": "  |---- João Pedro Rodrigues"
                },
                {
                    "id": 812,
                    "cat": "Movies",
                    "desc": "  |---- José Fonseca e Costa"
                },
                {
                    "id": 880,
                    "cat": "Movies",
                    "desc": "  |---- José Luis Garci"
                },
                {
                    "id": 813,
                    "cat": "Movies",
                    "desc": "  |---- José Luis Guerín"
                },
                {
                    "id": 188,
                    "cat": "Movies",
                    "desc": "  |---- Julio Medem"
                },
                {
                    "id": 44,
                    "cat": "Movies",
                    "desc": "  |---- Luis Buñuel"
                },
                {
                    "id": 881,
                    "cat": "Movies",
                    "desc": "  |---- Luís Filipe Rocha"
                },
                {
                    "id": 180,
                    "cat": "Movies",
                    "desc": "  |---- Manoel De Oliveira"
                },
                {
                    "id": 814,
                    "cat": "Movies",
                    "desc": "  |---- Manuel Mozos"
                },
                {
                    "id": 677,
                    "cat": "Movies",
                    "desc": "  |---- Miguel Gomes"
                },
                {
                    "id": 970,
                    "cat": "Movies",
                    "desc": "  |---- Noémia Delgado"
                },
                {
                    "id": 815,
                    "cat": "Movies",
                    "desc": "  |---- Paulo Rocha"
                },
                {
                    "id": 55,
                    "cat": "Movies",
                    "desc": "  |---- Pedro Almodóvar"
                },
                {
                    "id": 308,
                    "cat": "Movies",
                    "desc": "  |---- Pedro Costa"
                },
                {
                    "id": 678,
                    "cat": "Movies",
                    "desc": "  |---- Pere Portabella"
                },
                {
                    "id": 971,
                    "cat": "Movies",
                    "desc": "  |---- Rita Azevedo Gomes"
                },
                {
                    "id": 972,
                    "cat": "Movies",
                    "desc": "  |---- Teresa Villaverde"
                },
                {
                    "id": 425,
                    "cat": "Movies",
                    "desc": "  |---- Victor Erice"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "date",
                "options": {
                    "date": "updated",
                    "title": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 0,
                "options": [
                    "desc",
                    "asc"
                ]
            },
            {
                "name": "info_delay",
                "type": "info",
                "label": "Delay between searches",
                "default": "This forum enforces a 20s delay between searches. If no results are returned for a search, wait for 20s and try again."
            }
        ],
        "login": {
            "path": "forum/index.php",
            "method": "form",
            "form": "form#login",
            "inputs": {
                "referer": "https://makingoff.org/forum/index.php",
                "ips_username": "{{ .Config.username }}",
                "ips_password": "{{ .Config.password }}",
                "rememberMe": 1
            },
            "selectorinputs": {
                "auth_key": {
                    "selector": "input[name=\"auth_key\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "p.message.error"
                }
            ],
            "test": {
                "path": "forum/index.php",
                "selector": "a[href*=\"section=login&do=logout&k=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "forum/index.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}search_app_filters[forums][forums][]={{.}}&{{end}}",
                "app": "core",
                "module": "search",
                "section": "search",
                "do": "search",
                "fromsearch": 1,
                "search_app": "forums",
                "search_term": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if or .Query.IMDBID .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "andor_type": "and",
                "search_content": "both",
                "search_app_filters[forums][noPreview]": 0,
                "search_app_filters[forums][sortKey]": "{{ .Config.sort }}",
                "search_app_filters[forums][sortDir]": "{{ .Config.type }}",
                "submit": "Pesquisar"
            },
            "rows": {
                "selector": "div.post_block:has(a[href*=\"attach_id=\"]:has(strong:contains(\".torrent\")))",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"index.php?showforum=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "showforum"
                        }
                    ]
                },
                "title": {
                    "selector": "div.post.entry-content table tbody tr:nth-child(2) td div:first-child > font[size=\"2\"]"
                },
                "details": {
                    "selector": "a[href*=\"index.php?showtopic=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"attach_id=\"]:has(strong:contains(\".torrent\"))",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div.post.entry-content table tbody tr:nth-child(4) td:first-child > span[rel=\"lightbox\"] img.bbc_img",
                    "attribute": "src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "div.post.entry-content table tbody tr:nth-child(2) td:nth-child(3) > font[size=\"2\"]",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(?i)Tamanho: (.+?b)"
                        }
                    ]
                },
                "year": {
                    "selector": "div.post.entry-content table tbody tr:nth-child(2) td:nth-child(2) > font[size=\"2\"]",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Ano de Lançamento: ((19|20)\\d{2})"
                        }
                    ]
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "grabs": {
                    "selector": "span:contains(\"ownloads\")"
                },
                "date": {
                    "selector": "abbr.published",
                    "attribute": "title"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "div.post.entry-content table tbody tr:nth-child(4) td div:first-child > font[size=\"2\"]"
                }
            }
        }
    },
    "malayabits-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "malayabits-api",
        "name": "Malayabits (API)",
        "description": "Malayabits is a MALAYSIAN Private Torrent Tracker for MOVIES / TV / MUSIC",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://malayabits.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Musik"
                },
                {
                    "id": 4,
                    "cat": "Books",
                    "desc": "Book"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://malayabits.cc/\" target=\"_blank\">Malayabits</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "You must log in to the Malayabits web site with your browser once every 90 days to prevent your account from getting disabled."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "march": {
        "credentials": {
            "cookie": ""
        },
        "id": "march",
        "name": "March",
        "description": "March is a CHINESE Private Torrent Tracker for MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://duckboobee.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentary/纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动画"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV/演唱会"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Music/音乐"
                },
                {
                    "id": 409,
                    "cat": "Other/Misc",
                    "desc": "Misc/其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "marinetracker": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "marinetracker",
        "name": "Marine Tracker",
        "description": "Marine Tracker is a RUSSIAN Semi-Private Torrent Tracker for MARITIME E-LEARNING",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://seatracker.org/"
        ],
        "legacylinks": [
            "https://seatracker.ru/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 5,
                    "cat": "Books",
                    "desc": "Shipbuilding & Shiprepairing"
                },
                {
                    "id": 314,
                    "cat": "Books",
                    "desc": "Shipbuilding & Shiprepairing-Ship supply (chemicals, paints, oils)"
                },
                {
                    "id": 313,
                    "cat": "Books",
                    "desc": "Shipbuilding & Shiprepairing-Shipbuilding materials"
                },
                {
                    "id": 312,
                    "cat": "Books",
                    "desc": "Shipbuilding & Shiprepairing-Shipbuilding Management"
                },
                {
                    "id": 311,
                    "cat": "Books",
                    "desc": "Shipbuilding & Shiprepairing-Mathematical Modeling"
                },
                {
                    "id": 310,
                    "cat": "Books",
                    "desc": "Shipbuilding & Shiprepairing-Hydrodynamics"
                },
                {
                    "id": 309,
                    "cat": "Books",
                    "desc": "Shipbuilding & Shiprepairing-Naval Architecture & Marine Engineering"
                },
                {
                    "id": 308,
                    "cat": "Books",
                    "desc": "Shipbuilding & Shiprepairing-Shipbuilding Standard @ Register"
                },
                {
                    "id": 196,
                    "cat": "Books",
                    "desc": "Shipbuilding & Shiprepairing-Welding"
                },
                {
                    "id": 195,
                    "cat": "Books",
                    "desc": "Shipbuilding & Shiprepairing-Turnary"
                },
                {
                    "id": 21,
                    "cat": "Books",
                    "desc": "Deckofficer's Library"
                },
                {
                    "id": 283,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Radar at sea"
                },
                {
                    "id": 114,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Watch keeping"
                },
                {
                    "id": 115,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Keeping the ship documentation"
                },
                {
                    "id": 32,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Cargo operations"
                },
                {
                    "id": 34,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Navigation"
                },
                {
                    "id": 35,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Ship handling"
                },
                {
                    "id": 36,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Technical equipment of navigation"
                },
                {
                    "id": 95,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Hydrometeorology"
                },
                {
                    "id": 100,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Ship Theory"
                },
                {
                    "id": 110,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Nautical Astronomy"
                },
                {
                    "id": 94,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Nautical charts, tables, sailing directions"
                },
                {
                    "id": 116,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Global Maritime Distress and Safety System (GMDSS)"
                },
                {
                    "id": 192,
                    "cat": "Books",
                    "desc": "Deckofficer's Library-Navigation in the ice"
                },
                {
                    "id": 102,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library"
                },
                {
                    "id": 316,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-Marine Fuels & Lubricants"
                },
                {
                    "id": 28,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-Ship's systems and mechanisms\""
                },
                {
                    "id": 22,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-Daihatsu\""
                },
                {
                    "id": 164,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-Operation of ship's power plants\""
                },
                {
                    "id": 199,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-Ship Propulsion\""
                },
                {
                    "id": 176,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-Marine refrigeration plants\""
                },
                {
                    "id": 175,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-Marine boilers\""
                },
                {
                    "id": 173,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-MAK & Caterpillar\""
                },
                {
                    "id": 166,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-Ship's steam and gas turbines\""
                },
                {
                    "id": 134,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-Marine Pumps\""
                },
                {
                    "id": 108,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-Hydraulics\""
                },
                {
                    "id": 16,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-MAN B&W\""
                },
                {
                    "id": 17,
                    "cat": "Books",
                    "desc": "Marine Engineer's Library-Wärtsilä & Sulzer\""
                },
                {
                    "id": 101,
                    "cat": "Books",
                    "desc": "Electrical Technical Officer's Library"
                },
                {
                    "id": 29,
                    "cat": "Books",
                    "desc": "Electrical Technical Officer's Library-Marine Electronics"
                },
                {
                    "id": 103,
                    "cat": "Books",
                    "desc": "Electrical Technical Officer's Library-Ship's automatics"
                },
                {
                    "id": 104,
                    "cat": "Books",
                    "desc": "Electrical Technical Officer's Library-Electrical machines"
                },
                {
                    "id": 210,
                    "cat": "Books",
                    "desc": "Electrical Technical Officer's Library-Programmable Logic Controllers (PLC)"
                },
                {
                    "id": 172,
                    "cat": "Books",
                    "desc": "Electrical Technical Officer's Library-Incinerators"
                },
                {
                    "id": 167,
                    "cat": "Books",
                    "desc": "Electrical Technical Officer's Library-Cranes"
                },
                {
                    "id": 107,
                    "cat": "Books",
                    "desc": "Electrical Technical Officer's Library-ETO Handbooks"
                },
                {
                    "id": 105,
                    "cat": "Books",
                    "desc": "Electrical Technical Officer's Library-Sources of electricity"
                },
                {
                    "id": 37,
                    "cat": "Books",
                    "desc": "Organization and management of maritime transport"
                },
                {
                    "id": 420,
                    "cat": "Books",
                    "desc": "Organization and management of maritime transport-Annual reports"
                },
                {
                    "id": 6,
                    "cat": "PC",
                    "desc": "Maritime Software"
                },
                {
                    "id": 211,
                    "cat": "PC",
                    "desc": "Maritime Software-Navigation soft & Charts"
                },
                {
                    "id": 13,
                    "cat": "PC",
                    "desc": "Maritime Software-Marine Tests"
                },
                {
                    "id": 19,
                    "cat": "PC",
                    "desc": "Maritime Software-Training software"
                },
                {
                    "id": 20,
                    "cat": "PC",
                    "desc": "Maritime Software-Calculation soft"
                },
                {
                    "id": 14,
                    "cat": "PC",
                    "desc": "Maritime Software-Maritime Simulators"
                },
                {
                    "id": 376,
                    "cat": "PC",
                    "desc": "Maritime Software-Games"
                },
                {
                    "id": 179,
                    "cat": "PC",
                    "desc": "Maritime Software-Programming and SDK software"
                },
                {
                    "id": 317,
                    "cat": "PC",
                    "desc": "Maritime Software-Shareware (demo, trial)"
                },
                {
                    "id": 188,
                    "cat": "PC",
                    "desc": "Maritime Software-Other soft"
                },
                {
                    "id": 226,
                    "cat": "Books",
                    "desc": "Mobile Apps for Seafarers"
                },
                {
                    "id": 380,
                    "cat": "PC",
                    "desc": "Mobile Apps for Seafarers-Apps for Deck Officers"
                },
                {
                    "id": 381,
                    "cat": "PC",
                    "desc": "Mobile Apps for Seafarers-Apps for Marine Engineers"
                },
                {
                    "id": 383,
                    "cat": "PC",
                    "desc": "Mobile Apps for Seafarers-Exam Apps &amp;Test Answers"
                },
                {
                    "id": 384,
                    "cat": "PC",
                    "desc": "Mobile Apps for Seafarers-Foreign languages learning"
                },
                {
                    "id": 382,
                    "cat": "PC",
                    "desc": "Mobile Apps for Seafarers-Other mobile Apps"
                },
                {
                    "id": 8,
                    "cat": "Movies",
                    "desc": "Video for Seamen"
                },
                {
                    "id": 400,
                    "cat": "Movies",
                    "desc": "Video for Seamen-Maritime Law & Regulations videos"
                },
                {
                    "id": 399,
                    "cat": "Movies",
                    "desc": "Video for Seamen-Maritime Shipping & Cargo Operations videos"
                },
                {
                    "id": 398,
                    "cat": "Movies",
                    "desc": "Video for Seamen-Offshore Industry videos"
                },
                {
                    "id": 397,
                    "cat": "Movies",
                    "desc": "Video for Seamen-Maritime Safety videos"
                },
                {
                    "id": 396,
                    "cat": "Movies",
                    "desc": "Video for Seamen-Maritime History videos"
                },
                {
                    "id": 395,
                    "cat": "Movies",
                    "desc": "Video for Seamen-Shipbuilding & Shiprepairing videos"
                },
                {
                    "id": 394,
                    "cat": "Movies",
                    "desc": "Video for Seamen-Ship Modeling & RC Boat videos"
                },
                {
                    "id": 237,
                    "cat": "Movies",
                    "desc": "Video for Seamen-Yachting, sailing videos"
                },
                {
                    "id": 377,
                    "cat": "Movies",
                    "desc": "Video for Seamen-Documentary video"
                },
                {
                    "id": 234,
                    "cat": "Movies",
                    "desc": "Video for Seamen-Video for Deck Officers"
                },
                {
                    "id": 233,
                    "cat": "Movies",
                    "desc": "Video for Seamen-Video for Marine Engineers"
                },
                {
                    "id": 235,
                    "cat": "Movies",
                    "desc": "Video for Seamen-Other videos"
                },
                {
                    "id": 42,
                    "cat": "Books",
                    "desc": "Safety of Navigation"
                },
                {
                    "id": 307,
                    "cat": "Books",
                    "desc": "Safety of Navigation-Life Safety at Sea"
                },
                {
                    "id": 306,
                    "cat": "Books",
                    "desc": "Safety of Navigation-Casualties and Incidents"
                },
                {
                    "id": 305,
                    "cat": "Books",
                    "desc": "Safety of Navigation-Safety Digest, Lessons from Marine Accident Reports"
                },
                {
                    "id": 304,
                    "cat": "Books",
                    "desc": "Safety of Navigation-Fire fighting at sea"
                },
                {
                    "id": 303,
                    "cat": "Books",
                    "desc": "Safety of Navigation-Anti-Piracy Security"
                },
                {
                    "id": 302,
                    "cat": "Books",
                    "desc": "Safety of Navigation-Emergency and life-saving equipment"
                },
                {
                    "id": 301,
                    "cat": "Books",
                    "desc": "Safety of Navigation-Cybersecurity"
                },
                {
                    "id": 10,
                    "cat": "Books",
                    "desc": "English for seamen"
                },
                {
                    "id": 419,
                    "cat": "Books",
                    "desc": "English for seamen-Marine multilingual dictionaries"
                },
                {
                    "id": 270,
                    "cat": "Books",
                    "desc": "English for seamen-EN↔RU dictionaries & phrasebooks"
                },
                {
                    "id": 417,
                    "cat": "Books",
                    "desc": "English for seamen-Dictionaries & phrasebooks (other langs"
                },
                {
                    "id": 265,
                    "cat": "Books",
                    "desc": "English for seamen-Marine monolingual dictionaries and glossaries EN↔EN"
                },
                {
                    "id": 416,
                    "cat": "Books",
                    "desc": "English for seamen-Marine monolingual dictionaries and glossaries RU↔RU"
                },
                {
                    "id": 418,
                    "cat": "Books",
                    "desc": "English for seamen-Marine monolingual dictionaries and glossaries…"
                },
                {
                    "id": 387,
                    "cat": "Books",
                    "desc": "English for seamen-English for Radio Operators"
                },
                {
                    "id": 266,
                    "cat": "Books",
                    "desc": "English for seamen-English for Deck Officers"
                },
                {
                    "id": 267,
                    "cat": "Books",
                    "desc": "English for seamen-English for Marine Engineers"
                },
                {
                    "id": 268,
                    "cat": "Books",
                    "desc": "English for seamen-English for ETO's"
                },
                {
                    "id": 269,
                    "cat": "Books",
                    "desc": "English for seamen-English for Shipbuilders"
                },
                {
                    "id": 388,
                    "cat": "Books",
                    "desc": "English for seamen-English for Yachtsmen"
                },
                {
                    "id": 271,
                    "cat": "Books",
                    "desc": "English for seamen-Business English and Correspondence"
                },
                {
                    "id": 205,
                    "cat": "Books",
                    "desc": "General english"
                },
                {
                    "id": 39,
                    "cat": "Books",
                    "desc": "Purpose-built ships"
                },
                {
                    "id": 250,
                    "cat": "Books",
                    "desc": "Purpose-built ships-LNG  LPG - CNG"
                },
                {
                    "id": 51,
                    "cat": "Books",
                    "desc": "Purpose-built ships-Oil & Chemical Tankers"
                },
                {
                    "id": 52,
                    "cat": "Books",
                    "desc": "Purpose-built ships-Dry cargo vessels"
                },
                {
                    "id": 284,
                    "cat": "Books",
                    "desc": "Purpose-built ships-Nuclear powered ships"
                },
                {
                    "id": 54,
                    "cat": "Books",
                    "desc": "Purpose-built ships-Passenger ships"
                },
                {
                    "id": 385,
                    "cat": "Books",
                    "desc": "Purpose-built ships-Towing vessels"
                },
                {
                    "id": 248,
                    "cat": "Books",
                    "desc": "Purpose-built ships-Fishing vessels"
                },
                {
                    "id": 239,
                    "cat": "Books",
                    "desc": "Purpose-built ships-Offshore"
                },
                {
                    "id": 349,
                    "cat": "Books",
                    "desc": "Purpose-built ships-Dynamic positioning vessels"
                },
                {
                    "id": 386,
                    "cat": "Books",
                    "desc": "Purpose-built ships-Submarine vehicles"
                },
                {
                    "id": 212,
                    "cat": "Books",
                    "desc": "Ship's documentation"
                },
                {
                    "id": 190,
                    "cat": "Books",
                    "desc": "Catalogs"
                },
                {
                    "id": 191,
                    "cat": "Books",
                    "desc": "Maritime Law"
                },
                {
                    "id": 240,
                    "cat": "Books",
                    "desc": "Maritime Law-IMO Resolutions"
                },
                {
                    "id": 329,
                    "cat": "Books",
                    "desc": "Maritime Law-Lloyd's, ABS, BV, DNV-GL, TÜV, NKK, RMRS and other approvals"
                },
                {
                    "id": 113,
                    "cat": "Books",
                    "desc": "Medicine"
                },
                {
                    "id": 391,
                    "cat": "Books",
                    "desc": "Sailing First Aid"
                },
                {
                    "id": 390,
                    "cat": "Books",
                    "desc": "Sailing Infectious Diseases and Viruses"
                },
                {
                    "id": 392,
                    "cat": "Books",
                    "desc": "Sailing English for Medical Professionals"
                },
                {
                    "id": 393,
                    "cat": "Books",
                    "desc": "Sailing Mental health & Stress"
                },
                {
                    "id": 299,
                    "cat": "Books",
                    "desc": "Sailing Kitchen"
                },
                {
                    "id": 11,
                    "cat": "Books",
                    "desc": "Section for cadets"
                },
                {
                    "id": 403,
                    "cat": "Books",
                    "desc": "Section for cadets-Textbooks and Guides"
                },
                {
                    "id": 406,
                    "cat": "Books",
                    "desc": "Section for cadets-Reference Materials"
                },
                {
                    "id": 408,
                    "cat": "Books",
                    "desc": "Section for cadets-Practical Training, RB and Reports"
                },
                {
                    "id": 402,
                    "cat": "Books",
                    "desc": "Section for cadets-Methodical Materials"
                },
                {
                    "id": 404,
                    "cat": "Books",
                    "desc": "Section for cadets-Term Papers"
                },
                {
                    "id": 407,
                    "cat": "Books",
                    "desc": "Section for cadets-Laboratory Works"
                },
                {
                    "id": 401,
                    "cat": "Books",
                    "desc": "Section for cadets-Lectures and Notes"
                },
                {
                    "id": 410,
                    "cat": "Books",
                    "desc": "Section for cadets-Cheat Sheets"
                },
                {
                    "id": 405,
                    "cat": "Books",
                    "desc": "Section for cadets-Charts and Atlases"
                },
                {
                    "id": 285,
                    "cat": "Books",
                    "desc": "Section for cadets-Encyclopedias and atlases"
                },
                {
                    "id": 409,
                    "cat": "Books",
                    "desc": "Section for cadets-Young Skipper"
                },
                {
                    "id": 413,
                    "cat": "Books",
                    "desc": "Section for cadets-For the Little Ones"
                },
                {
                    "id": 330,
                    "cat": "Books",
                    "desc": "Examinations"
                },
                {
                    "id": 12,
                    "cat": "Books",
                    "desc": "Examinations-Answers to tests"
                },
                {
                    "id": 333,
                    "cat": "Books",
                    "desc": "Examinations-IMU CET (Indian Maritime University Common Entrance Test)"
                },
                {
                    "id": 334,
                    "cat": "Books",
                    "desc": "Examinations-NCV (Near Coastal Voyages)"
                },
                {
                    "id": 336,
                    "cat": "Books",
                    "desc": "Examinations-ASM (Master)"
                },
                {
                    "id": 337,
                    "cat": "Books",
                    "desc": "Examinations-TME (Trainee Marine Engineer)"
                },
                {
                    "id": 338,
                    "cat": "Books",
                    "desc": "Examinations-MEO (Maritime Engineering Officer)"
                },
                {
                    "id": 341,
                    "cat": "Books",
                    "desc": "Examinations-Chief Mates (Phase I) & Orals"
                },
                {
                    "id": 343,
                    "cat": "Books",
                    "desc": "Examinations-ROR - Colregs"
                },
                {
                    "id": 335,
                    "cat": "Books",
                    "desc": "Examinations-Second Mates"
                },
                {
                    "id": 342,
                    "cat": "Books",
                    "desc": "Examinations-Chief Mates (Phase II)"
                },
                {
                    "id": 340,
                    "cat": "Books",
                    "desc": "Examinations-Text books"
                },
                {
                    "id": 339,
                    "cat": "Books",
                    "desc": "Examinations-Miscellaneous"
                },
                {
                    "id": 99,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 287,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio-Non-Fiction"
                },
                {
                    "id": 373,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio-Fiction"
                },
                {
                    "id": 288,
                    "cat": "Audio",
                    "desc": "Audio-♬ Music"
                },
                {
                    "id": 111,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating"
                },
                {
                    "id": 389,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-Sailboat terminology"
                },
                {
                    "id": 345,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-Solar boats"
                },
                {
                    "id": 318,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-Sailing life"
                },
                {
                    "id": 300,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-RYA"
                },
                {
                    "id": 298,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-Cruising Guides"
                },
                {
                    "id": 297,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-Weather Sailing"
                },
                {
                    "id": 296,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-How to Buy a Boat?"
                },
                {
                    "id": 258,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-Inflatable boats, boats, kayaks"
                },
                {
                    "id": 257,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-Motor Boat & Yachting magazines"
                },
                {
                    "id": 253,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-Seamanship practice"
                },
                {
                    "id": 254,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-Repair and Restoration"
                },
                {
                    "id": 255,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-Sailing Alone"
                },
                {
                    "id": 256,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-Rigging, sails, knots"
                },
                {
                    "id": 252,
                    "cat": "Books",
                    "desc": "Yachting, sailing, boating-Projects, design, construction"
                },
                {
                    "id": 251,
                    "cat": "Books",
                    "desc": "Diving"
                },
                {
                    "id": 177,
                    "cat": "Books",
                    "desc": "Shipmodeling"
                },
                {
                    "id": 352,
                    "cat": "Books",
                    "desc": "Shipmodeling-Paper models"
                },
                {
                    "id": 293,
                    "cat": "Books",
                    "desc": "Shipmodeling-Radio controlled models"
                },
                {
                    "id": 292,
                    "cat": "Books",
                    "desc": "Shipmodeling-Marine Modelling Magazines"
                },
                {
                    "id": 291,
                    "cat": "Books",
                    "desc": "Shipmodeling-Drawings and models of ships (CAD, 3D)"
                },
                {
                    "id": 346,
                    "cat": "Books",
                    "desc": "Shipmodeling-Raster drawings (JPG, PDF, TIFF)"
                },
                {
                    "id": 290,
                    "cat": "Books",
                    "desc": "Shipmodeling-Reference Material"
                },
                {
                    "id": 289,
                    "cat": "Books",
                    "desc": "Shipmodeling-Ships in Bottles"
                },
                {
                    "id": 197,
                    "cat": "Books",
                    "desc": "Marine bulletins"
                },
                {
                    "id": 219,
                    "cat": "Books",
                    "desc": "Marine History"
                },
                {
                    "id": 347,
                    "cat": "Books",
                    "desc": "Marine History-Sea Life"
                },
                {
                    "id": 281,
                    "cat": "Books",
                    "desc": "Marine History-History of Merchant Marine"
                },
                {
                    "id": 259,
                    "cat": "Books",
                    "desc": "Marine History-Shipbuilding history"
                },
                {
                    "id": 273,
                    "cat": "Books",
                    "desc": "Marine History-History of Seafaring"
                },
                {
                    "id": 275,
                    "cat": "Books",
                    "desc": "Marine History-Accidents and disasters at sea"
                },
                {
                    "id": 264,
                    "cat": "Books",
                    "desc": "Marine History-Marine cartography"
                },
                {
                    "id": 274,
                    "cat": "Books",
                    "desc": "Marine History-Pirates"
                },
                {
                    "id": 282,
                    "cat": "Books",
                    "desc": "Fleets history"
                },
                {
                    "id": 370,
                    "cat": "Books",
                    "desc": "Fleets history-Maritime museums of the world"
                },
                {
                    "id": 357,
                    "cat": "Books",
                    "desc": "Fleets history-China"
                },
                {
                    "id": 354,
                    "cat": "Books",
                    "desc": "Fleets history-USA"
                },
                {
                    "id": 356,
                    "cat": "Books",
                    "desc": "Fleets history-Russia | USSR"
                },
                {
                    "id": 358,
                    "cat": "Books",
                    "desc": "Fleets history-India"
                },
                {
                    "id": 355,
                    "cat": "Books",
                    "desc": "Fleets history-Japan"
                },
                {
                    "id": 364,
                    "cat": "Books",
                    "desc": "Fleets history-The United Kingdom"
                },
                {
                    "id": 359,
                    "cat": "Books",
                    "desc": "Fleets history-Germany"
                },
                {
                    "id": 360,
                    "cat": "Books",
                    "desc": "Fleets history-France"
                },
                {
                    "id": 368,
                    "cat": "Books",
                    "desc": "Fleets history-Netherlands"
                },
                {
                    "id": 369,
                    "cat": "Books",
                    "desc": "Fleets history-Spain"
                },
                {
                    "id": 277,
                    "cat": "Books",
                    "desc": "Wars at Sea"
                },
                {
                    "id": 276,
                    "cat": "Books",
                    "desc": "Wars at Sea-War at sea (World War I)"
                },
                {
                    "id": 261,
                    "cat": "Books",
                    "desc": "Wars at Sea-War at sea (World War II)"
                },
                {
                    "id": 363,
                    "cat": "Books",
                    "desc": "Wars at Sea-Russo-Japanese War"
                },
                {
                    "id": 362,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding"
                },
                {
                    "id": 279,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding-Marine vessels"
                },
                {
                    "id": 280,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding-Historic ships"
                },
                {
                    "id": 278,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding-Warships"
                },
                {
                    "id": 351,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding-Battleships"
                },
                {
                    "id": 353,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding-Cruisers"
                },
                {
                    "id": 365,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding-Aircraft carriers"
                },
                {
                    "id": 366,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding-Destroyers"
                },
                {
                    "id": 367,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding-Frigates"
                },
                {
                    "id": 371,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding-Combat boats"
                },
                {
                    "id": 372,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding-Coastal defense ships"
                },
                {
                    "id": 262,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding-The history of sailing ships"
                },
                {
                    "id": 323,
                    "cat": "Books",
                    "desc": "History of Naval Shipbuilding-History of Submarines"
                },
                {
                    "id": 198,
                    "cat": "Books",
                    "desc": "Navy"
                },
                {
                    "id": 260,
                    "cat": "Books",
                    "desc": "Navy-Naval shipbuilding (1950 - 20??)"
                },
                {
                    "id": 272,
                    "cat": "Books",
                    "desc": "Navy-Naval magazines"
                },
                {
                    "id": 294,
                    "cat": "Books",
                    "desc": "Environmental protection"
                },
                {
                    "id": 242,
                    "cat": "Books",
                    "desc": "Foreign language books"
                },
                {
                    "id": 344,
                    "cat": "Books",
                    "desc": "Foreign language books-Yachting"
                },
                {
                    "id": 218,
                    "cat": "Books",
                    "desc": "Maritime Fiction"
                },
                {
                    "id": 350,
                    "cat": "Other",
                    "desc": "Art"
                },
                {
                    "id": 243,
                    "cat": "Books",
                    "desc": "Rarity"
                },
                {
                    "id": 244,
                    "cat": "Books",
                    "desc": "Rarity-1900 - 1950"
                },
                {
                    "id": 245,
                    "cat": "Books",
                    "desc": "Rarity-1800 - 1900"
                },
                {
                    "id": 246,
                    "cat": "Books",
                    "desc": "Rarity-1700 - 1800"
                },
                {
                    "id": 247,
                    "cat": "Books",
                    "desc": "Rarity-1600 - 1700"
                },
                {
                    "id": 414,
                    "cat": "Books",
                    "desc": "Rarity-1500 - 1600"
                },
                {
                    "id": 415,
                    "cat": "Books",
                    "desc": "Rarity-before 1500"
                },
                {
                    "id": 324,
                    "cat": "Other",
                    "desc": "Posters, placards, signs"
                },
                {
                    "id": 220,
                    "cat": "Books",
                    "desc": "Fishing & Spearfishing"
                },
                {
                    "id": 319,
                    "cat": "Books",
                    "desc": "Fishing tackle and knots"
                },
                {
                    "id": 412,
                    "cat": "Books",
                    "desc": "Marine Fauna"
                },
                {
                    "id": 7,
                    "cat": "Books",
                    "desc": "Technical Books (Not maritime)"
                },
                {
                    "id": 328,
                    "cat": "Books",
                    "desc": "Technical Books (Not maritime)-Hydraulics"
                },
                {
                    "id": 327,
                    "cat": "Books",
                    "desc": "Technical Books (Not maritime)-Mechanics"
                },
                {
                    "id": 326,
                    "cat": "Books",
                    "desc": "Technical Books (Not maritime)-Electricity"
                },
                {
                    "id": 187,
                    "cat": "Books",
                    "desc": "Others (not maritime)"
                },
                {
                    "id": 411,
                    "cat": "Books",
                    "desc": "Others (not maritime)-Video"
                },
                {
                    "id": 38,
                    "cat": "Books",
                    "desc": "Uncategorized"
                },
                {
                    "id": 162,
                    "cat": "Books",
                    "desc": "Archive"
                },
                {
                    "id": 321,
                    "cat": "Books",
                    "desc": "Archive-Outdated software"
                },
                {
                    "id": 379,
                    "cat": "Books",
                    "desc": "Archive-Video materials (Archive)"
                },
                {
                    "id": 378,
                    "cat": "Books",
                    "desc": "Archive-Audio materials (Archive) "
                },
                {
                    "id": 322,
                    "cat": "Books",
                    "desc": "Archive-No seeds"
                },
                {
                    "id": 295,
                    "cat": "Books",
                    "desc": "Archive-Unregistered"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech_50",
                "type": "checkbox",
                "label": "Search freeleech and 50% freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "/",
            "method": "form",
            "form": "form.logform",
            "inputs": {
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "autologin": 1
            },
            "error": [
                {
                    "selector": "div#error_fon"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href^=\"/./login.php?logout=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker.php",
                    "method": "post"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "nm": "{{ .Keywords }}",
                "allw": 1,
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "tm": -1,
                "sns": -1,
                "prev_allw": 1,
                "prev_a": 0,
                "prev_dla": 0,
                "prev_dlc": 0,
                "prev_dld": 0,
                "prev_dlw": 0,
                "prev_my": 0,
                "prev_new": 0,
                "prev_sd": 0,
                "prev_da": 1,
                "prev_dc": 0,
                "prev_df": 1,
                "prev_dl": 1,
                "prev_ds": 0,
                "prev_tor_type": 0,
                "df": 1,
                "da": 1,
                "dl": 1,
                "tor_type": "{{ if .Config.freeleech_50 }}1{{ else }}{{ end }}",
                "submit": "%C2%A0%C2%A0Search%C2%A0%C2%A0"
            },
            "rows": {
                "selector": "tr[id^=\"tor_\"]:has(a[href^=\"./download.php?id=\"]):not(:has(a[href=\"tracker.php?f=325\"]))"
            },
            "fields": {
                "title": {
                    "selector": "a.tLink"
                },
                "details": {
                    "selector": "a.tLink",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./download.php?id=\"]",
                    "attribute": "href"
                },
                "category": {
                    "selector": "td a.gen",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "description": {
                    "selector": "td span.iconDL"
                },
                "size": {
                    "selector": "td:nth-last-child(5) > u",
                    "optional": true,
                    "default": "0 B"
                },
                "seeders": {
                    "selector": "td.seedmed"
                },
                "leechers": {
                    "selector": "td.leechmed"
                },
                "grabs": {
                    "selector": "td:nth-last-child(2)"
                },
                "date": {
                    "selector": "td:last-child > u"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/tor_gold.gif\"]": 0,
                        "img[src=\"images/tor_silver.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "matrix": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "matrix",
        "name": "Matrix",
        "description": "M.A.T.R.I.X is a HUNGARIAN Private Tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://matrixworld.info/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 23,
                    "cat": "Movies/Other",
                    "desc": "Animációk"
                },
                {
                    "id": 60,
                    "cat": "Movies/Other",
                    "desc": "Cam/HU"
                },
                {
                    "id": 45,
                    "cat": "Books/EBook",
                    "desc": "eBook/EN"
                },
                {
                    "id": 40,
                    "cat": "Books/EBook",
                    "desc": "eBook/HU"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD9"
                },
                {
                    "id": 48,
                    "cat": "Movies/HD",
                    "desc": "Film/EN/1080p"
                },
                {
                    "id": 32,
                    "cat": "Movies/HD",
                    "desc": "Film/EN/720p"
                },
                {
                    "id": 38,
                    "cat": "Movies/BluRay",
                    "desc": "Film/EN/Blu-ray"
                },
                {
                    "id": 27,
                    "cat": "Movies/DVD",
                    "desc": "Film/EN/DVD-R"
                },
                {
                    "id": 24,
                    "cat": "Movies/SD",
                    "desc": "Film/EN/SD"
                },
                {
                    "id": 34,
                    "cat": "Movies/HD",
                    "desc": "Film/HU/1080p"
                },
                {
                    "id": 31,
                    "cat": "Movies/HD",
                    "desc": "Film/HU/720p"
                },
                {
                    "id": 35,
                    "cat": "Movies/BluRay",
                    "desc": "Film/HU/Blu-ray"
                },
                {
                    "id": 26,
                    "cat": "Movies/DVD",
                    "desc": "Film/HU/DVD-R"
                },
                {
                    "id": 5,
                    "cat": "Movies/SD",
                    "desc": "Film/HU/SD"
                },
                {
                    "id": 62,
                    "cat": "Movies/UHD",
                    "desc": "Film/HU/UHD"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Játékok/ISO"
                },
                {
                    "id": 39,
                    "cat": "PC/Games",
                    "desc": "Játékok/Rip/Dox"
                },
                {
                    "id": 47,
                    "cat": "Other",
                    "desc": "Klippek"
                },
                {
                    "id": 30,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless/EN"
                },
                {
                    "id": 29,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless/HU"
                },
                {
                    "id": 25,
                    "cat": "Audio/MP3",
                    "desc": "MP3/EN"
                },
                {
                    "id": 6,
                    "cat": "Audio/MP3",
                    "desc": "MP3/HU"
                },
                {
                    "id": 33,
                    "cat": "PC",
                    "desc": "Program/egyéb"
                },
                {
                    "id": 1,
                    "cat": "PC/ISO",
                    "desc": "Program/ISO"
                },
                {
                    "id": 36,
                    "cat": "TV/HD",
                    "desc": "Sorozat/EN/HD"
                },
                {
                    "id": 49,
                    "cat": "TV/SD",
                    "desc": "Sorozat/EN/SD"
                },
                {
                    "id": 28,
                    "cat": "TV/HD",
                    "desc": "Sorozat/HU/HD"
                },
                {
                    "id": 7,
                    "cat": "TV/SD",
                    "desc": "Sorozat/HU/SD"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 44,
                    "cat": "XXX/x264",
                    "desc": "XXX/HD"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "book-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "ctime",
                "options": {
                    "ctime": "created",
                    "name": "title",
                    "size": "size",
                    "seeders": "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>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "If you do not log in to the site for 6 months, the system will automatically delete it!"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[href*=\"logout.php?logout=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "rows": {
                "selector": "table.table-center[width=\"905\"] > tbody > tr:has(a[onclick])"
            },
            "fields": {
                "category": {
                    "case": {
                        "img[src=\"/pic/categories/cat_anime.gif\"]": 23,
                        "img[src=\"/pic/categories/061.png\"]": 60,
                        "img[src=\"/pic/categories/017.png\"]": 45,
                        "img[src=\"/pic/categories/016.png\"]": 40,
                        "img[src=\"/pic/categories/cat_movies.gif\"]": 20,
                        "img[src=\"/pic/categories/010.png\"]": 48,
                        "img[src=\"/pic/categories/9.png\"]": 32,
                        "img[src=\"/pic/categories/011.png\"]": 38,
                        "img[src=\"/pic/categories/8.png\"]": 27,
                        "img[src=\"/pic/categories/7.png\"]": 24,
                        "img[src=\"/pic/categories/4.png\"]": 34,
                        "img[src=\"/pic/categories/3.png\"]": 31,
                        "img[src=\"/pic/categories/5.png\"]": 35,
                        "img[src=\"/pic/categories/2.png\"]": 26,
                        "img[src=\"/pic/categories/1.png\"]": 5,
                        "img[src=\"/pic/categories/uhd_hun.png\"]": 62,
                        "img[src=\"/pic/categories/021.png\"]": 4,
                        "img[src=\"/pic/categories/cat_games.gif\"]": 39,
                        "img[src=\"/pic/categories/026.png\"]": 47,
                        "img[src=\"/pic/categories/024.png\"]": 30,
                        "img[src=\"/pic/categories/019.png\" ]": 29,
                        "img[src=\"/pic/categories/023.png\"]": 25,
                        "img[src=\"/pic/categories/018.png\"]": 6,
                        "img[src=\"/pic/categories/025.png\"]": 33,
                        "img[src=\"/pic/categories/020.png\"]": 1,
                        "img[src=\"/pic/categories/015.png\"]": 36,
                        "img[src=\"/pic/categories/014.png\"]": 49,
                        "img[src=\"/pic/categories/013.png\"]": 28,
                        "img[src=\"/pic/categories/012.png\"]": 7,
                        "img[src=\"/pic/categories/cat_xxx.gif\"]": 9,
                        "img[src=\"/pic/categories/6.png\"]": 44
                    }
                },
                "title": {
                    "selector": "a[onclick]"
                },
                "_id": {
                    "selector": "a[onclick]",
                    "attribute": "onclick",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "toggleRow\\((\\d+),"
                        }
                    ]
                },
                "details": {
                    "text": "details.php?id={{ .Result._id }}"
                },
                "download": {
                    "text": "download.php?id={{ .Result._id }}"
                },
                "poster": {
                    "selector": "a[onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\\\\\'(.+?)\\\\"
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "_verified": {
                    "selector": "span.torrent-ok, span.torrent-unchecked, span.torrent-error",
                    "case": {
                        "span.torrent-ok": "Verified",
                        "span.torrent-unchecked": "Unchecked",
                        "span.torrent-error": "Faulty Upload"
                    }
                },
                "genre": {
                    "selector": "td:nth-child(2) > div > i.small",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\((.+)\\)"
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result._verified }} - {{ .Result.genre }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.text-red:contains(\"[x0]\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.text-blue:contains(\"[x2]\")": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "mazepa": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "mazepa",
        "name": "Mazepa",
        "description": "Mazepa is an UKRAINIAN Semi-Private Torrent Tracker for Videos with Ukrainian soundtracks",
        "language": "uk-UA",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://mazepa.to/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 37,
                    "cat": "Movies/UHD",
                    "desc": "Українські фільми HD, UHD"
                },
                {
                    "id": 7,
                    "cat": "Movies/SD",
                    "desc": "Українські фільми SD"
                },
                {
                    "id": 38,
                    "cat": "TV/UHD",
                    "desc": "Українські серіали HD, UHD"
                },
                {
                    "id": 8,
                    "cat": "TV/SD",
                    "desc": "Українські серіали SD"
                },
                {
                    "id": 35,
                    "cat": "Movies/UHD",
                    "desc": "Українські мультфільми HD, UHD"
                },
                {
                    "id": 5,
                    "cat": "Movies/SD",
                    "desc": "Українські мультфільми SD"
                },
                {
                    "id": 36,
                    "cat": "TV/UHD",
                    "desc": "Українські мультсеріали HD, UHD"
                },
                {
                    "id": 6,
                    "cat": "TV/SD",
                    "desc": "Українські мультсеріали SD"
                },
                {
                    "id": 39,
                    "cat": "TV/Documentary",
                    "desc": "Українські документальні HD, UHD"
                },
                {
                    "id": 9,
                    "cat": "TV/Documentary",
                    "desc": "Українські документальні SD"
                },
                {
                    "id": 175,
                    "cat": "Movies/UHD",
                    "desc": "Озвучений контент Новинки фільмів HD, UHD"
                },
                {
                    "id": 147,
                    "cat": "Movies/UHD",
                    "desc": "Озвучений контент Фільми UHD"
                },
                {
                    "id": 12,
                    "cat": "Movies/HD",
                    "desc": "Озвучений контент Фільми HD"
                },
                {
                    "id": 13,
                    "cat": "Movies/SD",
                    "desc": "Озвучений контент Фільми SD"
                },
                {
                    "id": 174,
                    "cat": "Movies",
                    "desc": "Озвучений контент Субтитровані фільми"
                },
                {
                    "id": 152,
                    "cat": "TV/UHD",
                    "desc": "Озвучений контент Серіали UHD"
                },
                {
                    "id": 44,
                    "cat": "TV/HD",
                    "desc": "Озвучений контент Серіали HD"
                },
                {
                    "id": 14,
                    "cat": "TV/SD",
                    "desc": "Озвучений контент Серіали SD"
                },
                {
                    "id": 155,
                    "cat": "Movies/UHD",
                    "desc": "Озвучений контент Мультфільми UHD"
                },
                {
                    "id": 41,
                    "cat": "Movies/HD",
                    "desc": "Озвучений контент Мультфільми HD"
                },
                {
                    "id": 10,
                    "cat": "Movies/SD",
                    "desc": "Озвучений контент Мультфільми SD"
                },
                {
                    "id": 43,
                    "cat": "TV/HD",
                    "desc": "Озвучений контент Мультсеріали HD"
                },
                {
                    "id": 11,
                    "cat": "TV/SD",
                    "desc": "Озвучений контент Мультсеріали SD"
                },
                {
                    "id": 16,
                    "cat": "TV/Anime",
                    "desc": "Аніме"
                },
                {
                    "id": 157,
                    "cat": "TV/Documentary",
                    "desc": "Озвучений Документальне UHD"
                },
                {
                    "id": 42,
                    "cat": "TV/Documentary",
                    "desc": "Озвучений Документальне HD"
                },
                {
                    "id": 15,
                    "cat": "TV/Documentary",
                    "desc": "Озвучений Документальне SD"
                },
                {
                    "id": 20,
                    "cat": "TV/Sport",
                    "desc": "Спорт Формула 1 Сезон 2026"
                },
                {
                    "id": 188,
                    "cat": "TV/Sport",
                    "desc": "Спорт Формула 1 Сезон 2025"
                },
                {
                    "id": 167,
                    "cat": "TV/Sport",
                    "desc": "Спорт Формула 1 Сезон 2022-2024"
                },
                {
                    "id": 79,
                    "cat": "TV/Sport",
                    "desc": "Спорт Формула 1 Сезони 2017-2021"
                },
                {
                    "id": 21,
                    "cat": "TV/Sport",
                    "desc": "Спорт Формула 1 Сезони 2007-2016"
                },
                {
                    "id": 75,
                    "cat": "TV/Sport",
                    "desc": "Спорт Формула 1 Сезони до 2006"
                },
                {
                    "id": 77,
                    "cat": "TV/Sport",
                    "desc": "Автоспорт"
                },
                {
                    "id": 47,
                    "cat": "TV/Sport",
                    "desc": "Автоспорт Чемпіонат та кубок України"
                },
                {
                    "id": 46,
                    "cat": "TV/Sport",
                    "desc": "Автоспорт Єврокубки"
                },
                {
                    "id": 48,
                    "cat": "TV/Sport",
                    "desc": "Автоспорт Чемпіонат Світу"
                },
                {
                    "id": 182,
                    "cat": "TV/Sport",
                    "desc": "Автоспорт Євро 2024"
                },
                {
                    "id": 49,
                    "cat": "TV/Sport",
                    "desc": "Автоспорт Чемпіонат Європи"
                },
                {
                    "id": 53,
                    "cat": "TV/Sport",
                    "desc": "Автоспорт Закордонні чемпіонати"
                },
                {
                    "id": 19,
                    "cat": "TV/Sport",
                    "desc": "Бокс"
                },
                {
                    "id": 29,
                    "cat": "Audio/Video",
                    "desc": "Концерти, відеокліпи"
                },
                {
                    "id": 30,
                    "cat": "TV",
                    "desc": "Теле-Шоу"
                },
                {
                    "id": 65,
                    "cat": "Audio",
                    "desc": "Музика Рок"
                },
                {
                    "id": 63,
                    "cat": "Audio",
                    "desc": "Музика Поп, Диско"
                },
                {
                    "id": 66,
                    "cat": "Audio",
                    "desc": "Музика Фольк, Етно, Народна, Бардівська"
                },
                {
                    "id": 64,
                    "cat": "Audio",
                    "desc": "Музика Реп"
                },
                {
                    "id": 67,
                    "cat": "Audio",
                    "desc": "Музика Електронна"
                },
                {
                    "id": 61,
                    "cat": "Audio",
                    "desc": "Музика Джаз, Блюз"
                },
                {
                    "id": 60,
                    "cat": "Audio",
                    "desc": "Музика Класична, Інструментальна"
                },
                {
                    "id": 82,
                    "cat": "Audio",
                    "desc": "Музика Невидане"
                },
                {
                    "id": 93,
                    "cat": "Books",
                    "desc": "Література Українська художня література [до 1991 р.]"
                },
                {
                    "id": 92,
                    "cat": "Books",
                    "desc": "Література Українська художня література (після 1991 р.)"
                },
                {
                    "id": 91,
                    "cat": "Books",
                    "desc": "Література Зарубіжна художня література"
                },
                {
                    "id": 90,
                    "cat": "Books",
                    "desc": "Література Наукова література (гуманітарні дисципліни)"
                },
                {
                    "id": 89,
                    "cat": "Books",
                    "desc": "Література Наукова література (природничі дисципліни)"
                },
                {
                    "id": 88,
                    "cat": "Books",
                    "desc": "Література Навчальна та довідкова"
                },
                {
                    "id": 87,
                    "cat": "Books",
                    "desc": "Література Періодика"
                },
                {
                    "id": 86,
                    "cat": "Books",
                    "desc": "Література Батькам та малятам"
                },
                {
                    "id": 85,
                    "cat": "Books/Comics",
                    "desc": "Література Графіка (комікси, манґа, BD та інше)"
                },
                {
                    "id": 84,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудіокниги українською"
                },
                {
                    "id": 96,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудіокниги українською Українська художня література"
                },
                {
                    "id": 95,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудіокниги українською Зарубіжна художня література"
                },
                {
                    "id": 94,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудіокниги українською Історія, біографістика, спогади"
                },
                {
                    "id": 168,
                    "cat": "PC",
                    "desc": "Програмне забезпечення Операційні системи"
                },
                {
                    "id": 169,
                    "cat": "PC",
                    "desc": "Програмне забезпечення Системні програми"
                },
                {
                    "id": 170,
                    "cat": "PC",
                    "desc": "Програмне забезпечення Офіс, текстові редактори"
                },
                {
                    "id": 171,
                    "cat": "PC",
                    "desc": "Програмне забезпечення Аудіо, відео обробка"
                },
                {
                    "id": 173,
                    "cat": "PC",
                    "desc": "Програмне забезпечення Інше"
                },
                {
                    "id": 185,
                    "cat": "PC",
                    "desc": "Програмне забезпечення Ігри"
                },
                {
                    "id": 23,
                    "cat": "Other",
                    "desc": "Архів"
                }
            ],
            "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": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "autologin": 1,
                "login": "Увійти"
            },
            "error": [
                {
                    "selector": "table.error"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"./login.php?logout=1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker.php",
                    "method": "post"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "prev_allw": 1,
                "prev_a": 0,
                "prev_dla": 0,
                "prev_dlc": 0,
                "prev_dld": 0,
                "prev_dlw": 0,
                "prev_my": 0,
                "prev_new": 0,
                "prev_sd": 0,
                "prev_da": 1,
                "prev_dc": 0,
                "prev_df": 1,
                "prev_ds": 0,
                "prev_tor_type": 0,
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "dc": 0,
                "df": 1,
                "da": 1,
                "ds": 0,
                "tm": -1,
                "sns": -1,
                "srg": -1,
                "nm": "{{ .Keywords }}",
                "allw": 1
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "сезон $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bE0*(\\d+)\\b",
                        "сері $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "сезон $1 сері $2"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(\\w+)",
                        "+$1"
                    ]
                }
            ],
            "rows": {
                "selector": "tr[id^=\"tor_\"]:has(a[href^=\"./dl.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[onclick]",
                    "attribute": "onclick",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "f=(\\d+)"
                        }
                    ]
                },
                "title": {
                    "selector": "a.genmed, a.seedmed, a.leechmed",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езони?.+?(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езони?.+?(\\d+(?:-\\d+)?)\\s*(?:[CС]ері[їяй]|Епізоди?)\\s+з\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:[CС]ері[їяй]|Епізоди?)\\s+з\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езони?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езони?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*з\\s*(\\w?)(?:\\s*(?:[CС]ері[їяй]|Епізоди?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:[CС]ері[їяй]|Епізоди?)\\s+з\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:[CС]ері[їяй]|Епізоди?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Seasons?[\\s:]*(\\d+(?:-\\d+)?).+?(?:Episodes?)[\\s:]*(\\d+(?:-\\d+)?)\\s*of\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*Seasons?.+?(\\d+(?:-\\d+)?)\\s*of\\s*(\\w?)(?:\\s*Episodes?)?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*Seasons?.+?(\\d+(?:-\\d+)?)\\s*(?:Episodes?)\\s+of\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Seasons?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*of\\s*(\\w?)(?:\\s*Episodes?)?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Seasons?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:Episodes?)\\s+of\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Seasons?[\\s:]*(\\d+(?:-\\d+)?).+?(?:Episodes?)[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+Seasons?.+?(\\d+(?:-\\d+)?)\\s+(?:\\s*Episodes?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Seasons?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*Episodes?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Seasons?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+Seasons?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:Episodes?)[\\s:]*(\\d+(?:-\\d+)?)\\s*of\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:Episodes?)\\s+of\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:Episodes?)[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:Episodes?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)",
                                "$2 $1"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a.genmed, a.seedmed, a.leechmed",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./dl.php?id=\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "a[href^=\"./dl.php?id=\"]"
                },
                "seeders": {
                    "selector": "td.seedmed"
                },
                "leechers": {
                    "selector": "td.leechmed"
                },
                "grabs": {
                    "selector": "td:nth-last-child(2)"
                },
                "date": {
                    "selector": "td:last-child",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{2}:\\d{2}\\s+\\d{1,2}-\\D{3}-\\d{2})"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Січ",
                                "Jan"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Лют",
                                "Feb"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Бер",
                                "Mar"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Кві",
                                "Apr"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Тра",
                                "May"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Чер",
                                "Jun"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Лип",
                                "Jul"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Сер",
                                "Aug"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Вер",
                                "Sep"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Жов",
                                "Oct"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Лис",
                                "Nov"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Гру",
                                "Dec"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "HH:mmd-MMM-yy zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "case": {
                        "span.tor-approved": "Verified",
                        "span.tor-not-approved": "Unverified",
                        "span.tor-dup": "Temporary"
                    }
                }
            }
        }
    },
    "mdan": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "mdan",
        "name": "MDAN",
        "description": "Mansão dos Animes (MDAN) is a BRAZILIAN Private Torrent Tracker for ANIME",
        "language": "pt-BR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bt.mdan.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 5,
                    "cat": "TV/Anime",
                    "desc": "Animes Completo"
                },
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Animes EpisÃ³dios"
                },
                {
                    "id": 2,
                    "cat": "TV/Anime",
                    "desc": "Animes OVAs"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Filmes"
                },
                {
                    "id": 6,
                    "cat": "Movies/Other",
                    "desc": "Live"
                },
                {
                    "id": 7,
                    "cat": "Books/Comics",
                    "desc": "MangÃ¡"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "OST"
                }
            ],
            "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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents por página (Torrents per Page):</b> setting to <b>100</b> on your Perfil (Profile). The default is <i>30</i>."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts are automatically deleted."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": ":contains(\"incorret\")"
                },
                {
                    "selector": ":root:contains(\"Too many users. Please\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?hash_please=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "searchin": "title",
                "incldead": 1,
                "only_free": "{{ if .Config.freeleech }}1{{else}}{{end}}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[style^=\"width\"] > tbody > tr:has(a[href^=\"details.php?id=\"]), table[style^=\"width\"] > tbody > tr[id^=\"kdescr\"]",
                "after": 1
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "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?torrent={{ .Result._id }}&ssl=1"
                },
                "poster": {
                    "selector": "td:nth-child(9) img",
                    "attribute": "src"
                },
                "date_day": {
                    "selector": "td:nth-child(7):contains(\"e\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Hoje",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ontem",
                                "Yesterday"
                            ]
                        }
                    ]
                },
                "date_year": {
                    "selector": "td:nth-child(7):not(:contains(\"e\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "HH:mm dd-MM-yyyy"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "files": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(4)"
                },
                "seeders": {
                    "selector": "a[href$=\"seeders\"]",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "a[href$=\"leechers\"]",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"./pic/free.gif\"]": 0,
                        "img[src=\"./pic/silver2.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.4
                }
            }
        }
    },
    "megapeer": {
        "id": "megapeer",
        "name": "MegaPeer",
        "description": "MegaPeer is a RUSSIAN Public Torrent Tracker for MOVIES / TV",
        "language": "ru-RU",
        "type": "public",
        "encoding": "windows-1251",
        "links": [
            "https://megapeer.vip/"
        ],
        "legacylinks": [
            "http://megapeer.ru/",
            "http://alt.megapeer.ru/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 79,
                    "cat": "Movies",
                    "desc": "Наши фильмы (Russian Movies)"
                },
                {
                    "id": 5,
                    "cat": "TV",
                    "desc": "Наши сериалы (Russian Series)"
                },
                {
                    "id": 174,
                    "cat": "Movies/Foreign",
                    "desc": "Зарубежные фильмы (Foreign Movies)"
                },
                {
                    "id": 6,
                    "cat": "TV/Foreign",
                    "desc": "Зарубежные сериалы (Foreign Series)"
                },
                {
                    "id": 76,
                    "cat": "TV/Anime",
                    "desc": "Мультипликация (Animation)"
                },
                {
                    "id": 89,
                    "cat": "Audio/Video",
                    "desc": "Концерты / Клипы (Concerts / Clips)"
                },
                {
                    "id": 57,
                    "cat": "TV",
                    "desc": "Телепередачи / Шоу / Юмор (TV)"
                },
                {
                    "id": 145,
                    "cat": "TV/Other",
                    "desc": "Обучающее видео (Instructional Video)"
                },
                {
                    "id": 55,
                    "cat": "TV/Documentary",
                    "desc": "Документалистика (Documentary)"
                },
                {
                    "id": 164,
                    "cat": "TV/Other",
                    "desc": "Прочее (Other)"
                },
                {
                    "id": 21,
                    "cat": "TV/Sport",
                    "desc": "Спорт (Sport)"
                },
                {
                    "id": 94,
                    "cat": "Audio",
                    "desc": "Музыка (Music)"
                },
                {
                    "id": 28,
                    "cat": "Console",
                    "desc": "Игры (Games)"
                },
                {
                    "id": 107,
                    "cat": "PC/0day",
                    "desc": "Софт / ОС / Оформление (Software)"
                },
                {
                    "id": 41,
                    "cat": "PC/Mobile-Other",
                    "desc": "Мобильные устройства (Mobile)"
                },
                {
                    "id": 52,
                    "cat": "Books",
                    "desc": "Книги / Журналы (Books)"
                },
                {
                    "id": 169,
                    "cat": "Other/Misc",
                    "desc": "Разное (Misc)"
                },
                {
                    "id": 178,
                    "cat": "Other",
                    "desc": "Страницы (Pages)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_category_8000",
                "type": "info_category_8000"
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 0,
                "options": [
                    "created",
                    "title",
                    "size"
                ]
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 0,
                "options": [
                    "desc",
                    "asc"
                ]
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "search": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "cat": 0,
                "stype": 0,
                "sort": "{{ .Config.sort }}",
                "ascdesc": "{{ .Config.type }}"
            },
            "headers": {
                "Referer": [
                    "{{ .Config.sitelink }}browse.php"
                ]
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "сезон $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bE0*(\\d+)\\b",
                        "сери $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "сезон $1 сери $2"
                    ]
                }
            ],
            "rows": {
                "selector": "tr.table_fon"
            },
            "fields": {
                "category": {
                    "text": 169
                },
                "title": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bFiles-х\\b",
                                "Files-x"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\sот\\s([\\w\\p{P}\\p{S}]+)$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\|\\s(\\w{4,})$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/download/\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-last-child(2)"
                },
                "seeders": {
                    "selector": "td:last-child font:first-of-type"
                },
                "leechers": {
                    "selector": "td:last-child font:last-of-type"
                },
                "date": {
                    "selector": "td:first-child",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Янв",
                                "January"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Фев",
                                "February"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Мар",
                                "March"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Апр",
                                "Apr"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Мая",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июн",
                                "Jun"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июл",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Авг",
                                "Aug"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Сен",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Окт",
                                "Oct"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ноя",
                                "Nov"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Дек",
                                "Dec"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "d MMM yy zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "memphis": {
        "credentials": {
            "passkey": ""
        },
        "id": "memphis",
        "name": "Memphis",
        "description": "Memphis is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://memphis.fit/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 4050,
                    "cat": "PC/Games",
                    "desc": "PC/Games"
                },
                {
                    "id": 7020,
                    "cat": "Books/EBook",
                    "desc": "Books/Ebook"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 4000,
                    "cat": "PC",
                    "desc": "PC"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "passkey",
                "type": "text",
                "label": "PassKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your PassKey",
                "default": "You can find the API PassKey Key by accessing the <a href=\"https://memphis.fit/?view=member-api\" target=\"_blank\">Memphis API</a> page and scrolling down to the <b>Cross-seed</b> section."
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi.FRENCH": "MULTi.FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi.ENGLISH": "MULTi.ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi.VOSTFR": "MULTi.VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            }
        ],
        "login": {
            "path": "api/torznab",
            "method": "get",
            "inputs": {
                "t": "search",
                "apikey": "{{ .Config.passkey }}",
                "limit": 1
            },
            "error": [
                {
                    "selector": "error",
                    "message": {
                        "selector": "error[description]",
                        "attribute": "description"
                    }
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torznab",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "apikey": "{{ .Config.passkey }}",
                "t": "{{ if .Keywords }}{{ .Query.Type }}{{ else }}search{{ end }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "limit": 100
            },
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title_phase1": {
                    "selector": "title"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR|VF2|VFF|VFQ|VOQ|VFI|VOF)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "details": {
                    "selector": "comments",
                    "filters": [
                        {
                            "name": "htmldecode"
                        }
                    ]
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "tmdbid": {
                    "selector": "comments",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "media=tmdb.+?(\\d+)"
                        }
                    ]
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "[name=size]",
                    "attribute": "value"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=peers]",
                    "attribute": "value"
                },
                "grabs": {
                    "selector": "[name=grabs]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "mesevilag": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "mesevilag",
        "name": "MeseVilág",
        "description": "MeseVilág (Fairytale World) is a HUNGARIAN Private Torrent Tracker for ANIMATED MOVIES / TV",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://mese-vilag.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Anime/Cam"
                },
                {
                    "id": 2,
                    "cat": "TV/Anime",
                    "desc": "Anime/Eng"
                },
                {
                    "id": 21,
                    "cat": "TV/Anime",
                    "desc": "Anime/HD"
                },
                {
                    "id": 3,
                    "cat": "TV/Anime",
                    "desc": "Anime/Hun"
                },
                {
                    "id": 13,
                    "cat": "TV/Anime",
                    "desc": "Anime/Sorozat(Series)"
                },
                {
                    "id": 4,
                    "cat": "Movies",
                    "desc": "Családi/Cam(Family)"
                },
                {
                    "id": 5,
                    "cat": "Movies",
                    "desc": "Családi/Eng(Family)"
                },
                {
                    "id": 19,
                    "cat": "Movies/HD",
                    "desc": "Családi/HD(Family)"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "Családi/Hun(Family)"
                },
                {
                    "id": 17,
                    "cat": "Movies",
                    "desc": "Családi/Romantikus/Cam(Family Romantic)"
                },
                {
                    "id": 16,
                    "cat": "Movies",
                    "desc": "Családi/Romantikus/Eng(Family Romantic)"
                },
                {
                    "id": 15,
                    "cat": "Movies",
                    "desc": "Családi/Romantikus/Hun(Family Romantic)"
                },
                {
                    "id": 18,
                    "cat": "TV",
                    "desc": "Családi/Romantikus/Sorozat(Family Romantic Series)"
                },
                {
                    "id": 14,
                    "cat": "TV",
                    "desc": "Családi/Sorozat(Family Series)"
                },
                {
                    "id": 8,
                    "cat": "Audio/Audiobook",
                    "desc": "Hangoskönyv(Audiobooks)"
                },
                {
                    "id": 9,
                    "cat": "PC/Games",
                    "desc": "Játék/ISO(Games)"
                },
                {
                    "id": 11,
                    "cat": "Console",
                    "desc": "Játék/Konzol(Console)"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Játék/RIP(Games)"
                },
                {
                    "id": 7,
                    "cat": "Books",
                    "desc": "Könyv(Books)"
                },
                {
                    "id": 20,
                    "cat": "Movies/HD",
                    "desc": "Romantikus/HD(Romantic)"
                },
                {
                    "id": 12,
                    "cat": "Audio",
                    "desc": "Zene/Hun(Music)"
                }
            ],
            "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": 4,
                "options": {
                    "4": "created",
                    "7": "seeders",
                    "5": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form#loginForm",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "letoltes.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[^a-zA-Z0-9]+",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "table[cellpadding=\"5\"] > tbody > tr:has(a[onmouseover])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"letoltes.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"javascript:\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "span",
                    "attribute": "id",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "span_bookmark_",
                                "details.php?id="
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "span",
                    "attribute": "id",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "span_bookmark_",
                                "download.php?id="
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.+?) "
                        }
                    ]
                },
                "date": {
                    "selector": "td:nth-last-child(6)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{4}-\\d{2}-\\d{2}\\s\\d{2}:\\d{2}:\\d{2})"
                        },
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-last-child(4)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(3)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(2)"
                },
                "description": {
                    "case": {
                        "img[src=\"pic/yes.png\"]": "Verified",
                        "img[src=\"pic/nincs.png\"]": "Unverified"
                    }
                },
                "downloadvolumefactor": {
                    "selector": "td:nth-last-child(5) > font",
                    "case": {
                        "font:contains(\"x0\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "selector": "td:nth-last-child(5) > font",
                    "case": {
                        "font:contains(\"x2\")": 2,
                        "font:contains(\"x3\")": 3,
                        "font:contains(\"x4\")": 4,
                        "*": 1
                    }
                },
                "size": {
                    "selector": "td:nth-last-child(5)",
                    "remove": "font"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "metalguru": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "metalguru",
        "name": "MetalGuru",
        "description": "MetalGuru is a Private Torrent Tracker for GENERAL with focus on MUSIC",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://metalguru.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 51,
                    "cat": "Audio/Lossless",
                    "desc": "24bit"
                },
                {
                    "id": 58,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 39,
                    "cat": "PC/Mobile-Other",
                    "desc": "Anything Mobile"
                },
                {
                    "id": 1,
                    "cat": "PC",
                    "desc": "Applications"
                },
                {
                    "id": 2,
                    "cat": "Books",
                    "desc": "Books Ebooks & mags"
                },
                {
                    "id": 59,
                    "cat": "Movies/SD",
                    "desc": "Cams"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "DJ"
                },
                {
                    "id": 53,
                    "cat": "Audio",
                    "desc": "DJ PACKS"
                },
                {
                    "id": 46,
                    "cat": "Books",
                    "desc": "Documents"
                },
                {
                    "id": 47,
                    "cat": "Audio/Lossless",
                    "desc": "Flac/HD Audio"
                },
                {
                    "id": 61,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 62,
                    "cat": "Audio",
                    "desc": "Karaoke"
                },
                {
                    "id": 45,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 57,
                    "cat": "Movies",
                    "desc": "Movie Packs"
                },
                {
                    "id": 10,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 50,
                    "cat": "Audio",
                    "desc": "MQA"
                },
                {
                    "id": 29,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 31,
                    "cat": "Audio/Video",
                    "desc": "Music| Movie/Videos"
                },
                {
                    "id": 32,
                    "cat": "Audio",
                    "desc": "Music| Packs"
                },
                {
                    "id": 60,
                    "cat": "TV",
                    "desc": "Toons"
                },
                {
                    "id": 54,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 63,
                    "cat": "TV",
                    "desc": "TV Packs"
                },
                {
                    "id": 56,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": 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"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "use_ssl": 1,
                "submitme": "X"
            },
            "error": [
                {
                    "selector": "h2:contains(\"failed\")",
                    "message": {
                        "selector": "td.colhead2"
                    }
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href*=\"logout.php?hash_please=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }} {{ else }}{{ end }}{{ .Keywords }}",
                "searchin": "{{ if .Query.IMDBID }}descr{{else}}title{{ end }}",
                "incldead": 1,
                "only_free": "{{ if .Config.freeleech }}1{{else}}0{{end}}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.table-bordered > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"details.php?id=\"][onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\'(.*?)\\\\'"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(5)"
                },
                "date_day": {
                    "selector": "td:nth-child(7):contains(\"day\")",
                    "optional": true
                },
                "date_year": {
                    "selector": "td:nth-child(7):not(:contains(\"day\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM d yyyy hh:mm tt"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(8)"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "case": {
                        "a.infofree": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "case": {
                        "a.infofree": 172800,
                        "*": 129600
                    }
                }
            }
        }
    },
    "metaltracker": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "metaltracker",
        "name": "Metal Tracker",
        "description": "Metal Tracker is a Semi-Private Torrent Tracker dedicated to HEAVY METAL MUSIC. This definition is for the English site.",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://en.metal-tracker.com/"
        ],
        "legacylinks": [
            "http://en.metal-tracker.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "Books",
                    "cat": "Audio/Audiobook",
                    "desc": "Books"
                },
                {
                    "id": "Video",
                    "cat": "Audio/Video",
                    "desc": "Videos"
                },
                {
                    "id": "Music",
                    "cat": "Audio/MP3",
                    "desc": "Music"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "album",
                    "artist"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "date",
                "options": {
                    "date": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "DESC",
                "options": {
                    "DESC": "desc",
                    "ASC": "asc"
                }
            }
        ],
        "login": {
            "path": "user/login.html",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "go": "Enter"
            },
            "error": [
                {
                    "selector": "div.errorSummary",
                    "message": {
                        "selector": "div.errorSummary ul li"
                    }
                }
            ],
            "test": {
                "path": "torrents/search.html",
                "selector": "li li:has(a[href=\"/user/logout.html\"])"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents/search.html",
                    "method": "post"
                }
            ],
            "inputs": {
                "SearchTorrentsForm[nameTorrent]": "{{ if or (.Query.Artist) (.Query.Album) }}{{ or (.Query.Artist) (.Query.Album) }}{{ else }}{{ .Keywords }}{{ end }}",
                "SearchTorrentsForm[sort]": "{{ .Config.sort }}",
                "SearchTorrentsForm[sortType]": "{{ .Config.type }}",
                "go-search": "Search"
            },
            "rows": {
                "selector": ".smallalbum"
            },
            "fields": {
                "title": {
                    "selector": "a h3"
                },
                "poster": {
                    "selector": ".thumb a img",
                    "attribute": "src"
                },
                "details": {
                    "selector": ".thumb a",
                    "attribute": "href"
                },
                "download": {
                    "selector": ".center a[href^=\"/torrents/download/id/\"]",
                    "attribute": "href"
                },
                "date": {
                    "text": "now"
                },
                "seeders": {
                    "selector": ".center font:nth-of-type(1)"
                },
                "leechers": {
                    "selector": ".center font:nth-of-type(2)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "category": {
                    "selector": ".smallalbum",
                    "remove": "div.thumb, div.center, a",
                    "case": {
                        ":contains(\"Type: Music\")": "Music",
                        ":contains(\"Type: Video\")": "Video",
                        ":contains(\"Type: Books\")": "Books"
                    }
                },
                "size": {
                    "selector": ".smallalbum",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Size:\\s+([\\w\\d\\.,]+ \\w\\w)"
                        }
                    ]
                }
            }
        }
    },
    "midnightscene": {
        "credentials": {
            "apikey": ""
        },
        "id": "midnightscene",
        "name": "MidnightScene",
        "description": "MidnightScene is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://midnightscene.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Games"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://midnightscene.cc/\" target=\"_blank\">MidnightScene</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Members must log into the site at minimum every 90 days or their account will be disabled for inactivity."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "mikan": {
        "id": "mikan",
        "name": "Mikan",
        "description": "Mikan is a CHINESE Public torrent tracker for ANIME",
        "language": "zh-CN",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://mikanani.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [],
        "search": {
            "paths": [
                {
                    "path": "Home/{{ if .Keywords }}Search?searchstr={{ .Keywords }}{{ else }}Classic{{ end }}"
                }
            ],
            "rows": {
                "selector": "table.table-striped tbody tr"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "a[href^=\"/Home/Episode/\"]"
                },
                "details": {
                    "selector": "a[href^=\"/Home/Episode/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/Download/\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[data-clipboard-text]",
                    "attribute": "data-clipboard-text"
                },
                "date_day": {
                    "selector": "td:nth-child(1):contains(\"今天\"), td:nth-child(1):contains(\"昨天\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "昨天",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "今天",
                                "Today"
                            ]
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year_raw": {
                    "selector": "td:nth-of-type(4)",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{4}/\\d{1,2}/\\d{1,2}[\\s\\u00A0]+\\d{1,2}:\\d{2})"
                        }
                    ]
                },
                "date_year": {
                    "text": "{{ if .Result.date_year_raw }}{{ .Result.date_year_raw }} +08:00{{ else }}{{ end }}",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy/MM/dd HH:mm zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:has(a[data-clipboard-text]) ~ td"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "milkie": {
        "credentials": {
            "apikey": ""
        },
        "id": "milkie",
        "name": "Milkie",
        "description": "Milkie.cc (ME) is Private Torrent Tracker for 0DAY / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://milkie.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 5,
                    "cat": "Books",
                    "desc": "Ebook"
                },
                {
                    "id": 6,
                    "cat": "PC",
                    "desc": "Apps"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "Adult"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new key <a href=\"https://milkie.cc/settings/security\" target=\"_blank\">here</a>."
            }
        ],
        "search": {
            "headers": {
                "x-milkie-auth": [
                    "{{ .Config.apikey }}"
                ]
            },
            "paths": [
                {
                    "path": "api/v1/torrents",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "ps": 100,
                "query": "{{ .Keywords }}",
                "categories": "{{ join .Categories \",\" }}"
            },
            "rows": {
                "selector": "torrents",
                "count": {
                    "selector": "hits"
                }
            },
            "fields": {
                "_id": {
                    "selector": "id"
                },
                "category": {
                    "selector": "category"
                },
                "title": {
                    "selector": "releaseName"
                },
                "details": {
                    "text": "/browse/{{ .Result._id }}"
                },
                "_apikey": {
                    "text": "{{ .Config.apikey }}",
                    "filters": [
                        {
                            "name": "urlencode"
                        }
                    ]
                },
                "download": {
                    "text": "/api/v1/torrents/{{ .Result._id }}/torrent?key={{ .Result._apikey }}"
                },
                "date": {
                    "selector": "createdAt"
                },
                "size": {
                    "selector": "size"
                },
                "grabs": {
                    "selector": "downloaded"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "milnueve-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "milnueve-api",
        "name": "Milnueve (API)",
        "description": "Milnueve is a SPANISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "es-ES",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tracker.milnueve.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Películas"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Series"
                },
                {
                    "id": 3,
                    "cat": "Movies/Other",
                    "desc": "Películas Anime"
                },
                {
                    "id": 4,
                    "cat": "TV/Anime",
                    "desc": "Series Anime"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Musica"
                },
                {
                    "id": 7,
                    "cat": "Movies/SD",
                    "desc": "VHS / Retro"
                },
                {
                    "id": 8,
                    "cat": "TV/Anime",
                    "desc": "Anime en Catalan"
                },
                {
                    "id": 9,
                    "cat": "TV/Documentary",
                    "desc": "Zona Documentales"
                },
                {
                    "id": 10,
                    "cat": "Movies",
                    "desc": "Zona Latino"
                },
                {
                    "id": 6,
                    "cat": "Books/Comics",
                    "desc": "Manga"
                },
                {
                    "id": 11,
                    "cat": "Books/EBook",
                    "desc": "Libros"
                },
                {
                    "id": 12,
                    "cat": "Books/Comics",
                    "desc": "Cómics"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "book-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://tracker.milnueve.cc/\" target=\"_blank\">Milnueve</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }} Spanish"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Ciencia ficción)",
                                "Ciencia_ficción"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Película de TV)",
                                "Película_de_TV"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 1209600
                }
            }
        }
    },
    "miobt": {
        "credentials": [],
        "id": "miobt",
        "replaces": [
            "kisssub"
        ],
        "name": "MioBT",
        "description": "MioBT is a CHINESE Semi-Private torrent index",
        "language": "zh-CN",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://miobt.com/",
            "https://kisssub.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "动画",
                    "cat": "TV/Anime",
                    "desc": "动画 (Animation Series and Movies)"
                },
                {
                    "id": "漫画",
                    "cat": "Books/Comics",
                    "desc": "漫画 (Comics and Manga)"
                },
                {
                    "id": "音乐",
                    "cat": "Audio",
                    "desc": "音乐 (Music OST and Singles)"
                },
                {
                    "id": "周边",
                    "cat": "TV/Other",
                    "desc": "周边 (Live Action)"
                },
                {
                    "id": "其它",
                    "cat": "TV/Anime",
                    "desc": "其它 (Other)"
                },
                {
                    "id": "Raw",
                    "cat": "TV/Anime",
                    "desc": "Raw"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "login": {
            "path": "addon.php?r=document/view&page=visitor-test",
            "method": "form",
            "form": "form#visitor-test-form",
            "inputs": {
                "visitor_test": "human"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search.php?keyword={{ .Keywords }}{{ else }}{{ end }}"
                }
            ],
            "rows": {
                "selector": "table[id=\"listTable\"] > tbody > tr:has( a[href^=\"show-\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"sort-\"]"
                },
                "title": {
                    "selector": "a[href^=\"show-\"]"
                },
                "details": {
                    "selector": "a[href^=\"show-\"]",
                    "attribute": "href"
                },
                "infohash": {
                    "selector": "a[href^=\"show-\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "show-([0-9A-Fa-f]{40})"
                        }
                    ]
                },
                "date_day": {
                    "optional": true,
                    "selector": "td:nth-child(1):contains(\"今天\"), td:nth-child(1):contains(\"昨天\")",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "今天",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "昨天",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "optional": true,
                    "selector": "td:nth-child(1):not(:contains(\"昨天\")):not(:contains(\"今天\"))",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy/MM/dd zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(4)"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "mixtapetorrent": {
        "id": "mixtapetorrent",
        "name": "MixtapeTorrent",
        "description": "MixtapeTorrent is a Public Music site for MixTapes",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "http://www.mixtapetorrent.com/"
        ],
        "caps": {
            "categories": {
                "1": "Audio"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "table#attachments > tbody > tr.odd > td > a",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "search/node/{{ if .Keywords }}{{ .Keywords }}{{ else }}2020{{ end }} type:story"
                }
            ],
            "rows": {
                "selector": "dl.search-results > dt, dl.search-results > dd",
                "after": 1,
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "a"
                },
                "details": {
                    "selector": "a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a",
                    "attribute": "href"
                },
                "description": {
                    "selector": "p"
                },
                "date": {
                    "selector": "p.search-info",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\w{3} \\d{1,2} \\d{4} - \\d{1,2}:\\d{2}[a|p]m)"
                        },
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM d yyyy - h:mmtt zzz"
                        }
                    ]
                },
                "size": {
                    "text": "128 MB"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "mma-torrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "mma-torrents",
        "name": "MMA-torrents",
        "description": "MMA-Torrents is a Private Torrent Tracker for MMA (Mixed Martial Arts)",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://mma-torrents.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 92,
                    "cat": "Audio/Other",
                    "desc": "Audio - Podcast"
                },
                {
                    "id": 128,
                    "cat": "TV/Sport",
                    "desc": "Boxing - Bare Knuckle"
                },
                {
                    "id": 105,
                    "cat": "TV/Sport",
                    "desc": "Boxing - HD"
                },
                {
                    "id": 71,
                    "cat": "TV/Sport",
                    "desc": "Boxing - SD"
                },
                {
                    "id": 86,
                    "cat": "TV/Documentary",
                    "desc": "Documentary - All"
                },
                {
                    "id": 109,
                    "cat": "TV/Sport",
                    "desc": "Events - Bellator/HD"
                },
                {
                    "id": 89,
                    "cat": "TV/Sport",
                    "desc": "Events - Bellator/SD"
                },
                {
                    "id": 131,
                    "cat": "TV/Sport",
                    "desc": "Events - Cage Warriors"
                },
                {
                    "id": 132,
                    "cat": "TV/Sport",
                    "desc": "Events - Invicta FC"
                },
                {
                    "id": 130,
                    "cat": "TV/Sport",
                    "desc": "Events - KOTC"
                },
                {
                    "id": 90,
                    "cat": "TV/Sport",
                    "desc": "Events - M-1"
                },
                {
                    "id": 120,
                    "cat": "TV/Sport",
                    "desc": "Events - MMA/Brazil"
                },
                {
                    "id": 70,
                    "cat": "TV/Sport",
                    "desc": "Events - MMA/Other/HD"
                },
                {
                    "id": 47,
                    "cat": "TV/Sport",
                    "desc": "Events - MMA/Other/SD"
                },
                {
                    "id": 129,
                    "cat": "TV/Sport",
                    "desc": "Events - ONE"
                },
                {
                    "id": 126,
                    "cat": "TV/Sport",
                    "desc": "Events - Other/Other"
                },
                {
                    "id": 96,
                    "cat": "TV/Sport",
                    "desc": "Events - UFC/HD"
                },
                {
                    "id": 103,
                    "cat": "TV/Sport",
                    "desc": "Events - UFC/SD"
                },
                {
                    "id": 93,
                    "cat": "Audio/Other",
                    "desc": "Instructional - Audio"
                },
                {
                    "id": 112,
                    "cat": "TV/Sport",
                    "desc": "Instructional - DVD/ISO/WEB"
                },
                {
                    "id": 113,
                    "cat": "Movies/DVD",
                    "desc": "Instructional - DVDRip/Other"
                },
                {
                    "id": 73,
                    "cat": "Books/EBook",
                    "desc": "Instructional - E-book"
                },
                {
                    "id": 83,
                    "cat": "TV/Other",
                    "desc": "Instructional - Fitness"
                },
                {
                    "id": 124,
                    "cat": "TV/Sport",
                    "desc": "JJ/BJJ - Events"
                },
                {
                    "id": 85,
                    "cat": "TV/Sport",
                    "desc": "JJ/BJJ - Misc/Other"
                },
                {
                    "id": 99,
                    "cat": "TV/Sport",
                    "desc": "Kickboxing - HD"
                },
                {
                    "id": 84,
                    "cat": "TV/Sport",
                    "desc": "Kickboxing - SD"
                },
                {
                    "id": 111,
                    "cat": "Books/Mags",
                    "desc": "Magazines - All"
                },
                {
                    "id": 58,
                    "cat": "Other/Misc",
                    "desc": "Misc - All"
                },
                {
                    "id": 63,
                    "cat": "TV/Sport",
                    "desc": "Misc - MMA Special"
                },
                {
                    "id": 62,
                    "cat": "Movies/Other",
                    "desc": "Movies - MMA Related"
                },
                {
                    "id": 77,
                    "cat": "TV/Sport",
                    "desc": "Muay Thai - All"
                },
                {
                    "id": 110,
                    "cat": "TV/Sport",
                    "desc": "Packs - Career"
                },
                {
                    "id": 115,
                    "cat": "TV/Sport",
                    "desc": "Packs - Instructionals"
                },
                {
                    "id": 91,
                    "cat": "TV/Sport",
                    "desc": "Packs - Other/HD"
                },
                {
                    "id": 64,
                    "cat": "TV/Sport",
                    "desc": "Packs - Other/SD"
                },
                {
                    "id": 95,
                    "cat": "TV/Sport",
                    "desc": "Packs - Pride"
                },
                {
                    "id": 59,
                    "cat": "TV/Sport",
                    "desc": "Packs - TUF"
                },
                {
                    "id": 114,
                    "cat": "TV/Sport",
                    "desc": "Packs - UFC"
                },
                {
                    "id": 122,
                    "cat": "TV/Sport",
                    "desc": "Packs - Userpacks"
                },
                {
                    "id": 72,
                    "cat": "TV/Sport",
                    "desc": "Retro - K-1"
                },
                {
                    "id": 61,
                    "cat": "TV/Sport",
                    "desc": "Retro - Other/All"
                },
                {
                    "id": 66,
                    "cat": "TV/Sport",
                    "desc": "Retro - PRIDE"
                },
                {
                    "id": 67,
                    "cat": "TV/Sport",
                    "desc": "Retro - UFC"
                },
                {
                    "id": 69,
                    "cat": "TV/Sport",
                    "desc": "Retro - WEC"
                },
                {
                    "id": 97,
                    "cat": "TV/Sport",
                    "desc": "TUF - Episode/HD"
                },
                {
                    "id": 104,
                    "cat": "TV/Sport",
                    "desc": "TUF - Episode/SD"
                },
                {
                    "id": 101,
                    "cat": "TV/Sport",
                    "desc": "TV Show - Episode/HD"
                },
                {
                    "id": 94,
                    "cat": "TV/Sport",
                    "desc": "TV Show - Episode/SD"
                },
                {
                    "id": 127,
                    "cat": "TV/Sport",
                    "desc": "TV Show - WebRip"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-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": "created",
                "options": {
                    "created": "created",
                    "name": "title",
                    "size": "size",
                    "seeders": "seeders"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "account-login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "returnto": "/"
            },
            "error": [
                {
                    "selector": "table.main:contains(\"Login failed!\")",
                    "message": {
                        "selector": "table tr td.text"
                    }
                }
            ],
            "test": {
                "path": "torrents.php",
                "selector": "a[href=\"account-logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "incldead": 1,
                "lang": 0,
                "freeleech": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search": "{{ .Keywords }}",
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[class=\"ttable_headinner\"] tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrents.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(2)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2})"
                        },
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-child(2)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Completed.*(\\d+)"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"img/freeleech_star.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "mnv": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "mnv",
        "name": "MNV",
        "description": "MNV (Max-New-Vision) is a Private GERMAN Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://mnvv2.info/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 2,
                    "cat": "PC",
                    "desc": "Appz"
                },
                {
                    "id": 13,
                    "cat": "TV/Documentary",
                    "desc": "Doku"
                },
                {
                    "id": 3,
                    "cat": "Books/EBook",
                    "desc": "E-Books/Bücher"
                },
                {
                    "id": 24,
                    "cat": "PC/Games",
                    "desc": "Games/PC"
                },
                {
                    "id": 32,
                    "cat": "TV/Anime",
                    "desc": "Hentai"
                },
                {
                    "id": 4,
                    "cat": "Audio/Audiobook",
                    "desc": "Hörspiel/Hörbuch"
                },
                {
                    "id": 6,
                    "cat": "Movies/HD",
                    "desc": "Movies/H.26x"
                },
                {
                    "id": 18,
                    "cat": "Audio",
                    "desc": "Musik"
                },
                {
                    "id": 19,
                    "cat": "Audio/Video",
                    "desc": "Musik Videos"
                },
                {
                    "id": 30,
                    "cat": "Other",
                    "desc": "Sonstiges"
                },
                {
                    "id": 5,
                    "cat": "Books/Mags",
                    "desc": "Tageszeitung"
                },
                {
                    "id": 14,
                    "cat": "TV",
                    "desc": "TV-Serien"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "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": "onlyupload",
                "type": "checkbox",
                "label": "Search OnlyUpload only",
                "default": false
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About Freeleech and OnlyUpload at MNV",
                "default": "<ul><li>FreeLeech are torrents where neither the download or upload is counted.</li><li>OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up.</li><li>Do not set both FreeLeech and OnlyUpload check boxes, there are no torrents with both these flags so you will get a no-results error.</li></ul>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "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>Torrents per page:</b> setting to <b>100</b> on your account profile. The default is <i>10</i>."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts are automatically deactivated after 42 days."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": ".tablea:contains(\"Fehler\")"
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "blah": 0,
                "incldead": 1,
                "team": 0,
                "language": "all",
                "freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "free": "{{ if .Config.onlyupload }}1{{ else }}{{ end }}",
                "orderby": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.tableinborder > tbody > tr:has(a[href^=\"download.php\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"details.php\"]",
                    "attribute": "onMouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=([^\\s]+)"
                        }
                    ]
                },
                "date": {
                    "selector": "td.tablea > table > tbody > tr:nth-child(2) > td:nth-child(2) > b",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "grabs": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(3) b"
                },
                "size": {
                    "selector": "a[href^=\"details.php\"]",
                    "attribute": "onMouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Größe: <b>(.*?)</b>"
                        }
                    ]
                },
                "seeders": {
                    "selector": "a[href^=\"details.php\"]",
                    "attribute": "onMouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": ">(\\d+) Seeder"
                        }
                    ]
                },
                "leechers": {
                    "selector": "a[href^=\"details.php\"]",
                    "attribute": "onMouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": ">(\\d+) Leecher"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/oupic.gif\"]": 0,
                        "img[src=\"pic/freeleech.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freeleech.gif\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.7
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "mojblink": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "mojblink",
        "name": "MOJBLiNK",
        "description": "MOJBLiNK is a SLOVENIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "sl-SI",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.mojblink.si/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 50,
                    "cat": "Movies",
                    "desc": "BLiNK"
                },
                {
                    "id": 54,
                    "cat": "Audio/Audiobook",
                    "desc": "eBook AUDIO"
                },
                {
                    "id": 20,
                    "cat": "Books/EBook",
                    "desc": "eBook eBOOK"
                },
                {
                    "id": 52,
                    "cat": "Books/Other",
                    "desc": "eBook Education"
                },
                {
                    "id": 53,
                    "cat": "Books/Mags",
                    "desc": "eBook Magazine"
                },
                {
                    "id": 62,
                    "cat": "PC/Mobile-Android",
                    "desc": "GAMES Android"
                },
                {
                    "id": 12,
                    "cat": "Console/NDS",
                    "desc": "GAMES Nintendo DS"
                },
                {
                    "id": 8,
                    "cat": "PC/Games",
                    "desc": "GAMES PC"
                },
                {
                    "id": 7,
                    "cat": "PC/Games",
                    "desc": "GAMES PCRip"
                },
                {
                    "id": 13,
                    "cat": "Console/PS3",
                    "desc": "GAMES Playstation"
                },
                {
                    "id": 124,
                    "cat": "Console/PS4",
                    "desc": "GAMES PS4"
                },
                {
                    "id": 14,
                    "cat": "Console/PS4",
                    "desc": "GAMES PS5"
                },
                {
                    "id": 16,
                    "cat": "Console/PSP",
                    "desc": "GAMES PSP"
                },
                {
                    "id": 65,
                    "cat": "Console/Wii",
                    "desc": "GAMES Wii"
                },
                {
                    "id": 15,
                    "cat": "Console/XBox",
                    "desc": "GAMES Xbox"
                },
                {
                    "id": 21,
                    "cat": "Other",
                    "desc": "IMAGES Pics"
                },
                {
                    "id": 68,
                    "cat": "Other",
                    "desc": "IMAGES Wallpaper"
                },
                {
                    "id": 70,
                    "cat": "Movies/SD",
                    "desc": "Impatient CAM"
                },
                {
                    "id": 71,
                    "cat": "Movies/SD",
                    "desc": "Impatient DVDSCR"
                },
                {
                    "id": 72,
                    "cat": "Movies/SD",
                    "desc": "Impatient TC"
                },
                {
                    "id": 73,
                    "cat": "Movies/SD",
                    "desc": "Impatient TS"
                },
                {
                    "id": 75,
                    "cat": "Movies/SD",
                    "desc": "Impatient WEBRip"
                },
                {
                    "id": 121,
                    "cat": "Movies/UHD",
                    "desc": "MOVIES 4K"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "MOVIES Animation"
                },
                {
                    "id": 37,
                    "cat": "TV/Anime",
                    "desc": "MOVIES Anime"
                },
                {
                    "id": 40,
                    "cat": "Movies/BluRay",
                    "desc": "MOVIES BD25"
                },
                {
                    "id": 39,
                    "cat": "Movies/BluRay",
                    "desc": "MOVIES BD50"
                },
                {
                    "id": 41,
                    "cat": "Movies/BluRay",
                    "desc": "MOVIES BDRip"
                },
                {
                    "id": 4,
                    "cat": "Movies/BluRay",
                    "desc": "MOVIES BluRay 1080p"
                },
                {
                    "id": 3,
                    "cat": "Movies/BluRay",
                    "desc": "MOVIES BluRay 720p"
                },
                {
                    "id": 43,
                    "cat": "Movies/BluRay",
                    "desc": "MOVIES BRRip x264"
                },
                {
                    "id": 44,
                    "cat": "Movies/BluRay",
                    "desc": "MOVIES BRRip XviD"
                },
                {
                    "id": 25,
                    "cat": "TV/Documentary",
                    "desc": "MOVIES Documentary"
                },
                {
                    "id": 46,
                    "cat": "Movies/DVD",
                    "desc": "MOVIES DVD"
                },
                {
                    "id": 47,
                    "cat": "Movies/DVD",
                    "desc": "MOVIES DVDRip x264"
                },
                {
                    "id": 115,
                    "cat": "Movies/DVD",
                    "desc": "MOVIES DVDRip x265"
                },
                {
                    "id": 1,
                    "cat": "Movies/DVD",
                    "desc": "MOVIES DVDRip XviD"
                },
                {
                    "id": 48,
                    "cat": "Movies/DVD",
                    "desc": "MOVIES HD2DVD"
                },
                {
                    "id": 123,
                    "cat": "Movies/HD",
                    "desc": "MOVIES HDRip"
                },
                {
                    "id": 130,
                    "cat": "Movies/Other",
                    "desc": "MOVIES PACK"
                },
                {
                    "id": 74,
                    "cat": "Movies/WEB-DL",
                    "desc": "MOVIES Web-DL"
                },
                {
                    "id": 120,
                    "cat": "Movies/HD",
                    "desc": "MOVIES x265"
                },
                {
                    "id": 55,
                    "cat": "Audio/Video",
                    "desc": "MUSIC BD"
                },
                {
                    "id": 23,
                    "cat": "Audio/Video",
                    "desc": "MUSIC DVD"
                },
                {
                    "id": 56,
                    "cat": "Audio/Lossless",
                    "desc": "MUSIC FLAC"
                },
                {
                    "id": 11,
                    "cat": "Audio/MP3",
                    "desc": "MUSIC MP3"
                },
                {
                    "id": 57,
                    "cat": "Audio/Video",
                    "desc": "MUSIC MP4"
                },
                {
                    "id": 58,
                    "cat": "Audio/Video",
                    "desc": "MUSIC Video"
                },
                {
                    "id": 26,
                    "cat": "PC/Mobile-Android",
                    "desc": "PROGRAM Android"
                },
                {
                    "id": 27,
                    "cat": "PC/Mobile-iOS",
                    "desc": "PROGRAM iOS"
                },
                {
                    "id": 78,
                    "cat": "PC",
                    "desc": "PROGRAM Linux"
                },
                {
                    "id": 79,
                    "cat": "PC/Mac",
                    "desc": "PROGRAM Mac"
                },
                {
                    "id": 9,
                    "cat": "PC/ISO",
                    "desc": "PROGRAM PC ISO"
                },
                {
                    "id": 80,
                    "cat": "PC/0day",
                    "desc": "PROGRAM PC Win"
                },
                {
                    "id": 5,
                    "cat": "TV/HD",
                    "desc": "TV HDTV"
                },
                {
                    "id": 82,
                    "cat": "TV/HD",
                    "desc": "TV HDTVRip"
                },
                {
                    "id": 126,
                    "cat": "TV/Other",
                    "desc": "TV PACK"
                },
                {
                    "id": 2,
                    "cat": "TV/SD",
                    "desc": "TV TVRip"
                },
                {
                    "id": 125,
                    "cat": "TV/WEB-DL",
                    "desc": "TV Web-DL"
                },
                {
                    "id": 85,
                    "cat": "Movies/HD",
                    "desc": "UpLINK HEVC"
                },
                {
                    "id": 86,
                    "cat": "Movies/HD",
                    "desc": "UpLINK MPEG4"
                },
                {
                    "id": 122,
                    "cat": "XXX/Other",
                    "desc": "XXX Games"
                },
                {
                    "id": 88,
                    "cat": "XXX/Other",
                    "desc": "XXX Magazine"
                },
                {
                    "id": 10,
                    "cat": "XXX/x264",
                    "desc": "XXX Movies"
                },
                {
                    "id": 89,
                    "cat": "XXX/Pack",
                    "desc": "XXX Packs"
                },
                {
                    "id": 90,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX Pics"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>50</b> on your account Personal Settings.</br>The Default is <i>30</i>"
            },
            {
                "name": "info_xxx",
                "type": "info",
                "label": "XXX Results",
                "default": "To include XXX in results, tick the <b>View XXX Torrents</b> checkbox on your account Personal Settings."
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "form": "form",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.content-wrapper:has(i.ico-not_warn)"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href*=\"/odjava?hash_insert=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "brskanje"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "searchin": "{{ if .Query.IMDBID }}descr{{ else }}title{{ end }}",
                "incldead": 1,
                "only_free": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "st": 1,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "redir": false
            },
            "headers": {
                "User-Agent": [
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203"
                ]
            },
            "rows": {
                "selector": "div.bgPreview"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/brskanje/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/podrobnosti/\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"/podrobnosti/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/download/\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div.bgPreview",
                    "attribute": "style",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\((.+?)\\)"
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "div.release-info__meta span"
                },
                "date_day": {
                    "selector": "div.release-info__meta:contains(\"Naložen:\"):contains(\"Včeraj\"), div.release-info__meta:contains(\"Naložen:\"):contains(\"Danes\"), div.release-info__meta:contains(\"Uploaded:\"):contains(\"Včeraj\"), div.release-info__meta:contains(\"Uploaded:\"):contains(\"Danes\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Uploaded: ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Naložen: ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Včeraj,",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Danes,",
                                "Today"
                            ]
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.release-info__meta:contains(\"Naložen:\"):contains(\".\"), div.release-info__meta:contains(\"Uploaded:\"):contains(\".\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Uploaded: ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Naložen: ",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "a[href^=\"/download/\"]"
                },
                "seeders": {
                    "selector": "span[title=\"Sejalci\"], span[title=\"Seeders\"]"
                },
                "leechers": {
                    "selector": "span[title=\"Odjemalci\"], span[title=\"Leechers\"]"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.torrent-FL": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 345600
                }
            }
        }
    },
    "momentpt": {
        "credentials": {
            "cookie": ""
        },
        "id": "momentpt",
        "name": "MomentPT",
        "description": "MomentPT is a CHINESE Private Torrent Tracker for Photography",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.momentpt.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Other",
                    "desc": "写真(Portraiture)"
                },
                {
                    "id": 402,
                    "cat": "Other",
                    "desc": "人像(Portrait)"
                },
                {
                    "id": 403,
                    "cat": "Other",
                    "desc": "风光(Landscape)"
                },
                {
                    "id": 404,
                    "cat": "Other",
                    "desc": "纪实(Documentary)"
                },
                {
                    "id": 416,
                    "cat": "Other",
                    "desc": "杂志(Magazine)"
                },
                {
                    "id": 415,
                    "cat": "Other",
                    "desc": "静物(Still Life)"
                },
                {
                    "id": 414,
                    "cat": "Other",
                    "desc": "儿童(Children)"
                },
                {
                    "id": 413,
                    "cat": "Other",
                    "desc": "超现实(Surreal)"
                },
                {
                    "id": 412,
                    "cat": "Other",
                    "desc": "美食(Cuisine)"
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": "动物(Animals)"
                },
                {
                    "id": 405,
                    "cat": "Other",
                    "desc": "人文(Humanity)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href*=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "monikadesign-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "monikadesign-api",
        "name": "MonikaDesign (API)",
        "description": "MonikaDesign is a CHINESE Private Torrent Tracker for MOVIES / TV / ANIME",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://monikadesign.uk/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 8,
                    "cat": "TV/Anime",
                    "desc": "Anime TV"
                },
                {
                    "id": 6,
                    "cat": "Movies/Other",
                    "desc": "Anime Movie"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 9,
                    "cat": "Audio",
                    "desc": "Music of TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music of Movie"
                },
                {
                    "id": 7,
                    "cat": "Movies/Other",
                    "desc": "Anime Live"
                },
                {
                    "id": 5,
                    "cat": "Movies",
                    "desc": "Action Live"
                },
                {
                    "id": 4,
                    "cat": "PC",
                    "desc": "Game"
                },
                {
                    "id": 11,
                    "cat": "TV/Anime",
                    "desc": "Airing Anime TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://monikadesign.uk/\" target=\"_blank\">MonikaDesign</a> account <i>My Security</i> page and clicking on the <b>API Token</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "The account will be automatically deleted if you are a registered user who is more than 14 days old and has not uploaded or downloaded data."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title": {
                    "selector": "name"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^None$",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.4
                }
            }
        }
    },
    "mousebits": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "mousebits",
        "name": "MouseBits",
        "description": "MouseBits is a Private Torrent Tracker for all things Disney",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://mousebits.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 34,
                    "cat": "TV",
                    "desc": "Video (DVD ISO)"
                },
                {
                    "id": 14,
                    "cat": "TV",
                    "desc": "Multi-angle tribute"
                },
                {
                    "id": 36,
                    "cat": "TV",
                    "desc": "Martin Vid"
                },
                {
                    "id": 15,
                    "cat": "TV",
                    "desc": "One-take ride-through"
                },
                {
                    "id": 26,
                    "cat": "TV",
                    "desc": "TV Specials"
                },
                {
                    "id": 28,
                    "cat": "TV",
                    "desc": "Promotional Content"
                },
                {
                    "id": 29,
                    "cat": "TV",
                    "desc": "Vacation Planner"
                },
                {
                    "id": 30,
                    "cat": "Audio/MP3",
                    "desc": "Music Album (lossy)"
                },
                {
                    "id": 31,
                    "cat": "Audio/Lossless",
                    "desc": "Music Album (FLAC)"
                },
                {
                    "id": 32,
                    "cat": "Audio",
                    "desc": "Attraction Series"
                },
                {
                    "id": 35,
                    "cat": "Audio",
                    "desc": "Background Series"
                },
                {
                    "id": 17,
                    "cat": "Audio",
                    "desc": "Multi-track collection"
                },
                {
                    "id": 18,
                    "cat": "Audio",
                    "desc": "Studio mix ride-through"
                },
                {
                    "id": 19,
                    "cat": "Audio",
                    "desc": "Live recording"
                },
                {
                    "id": 33,
                    "cat": "Audio",
                    "desc": "Induction Recording"
                },
                {
                    "id": 21,
                    "cat": "Other",
                    "desc": "Park update"
                },
                {
                    "id": 22,
                    "cat": "Other",
                    "desc": "Desktops"
                },
                {
                    "id": 23,
                    "cat": "Other",
                    "desc": "Vacation photos"
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "Community media"
                },
                {
                    "id": 27,
                    "cat": "Other",
                    "desc": "Off-topic"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "?page=login",
            "method": "form",
            "form": "form",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "span:contains(\"Password Incorrect\")"
                },
                {
                    "selector": "span:contains(\"Username Incorrect\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "search": "{{ .Keywords }}",
                "page": "torrents",
                "category": 0,
                "active": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.lista:last-of-type > tbody > tr:has(a[href^=\"index.php?page=torrents&category=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"index.php?page=torrents&category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "text": "512 MB"
                },
                "date": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "musebootlegs": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "musebootlegs",
        "name": "MuseBootlegs",
        "description": "MuseBootlegs (MB) is a Semi-Private Torrent Tracker for MUSE MUSIC / BOOTLEGS",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://musebootlegs.com/"
        ],
        "legacylinks": [
            "https://www.musebootlegs.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 4,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless"
                },
                {
                    "id": 13,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 1999"
                },
                {
                    "id": 14,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2000"
                },
                {
                    "id": 15,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2001"
                },
                {
                    "id": 16,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2002"
                },
                {
                    "id": 17,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2003"
                },
                {
                    "id": 18,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2004"
                },
                {
                    "id": 19,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2005"
                },
                {
                    "id": 20,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2006"
                },
                {
                    "id": 21,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2007"
                },
                {
                    "id": 22,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2008"
                },
                {
                    "id": 23,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2009"
                },
                {
                    "id": 24,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2010"
                },
                {
                    "id": 25,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2011"
                },
                {
                    "id": 26,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2012"
                },
                {
                    "id": 27,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2013"
                },
                {
                    "id": 46,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2014"
                },
                {
                    "id": 47,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2015"
                },
                {
                    "id": 53,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2016"
                },
                {
                    "id": 55,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2017"
                },
                {
                    "id": 57,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2018"
                },
                {
                    "id": 58,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2019"
                },
                {
                    "id": 61,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2022"
                },
                {
                    "id": 63,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2023"
                },
                {
                    "id": 66,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2024"
                },
                {
                    "id": 65,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2025"
                },
                {
                    "id": 67,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless 2026"
                },
                {
                    "id": 28,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless Misc"
                },
                {
                    "id": 8,
                    "cat": "Audio/Video",
                    "desc": "DVD Amateur"
                },
                {
                    "id": 3,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot"
                },
                {
                    "id": 29,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 1999"
                },
                {
                    "id": 30,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2000"
                },
                {
                    "id": 31,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2001"
                },
                {
                    "id": 32,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2002"
                },
                {
                    "id": 33,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2003"
                },
                {
                    "id": 34,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2004"
                },
                {
                    "id": 35,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2005"
                },
                {
                    "id": 36,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2006"
                },
                {
                    "id": 37,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2007"
                },
                {
                    "id": 38,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2008"
                },
                {
                    "id": 39,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2009"
                },
                {
                    "id": 40,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2010"
                },
                {
                    "id": 41,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2011"
                },
                {
                    "id": 42,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2012"
                },
                {
                    "id": 43,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2013"
                },
                {
                    "id": 48,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2014"
                },
                {
                    "id": 49,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2015"
                },
                {
                    "id": 54,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2016"
                },
                {
                    "id": 56,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2017"
                },
                {
                    "id": 59,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2018"
                },
                {
                    "id": 60,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2019"
                },
                {
                    "id": 62,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2022"
                },
                {
                    "id": 68,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2023"
                },
                {
                    "id": 69,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2024"
                },
                {
                    "id": 70,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2025"
                },
                {
                    "id": 71,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot 2026"
                },
                {
                    "id": 44,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot Compilations"
                },
                {
                    "id": 45,
                    "cat": "Audio/Video",
                    "desc": "DVD Pro-Shot Music Videos"
                },
                {
                    "id": 7,
                    "cat": "Audio/Video",
                    "desc": "High-Definition"
                },
                {
                    "id": 51,
                    "cat": "Audio/Video",
                    "desc": "High-Definition Pro-Shot"
                },
                {
                    "id": 50,
                    "cat": "Audio/Video",
                    "desc": "High-Definition AMT"
                },
                {
                    "id": 52,
                    "cat": "Audio/Video",
                    "desc": "High-Definition Music Videos"
                },
                {
                    "id": 6,
                    "cat": "Audio/Video",
                    "desc": "Lossy Audio/Video"
                },
                {
                    "id": 9,
                    "cat": "Audio/Video",
                    "desc": "MBDVD"
                },
                {
                    "id": 5,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 12,
                    "cat": "Other",
                    "desc": "3D"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting the error <b>Found no results while trying to browse this tracker</b> then first access the site with your browser and check that you are not being forced to change your password because it has expired after 180 days."
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "?p=home&pid=1",
            "method": "form",
            "form": "form#loginbox_form",
            "submitpath": "ajax/login.php",
            "inputs": {
                "action": "login",
                "loginbox_membername": "{{ .Config.username }}",
                "loginbox_password": "{{ .Config.password }}",
                "loginbox_remember": 1
            },
            "selectorinputs": {
                "securitytoken": {
                    "selector": "script:contains(\"stKey: \")",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "stKey: \"(.+?)\","
                        }
                    ]
                }
            },
            "error": [
                {
                    "selector": "div.error"
                },
                {
                    "selector": ":contains(\"-ERROR-\")"
                }
            ],
            "test": {
                "path": "?p=home&pid=1",
                "selector": "div#member_info_bar"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "p": "torrents",
                "pid": 32,
                "$raw": "{{ range .Categories }}&cid[]={{.}}{{end}}",
                "keywords": "{{ .Keywords }}",
                "search_type": "name",
                "sortOptions[sortBy]": "{{ .Config.sort }}",
                "sortOptions[sortOrder]": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.torrent-box[id^=\"torrent_\"]"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?p=torrents&pid=10&cid=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cid"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details&tid=\"]"
                },
                "details": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details&tid=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=download&tid=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href*=\"data/torrents/torrent_images/\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "a[rel=\"torrent_size\"]"
                },
                "grabs": {
                    "selector": "a[rel=\"times_completed\"]"
                },
                "seeders": {
                    "selector": "a[rel=\"torrent_seeders\"]"
                },
                "leechers": {
                    "selector": "a[rel=\"torrent_leechers\"]"
                },
                "date_day": {
                    "selector": "div.torrentOwner:contains(\"day\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.torrentOwner:contains(\"-\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "optional": true,
                    "default": 1,
                    "selector": "img[src$=\"/torrent_free.png\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+(\\.\\d+)?)"
                        }
                    ]
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "musopia": {
        "credentials": {
            "cookie": ""
        },
        "id": "musopia",
        "name": "Musopia (音乐乌托邦)",
        "description": "Musopia (音乐乌托邦) is a CHINESE Private Torrent Tracker for MUSIC",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.musopia.vip/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 407,
                    "cat": "Audio/Lossless",
                    "desc": "音乐 / Audio"
                },
                {
                    "id": 408,
                    "cat": "Audio/Lossless",
                    "desc": "音乐 / HQ Audio"
                },
                {
                    "id": 409,
                    "cat": "Audio/Other",
                    "desc": "其他 / Misc"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "muxuege": {
        "credentials": {
            "cookie": ""
        },
        "id": "muxuege",
        "name": "Muxuege",
        "description": "Muxuege is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.muxuege.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影/Movies"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧/TVSeries"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺/TV Shows"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片/Documentary"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫/Anime"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV/Music Videos"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育/Sports"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐/Music"
                },
                {
                    "id": 418,
                    "cat": "Audio",
                    "desc": "广播剧/Radio Dramas"
                },
                {
                    "id": 417,
                    "cat": "Audio/Audiobook",
                    "desc": "有声书/Audiobooks"
                },
                {
                    "id": 416,
                    "cat": "TV",
                    "desc": "短剧/Playlet"
                },
                {
                    "id": 415,
                    "cat": "PC",
                    "desc": "软件/Software"
                },
                {
                    "id": 414,
                    "cat": "Other",
                    "desc": "图片/Pictures"
                },
                {
                    "id": 413,
                    "cat": "Other",
                    "desc": "教育/Education"
                },
                {
                    "id": 412,
                    "cat": "Books",
                    "desc": "电子书/E-books"
                },
                {
                    "id": 411,
                    "cat": "Console",
                    "desc": "游戏/Games"
                },
                {
                    "id": 410,
                    "cat": "PC/ISO",
                    "desc": "系统镜像/System Images"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他/Misc"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href*=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "mvgroupforum": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "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": 1,
                "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 }}"
                    ]
                }
            ],
            "rows": {
                "selector": "tr:has(a.magnetlink)"
            },
            "fields": {
                "category": {
                    "text": "Other"
                },
                "title": {
                    "selector": "td.doubleindent, td.singleindent a[href^=\"/index.php?showtopic=\"]",
                    "optional": true,
                    "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"
                        },
                        {
                            "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
                }
            }
        }
    },
    "mvgroupmain": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "mvgroupmain",
        "name": "MVGroup Main",
        "description": "MVGroup is a Semi-Private Torrent Tracker dedicated to UK TV and DOCUMENTARIES. This definition is for the Main 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": 1,
                "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^=\"/forumtracker.php?filter=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "maintracker.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 }}"
                    ]
                }
            ],
            "rows": {
                "selector": "tr:has(a.magnetlink)"
            },
            "fields": {
                "category": {
                    "text": "Other"
                },
                "title": {
                    "selector": "td.doubleindent, td.singleindent a[href^=\"/index.php?showtopic=\"]",
                    "optional": true,
                    "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"
                        },
                        {
                            "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
                }
            }
        }
    },
    "mypornclub": {
        "id": "mypornclub",
        "name": "MyPornClub",
        "description": "MyPornClub is a Public Torrent Tracker for 3X",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://myporn.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "XXX",
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s+",
                                " "
                            ]
                        }
                    ]
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}s/{{ re_replace .Keywords \"\\s+\" \"-\" }}{{ else }}ts{{ end }}"
                }
            ],
            "rows": {
                "selector": "div.torrents_list > div.torrent_element",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": "XXX"
                },
                "title": {
                    "selector": "a[href^=\"/t/\"]",
                    "remove": "i"
                },
                "details": {
                    "selector": "a[href^=\"/t/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/t/\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "div.torrent_element_info span:nth-child(2)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Last year",
                                "1 year ago"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Last month",
                                "1 month ago"
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "div.torrent_element_info span:nth-child(4)"
                },
                "grabs": {
                    "selector": "div.torrent_element_info span:nth-child(8)"
                },
                "seeders": {
                    "selector": "div.torrent_element_info span:nth-child(10)"
                },
                "leechers": {
                    "selector": "div.torrent_element_info span:nth-child(12)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "myspleen": {
        "credentials": {
            "cookie": ""
        },
        "id": "myspleen",
        "name": "MySpleen",
        "description": "MySpleen is a Private Torrent Tracker for TV / COMEDY / ANIMATION / 80-90’S VHS NOSTALGIA",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.myspleen.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 31,
                    "cat": "TV",
                    "desc": "Adult Swim"
                },
                {
                    "id": 30,
                    "cat": "TV",
                    "desc": "Animation"
                },
                {
                    "id": 25,
                    "cat": "TV",
                    "desc": "Cartoon Network"
                },
                {
                    "id": 3,
                    "cat": "TV",
                    "desc": "Comedy"
                },
                {
                    "id": 26,
                    "cat": "TV",
                    "desc": "Comedy Central"
                },
                {
                    "id": 24,
                    "cat": "TV",
                    "desc": "MST3K"
                },
                {
                    "id": 28,
                    "cat": "TV",
                    "desc": "MTV"
                },
                {
                    "id": 29,
                    "cat": "TV",
                    "desc": "Nick"
                },
                {
                    "id": 20,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 32,
                    "cat": "TV",
                    "desc": "Star Wars"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "browse.php",
                "selector": "span.key:contains(\"Ratio\") + span.value"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "title": 0
            },
            "rows": {
                "selector": "table#main-torrents > tbody > tr"
            },
            "fields": {
                "category": {
                    "selector": "td[class^=\"cat-\"] > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "td.tor-name > a",
                    "attribute": "title"
                },
                "details": {
                    "selector": "td.tor-name > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td.tor-down > a",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(5)"
                },
                "date": {
                    "selector": "td:nth-child(7)"
                },
                "size": {
                    "selector": "td:nth-child(8)"
                },
                "grabs": {
                    "selector": "td:nth-child(9)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(10)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "^(\\d+)"
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(11)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "^(\\d+)"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.star": 0,
                        "span.fltime": 0,
                        ":root li[id=\"alert-fl\"][class=\"alert\"]:contains(\"Freeleech ends in \")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "nanyangpt": {
        "credentials": {
            "cookie": ""
        },
        "id": "nanyangpt",
        "name": "NanyangPT (南洋)",
        "description": "NanyangPT (南洋) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://nanyangpt.com/"
        ],
        "legacylinks": [
            "https://52pt.site/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/剧集"
                },
                {
                    "id": 403,
                    "cat": "TV/Anime",
                    "desc": "Anime/动漫"
                },
                {
                    "id": 404,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 405,
                    "cat": "TV/Sport",
                    "desc": "Sports/运体"
                },
                {
                    "id": 406,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录"
                },
                {
                    "id": 407,
                    "cat": "Audio",
                    "desc": "Music/音乐"
                },
                {
                    "id": 408,
                    "cat": "Other",
                    "desc": "Study/学习"
                },
                {
                    "id": 409,
                    "cat": "PC",
                    "desc": "Software/软件"
                },
                {
                    "id": 410,
                    "cat": "Console",
                    "desc": "Games/游戏"
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": "Misc/其它"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>University lecturer and above users will be retained forever</li><li>Excellent master's degree and above users will not be deleted after the account is parked (in the control panel)</li><li>Users with a parked account who do not log in for 400 consecutive days will be deleted</li><li>Users with non-parked account will be deleted if they do not log in for 150 consecutive days</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href$=\"usercp.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "ncore": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "ncore",
        "name": "nCore",
        "description": "nCore is a HUNGARIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://ncore.pro/"
        ],
        "legacylinks": [
            "https://ncore.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "ebook",
                    "cat": "Books",
                    "desc": "E-book/Eng"
                },
                {
                    "id": "ebook_hun",
                    "cat": "Books",
                    "desc": "E-book/Hun"
                },
                {
                    "id": "console",
                    "cat": "Console",
                    "desc": "Játék/Console"
                },
                {
                    "id": "game_iso",
                    "cat": "PC/Games",
                    "desc": "Játék/ISO"
                },
                {
                    "id": "game_rip",
                    "cat": "PC/Games",
                    "desc": "Játék/Rip"
                },
                {
                    "id": "xvid_hun",
                    "cat": "Movies/SD",
                    "desc": "Film/SD/Hun"
                },
                {
                    "id": "xvid",
                    "cat": "Movies/SD",
                    "desc": "Film/SD/Eng"
                },
                {
                    "id": "dvd_hun",
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD/Hun"
                },
                {
                    "id": "dvd",
                    "cat": "Movies/DVD",
                    "desc": "Film/DVD/Eng"
                },
                {
                    "id": "dvd9_hun",
                    "cat": "Movies/DVD",
                    "desc": "Film/Dvd9/Hun"
                },
                {
                    "id": "dvd9",
                    "cat": "Movies/DVD",
                    "desc": "Film/Dvd9/Eng"
                },
                {
                    "id": "hd_hun",
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Hun"
                },
                {
                    "id": "hd",
                    "cat": "Movies/HD",
                    "desc": "Film/HD/Eng"
                },
                {
                    "id": "xvidser",
                    "cat": "TV/SD",
                    "desc": "Sorozat/SD/Eng"
                },
                {
                    "id": "xvidser_hun",
                    "cat": "TV/SD",
                    "desc": "Sorozat/SD/Hun"
                },
                {
                    "id": "dvdser",
                    "cat": "TV/Other",
                    "desc": "Sorozat/DVDR/Eng"
                },
                {
                    "id": "dvdser_hun",
                    "cat": "TV/Other",
                    "desc": "Sorozat/DVDR/Hun"
                },
                {
                    "id": "hdser",
                    "cat": "TV/HD",
                    "desc": "Sorozat/HD/Eng"
                },
                {
                    "id": "hdser_hun",
                    "cat": "TV/HD",
                    "desc": "Sorozat/HD/Hun"
                },
                {
                    "id": "mp3_hun",
                    "cat": "Audio/MP3",
                    "desc": "Zene/MP3/Hun"
                },
                {
                    "id": "mp3",
                    "cat": "Audio/MP3",
                    "desc": "Zene/MP3/Eng"
                },
                {
                    "id": "lossless_hun",
                    "cat": "Audio/MP3",
                    "desc": "Zene/Lossless/Hun"
                },
                {
                    "id": "lossless",
                    "cat": "Audio/MP3",
                    "desc": "Zene/Lossless/Eng"
                },
                {
                    "id": "clip",
                    "cat": "Audio/Video",
                    "desc": "Zene/Klip"
                },
                {
                    "id": "iso",
                    "cat": "PC/ISO",
                    "desc": "Win/Program/ISO"
                },
                {
                    "id": "misc",
                    "cat": "PC/0day",
                    "desc": "Win/Program/Rip"
                },
                {
                    "id": "mobil",
                    "cat": "PC/Mobile-Other",
                    "desc": "Win/Program/Rip"
                },
                {
                    "id": "xxx_xvid",
                    "cat": "XXX/SD",
                    "desc": "XXX/Film/SD"
                },
                {
                    "id": "xxx_dvd",
                    "cat": "XXX/DVD",
                    "desc": "XXX/DVDR"
                },
                {
                    "id": "xxx_hd",
                    "cat": "XXX/UHD",
                    "desc": "XXX/HD"
                },
                {
                    "id": "xxx_imageset",
                    "cat": "XXX/ImageSet",
                    "desc": "XXX/Kép"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "genre"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "genre"
                ],
                "music-search": [
                    "q",
                    "genre"
                ],
                "book-search": [
                    "q",
                    "genre"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the nCore Web Site. Otherwise just leave it empty."
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrent oldalanként:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Anyone who does not access the site for 8 weeks from registration or has been more than 8 weeks since their last stay will be automatically suspended. Anyone who does not log in (stays inactive) for 12 weeks after registration or after their last visit will be removed automatically."
            }
        ],
        "login": {
            "method": "post",
            "path": "login.php",
            "inputs": {
                "nev": "{{ .Config.username }}",
                "pass": "{{ .Config.password }}",
                "2factor": "{{ .Config.2facode }}",
                "ne_leptessen_ki": "1",
                "set_lang": "en",
                "submitted": "1"
            },
            "error": [
                {
                    "selector": "div#hibauzenet table tbody tr"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"profile.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "mire": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "miben": "{{ if .Query.IMDBID }}imdb{{ else }}name{{ end }}",
                "tipus": "{{ if .Categories }}kivalasztottak_kozott{{ else }}all_own{{ end }}",
                "submit.x": 1,
                "submit.y": 1,
                "tags": "{{ .Query.Genre }}",
                "$raw": "{{ range .Categories }}&kivalasztott_tipus[]={{.}}{{end}}"
            },
            "rows": {
                "selector": ".box_torrent_all .box_torrent"
            },
            "fields": {
                "category": {
                    "selector": ".box_alap_img > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "tipus"
                        }
                    ]
                },
                "title": {
                    "selector": "div[class^=\"torrent_txt\"] > a",
                    "attribute": "title"
                },
                "details": {
                    "selector": "div[class^=\"torrent_txt\"] > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "div[class^=\"torrent_txt\"] > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "torrents.php?action=details",
                                "ajax.php?action=torrent_drop"
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://dereferer.link/?",
                                ""
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "div.box_meret2"
                },
                "seeders": {
                    "selector": "div.box_s2"
                },
                "leechers": {
                    "selector": "div.box_l2"
                },
                "date": {
                    "selector": "div.box_feltoltve2",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "description_imdb": {
                    "selector": "a.infolink",
                    "optional": true
                },
                "description_alt": {
                    "selector": "div.siterank > span",
                    "attribute": "title",
                    "optional": true
                },
                "description": {
                    "case": {
                        "div.torrent_ok": "Verified",
                        "div.torrent_unchecked": "Unverified"
                    },
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ if or .Result.description_alt .Result.description_imdb }}: {{ else }}{{ end }}{{ .Result.description_alt }}{{ if and .Result.description_alt .Result.description_imdb }} {{ else }}{{ end }}{{ .Result.description_imdb }}"
                        }
                    ]
                }
            }
        }
    },
    "nekobt": {
        "id": "nekobt",
        "name": "nekoBT",
        "description": "nekoBT is a Public Torrent Tracker for ANIME",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://nekobt.to/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 5070,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 2000,
                    "cat": "Movies/Other",
                    "desc": "Movies"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "tvdbid"
                ],
                "movie-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API Key (Optional)"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "API key is optional. You can find or generate a new API Key by accessing your <a href=\"https://nekobt.to/\" target=\"_blank\">nekoBT</a> account settings page if needed."
            },
            {
                "name": "incltags",
                "type": "checkbox",
                "label": "Include tags in titles.",
                "default": false
            },
            {
                "name": "info_tags",
                "type": "info",
                "label": "About including tags in titles.",
                "default": "To be used with Sonarr and Radarr custom formats, and any other downstream automations/filtering. See <a href=\"https://wiki.nekobt.to/info/metadata/#auto-titles\" target=\"_blank\">wiki</a> for more information."
            },
            {
                "name": "levels",
                "type": "select",
                "label": "Subtitle-Level",
                "default": "_",
                "options": {
                    "_": "All",
                    "0": "Level 0",
                    "1": "Level 1",
                    "2": "Level 2",
                    "3": "Level 3"
                }
            },
            {
                "name": "audio_lang",
                "type": "text",
                "label": "Audio Language (comma-separated codes, e.g. en,ja)"
            },
            {
                "name": "fansub_lang",
                "type": "text",
                "label": "Fansub Language (comma-separated codes, e.g. en,ja)"
            },
            {
                "name": "sub_lang",
                "type": "text",
                "label": "Subtitle Language (comma-separated codes, e.g. en,ja)"
            },
            {
                "name": "hardsub",
                "type": "select",
                "label": "Hardcoded Subtitles",
                "default": "_",
                "options": {
                    "_": "No Filter",
                    "true": "Include Only",
                    "false": "Exclude"
                }
            },
            {
                "name": "otl",
                "type": "select",
                "label": "OTL Subtitles",
                "default": "_",
                "options": {
                    "_": "No Filter",
                    "true": "Include Only",
                    "false": "Exclude"
                }
            },
            {
                "name": "mtl",
                "type": "select",
                "label": "MTL Subtitles",
                "default": "_",
                "options": {
                    "_": "No Filter",
                    "true": "Include Only",
                    "false": "Exclude"
                }
            },
            {
                "name": "group_id",
                "type": "text",
                "label": "Group ID",
                "default": ""
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "api/torznab/api",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "t": "search",
                "q": "{{ .Keywords }}",
                "apikey": "{{ .Config.apikey }}",
                "tvdbid": "{{ .Query.TVDBID }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "levels": "{{ re_replace .Config.levels \"_\" \"\" }}",
                "audio_lang": "{{ .Config.audio_lang }}",
                "fansub_lang": "{{ .Config.fansub_lang }}",
                "sub_lang": "{{ .Config.sub_lang }}",
                "hardsub": "{{ re_replace .Config.hardsub \"_\" \"\" }}",
                "otl": "{{ re_replace .Config.otl \"_\" \"\" }}",
                "mtl": "{{ re_replace .Config.mtl \"_\" \"\" }}",
                "group_id": "{{ .Config.group_id }}",
                "limit": 100
            },
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "title": {
                    "selector": "title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(.+?)( {Tags:.+)",
                                "{{ if .Config.incltags }}$1$2{{ else }}$1{{ end }}"
                            ]
                        }
                    ]
                },
                "description": {
                    "selector": "title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".+ {(Tags:.+?)}",
                                "{{ if .Config.incltags }}{{ else }}$1{{ end }}"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "comments"
                },
                "magnet": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "GMT",
                                "+00:00"
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "size": {
                    "selector": "size"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=leechers]",
                    "attribute": "value"
                },
                "grabs": {
                    "selector": "[name=grabs]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "nethd": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "nethd",
        "name": "NetHD",
        "description": "NetHD (VietTorrent) is a VIETNAMESE Semi-Private Torrent Tracker for HD MOVIES / TV",
        "language": "vi-VN",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://nethd.org/"
        ],
        "legacylinks": [
            "http://nethd.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 402,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 403,
                    "cat": "PC/Games",
                    "desc": "Game"
                },
                {
                    "id": 404,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 405,
                    "cat": "Other",
                    "desc": "Image"
                },
                {
                    "id": 406,
                    "cat": "Books",
                    "desc": "Book"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "If the account is not used regularly within 2 years, the system will automatically delete the account."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "form#loginform > span.warning"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat={{.}}&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "incldead": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "tr:has(td.name)",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "td.category > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "td.name > div > a[href*=\"-torrent-\"][title]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "td.name > div > a[href*=\"-torrent-\"][title]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "td.name > a.poster-preview img",
                    "attribute": "src"
                },
                "download": {
                    "selector": "td.name > div > a[href*=\"-torrent-\"][title]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "-torrent-(\\d+).html"
                        },
                        {
                            "name": "prepend",
                            "args": "download.php?id="
                        }
                    ]
                },
                "date_year": {
                    "selector": "td:nth-child(5):contains(\"-\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss"
                        }
                    ]
                },
                "date_ago": {
                    "selector": "td:nth-child(5):not(:contains(\"-\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "năm",
                                "years "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "tháng",
                                "months "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "ngày",
                                "days "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "phút",
                                "minutes "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "giờ",
                                "hours "
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_ago }}{{ or .Result.date_year .Result.date_ago }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.label:contains(\"Free\")": 0,
                        "span.label:contains(\"50%\")": 0.5,
                        "span.label:contains(\"30%\")": 0.7,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.label:contains(\"2X\")": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.5
                },
                "description": {
                    "selector": "td:nth-child(3) > div:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "new-team": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "new-team",
        "name": "New-Team",
        "description": "New-Team is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://new-team.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 241,
                    "cat": "Movies",
                    "desc": "|- Релизы от Scarabey"
                },
                {
                    "id": 1170,
                    "cat": "Movies",
                    "desc": "|-- Зарубежные и российские фильмы 2019 - 2023"
                },
                {
                    "id": 1137,
                    "cat": "Movies",
                    "desc": "|-- ТРЕБУЕТСЯ СИД."
                },
                {
                    "id": 1116,
                    "cat": "Movies",
                    "desc": "|-- Группа 'Сиды' - хранение раздач"
                },
                {
                    "id": 1040,
                    "cat": "Movies",
                    "desc": "|-- Зарубежные и российские фильмы до 1990 года"
                },
                {
                    "id": 1041,
                    "cat": "Movies",
                    "desc": "|-- Зарубежные и российские фильмы 1991-2000"
                },
                {
                    "id": 1042,
                    "cat": "Movies",
                    "desc": "|-- Зарубежные и российские фильмы 2001-2009"
                },
                {
                    "id": 1039,
                    "cat": "Movies",
                    "desc": "|-- Зарубежные и российские фильмы 2010-2013"
                },
                {
                    "id": 1088,
                    "cat": "Movies",
                    "desc": "|-- Зарубежные и российские фильмы 2014-2015"
                },
                {
                    "id": 1112,
                    "cat": "Movies",
                    "desc": "|-- Зарубежные и российские фильмы 2016-2018"
                },
                {
                    "id": 1110,
                    "cat": "Movies",
                    "desc": "|-- Зарубежные и российские фильмы в MKV (AVC / BDRip 720p /..."
                },
                {
                    "id": 1111,
                    "cat": "Movies/Other",
                    "desc": "|-- Аниме"
                },
                {
                    "id": 1051,
                    "cat": "Movies/Foreign",
                    "desc": "|-- Азиатские фильмы"
                },
                {
                    "id": 1035,
                    "cat": "TV",
                    "desc": "|-- Сериалы"
                },
                {
                    "id": 1096,
                    "cat": "TV",
                    "desc": "|--- Сериал '24 часа'"
                },
                {
                    "id": 1092,
                    "cat": "TV",
                    "desc": "|--- Сериал 'Во все тяжкие'"
                },
                {
                    "id": 1094,
                    "cat": "TV",
                    "desc": "|--- Сериал 'Игра престолов'"
                },
                {
                    "id": 1098,
                    "cat": "TV",
                    "desc": "|--- Сериал 'Остаться в живых'"
                },
                {
                    "id": 1097,
                    "cat": "TV",
                    "desc": "|--- Сериал 'Подпольная империя'"
                },
                {
                    "id": 1090,
                    "cat": "TV",
                    "desc": "|--- Сериал 'Спартак'"
                },
                {
                    "id": 1093,
                    "cat": "TV",
                    "desc": "|--- Сериал 'Ходячие мертвецы'"
                },
                {
                    "id": 1095,
                    "cat": "TV",
                    "desc": "|--- Сериал 'Шерлок'"
                },
                {
                    "id": 124,
                    "cat": "Movies",
                    "desc": "|- Кинофильмы"
                },
                {
                    "id": 191,
                    "cat": "Movies/Foreign",
                    "desc": "|-- Зарубежное кино до 1990 года"
                },
                {
                    "id": 192,
                    "cat": "Movies/Foreign",
                    "desc": "|-- Зарубежное кино 1990 - 1999"
                },
                {
                    "id": 160,
                    "cat": "Movies/Foreign",
                    "desc": "|-- Зарубежное кино 2000 - 2009"
                },
                {
                    "id": 125,
                    "cat": "Movies/Foreign",
                    "desc": "|-- Зарубежное кино 2010 - 2019"
                },
                {
                    "id": 1142,
                    "cat": "Movies/Foreign",
                    "desc": "|-- Зарубежное кино 2020 - 2024"
                },
                {
                    "id": 1182,
                    "cat": "Movies/Foreign",
                    "desc": "|-- Зарубежное кино 2025 (Новинки)"
                },
                {
                    "id": 126,
                    "cat": "Movies/Foreign",
                    "desc": "|-- Зарубежное кино (HD и DVD Video)"
                },
                {
                    "id": 162,
                    "cat": "Movies",
                    "desc": "|-- Российское кино"
                },
                {
                    "id": 164,
                    "cat": "Movies",
                    "desc": "|--- Российское кино (HD и DVD Video)"
                },
                {
                    "id": 1144,
                    "cat": "Movies",
                    "desc": "|--- Детское российское кино"
                },
                {
                    "id": 900,
                    "cat": "Movies",
                    "desc": "|-- Советское кино"
                },
                {
                    "id": 1181,
                    "cat": "Movies",
                    "desc": "|--- Советское кино (HD и DVD Video)"
                },
                {
                    "id": 1143,
                    "cat": "Movies",
                    "desc": "|--- Детское советское кино"
                },
                {
                    "id": 1104,
                    "cat": "Movies",
                    "desc": "|--- Фильмы довоенные и созданные во время войны"
                },
                {
                    "id": 1177,
                    "cat": "Movies",
                    "desc": "|--- Телеспектакль"
                },
                {
                    "id": 891,
                    "cat": "Movies/3D",
                    "desc": "|-- Кинофильмы 3D"
                },
                {
                    "id": 338,
                    "cat": "Movies/Foreign",
                    "desc": "|-- Классика зарубежного кино"
                },
                {
                    "id": 337,
                    "cat": "Movies/Foreign",
                    "desc": "|-- Азиатские фильмы"
                },
                {
                    "id": 917,
                    "cat": "Movies",
                    "desc": "|-- Арт-хаус и авторское кино"
                },
                {
                    "id": 207,
                    "cat": "Movies",
                    "desc": "|-- Сборники"
                },
                {
                    "id": 203,
                    "cat": "Movies/Other",
                    "desc": "|-- Трейлеры и дополнительные материалы"
                },
                {
                    "id": 826,
                    "cat": "Audio/Other",
                    "desc": "|-- Звуковые дорожки и переводы"
                },
                {
                    "id": 827,
                    "cat": "Audio/Other",
                    "desc": "|--- Авторский перевод"
                },
                {
                    "id": 828,
                    "cat": "Audio/Other",
                    "desc": "|--- Закадровый перевод"
                },
                {
                    "id": 134,
                    "cat": "TV/Documentary",
                    "desc": "|- Документальные фильмы и телепередачи"
                },
                {
                    "id": 999,
                    "cat": "TV/Documentary",
                    "desc": "|-- Флора и фауна"
                },
                {
                    "id": 254,
                    "cat": "TV/Documentary",
                    "desc": "|-- Великая Отечественная война"
                },
                {
                    "id": 478,
                    "cat": "TV/Documentary",
                    "desc": "|-- Научно-популярные фильмы"
                },
                {
                    "id": 1058,
                    "cat": "TV/Documentary",
                    "desc": "|-- История:  Города и Страны / Архитектура / Музеи мира"
                },
                {
                    "id": 136,
                    "cat": "TV/Documentary",
                    "desc": "|-- История: Биографии / Кумиры / Личности / События"
                },
                {
                    "id": 253,
                    "cat": "TV/Documentary",
                    "desc": "|-- Планета Земля / Космос / Вселенная"
                },
                {
                    "id": 256,
                    "cat": "TV/Documentary",
                    "desc": "|-- Вера и религия / Диагностика кармы"
                },
                {
                    "id": 252,
                    "cat": "TV/Documentary",
                    "desc": "|-- Тайны века / Спецслужбы / Теории Заговоров"
                },
                {
                    "id": 255,
                    "cat": "TV/Documentary",
                    "desc": "|-- Развлекательные телепередачи и шоу, приколы и юмор"
                },
                {
                    "id": 135,
                    "cat": "TV/Documentary",
                    "desc": "|-- Документальные фильмы и телепередачи (DVD, HD Video)"
                },
                {
                    "id": 889,
                    "cat": "TV/Documentary",
                    "desc": "|-- Документальные фильмы и телепередачи (3D)"
                },
                {
                    "id": 845,
                    "cat": "TV",
                    "desc": "|- Отечественные cериалы"
                },
                {
                    "id": 850,
                    "cat": "TV",
                    "desc": "|-- Обсуждение сериалов"
                },
                {
                    "id": 854,
                    "cat": "TV",
                    "desc": "|-- Исторические, военные"
                },
                {
                    "id": 847,
                    "cat": "TV",
                    "desc": "|- Отечественные сериалы (HD, DVD Video)"
                },
                {
                    "id": 1188,
                    "cat": "TV",
                    "desc": "|-- Детектив, боевик, криминал"
                },
                {
                    "id": 857,
                    "cat": "TV",
                    "desc": "|-- Исторические, военные"
                },
                {
                    "id": 846,
                    "cat": "TV/Foreign",
                    "desc": "|- Зарубежные сериалы"
                },
                {
                    "id": 856,
                    "cat": "TV/Foreign",
                    "desc": "|-- Исторические, военные"
                },
                {
                    "id": 848,
                    "cat": "TV/Foreign",
                    "desc": "|- Зарубежные сериалы (HD, DVD Video)"
                },
                {
                    "id": 858,
                    "cat": "TV/Foreign",
                    "desc": "|-- Исторические, военные"
                },
                {
                    "id": 869,
                    "cat": "Movies/Other",
                    "desc": "|- Мультфильмы"
                },
                {
                    "id": 890,
                    "cat": "Movies/Other",
                    "desc": "|-- Мультфильмы 3D"
                },
                {
                    "id": 871,
                    "cat": "Movies/Other",
                    "desc": "|-- Отечественные Мультфильмы"
                },
                {
                    "id": 875,
                    "cat": "Movies/Other",
                    "desc": "|-- Отечественные Мультфильмы (DVD, HD Video)"
                },
                {
                    "id": 1068,
                    "cat": "Movies/Other",
                    "desc": "|- Короткометражные отечественные мультфильмы"
                },
                {
                    "id": 1189,
                    "cat": "Movies/Other",
                    "desc": "|- Короткометражные отечественные мультфильмы (DVD, HD Video)"
                },
                {
                    "id": 877,
                    "cat": "Movies/Other",
                    "desc": "|-- Сборники отечественных мультфильмов"
                },
                {
                    "id": 870,
                    "cat": "Movies/Other",
                    "desc": "|-- Зарубежные Мультфильмы"
                },
                {
                    "id": 874,
                    "cat": "Movies/Other",
                    "desc": "|-- Зарубежные Мультфильмы (DVD, HD Video)"
                },
                {
                    "id": 1067,
                    "cat": "Movies/Other",
                    "desc": "|- Короткометражные иностранные мультфильмы"
                },
                {
                    "id": 1066,
                    "cat": "Movies/Other",
                    "desc": "|- Короткометражные мультфильмы (DVD, HD Video)"
                },
                {
                    "id": 876,
                    "cat": "Movies/Other",
                    "desc": "|-- Сборники зарубежных мультфильмов"
                },
                {
                    "id": 872,
                    "cat": "TV/Anime",
                    "desc": "|- Мультсериалы"
                },
                {
                    "id": 878,
                    "cat": "TV/Anime",
                    "desc": "|-- Отечественные Мультсериалы"
                },
                {
                    "id": 879,
                    "cat": "TV/Anime",
                    "desc": "|-- Зарубежные Мультсериалы"
                },
                {
                    "id": 873,
                    "cat": "TV/Anime",
                    "desc": "|- Аниме"
                },
                {
                    "id": 886,
                    "cat": "TV/Anime",
                    "desc": "|-- Рипы Аниме"
                },
                {
                    "id": 884,
                    "cat": "TV/Anime",
                    "desc": "|-- Аниме (DVD)"
                },
                {
                    "id": 885,
                    "cat": "TV/Anime",
                    "desc": "|-- Аниме (HD Video)"
                },
                {
                    "id": 883,
                    "cat": "TV/Anime",
                    "desc": "|-- Манга"
                },
                {
                    "id": 571,
                    "cat": "Audio/Lossless",
                    "desc": "|- Камерная и сольная инструментальная музыка (lossless)"
                },
                {
                    "id": 567,
                    "cat": "Audio/Lossless",
                    "desc": "|- Вокальная и хоровая музыка (lossless)"
                },
                {
                    "id": 577,
                    "cat": "Audio",
                    "desc": "|- Classical Crossover (lossy и lossless)"
                },
                {
                    "id": 565,
                    "cat": "Audio",
                    "desc": "|- Полные собрания сочинений и многодисковые издания..."
                },
                {
                    "id": 569,
                    "cat": "Audio/Lossless",
                    "desc": "|- Оркестровая музыка (lossless)"
                },
                {
                    "id": 574,
                    "cat": "Audio/MP3",
                    "desc": "|- Вокальная и хоровая музыка (lossy)"
                },
                {
                    "id": 576,
                    "cat": "Audio/MP3",
                    "desc": "|- Камерная и сольная инструментальная музыка (lossy)"
                },
                {
                    "id": 579,
                    "cat": "Audio/MP3",
                    "desc": "|- Восточноевропейский фолк (lossy)"
                },
                {
                    "id": 580,
                    "cat": "Audio/Lossless",
                    "desc": "|- Восточноевропейский фолк (lossless)"
                },
                {
                    "id": 581,
                    "cat": "Audio/MP3",
                    "desc": "|- Западноевропейский фолк (lossy)"
                },
                {
                    "id": 582,
                    "cat": "Audio/Lossless",
                    "desc": "|- Западноевропейский фолк (lossless)"
                },
                {
                    "id": 583,
                    "cat": "Audio",
                    "desc": "|- Klezmer и Еврейский фольклор (lossy и lossless)"
                },
                {
                    "id": 584,
                    "cat": "Audio/MP3",
                    "desc": "|- Этническая музыка Сибири, Средней и Восточной Азии (lossy)"
                },
                {
                    "id": 585,
                    "cat": "Audio/Lossless",
                    "desc": "|- Этническая музыка Сибири, Средней и Восточной Азии..."
                },
                {
                    "id": 587,
                    "cat": "Audio/Lossless",
                    "desc": "|- Этническая музыка Индии (lossless)"
                },
                {
                    "id": 589,
                    "cat": "Audio/Lossless",
                    "desc": "|- Этническая музыка Африки и Ближнего Востока (lossless)"
                },
                {
                    "id": 590,
                    "cat": "Audio",
                    "desc": "|- Этническая музыка Кавказа и Закавказья (lossy и lossless)"
                },
                {
                    "id": 591,
                    "cat": "Audio/MP3",
                    "desc": "|- Этническая музыка Северной и Южной Америки (lossy)"
                },
                {
                    "id": 592,
                    "cat": "Audio/Lossless",
                    "desc": "|- Этническая музыка Северной и Южной Америки (lossless)"
                },
                {
                    "id": 593,
                    "cat": "Audio",
                    "desc": "|- Этническая музыка Австралии, островов Тихого и Индийского..."
                },
                {
                    "id": 595,
                    "cat": "Audio/Lossless",
                    "desc": "|- Country, Bluegrass (lossless)"
                },
                {
                    "id": 608,
                    "cat": "Audio/Lossless",
                    "desc": "|- Nouveau Flamenco, Mediterranean Guitar, Acoustic guitar..."
                },
                {
                    "id": 607,
                    "cat": "Audio",
                    "desc": "|- Nouveau Flamenco, Mediterranean Guitar, Acoustic guitar..."
                },
                {
                    "id": 487,
                    "cat": "Audio",
                    "desc": "|- Fields Recordings, Nature Sounds (Звуки природы)"
                },
                {
                    "id": 481,
                    "cat": "Audio/Lossless",
                    "desc": "|- New Age, Celtic New Age (lossless)"
                },
                {
                    "id": 483,
                    "cat": "Audio/MP3",
                    "desc": "|- New Age, Celtic New Age (lossy)"
                },
                {
                    "id": 1048,
                    "cat": "Audio/Lossless",
                    "desc": "|- Enigmatic, Gregorianic, Ambientpop, Mysticpop (lossless)"
                },
                {
                    "id": 1049,
                    "cat": "Audio/MP3",
                    "desc": "|- Enigmatic, Gregorianic, Ambientpop, Mysticpop (lossy)"
                },
                {
                    "id": 484,
                    "cat": "Audio/Lossless",
                    "desc": "|- Meditative, Healing, Relax & Nature (lossless)"
                },
                {
                    "id": 485,
                    "cat": "Audio/MP3",
                    "desc": "|- Meditative, Healing, Relax & Nature (lossy)"
                },
                {
                    "id": 490,
                    "cat": "Audio/Lossless",
                    "desc": "|- World Music, Ethnicbeat, Worldbeat, World Fusion..."
                },
                {
                    "id": 491,
                    "cat": "Audio/MP3",
                    "desc": "|- World Music, Ethnicbeat, Worldbeat, World Fusion (lossy)"
                },
                {
                    "id": 492,
                    "cat": "Audio/Lossless",
                    "desc": "|- Mantras, Ragas, Kirtans (lossless)"
                },
                {
                    "id": 493,
                    "cat": "Audio/MP3",
                    "desc": "|- Mantras, Ragas, Kirtans (lossy)"
                },
                {
                    "id": 652,
                    "cat": "Audio/MP3",
                    "desc": "|- Отечественный Рэп, Хип-Хоп (lossy)"
                },
                {
                    "id": 653,
                    "cat": "Audio/MP3",
                    "desc": "|- Отечественный R'n'B (lossy)"
                },
                {
                    "id": 654,
                    "cat": "Audio/Lossless",
                    "desc": "|- Отечественный Рэп, Хип-Хоп, R'n'B (lossless)"
                },
                {
                    "id": 657,
                    "cat": "Audio/MP3",
                    "desc": "|- Зарубежный Рэп, Хип-Хоп (lossy)"
                },
                {
                    "id": 659,
                    "cat": "Audio/Lossless",
                    "desc": "|- Зарубежный Рэп, Хип-Хоп (lossless)"
                },
                {
                    "id": 660,
                    "cat": "Audio/Lossless",
                    "desc": "|- Зарубежный R'n'B (lossless)"
                },
                {
                    "id": 756,
                    "cat": "Audio/Lossless",
                    "desc": "|- Ska, Ska-Punk, Ska-Jazz (lossless)"
                },
                {
                    "id": 752,
                    "cat": "Audio/MP3",
                    "desc": "|- Reggae (lossy)"
                },
                {
                    "id": 755,
                    "cat": "Audio/Lossless",
                    "desc": "|- Reggae, Dancehall, Dub (lossless)"
                },
                {
                    "id": 549,
                    "cat": "Audio",
                    "desc": "|- Саундтреки и Караоке"
                },
                {
                    "id": 765,
                    "cat": "Audio",
                    "desc": "|-- Минусовки (lossy и lossless)"
                },
                {
                    "id": 767,
                    "cat": "Audio/Lossless",
                    "desc": "|-- Саундтреки к отечественным фильмам (lossless)"
                },
                {
                    "id": 768,
                    "cat": "Audio/MP3",
                    "desc": "|-- Саундтреки к отечественным фильмам (lossy)"
                },
                {
                    "id": 769,
                    "cat": "Audio/Lossless",
                    "desc": "|-- Саундтреки к зарубежным фильмам (lossless)"
                },
                {
                    "id": 770,
                    "cat": "Audio/MP3",
                    "desc": "|-- Саундтреки к зарубежным фильмам (lossy)"
                },
                {
                    "id": 772,
                    "cat": "Audio/Lossless",
                    "desc": "|-- Саундтреки к играм (lossless)"
                },
                {
                    "id": 776,
                    "cat": "Audio/Lossless",
                    "desc": "|- Отечественный шансон (lossless)"
                },
                {
                    "id": 777,
                    "cat": "Audio/MP3",
                    "desc": "|- Отечественный шансон (lossy)"
                },
                {
                    "id": 778,
                    "cat": "Audio/MP3",
                    "desc": "|- Сборники отечественного шансона (lossy)"
                },
                {
                    "id": 779,
                    "cat": "Audio/Lossless",
                    "desc": "|- Военная песня (lossless)"
                },
                {
                    "id": 780,
                    "cat": "Audio/MP3",
                    "desc": "|- Военная песня (lossy)"
                },
                {
                    "id": 781,
                    "cat": "Audio/Lossless",
                    "desc": "|- Авторская песня (lossless)"
                },
                {
                    "id": 782,
                    "cat": "Audio/MP3",
                    "desc": "|- Авторская песня (lossy)"
                },
                {
                    "id": 952,
                    "cat": "Audio/Lossless",
                    "desc": "|- Зарубежный шансон, Chanson (lossless)"
                },
                {
                    "id": 1175,
                    "cat": "Audio/Lossless",
                    "desc": "|- Итальянская поп-музыка (lossless)"
                },
                {
                    "id": 1174,
                    "cat": "Audio/Lossless",
                    "desc": "|- Латиноамериканская поп-музыка (lossless)"
                },
                {
                    "id": 1173,
                    "cat": "Audio/Lossless",
                    "desc": "|- Easy Listening, Instrumental Pop (lossless)"
                },
                {
                    "id": 836,
                    "cat": "Audio/MP3",
                    "desc": "|- Отечественная поп-музыка (lossy)"
                },
                {
                    "id": 837,
                    "cat": "Audio/Lossless",
                    "desc": "|- Отечественная поп-музыка (lossless)"
                },
                {
                    "id": 838,
                    "cat": "Audio/MP3",
                    "desc": "|- Зарубежная поп-музыка (lossy)"
                },
                {
                    "id": 839,
                    "cat": "Audio/Lossless",
                    "desc": "|- Зарубежная поп-музыка (lossless)"
                },
                {
                    "id": 843,
                    "cat": "Audio/Lossless",
                    "desc": "|- Восточноазиатская поп-музыка (lossless)"
                },
                {
                    "id": 1082,
                    "cat": "Audio/Lossless",
                    "desc": "|- Disco, Italo-Disco, Euro-Disco, Hi-NRG (lossless)"
                },
                {
                    "id": 1081,
                    "cat": "Audio/Lossless",
                    "desc": "|- Eurodance, Euro-House, Technopop (lossless)"
                },
                {
                    "id": 1084,
                    "cat": "Audio/MP3",
                    "desc": "|- Disco, Italo-Disco, Euro-Disco, Hi-NRG (сборники) (lossy)"
                },
                {
                    "id": 1083,
                    "cat": "Audio/MP3",
                    "desc": "|- Eurodance, Euro-House, Technopop (сборники) (lossy)"
                },
                {
                    "id": 1187,
                    "cat": "Audio",
                    "desc": "|- Аудио, как приложение к журналам"
                },
                {
                    "id": 794,
                    "cat": "Audio",
                    "desc": "|- Orthodox spiritual music. Православные песнопения..."
                },
                {
                    "id": 1140,
                    "cat": "Audio",
                    "desc": "|- Аудиоматериал для тестирования и настройки"
                },
                {
                    "id": 1099,
                    "cat": "Audio/MP3",
                    "desc": "|- Профессиональная музыка для йоги и фитнеса (lossy)"
                },
                {
                    "id": 789,
                    "cat": "Audio/Lossless",
                    "desc": "|- Отечественная музыка других жанров (lossless)"
                },
                {
                    "id": 788,
                    "cat": "Audio/MP3",
                    "desc": "|- Отечественная музыка других жанров (lossy)"
                },
                {
                    "id": 791,
                    "cat": "Audio/Lossless",
                    "desc": "|- Зарубежная музыка других жанров (lossless)"
                },
                {
                    "id": 790,
                    "cat": "Audio/MP3",
                    "desc": "|- Зарубежная музыка других жанров (lossy)"
                },
                {
                    "id": 795,
                    "cat": "Audio",
                    "desc": "|- Сборники песен для детей (lossy и lossless)"
                },
                {
                    "id": 798,
                    "cat": "Audio",
                    "desc": "|- Мюзикл (lossy и lossless)"
                },
                {
                    "id": 800,
                    "cat": "Audio/MP3",
                    "desc": "|- Неофициальные и внежанровые сборники (lossy)"
                },
                {
                    "id": 186,
                    "cat": "Audio/Video",
                    "desc": "|- Музыкальное видео (DVD и HD Video)"
                },
                {
                    "id": 185,
                    "cat": "Audio/Video",
                    "desc": "|- Музыкальное видео"
                },
                {
                    "id": 1160,
                    "cat": "Audio/Foreign",
                    "desc": "|- Зарубежная поп-музыка"
                },
                {
                    "id": 1159,
                    "cat": "Audio",
                    "desc": "|- Советская эстрада, ретро, романсы"
                },
                {
                    "id": 1158,
                    "cat": "Audio",
                    "desc": "|- Отечественная поп-музыка"
                },
                {
                    "id": 1157,
                    "cat": "Audio",
                    "desc": "|- Инструментальная поп-музыка, эстрада"
                },
                {
                    "id": 1156,
                    "cat": "Audio",
                    "desc": "|- Джаз и блюз"
                },
                {
                    "id": 1155,
                    "cat": "Audio/Foreign",
                    "desc": "|- Зарубежная рок-музыка"
                },
                {
                    "id": 1154,
                    "cat": "Audio",
                    "desc": "|- Отечественная рок-музыка"
                },
                {
                    "id": 1153,
                    "cat": "Audio",
                    "desc": "|- Электронная музыка"
                },
                {
                    "id": 1152,
                    "cat": "Audio",
                    "desc": "|- Классика и классика в современной обработке"
                },
                {
                    "id": 611,
                    "cat": "Audio/Lossless",
                    "desc": "|- Goa Trance, Psy-Trance (lossless)"
                },
                {
                    "id": 612,
                    "cat": "Audio/MP3",
                    "desc": "|- Goa Trance, Psy-Trance (lossy)"
                },
                {
                    "id": 613,
                    "cat": "Audio/Lossless",
                    "desc": "|- PsyChill, Ambient Dub (lossless)"
                },
                {
                    "id": 614,
                    "cat": "Audio/MP3",
                    "desc": "|- PsyChill, Ambient Dub (lossy)"
                },
                {
                    "id": 616,
                    "cat": "Audio/Lossless",
                    "desc": "|- Trance (lossless)"
                },
                {
                    "id": 617,
                    "cat": "Audio/MP3",
                    "desc": "|- Trance (lossy)"
                },
                {
                    "id": 618,
                    "cat": "Audio/MP3",
                    "desc": "|- Trance (Singles, EPs) (lossy)"
                },
                {
                    "id": 619,
                    "cat": "Audio/MP3",
                    "desc": "|- Trance (Radioshows, Podcasts, Live Sets, Mixes) (lossy)"
                },
                {
                    "id": 1061,
                    "cat": "Audio/MP3",
                    "desc": "|- Trance discography (lossy)"
                },
                {
                    "id": 621,
                    "cat": "Audio/Lossless",
                    "desc": "|- Hardcore, Hardstyle, Jumpstyle (lossless)"
                },
                {
                    "id": 622,
                    "cat": "Audio/MP3",
                    "desc": "|- Hardcore, Hardstyle, Jumpstyle (lossy)"
                },
                {
                    "id": 623,
                    "cat": "Audio",
                    "desc": "|- Hardcore, Hardstyle, Jumpstyle (vinyl, web)"
                },
                {
                    "id": 624,
                    "cat": "Audio/Lossless",
                    "desc": "|- House (lossless)"
                },
                {
                    "id": 625,
                    "cat": "Audio",
                    "desc": "|- House (Radioshow, Podcast, Liveset, Mixes)"
                },
                {
                    "id": 626,
                    "cat": "Audio/MP3",
                    "desc": "|- House (lossy)"
                },
                {
                    "id": 627,
                    "cat": "Audio",
                    "desc": "|- House (Проморелизы, сборники)"
                },
                {
                    "id": 628,
                    "cat": "Audio/MP3",
                    "desc": "|- House (Singles, EPs) (lossy)"
                },
                {
                    "id": 629,
                    "cat": "Audio/Lossless",
                    "desc": "|- Techno (lossless)"
                },
                {
                    "id": 630,
                    "cat": "Audio/MP3",
                    "desc": "|- Techno (lossy)"
                },
                {
                    "id": 631,
                    "cat": "Audio/Other",
                    "desc": "|- Techno (Radioshows, Podcasts, Livesets, Mixes)"
                },
                {
                    "id": 632,
                    "cat": "Audio/MP3",
                    "desc": "|- Techno (Singles, EPs) (lossy)"
                },
                {
                    "id": 643,
                    "cat": "Audio/Lossless",
                    "desc": "|- Dubstep, Future Garage, Bass Music, UK Garage (lossless)"
                },
                {
                    "id": 644,
                    "cat": "Audio/MP3",
                    "desc": "|- Dubstep, Future Garage, Bass Music, UK Garage (lossy)"
                },
                {
                    "id": 634,
                    "cat": "Audio/Lossless",
                    "desc": "|- Electro, Electro-Freestyle, Nu Electro (lossless)"
                },
                {
                    "id": 635,
                    "cat": "Audio/MP3",
                    "desc": "|- Electro, Electro-Freestyle, Nu Electro (lossy)"
                },
                {
                    "id": 636,
                    "cat": "Audio/Lossless",
                    "desc": "|- Drum & Bass, Jungle (lossless)"
                },
                {
                    "id": 637,
                    "cat": "Audio/MP3",
                    "desc": "|- Drum & Bass, Jungle (lossy)"
                },
                {
                    "id": 641,
                    "cat": "Audio/Lossless",
                    "desc": "|- Breakbeat (lossless)"
                },
                {
                    "id": 642,
                    "cat": "Audio/MP3",
                    "desc": "|- Breakbeat (lossy)"
                },
                {
                    "id": 645,
                    "cat": "Audio/Lossless",
                    "desc": "|- IDM (lossless)"
                },
                {
                    "id": 646,
                    "cat": "Audio/MP3",
                    "desc": "|- IDM (lossy)"
                },
                {
                    "id": 802,
                    "cat": "Audio/Lossless",
                    "desc": "|- Chillout, Lounge, Downtempo (lossless)"
                },
                {
                    "id": 803,
                    "cat": "Audio/MP3",
                    "desc": "|- Chillout, Lounge, Downtempo (lossy)"
                },
                {
                    "id": 804,
                    "cat": "Audio/Lossless",
                    "desc": "|- Nu Jazz, Acid Jazz, Future Jazz (lossless)"
                },
                {
                    "id": 805,
                    "cat": "Audio/MP3",
                    "desc": "|- Nu Jazz, Acid Jazz, Future Jazz (lossy)"
                },
                {
                    "id": 806,
                    "cat": "Audio/Lossless",
                    "desc": "|- Trip Hop, Abstract Hip-Hop (lossless)"
                },
                {
                    "id": 807,
                    "cat": "Audio/MP3",
                    "desc": "|- Trip Hop, Abstract Hip-Hop (lossy)"
                },
                {
                    "id": 1070,
                    "cat": "Audio",
                    "desc": "|- 8-bit, Chiptune (lossy & lossless)"
                },
                {
                    "id": 808,
                    "cat": "Audio/Lossless",
                    "desc": "|- Experimental (lossless)"
                },
                {
                    "id": 809,
                    "cat": "Audio/MP3",
                    "desc": "|- Experimental (lossy)"
                },
                {
                    "id": 810,
                    "cat": "Audio/Lossless",
                    "desc": "|- Modern Classical, Electroacoustic (lossless)"
                },
                {
                    "id": 811,
                    "cat": "Audio/MP3",
                    "desc": "|- Modern Classical, Electroacoustic (lossy)"
                },
                {
                    "id": 812,
                    "cat": "Audio/Lossless",
                    "desc": "|- Traditional Electronic, Ambient (lossless)"
                },
                {
                    "id": 813,
                    "cat": "Audio/MP3",
                    "desc": "|- Traditional Electronic, Ambient (lossy)"
                },
                {
                    "id": 815,
                    "cat": "Audio/Lossless",
                    "desc": "|- EBM, Dark Electro, Aggrotech (lossless)"
                },
                {
                    "id": 816,
                    "cat": "Audio/MP3",
                    "desc": "|- EBM, Dark Electro, Aggrotech (lossy)"
                },
                {
                    "id": 817,
                    "cat": "Audio/Lossless",
                    "desc": "|- Industrial, Noise (lossless)"
                },
                {
                    "id": 818,
                    "cat": "Audio/MP3",
                    "desc": "|- Industrial, Noise (lossy)"
                },
                {
                    "id": 1071,
                    "cat": "Audio/Lossless",
                    "desc": "|- Darkwave, Neoclassical, Ethereal, Dungeon Synth (lossless)"
                },
                {
                    "id": 1072,
                    "cat": "Audio/MP3",
                    "desc": "|- Darkwave, Neoclassical, Ethereal, Dungeon Synth (lossy)"
                },
                {
                    "id": 819,
                    "cat": "Audio/Lossless",
                    "desc": "|- Synthpop, Futurepop, New Wave (lossless)"
                },
                {
                    "id": 820,
                    "cat": "Audio/MP3",
                    "desc": "|- Synthpop, Futurepop, New Wave (lossy)"
                },
                {
                    "id": 512,
                    "cat": "Audio/Lossless",
                    "desc": "|- Label Packs (lossless)"
                },
                {
                    "id": 513,
                    "cat": "Audio/MP3",
                    "desc": "|- Label packs, Scene packs, Radioshows packs (lossy)"
                },
                {
                    "id": 524,
                    "cat": "Audio",
                    "desc": "|- Зарубежный Rock"
                },
                {
                    "id": 699,
                    "cat": "Audio/Lossless",
                    "desc": "|-- Pop Rock & Soft Rock (lossless)"
                },
                {
                    "id": 700,
                    "cat": "Audio/MP3",
                    "desc": "|-- Pop Rock & Soft Rock (lossy)"
                },
                {
                    "id": 696,
                    "cat": "Audio/Lossless",
                    "desc": "|-- Folk Rock (lossless)"
                },
                {
                    "id": 1167,
                    "cat": "Audio/MP3",
                    "desc": "|-- Folk Rock (lossy)"
                },
                {
                    "id": 692,
                    "cat": "Audio/Lossless",
                    "desc": "|-- Classic Rock & Hard Rock (lossless)"
                },
                {
                    "id": 693,
                    "cat": "Audio/MP3",
                    "desc": "|-- Classic Rock & Hard Rock (lossy)"
                },
                {
                    "id": 694,
                    "cat": "Audio/Lossless",
                    "desc": "|-- Progressive & Art-Rock (lossless)"
                },
                {
                    "id": 695,
                    "cat": "Audio/MP3",
                    "desc": "|-- Progressive & Art-Rock (lossy)"
                },
                {
                    "id": 697,
                    "cat": "Audio/Lossless",
                    "desc": "|-- AOR (Melodic Hard Rock, Arena rock) (lossless)"
                },
                {
                    "id": 698,
                    "cat": "Audio/MP3",
                    "desc": "|-- AOR (Melodic Hard Rock, Arena rock) (lossy)"
                },
                {
                    "id": 701,
                    "cat": "Audio/Lossless",
                    "desc": "|-- Instrumental Guitar Rock (lossless)"
                },
                {
                    "id": 702,
                    "cat": "Audio/MP3",
                    "desc": "|-- Instrumental Guitar Rock (lossy)"
                },
                {
                    "id": 703,
                    "cat": "Audio/Lossless",
                    "desc": "|-- Rockabilly, Psychobilly, Rock'n'Roll (lossless)"
                },
                {
                    "id": 704,
                    "cat": "Audio/MP3",
                    "desc": "|-- Rockabilly, Psychobilly, Rock'n'Roll (lossy)"
                },
                {
                    "id": 705,
                    "cat": "Audio/Lossless",
                    "desc": "|-- Восточноазиатский рок (lossless)"
                },
                {
                    "id": 706,
                    "cat": "Audio/MP3",
                    "desc": "|-- Восточноазиатский рок (lossy)"
                },
                {
                    "id": 918,
                    "cat": "Audio/Lossless",
                    "desc": "|- Sludge, Stoner, Post-Metal (lossless)"
                },
                {
                    "id": 919,
                    "cat": "Audio/MP3",
                    "desc": "|- Sludge, Stoner, Post-Metal (lossly)"
                },
                {
                    "id": 711,
                    "cat": "Audio/Lossless",
                    "desc": "|- Death, Doom (lossless)"
                },
                {
                    "id": 712,
                    "cat": "Audio/MP3",
                    "desc": "|- Death, Doom (lossy)"
                },
                {
                    "id": 707,
                    "cat": "Audio/Lossless",
                    "desc": "|- Avant-garde, Experimental Metal (lossless)"
                },
                {
                    "id": 708,
                    "cat": "Audio/MP3",
                    "desc": "|- Avant-garde, Experimental Metal (lossy)"
                },
                {
                    "id": 709,
                    "cat": "Audio/Lossless",
                    "desc": "|- Black (lossless)"
                },
                {
                    "id": 710,
                    "cat": "Audio/MP3",
                    "desc": "|- Black (lossy)"
                },
                {
                    "id": 713,
                    "cat": "Audio/Lossless",
                    "desc": "|- Folk, Pagan, Viking (lossless)"
                },
                {
                    "id": 714,
                    "cat": "Audio/MP3",
                    "desc": "|- Folk, Pagan, Viking (lossy)"
                },
                {
                    "id": 715,
                    "cat": "Audio/Lossless",
                    "desc": "|- Gothic Metal (lossless)"
                },
                {
                    "id": 716,
                    "cat": "Audio/MP3",
                    "desc": "|- Gothic Metal (lossy)"
                },
                {
                    "id": 717,
                    "cat": "Audio/Lossless",
                    "desc": "|- Grind, Brutal Death (lossless)"
                },
                {
                    "id": 718,
                    "cat": "Audio/MP3",
                    "desc": "|- Grind, Brutal Death (lossy)"
                },
                {
                    "id": 719,
                    "cat": "Audio/Lossless",
                    "desc": "|- Heavy, Power, Progressive (lossless)"
                },
                {
                    "id": 720,
                    "cat": "Audio/MP3",
                    "desc": "|- Heavy, Power, Progressive (lossy)"
                },
                {
                    "id": 721,
                    "cat": "Audio/Lossless",
                    "desc": "|- Metalcore, Deathcore, Mathcore (lossless)"
                },
                {
                    "id": 722,
                    "cat": "Audio/MP3",
                    "desc": "|- Metalcore, Deathcore, Mathcore (lossy)"
                },
                {
                    "id": 723,
                    "cat": "Audio/Lossless",
                    "desc": "|- Thrash, Speed (lossless)"
                },
                {
                    "id": 724,
                    "cat": "Audio/MP3",
                    "desc": "|- Thrash, Speed (lossy)"
                },
                {
                    "id": 725,
                    "cat": "Audio/Lossless",
                    "desc": "|- Сборники (lossless)"
                },
                {
                    "id": 726,
                    "cat": "Audio/MP3",
                    "desc": "|- Сборники (lossy)"
                },
                {
                    "id": 1122,
                    "cat": "Audio/Lossless",
                    "desc": "|- Gothic Rock, Deathrock, Electrogoth, Dark Cabaret..."
                },
                {
                    "id": 1125,
                    "cat": "Audio/MP3",
                    "desc": "|- Gothic Rock, Deathrock, Electrogoth, Dark Cabaret (lossy)"
                },
                {
                    "id": 1123,
                    "cat": "Audio/Lossless",
                    "desc": "|- Dark Folk, Neofolk, Martial Industrial, Ritual Ambient..."
                },
                {
                    "id": 1124,
                    "cat": "Audio/MP3",
                    "desc": "|- Dark Folk, Neofolk, Martial Industrial, Ritual Ambient..."
                },
                {
                    "id": 727,
                    "cat": "Audio/Lossless",
                    "desc": "|- Alternative & Nu-metal (lossless)"
                },
                {
                    "id": 728,
                    "cat": "Audio/MP3",
                    "desc": "|- Alternative & Nu-metal (lossy)"
                },
                {
                    "id": 729,
                    "cat": "Audio/Lossless",
                    "desc": "|- Punk (lossless)"
                },
                {
                    "id": 730,
                    "cat": "Audio/MP3",
                    "desc": "|- Punk (lossy)"
                },
                {
                    "id": 731,
                    "cat": "Audio/Lossless",
                    "desc": "|- Hardcore (lossless)"
                },
                {
                    "id": 732,
                    "cat": "Audio/MP3",
                    "desc": "|- Hardcore (lossy)"
                },
                {
                    "id": 733,
                    "cat": "Audio/Lossless",
                    "desc": "|- Indie, Post-Rock & Post-Punk (lossless)"
                },
                {
                    "id": 734,
                    "cat": "Audio/MP3",
                    "desc": "|- Indie, Post-Rock & Post-Punk (lossy)"
                },
                {
                    "id": 735,
                    "cat": "Audio/Lossless",
                    "desc": "|- Industrial & Post-industrial (lossless)"
                },
                {
                    "id": 736,
                    "cat": "Audio/MP3",
                    "desc": "|- Industrial & Post-industrial (lossy)"
                },
                {
                    "id": 737,
                    "cat": "Audio/Lossless",
                    "desc": "|- Emocore, Post-hardcore (lossless)"
                },
                {
                    "id": 738,
                    "cat": "Audio/MP3",
                    "desc": "|- Emocore, Post-hardcore (lossy)"
                },
                {
                    "id": 1074,
                    "cat": "Audio/MP3",
                    "desc": "|- Сборники (lossy)"
                },
                {
                    "id": 742,
                    "cat": "Audio/Lossless",
                    "desc": "|- Рок, Панк, Альтернатива (lossless)"
                },
                {
                    "id": 743,
                    "cat": "Audio/MP3",
                    "desc": "|- Рок, Панк, Альтернатива (lossy)"
                },
                {
                    "id": 744,
                    "cat": "Audio/Lossless",
                    "desc": "|- Металл (lossless)"
                },
                {
                    "id": 745,
                    "cat": "Audio/MP3",
                    "desc": "|- Металл (lossy)"
                },
                {
                    "id": 746,
                    "cat": "Audio/Lossless",
                    "desc": "|- Рок на языках народов xUSSR (lossless)"
                },
                {
                    "id": 747,
                    "cat": "Audio/MP3",
                    "desc": "|- Рок на языках народов xUSSR (lossy)"
                },
                {
                    "id": 670,
                    "cat": "Audio/Lossless",
                    "desc": "|- World Jazz, Ethnic Jazz (lossless)"
                },
                {
                    "id": 666,
                    "cat": "Audio/Lossless",
                    "desc": "|- Early Jazz, Swing, Gypsy (lossless)"
                },
                {
                    "id": 667,
                    "cat": "Audio/Lossless",
                    "desc": "|- Bop (lossless)"
                },
                {
                    "id": 668,
                    "cat": "Audio/Lossless",
                    "desc": "|- Mainstream Jazz, Cool (lossless)"
                },
                {
                    "id": 669,
                    "cat": "Audio/Lossless",
                    "desc": "|- Jazz Fusion (lossless)"
                },
                {
                    "id": 671,
                    "cat": "Audio/Lossless",
                    "desc": "|- Avant-Garde Jazz, Free Improvisation (lossless)"
                },
                {
                    "id": 672,
                    "cat": "Audio/Lossless",
                    "desc": "|- Modern Creative, Third Stream (lossless)"
                },
                {
                    "id": 673,
                    "cat": "Audio/Lossless",
                    "desc": "|- Smooth, Jazz-Pop (lossless)"
                },
                {
                    "id": 674,
                    "cat": "Audio/Lossless",
                    "desc": "|- Vocal Jazz (lossless)"
                },
                {
                    "id": 675,
                    "cat": "Audio/Lossless",
                    "desc": "|- Funk, Soul, R&B (lossless)"
                },
                {
                    "id": 677,
                    "cat": "Audio/MP3",
                    "desc": "|- Зарубежный джаз (lossy)"
                },
                {
                    "id": 680,
                    "cat": "Audio/Lossless",
                    "desc": "|- Blues Rock (lossless)"
                },
                {
                    "id": 679,
                    "cat": "Audio/Lossless",
                    "desc": "|- Blues (Texas, Chicago, Modern and Others) (lossless)"
                },
                {
                    "id": 681,
                    "cat": "Audio/Lossless",
                    "desc": "|- Roots, Pre-War Blues, Early R&B, Gospel (lossless)"
                },
                {
                    "id": 683,
                    "cat": "Audio/MP3",
                    "desc": "|- Зарубежный блюз (lossy)"
                },
                {
                    "id": 686,
                    "cat": "Audio/Lossless",
                    "desc": "|- Отечественный джаз (lossless)"
                },
                {
                    "id": 687,
                    "cat": "Audio/MP3",
                    "desc": "|- Отечественный джаз (lossy)"
                },
                {
                    "id": 688,
                    "cat": "Audio/Lossless",
                    "desc": "|- Отечественный блюз (lossless)"
                },
                {
                    "id": 689,
                    "cat": "Audio/MP3",
                    "desc": "|- Отечественный блюз (lossy)"
                },
                {
                    "id": 68,
                    "cat": "PC",
                    "desc": "|- Программы под Windows"
                },
                {
                    "id": 91,
                    "cat": "PC",
                    "desc": "|-- Системы для бизнеса"
                },
                {
                    "id": 95,
                    "cat": "PC",
                    "desc": "|-- Программы для работы со звуком"
                },
                {
                    "id": 94,
                    "cat": "PC",
                    "desc": "|-- Редакторы видео"
                },
                {
                    "id": 87,
                    "cat": "PC",
                    "desc": "|-- 3D моделирование, рендеринг и плагины для них"
                },
                {
                    "id": 98,
                    "cat": "PC",
                    "desc": "|-- Системы навигации и карты"
                },
                {
                    "id": 340,
                    "cat": "Books",
                    "desc": "|- Предложения по улучшению раздела 'Книги и журналы..."
                },
                {
                    "id": 341,
                    "cat": "Books",
                    "desc": "|- Художественная литература"
                },
                {
                    "id": 351,
                    "cat": "Books",
                    "desc": "|-- Русская литература (Классика)"
                },
                {
                    "id": 405,
                    "cat": "Books",
                    "desc": "|-- Русская литература (Современная проза)"
                },
                {
                    "id": 352,
                    "cat": "Books/Foreign",
                    "desc": "|-- Зарубежная литература (до 1900 г.)"
                },
                {
                    "id": 353,
                    "cat": "Books/Foreign",
                    "desc": "|-- Зарубежная литература (XX и XXI век)"
                },
                {
                    "id": 354,
                    "cat": "Books",
                    "desc": "|-- Детектив / боевик / триллер"
                },
                {
                    "id": 355,
                    "cat": "Books",
                    "desc": "|-- Женский роман"
                },
                {
                    "id": 315,
                    "cat": "Books/Foreign",
                    "desc": "|-- Зарубежная фантастика / фэнтези / мистика"
                },
                {
                    "id": 316,
                    "cat": "Books",
                    "desc": "|-- Отечественная фантастика / фэнтези / мистика"
                },
                {
                    "id": 356,
                    "cat": "Books",
                    "desc": "|-- Приключения"
                },
                {
                    "id": 358,
                    "cat": "Books/Foreign",
                    "desc": "|-- Художественная литература на иностранных языках"
                },
                {
                    "id": 365,
                    "cat": "Books",
                    "desc": "|- Учебная литература для детского сада и начальной шко..."
                },
                {
                    "id": 359,
                    "cat": "Books",
                    "desc": "|- Художественная литературара для средних и старших классов"
                },
                {
                    "id": 343,
                    "cat": "Books",
                    "desc": "|- Гуманитарные науки, история, философия"
                },
                {
                    "id": 378,
                    "cat": "Books",
                    "desc": "|-- Исторические науки. Издания 1992-по н.в."
                },
                {
                    "id": 377,
                    "cat": "Books",
                    "desc": "|-- История России"
                },
                {
                    "id": 376,
                    "cat": "Books",
                    "desc": "|-- Эпоха СССР"
                },
                {
                    "id": 375,
                    "cat": "Books",
                    "desc": "|-- История отдельных стран и регионов"
                },
                {
                    "id": 371,
                    "cat": "Books",
                    "desc": "|-- Философия"
                },
                {
                    "id": 368,
                    "cat": "Books",
                    "desc": "|-- Психотерапия, психодиагностика, консультирование и психокоррекция"
                },
                {
                    "id": 367,
                    "cat": "Books",
                    "desc": "|-- Эзотерика, саморазвитие и самосовершенствование"
                },
                {
                    "id": 382,
                    "cat": "Books",
                    "desc": "|- Электроника / радио"
                },
                {
                    "id": 345,
                    "cat": "Books",
                    "desc": "|- Компьютерная литература"
                },
                {
                    "id": 394,
                    "cat": "Books",
                    "desc": "|-- Веб-дизайн и программирование"
                },
                {
                    "id": 393,
                    "cat": "Books",
                    "desc": "|-- Программирование"
                },
                {
                    "id": 898,
                    "cat": "Books",
                    "desc": "|-- СУБД"
                },
                {
                    "id": 392,
                    "cat": "Books",
                    "desc": "|-- Графика, обработка видео"
                },
                {
                    "id": 391,
                    "cat": "Books",
                    "desc": "|-- Сети / VoIP"
                },
                {
                    "id": 389,
                    "cat": "Books",
                    "desc": "|-- Компьютерные журналы и приложения к ним"
                },
                {
                    "id": 396,
                    "cat": "Books/Other",
                    "desc": "|- Прочее"
                },
                {
                    "id": 349,
                    "cat": "Books/Mags",
                    "desc": "|- Журналы и газеты (общий раздел)"
                },
                {
                    "id": 350,
                    "cat": "Books/Other",
                    "desc": "|- Разное"
                },
                {
                    "id": 342,
                    "cat": "Books",
                    "desc": "|-- Учебная литература - для детей, родителей и учителей"
                },
                {
                    "id": 370,
                    "cat": "Books",
                    "desc": "|-- Экономика, бизнес, менеджмент, маркетинг"
                },
                {
                    "id": 398,
                    "cat": "Books",
                    "desc": "|-- Прочие хобби"
                },
                {
                    "id": 399,
                    "cat": "Books",
                    "desc": "|-- Кулинария (книги)"
                },
                {
                    "id": 400,
                    "cat": "Books",
                    "desc": "|-- Охота и рыбалка"
                },
                {
                    "id": 336,
                    "cat": "Books",
                    "desc": "|-- Физкультура, фитнес, бодибилдинг, йога"
                },
                {
                    "id": 242,
                    "cat": "Other",
                    "desc": "|- Другое"
                },
                {
                    "id": 1184,
                    "cat": "Other",
                    "desc": "|- Для оформления релизов AVP Studio"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"./login.php\"]",
            "inputs": {
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "redirect": "index.php",
                "login": "Вход"
            },
            "error": [
                {
                    "selector": "table.error"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"login.php?logout=1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker.php"
                }
            ],
            "inputs": {
                "f": "{{ join .Categories \",\" }}",
                "nm": "{{ .Keywords }}",
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "tm": -1
            },
            "rows": {
                "selector": "tr[id^=\"tor_\"]:has(a[href^=\"/download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"tracker.php?f=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "title": {
                    "selector": "a.tLink"
                },
                "details": {
                    "selector": "a.tLink",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(6) > u"
                },
                "seeders": {
                    "selector": "td.seedmed > b"
                },
                "leechers": {
                    "selector": "td.leechmed > b"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "date": {
                    "selector": "td:last-child > u"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "newheaven": {
        "credentials": {
            "cookie": ""
        },
        "id": "newheaven",
        "name": "New Heaven",
        "description": "New Heaven is a GERMAN Private tracker for MOVIES / AUDIO / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "iso-8859-1",
        "requestDelay": 2,
        "links": [
            "https://newheaven.nl/"
        ],
        "legacylinks": [
            "https://torrentheaven.myfqdn.info/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "PC/Games",
                    "desc": "GAMES- PC"
                },
                {
                    "id": 3,
                    "cat": "Console",
                    "desc": "GAMES - Sonstige"
                },
                {
                    "id": 59,
                    "cat": "Console/PS4",
                    "desc": "GAMES - PlayStation"
                },
                {
                    "id": 60,
                    "cat": "Console/PSP",
                    "desc": "GAMES- PSP"
                },
                {
                    "id": 63,
                    "cat": "Console/Wii",
                    "desc": "GAMES - Wii"
                },
                {
                    "id": 67,
                    "cat": "Console/XBox 360",
                    "desc": "GAMES - XBOX 360"
                },
                {
                    "id": 68,
                    "cat": "PC/Mobile-Other",
                    "desc": "GAMES - PDA / Handy"
                },
                {
                    "id": 72,
                    "cat": "Console/NDS",
                    "desc": "GAMES - NDS"
                },
                {
                    "id": 7,
                    "cat": "Movies/DVD",
                    "desc": "MOVIES - DVD"
                },
                {
                    "id": 8,
                    "cat": "Movies/SD",
                    "desc": "MOVIES - SD"
                },
                {
                    "id": 37,
                    "cat": "Movies/DVD",
                    "desc": "MOVIES - DVD Spezial"
                },
                {
                    "id": 41,
                    "cat": "Movies/Foreign",
                    "desc": "MOVIES - International"
                },
                {
                    "id": 101,
                    "cat": "Movies/HD",
                    "desc": "MOVIES - 720p"
                },
                {
                    "id": 102,
                    "cat": "Movies/HD",
                    "desc": "MOVIES - 1080p"
                },
                {
                    "id": 103,
                    "cat": "Movies/HD",
                    "desc": "MOVIES - AVCHD"
                },
                {
                    "id": 104,
                    "cat": "Movies/BluRay",
                    "desc": "MOVIES - Blu Ray"
                },
                {
                    "id": 106,
                    "cat": "Movies/3D",
                    "desc": "MOVIES - 3D"
                },
                {
                    "id": 109,
                    "cat": "Movies/UHD",
                    "desc": "MOVIES - 4K"
                },
                {
                    "id": 14,
                    "cat": "Audio/MP3",
                    "desc": "AUDIO - Musik"
                },
                {
                    "id": 15,
                    "cat": "Audio/Audiobook",
                    "desc": "AUDIO - Hoerbuecher"
                },
                {
                    "id": 16,
                    "cat": "Audio/Audiobook",
                    "desc": "AUDIO - Hoerspiele"
                },
                {
                    "id": 36,
                    "cat": "Audio/Lossless",
                    "desc": "AUDIO - Flac"
                },
                {
                    "id": 42,
                    "cat": "Audio/Other",
                    "desc": "AUDIO/Soundtracks"
                },
                {
                    "id": 58,
                    "cat": "Audio/Video",
                    "desc": "AUDIO - Musikvideos"
                },
                {
                    "id": 18,
                    "cat": "TV/SD",
                    "desc": "TV/Serien - Serien SD"
                },
                {
                    "id": 19,
                    "cat": "TV/HD",
                    "desc": "TV/Serien - Serien HD 720p"
                },
                {
                    "id": 20,
                    "cat": "TV/HD",
                    "desc": "TV/Serien - Serien HD 1080p"
                },
                {
                    "id": 49,
                    "cat": "TV/SD",
                    "desc": "TV/Serien - Serien DVD"
                },
                {
                    "id": 51,
                    "cat": "TV/Documentary",
                    "desc": "TV/Serien - Doku SD"
                },
                {
                    "id": 52,
                    "cat": "TV/Documentary",
                    "desc": "TV/Serien - Doku HD"
                },
                {
                    "id": 53,
                    "cat": "TV",
                    "desc": "TV/Serien - Serien Complete Packs"
                },
                {
                    "id": 54,
                    "cat": "TV/Sport",
                    "desc": "TV/Serien - Sport"
                },
                {
                    "id": 66,
                    "cat": "TV/Foreign",
                    "desc": "TV/Serien - International"
                },
                {
                    "id": 110,
                    "cat": "TV/UHD",
                    "desc": "TV/Serien - 4K"
                },
                {
                    "id": 22,
                    "cat": "Books/EBook",
                    "desc": "MISC - EBooks"
                },
                {
                    "id": 24,
                    "cat": "Other",
                    "desc": "MISC - Sonstiges"
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "MISC- Tonspuren"
                },
                {
                    "id": 108,
                    "cat": "TV/Anime",
                    "desc": "TV/Serien - Anime"
                },
                {
                    "id": 28,
                    "cat": "PC",
                    "desc": "APPLICATIONS - PC"
                },
                {
                    "id": 29,
                    "cat": "PC/Mobile-Other",
                    "desc": "APPLICATIONS - Mobile"
                },
                {
                    "id": 30,
                    "cat": "PC",
                    "desc": "APPLICATIONS - Sonstige"
                },
                {
                    "id": 70,
                    "cat": "PC",
                    "desc": "APPLICATIONS - Linux"
                },
                {
                    "id": 71,
                    "cat": "PC/Mac",
                    "desc": "APPLICATIONS - Mac"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_general",
                "type": "info",
                "label": "Layout Manager Settings",
                "default": "Go to <b>Usercenter</b>-><b>Einstellungen</b>, scroll down to <b>Layout Manager</b> and ensure <b>Comments</b>-, <b>Files</b>- and <b>Snatcher</b>-Anzeige are set to <b>anzeigen</b>, so that the number of files, grabs, seeders and leechers can be correctly detected."
            },
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "onlyupload",
                "type": "checkbox",
                "label": "Filter OnlyUpload only",
                "default": false
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About Freeleech and OnlyUpload at NewHeaven",
                "default": "<ul><li>FreeLeech are torrents where neither the download or upload is counted. (On the Jackett dashboard search results these are tagged as NoUpload).</li><li>OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Jackett dashboard search results these are tagged as Freeleech).</li></ul>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "torrent_added",
                "options": {
                    "torrent_added": "created",
                    "torrent_seeder": "seeders",
                    "torrent_size": "size",
                    "torrent_name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "d",
                "options": {
                    "d": "desc",
                    "a": "asc",
                    "0": "none"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"index.php?strWebValue=account&strWebAction=logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php",
                    "inputs": {
                        "page": 0
                    }
                },
                {
                    "path": "index.php",
                    "inputs": {
                        "page": 1
                    }
                },
                {
                    "path": "index.php",
                    "inputs": {
                        "page": 2
                    }
                },
                {
                    "path": "index.php",
                    "inputs": {
                        "page": 3
                    }
                }
            ],
            "inputs": {
                "strWebValue": "torrent",
                "strWebAction": "search",
                "sort": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}",
                "$raw": "{{ range .Categories }}dirs{{.}}=1&{{end}}",
                "searchstring": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "type": 2,
                "do_search": "suchen",
                "time": 0,
                "details": "{{ if .Query.IMDBID }}all{{ else }}title{{ end }}"
            },
            "rows": {
                "selector": "table.torrenttable > tbody > tr:not(:has(td.torrenttableheader)){{ if .Config.onlyupload }}:has(img[src$=\"/onlyup.png\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"index.php?strWebValue=torrent&strWebAction=search&dir=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "dir"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"index.php?strWebValue=torrent&strWebAction=details&id=\"]"
                },
                "title_optional": {
                    "selector": "a[href*=\"index.php?strWebValue=torrent&strWebAction=details&id=\"][onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "return buildTable\\('([^']+)',"
                        }
                    ],
                    "optional": true
                },
                "title": {
                    "text": "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
                },
                "details": {
                    "selector": "a[href*=\"index.php?strWebValue=torrent&strWebAction=details&id=\"]",
                    "attribute": "href"
                },
                "_id": {
                    "selector": "a[href*=\"index.php?strWebValue=torrent&strWebAction=details&id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "id"
                        }
                    ]
                },
                "download": {
                    "text": "index.php?strWebValue=torrent&strWebAction=download&id={{ .Result._id }}"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "url"
                        }
                    ]
                },
                "date_day": {
                    "selector": "font:has(a):contains(\"Heute\"), font:has(a):contains(\"Gestern\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "((Heute|Gestern)(\\s\\d{2}\\:\\d{2}))"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Heute",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Gestern",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        }
                    ]
                },
                "date_year": {
                    "selector": "font:has(a):not(:contains(\"Heute\")):not(:contains(\"Gestern\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{2}\\.\\d{2}.\\d{4}\\s\\d{2}\\:\\d{2})"
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "files": {
                    "selector": "a[href$=\"#filelist\"]"
                },
                "size": {
                    "selector": "td:nth-child(4)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "a[href$=\"#seeders\"]",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "a[href$=\"#leechers\"]",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "div:contains(\"50% DL\")": 0.5,
                        "div:contains(\"25% DL\")": 0.25,
                        "img[src$=\"/onlyup.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"/freeleech.png\"]": 0,
                        "div:contains(\"200% UP\")": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.8
                }
            }
        }
    },
    "newretro": {
        "credentials": {
            "username": "",
            "password": "",
            "pin": ""
        },
        "id": "newretro",
        "name": "The New Retro",
        "description": "The New Retro is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://new-retro.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 119,
                    "cat": "Other",
                    "desc": "Bilder"
                },
                {
                    "id": 139,
                    "cat": "TV/Documentary",
                    "desc": "Doku - HD"
                },
                {
                    "id": 141,
                    "cat": "TV/Documentary",
                    "desc": "Doku - Pack"
                },
                {
                    "id": 140,
                    "cat": "TV/Documentary",
                    "desc": "Doku - SD"
                },
                {
                    "id": 142,
                    "cat": "TV",
                    "desc": "Doku - Sonstige"
                },
                {
                    "id": 120,
                    "cat": "Books",
                    "desc": "Ebook"
                },
                {
                    "id": 131,
                    "cat": "TV/Anime",
                    "desc": "Filme - Anime"
                },
                {
                    "id": 101,
                    "cat": "Movies/BluRay",
                    "desc": "Filme - Blue Ray"
                },
                {
                    "id": 102,
                    "cat": "Movies/Other",
                    "desc": "Filme - Bollywood"
                },
                {
                    "id": 103,
                    "cat": "Movies/DVD",
                    "desc": "Filme - DVD"
                },
                {
                    "id": 104,
                    "cat": "Movies/DVD",
                    "desc": "Filme - DVD-R"
                },
                {
                    "id": 135,
                    "cat": "Movies/HD",
                    "desc": "Filme - HD"
                },
                {
                    "id": 130,
                    "cat": "Movies",
                    "desc": "Filme - Klassiker"
                },
                {
                    "id": 134,
                    "cat": "Movies/SD",
                    "desc": "Filme - SD"
                },
                {
                    "id": 136,
                    "cat": "Movies/UHD",
                    "desc": "Filme - UHD"
                },
                {
                    "id": 105,
                    "cat": "Movies",
                    "desc": "Filme - x264/x265"
                },
                {
                    "id": 106,
                    "cat": "Movies/SD",
                    "desc": "Filme - XviD / DivX"
                },
                {
                    "id": 127,
                    "cat": "Other",
                    "desc": "Für Unsere kleinsten"
                },
                {
                    "id": 121,
                    "cat": "Other",
                    "desc": "Handy Stuff"
                },
                {
                    "id": 124,
                    "cat": "Audio",
                    "desc": "Musik - Alben"
                },
                {
                    "id": 123,
                    "cat": "Audio",
                    "desc": "Musik - Discography"
                },
                {
                    "id": 122,
                    "cat": "Audio/Audiobook",
                    "desc": "Musik - Hörbuch"
                },
                {
                    "id": 133,
                    "cat": "Audio/MP3",
                    "desc": "Musik - MP3/Mp4"
                },
                {
                    "id": 125,
                    "cat": "Audio/Video",
                    "desc": "Musik - Video"
                },
                {
                    "id": 113,
                    "cat": "PC",
                    "desc": "Programme - Linux"
                },
                {
                    "id": 114,
                    "cat": "PC/Mac",
                    "desc": "Programme - Mac"
                },
                {
                    "id": 115,
                    "cat": "PC/0day",
                    "desc": "Programme - Windows"
                },
                {
                    "id": 137,
                    "cat": "TV/HD",
                    "desc": "Serien - HD"
                },
                {
                    "id": 116,
                    "cat": "TV",
                    "desc": "Serien - Pack"
                },
                {
                    "id": 138,
                    "cat": "TV/SD",
                    "desc": "Serien - SD"
                },
                {
                    "id": 143,
                    "cat": "TV/Other",
                    "desc": "Serien - Sonstige"
                },
                {
                    "id": 144,
                    "cat": "TV/UHD",
                    "desc": "Serien - UHD"
                },
                {
                    "id": 129,
                    "cat": "Other",
                    "desc": "Sonstiges"
                },
                {
                    "id": 109,
                    "cat": "PC/Mobile-Other",
                    "desc": "Spiele - Handy"
                },
                {
                    "id": 112,
                    "cat": "Console",
                    "desc": "Spiele - Konsolen"
                },
                {
                    "id": 111,
                    "cat": "PC/Games",
                    "desc": "Spiele - Mac / Linux"
                },
                {
                    "id": 110,
                    "cat": "PC/Games",
                    "desc": "Spiele - PC"
                },
                {
                    "id": 118,
                    "cat": "TV/Sport",
                    "desc": "WWE - Sport"
                },
                {
                    "id": 69,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "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": "pin",
                "type": "text",
                "label": "Pin"
            },
            {
                "name": "onlyupload",
                "type": "checkbox",
                "label": "Filter OnlyUpload only",
                "default": false
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About OnlyUpload at The New Retro",
                "default": "<ul><li>OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Prowlarr search results page these are tagged as Freeleech).</li></ul>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "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>Torrents pro Seite:</b> setting to <b>100</b> on your <b>UserCP</b> page. The default is <i>15</i>."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts are automatically deleted after 42 days."
            },
            {
                "name": "info_seedhours",
                "type": "info",
                "label": "Seeding Hours",
                "default": "Before using this indexer, make sure that you have set <b>Meine Seedzeit</b> on your <b>UserCP</b> page."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "cookies": [
                "JAVA=OK"
            ],
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "secure_pin": "{{ .Config.pin }}",
                "returnto": "/"
            },
            "error": [
                {
                    "selector": "table.tableinborder:contains(\"Anmeldung Gescheitert!\") > tbody > tr > td.tablea"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "showsearch": 1,
                "incldead": 1,
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.tableinborder[border=\"0\"][cellspacing=\"1\"][cellpadding=\"0\"][style=\"width:100%\"] > tbody > tr:has(a[href^=\"download.php?torrent=\"]){{ if .Config.onlyupload }}:has(img[src=\"pic/oupic.gif\"]){{ else }}{{ end }}",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category_optional": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "optional": true,
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}129{{ end }}"
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]:has(b)"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]:has(b)",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img#img-1",
                    "attribute": "src"
                },
                "size": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(1)"
                },
                "grabs": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(3) > b"
                },
                "files": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(2)"
                },
                "seeders": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(2) > b:nth-child(1)"
                },
                "leechers": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(2) > b:nth-child(3)"
                },
                "date": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(5)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/oupic.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freeleech.gif\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.7
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "newstudio": {
        "id": "newstudio",
        "name": "NewStudio",
        "description": "NewStudio is a RUSSIAN Public site for TV",
        "language": "ru-RU",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://newstudio.tv/"
        ],
        "legacylinks": [
            "http://newstudio.tv/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "TV series"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "tracker.php"
                },
                {
                    "path": "tracker.php",
                    "inputs": {
                        "start": 50
                    }
                }
            ],
            "inputs": {
                "nm": "{{ .Keywords }}",
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "table.well > tbody > tr:has(a[href^=\"./viewtopic.php?t=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": 6
                },
                "title": {
                    "selector": "a[href^=\"./viewtopic.php?t=\"] > b",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Сезон\\s*(\\d+).+Серия\\s*(\\d+)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Сезон\\s*(\\d+)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)",
                                "$2 $1"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "-NewStudio"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"./viewtopic.php?t=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "td:nth-child(3) > a > img",
                    "attribute": "src"
                },
                "size": {
                    "selector": "td:nth-child(5) > a"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(Сегодня|Вчера|\\s|,|-)+",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(Today|Yesterday|\\s|,|-)+",
                                " "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Янв",
                                "Jan"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Фев",
                                "Feb"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Мар",
                                "Mar"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Апр",
                                "Apr"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Май",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июн",
                                "Jun"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июл",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Авг",
                                "Aug"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Сен",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Окт",
                                "Oct"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ноя",
                                "Nov"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Дек",
                                "Dec"
                            ]
                        },
                        {
                            "name": "append",
                            "args": ":00 +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "d MMM yy HH:mm:ss zzz"
                        }
                    ]
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "a[href^=\"./viewtopic.php?t=\"] > b"
                }
            }
        }
    },
    "newstudiol": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "newstudiol",
        "name": "NewStudioL",
        "description": "NewStudio is a RUSSIAN Public site for TV. This supports login.",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://newstudio.tv/"
        ],
        "legacylinks": [
            "http://newstudio.tv/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "TV series"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "freeleech_50",
                "type": "checkbox",
                "label": "Search freeleech and 50% freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "login": 1,
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.alert-error"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"/login.php?logout=1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker.php"
                },
                {
                    "path": "tracker.php",
                    "inputs": {
                        "start": 50
                    }
                }
            ],
            "inputs": {
                "nm": "{{ .Keywords }}",
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "tor_type": "{{ if .Config.freeleech_50 }}1{{ else }}{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "table.well > tbody > tr:has(a[href^=\"./viewtopic.php?t=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": 6
                },
                "title": {
                    "selector": "a[href^=\"./viewtopic.php?t=\"] > b",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Сезон\\s*(\\d+).+Серия\\s*(\\d+)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Сезон\\s*(\\d+)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)",
                                "$2 $1"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        },
                        {
                            "name": "append",
                            "args": "-NewStudio"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"./viewtopic.php?t=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "td:nth-child(3) > a > img",
                    "attribute": "src"
                },
                "size": {
                    "selector": "td:nth-child(5) > a"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(Сегодня|Вчера|\\s|,|-)+",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(Today|Yesterday|\\s|,|-)+",
                                " "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Янв",
                                "Jan"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Фев",
                                "Feb"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Мар",
                                "Mar"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Апр",
                                "Apr"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Май",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июн",
                                "Jun"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июл",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Авг",
                                "Aug"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Сен",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Окт",
                                "Oct"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ноя",
                                "Nov"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Дек",
                                "Dec"
                            ]
                        },
                        {
                            "name": "append",
                            "args": ":00 +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "d MMM yy HH:mm:ss zzz"
                        }
                    ]
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/tor_gold.gif\"]": 0,
                        "img[src=\"images/tor_silver.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "a[href^=\"./viewtopic.php?t=\"] > b"
                }
            }
        }
    },
    "nicept": {
        "credentials": {
            "cookie": ""
        },
        "id": "nicept",
        "name": "NicePT",
        "description": "NicePT is a CHINESE Private Torrent Tracker for 3X",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.nicept.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 500,
                    "cat": "XXX",
                    "desc": "日本有码"
                },
                {
                    "id": 401,
                    "cat": "XXX",
                    "desc": "日本无码"
                },
                {
                    "id": 402,
                    "cat": "XXX",
                    "desc": "欧美"
                },
                {
                    "id": 501,
                    "cat": "XXX",
                    "desc": "其他（限制级）"
                },
                {
                    "id": 403,
                    "cat": "XXX/Other",
                    "desc": "动漫（限制级）"
                },
                {
                    "id": 503,
                    "cat": "XXX",
                    "desc": "真人秀，自拍（限制级）"
                },
                {
                    "id": 404,
                    "cat": "XXX/ImageSet",
                    "desc": "写真、套图"
                },
                {
                    "id": 504,
                    "cat": "XXX",
                    "desc": "SM调教（限制级）"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran Users users and above will be retained forever</li><li>Elite Users and above will not have their account deleted after parking (in the Control Panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be banned if they do not log in for 40 consecutive days</li><li>Users with no traffic (ie, upload/download data are both 0) will be banned if they do not log in for 7 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "nipponsei": {
        "id": "nipponsei",
        "name": "Nipponsei",
        "description": "Nipponsei is a Public site for MUSIC fresh from JAPAN",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://nipponsei.minglong.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "music",
                    "cat": "Audio",
                    "desc": "Music"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "section": "Tracker",
                "search": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "tr.odd, tr.even"
            },
            "fields": {
                "category": {
                    "text": "music"
                },
                "title": {
                    "selector": "a",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "[Nipponsei] ",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "text": "/"
                },
                "download": {
                    "selector": "a",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td.date",
                    "optional": true,
                    "default": "now",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td.bytes",
                    "optional": true,
                    "default": "128 MB"
                },
                "seeders": {
                    "selector": "{{ if .Keywords }}td:nth-child(2){{ else }}td:nth-child(4){{ end }}"
                },
                "leechers": {
                    "selector": "{{ if .Keywords }}td:nth-child(3){{ else }}td:nth-child(5){{ end }}"
                },
                "grabs": {
                    "selector": "td.number"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "nirvana": {
        "credentials": {
            "apikey": ""
        },
        "id": "nirvana",
        "name": "Nirvana (API)",
        "description": "Nirvana is a Private RUSSIAN Tracker for MOVIES / TV",
        "language": "ru-RU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://nirvana.li/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Фильмы"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Сериалы"
                },
                {
                    "id": 6,
                    "cat": "Movies/Other",
                    "desc": "Аниме-фильмы"
                },
                {
                    "id": 7,
                    "cat": "TV/Anime",
                    "desc": "Аниме-сериалы"
                },
                {
                    "id": 8,
                    "cat": "Movies/Other",
                    "desc": "35mm"
                },
                {
                    "id": 4,
                    "cat": "Other",
                    "desc": "No"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://nirvana.li/\" target=\"_blank\">Nirvana</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Inactive users are regularly deleted. To keep an account, you must visit the site at least once a season."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres"
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "njtupt": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "njtupt",
        "name": "njtupt (浦园)",
        "description": "njtupt (浦园) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://njtupt.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影/Movies"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "剧集/TV-Series"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺/TV-Show"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫/Anime"
                },
                {
                    "id": 406,
                    "cat": "Audio",
                    "desc": "音乐/Music"
                },
                {
                    "id": 422,
                    "cat": "Audio/Video",
                    "desc": "演出/MusicVideo"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片/Documentary"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育/Sports"
                },
                {
                    "id": 415,
                    "cat": "TV",
                    "desc": "资料/Education"
                },
                {
                    "id": 425,
                    "cat": "PC/Games",
                    "desc": "游戏/Game"
                },
                {
                    "id": 428,
                    "cat": "PC/0day",
                    "desc": "软件/Software"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他/Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the njtupt (浦园) Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account Retention Rules:<ol><li>Veteran User or above would never be deleted; (Not enabled for the time being).</li><li>Elite User or above would never be deleted if parked (at User CP); (Not enabled for the time being).</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row.</li><li>Unparked accounts would be deleted if users have not logged in for more than 150 days in a row.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href*=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "nobs": {
        "credentials": {
            "apikey": ""
        },
        "id": "nobs",
        "name": "NOBS",
        "description": "NOBS (NUCLEAR ORDER BIT SYNDICATE) is a SPANISH Private Torrent Tracker for MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://nobs.rawsmoke.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Console",
                    "desc": "Retro Arcade"
                },
                {
                    "id": 4,
                    "cat": "Movies/Other",
                    "desc": "Movies"
                },
                {
                    "id": 5,
                    "cat": "TV/Anime",
                    "desc": "TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://nobs.rawsmoke.net/\" target=\"_blank\">NOBS</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }} Spanish"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 345600
                }
            }
        }
    },
    "noname-club": {
        "id": "noname-club",
        "replaces": [
            "nnm-club"
        ],
        "name": "NoNaMe Club",
        "description": "NoNaMe Club (NNM-Club) is a RUSSIAN Public Tracker for MOVIES / TV / MUSIC",
        "language": "ru-RU",
        "type": "public",
        "encoding": "windows-1251",
        "links": [
            "https://nnmclub.to/"
        ],
        "legacylinks": [
            "https://nnm-club.name/",
            "https://nnm-club.me/",
            "http://nnmclub.to/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 48,
                    "cat": "Other",
                    "desc": "Форум Региональные встречи"
                },
                {
                    "id": 925,
                    "cat": "Other",
                    "desc": "Форум-Трекер: Клубные таланты Авторские релизы"
                },
                {
                    "id": 872,
                    "cat": "Other",
                    "desc": "Форум-Трекер: Клубные таланты Архив"
                },
                {
                    "id": 724,
                    "cat": "TV",
                    "desc": "Видео, Кино и Сериалы для детей и родителей"
                },
                {
                    "id": 725,
                    "cat": "TV",
                    "desc": " |- Обучающее Видео для родителей"
                },
                {
                    "id": 729,
                    "cat": "TV",
                    "desc": " |- Развивающее Видео для детей"
                },
                {
                    "id": 731,
                    "cat": "TV",
                    "desc": " |- Отечественные Фильмы и Сериалы для детей (SD)"
                },
                {
                    "id": 1345,
                    "cat": "TV",
                    "desc": " |- Отечественные Фильмы и Сериалы для детей (HD, FHD, UHD)"
                },
                {
                    "id": 733,
                    "cat": "TV",
                    "desc": " |- Зарубежные Фильмы и Сериалы для детей (SD)"
                },
                {
                    "id": 1346,
                    "cat": "TV",
                    "desc": " |- Зарубежные Фильмы и Сериалы для детей (HD, FHD, UHD)"
                },
                {
                    "id": 1329,
                    "cat": "TV",
                    "desc": " |- Отечественные Мультфильмы 20-го века (SD)"
                },
                {
                    "id": 1330,
                    "cat": "TV",
                    "desc": " |- Отечественные Мультфильмы 20-го века (HD, FHD, UHD)"
                },
                {
                    "id": 1331,
                    "cat": "TV",
                    "desc": " |- Отечественные Мультфильмы 21-го века (SD)"
                },
                {
                    "id": 1332,
                    "cat": "TV",
                    "desc": " |- Отечественные Мультфильмы 21-го века (HD, FHD, UHD, 3D)"
                },
                {
                    "id": 1340,
                    "cat": "TV",
                    "desc": " |- Отечественные Мультфильмы (коллекции, сборники / *логии)"
                },
                {
                    "id": 658,
                    "cat": "TV",
                    "desc": " |- Отечественные Мультсериалы"
                },
                {
                    "id": 890,
                    "cat": "TV",
                    "desc": " |- Мультфильмы (3D)"
                },
                {
                    "id": 1336,
                    "cat": "TV",
                    "desc": " |- Зарубежные Мультфильмы 20-го века (SD)"
                },
                {
                    "id": 1337,
                    "cat": "TV",
                    "desc": " |- Зарубежные Мультфильмы 20-го века (HD, FHD, UHD)"
                },
                {
                    "id": 1338,
                    "cat": "TV",
                    "desc": " |- Зарубежные Мультфильмы 21-го века (SD)"
                },
                {
                    "id": 1339,
                    "cat": "TV",
                    "desc": " |- Зарубежные Мультфильмы 21-го века (HD, FHD, UHD)"
                },
                {
                    "id": 660,
                    "cat": "TV",
                    "desc": " |- Зарубежные Мультфильмы (коллекции, сборники / *логии)"
                },
                {
                    "id": 232,
                    "cat": "Other",
                    "desc": " |- Зарубежные Мультсериалы"
                },
                {
                    "id": 734,
                    "cat": "Other",
                    "desc": " |- Классика для мам и малышей"
                },
                {
                    "id": 742,
                    "cat": "Other",
                    "desc": " |- Музыка и песни для детей"
                },
                {
                    "id": 735,
                    "cat": "Other",
                    "desc": " |- Аудиокниги для детей и родителей"
                },
                {
                    "id": 738,
                    "cat": "Other",
                    "desc": " |- Образование, обучение и развитие детей"
                },
                {
                    "id": 967,
                    "cat": "Other",
                    "desc": " |- Логопедия, Психология, Педиатрия"
                },
                {
                    "id": 907,
                    "cat": "Other",
                    "desc": " |- Журналы для детей и родителей"
                },
                {
                    "id": 739,
                    "cat": "Other",
                    "desc": " |- Детская литература"
                },
                {
                    "id": 1109,
                    "cat": "Other",
                    "desc": " |- Энциклопедии и Познавательная литература для детей"
                },
                {
                    "id": 736,
                    "cat": "Other",
                    "desc": " |- Мультимедийные материалы для родителей"
                },
                {
                    "id": 737,
                    "cat": "Other",
                    "desc": " |- Мультимедийные материалы для детей"
                },
                {
                    "id": 898,
                    "cat": "Other",
                    "desc": " |- Рабочие тетради, прописи и разукрашки"
                },
                {
                    "id": 935,
                    "cat": "Other",
                    "desc": " |- Настольные игры и Поделки"
                },
                {
                    "id": 871,
                    "cat": "Other",
                    "desc": " |- Подвижные Игры"
                },
                {
                    "id": 973,
                    "cat": "Other",
                    "desc": " |- Изобразительное искусство"
                },
                {
                    "id": 960,
                    "cat": "Other",
                    "desc": " |- Прочие материалы для детей и родителей"
                },
                {
                    "id": 1239,
                    "cat": "Other",
                    "desc": " |- ГИА, ОГЭ, ЕГЭ, ЕМЭ, ГВЭ"
                },
                {
                    "id": 740,
                    "cat": "Other",
                    "desc": " |- Развивающие Игры для детей"
                },
                {
                    "id": 741,
                    "cat": "Other",
                    "desc": " |- Детские Игры"
                },
                {
                    "id": 503,
                    "cat": "Other",
                    "desc": "ОС Windows"
                },
                {
                    "id": 504,
                    "cat": "Other",
                    "desc": " |- Оригинальные версии Windows"
                },
                {
                    "id": 506,
                    "cat": "Other",
                    "desc": " |- Оригинальные версии Windows Server"
                },
                {
                    "id": 763,
                    "cat": "Other",
                    "desc": " |- Windows OEM Recovery СD/DVD"
                },
                {
                    "id": 1335,
                    "cat": "Other",
                    "desc": " |- Сборки Windows 11"
                },
                {
                    "id": 1241,
                    "cat": "Other",
                    "desc": " |- Сборки Windows 10"
                },
                {
                    "id": 1023,
                    "cat": "Other",
                    "desc": " |- Сборки Windows 8"
                },
                {
                    "id": 717,
                    "cat": "Other",
                    "desc": " |- Сборки Windows 7"
                },
                {
                    "id": 509,
                    "cat": "Other",
                    "desc": " |- Сборки Windows Vista"
                },
                {
                    "id": 508,
                    "cat": "Other",
                    "desc": " |- Сборки Windows ХР"
                },
                {
                    "id": 510,
                    "cat": "Other",
                    "desc": " |- Сборки Windows - всё в одном"
                },
                {
                    "id": 1254,
                    "cat": "Other",
                    "desc": " |- Сборки Windows для незрячих"
                },
                {
                    "id": 1042,
                    "cat": "Other",
                    "desc": " |- Песочница ПО и сборок Windows"
                },
                {
                    "id": 511,
                    "cat": "Other",
                    "desc": " |- Разное (RC, Beta и Service Packs)"
                },
                {
                    "id": 916,
                    "cat": "Other",
                    "desc": " |- Музей Windows"
                },
                {
                    "id": 512,
                    "cat": "Other",
                    "desc": "Утилиты, Офис, Интернет"
                },
                {
                    "id": 561,
                    "cat": "Other",
                    "desc": " |- ПО для Интернета и сетей"
                },
                {
                    "id": 1284,
                    "cat": "Other",
                    "desc": " |- Оригинальные версии Office"
                },
                {
                    "id": 562,
                    "cat": "Other",
                    "desc": " |- Офисное ПО"
                },
                {
                    "id": 513,
                    "cat": "Other",
                    "desc": " |- Запись, создание, редактирование, эмуляция дисков и..."
                },
                {
                    "id": 514,
                    "cat": "Other",
                    "desc": " |- Диагностика и обслуживание hardware"
                },
                {
                    "id": 515,
                    "cat": "Other",
                    "desc": " |- Резервирование и восстановление данных"
                },
                {
                    "id": 516,
                    "cat": "Other",
                    "desc": " |- Файловые менеджеры и архиваторы"
                },
                {
                    "id": 517,
                    "cat": "Other",
                    "desc": " |- Обслуживание ОС"
                },
                {
                    "id": 518,
                    "cat": "Other",
                    "desc": " |- Разное (Утилиты, Офис, Интернет)"
                },
                {
                    "id": 519,
                    "cat": "Other",
                    "desc": "Безопасность"
                },
                {
                    "id": 520,
                    "cat": "Other",
                    "desc": " |- Firewalls"
                },
                {
                    "id": 521,
                    "cat": "Other",
                    "desc": " |- Антивирусы"
                },
                {
                    "id": 522,
                    "cat": "Other",
                    "desc": " |- Комплексные системы защиты"
                },
                {
                    "id": 523,
                    "cat": "Other",
                    "desc": " |- Разное (остальные программы по безопасности)"
                },
                {
                    "id": 524,
                    "cat": "Other",
                    "desc": "Мультимедиа и Графика"
                },
                {
                    "id": 532,
                    "cat": "Other",
                    "desc": " |- Аудио Плееры и Кодеки"
                },
                {
                    "id": 533,
                    "cat": "Other",
                    "desc": " |- Аудио Граббинг, Мастеринг, Обработка"
                },
                {
                    "id": 535,
                    "cat": "Other",
                    "desc": " |- Прочее ПО для Аудио"
                },
                {
                    "id": 530,
                    "cat": "Other",
                    "desc": " |- Видео Плееры и Кодеки"
                },
                {
                    "id": 529,
                    "cat": "Other",
                    "desc": " |- Нелинейный Видеомонтаж, Авторинг, Кодировщики"
                },
                {
                    "id": 525,
                    "cat": "Other",
                    "desc": " |- Просмотрщики Графики (вьюверы)"
                },
                {
                    "id": 526,
                    "cat": "Other",
                    "desc": " |- Графические редакторы"
                },
                {
                    "id": 527,
                    "cat": "Other",
                    "desc": " |- ПО для моделирования"
                },
                {
                    "id": 545,
                    "cat": "Other",
                    "desc": "Софт и оболочки для специалистов, Прочее"
                },
                {
                    "id": 764,
                    "cat": "Other",
                    "desc": " |- LiveCD/DVD/Flash"
                },
                {
                    "id": 765,
                    "cat": "Other",
                    "desc": " |- WPI"
                },
                {
                    "id": 820,
                    "cat": "Other",
                    "desc": " |- Серверное ПО"
                },
                {
                    "id": 552,
                    "cat": "Other",
                    "desc": " |- Разработка ПО"
                },
                {
                    "id": 553,
                    "cat": "Other",
                    "desc": " |- САПР/ГИС"
                },
                {
                    "id": 554,
                    "cat": "Other",
                    "desc": " |- Остальное ПО для специалистов"
                },
                {
                    "id": 550,
                    "cat": "Other",
                    "desc": " |- Системы навигации и карты"
                },
                {
                    "id": 549,
                    "cat": "Other",
                    "desc": " |- Драйверы"
                },
                {
                    "id": 548,
                    "cat": "Other",
                    "desc": " |- Разное (прочее ПО)"
                },
                {
                    "id": 216,
                    "cat": "Movies",
                    "desc": "Горячие новинки"
                },
                {
                    "id": 270,
                    "cat": "Movies",
                    "desc": " |- Отечественные Новинки (SD, DVD)"
                },
                {
                    "id": 218,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Новинки (SD, DVD)"
                },
                {
                    "id": 219,
                    "cat": "Movies",
                    "desc": " |- Отечественные Новинки (HD, FHD, UHD, 3D)"
                },
                {
                    "id": 954,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Новинки (HD, FHD, UHD, 3D)"
                },
                {
                    "id": 217,
                    "cat": "Movies",
                    "desc": " |- Экранки"
                },
                {
                    "id": 1293,
                    "cat": "Movies",
                    "desc": " |- Новинки с Рекламой"
                },
                {
                    "id": 1298,
                    "cat": "Movies",
                    "desc": " |- Экранки с рекламой"
                },
                {
                    "id": 318,
                    "cat": "Movies",
                    "desc": "Классика кино и Старые фильмы до 90-х"
                },
                {
                    "id": 320,
                    "cat": "Movies",
                    "desc": " |- Отечественная Классика (SD)"
                },
                {
                    "id": 677,
                    "cat": "Movies",
                    "desc": " |- Отечественная Классика (DVD)"
                },
                {
                    "id": 1177,
                    "cat": "Movies",
                    "desc": " |- Отечественная Классика (HD, FHD, UHD)"
                },
                {
                    "id": 319,
                    "cat": "Movies",
                    "desc": " |- Зарубежная Классика (SD)"
                },
                {
                    "id": 678,
                    "cat": "Movies",
                    "desc": " |- Зарубежная Классика (DVD)"
                },
                {
                    "id": 885,
                    "cat": "Movies",
                    "desc": " |- Зарубежная Классика (HD, FHD, UHD, 3D)"
                },
                {
                    "id": 908,
                    "cat": "Movies",
                    "desc": " |- Старые Отечественные Фильмы (SD)"
                },
                {
                    "id": 1310,
                    "cat": "Movies",
                    "desc": " |- Старые Отечественные Фильмы (DVD)"
                },
                {
                    "id": 909,
                    "cat": "Movies",
                    "desc": " |- Старые Отечественные Фильмы (HD, FHD, UHD)"
                },
                {
                    "id": 910,
                    "cat": "Movies",
                    "desc": " |- Старые Зарубежные Фильмы (SD)"
                },
                {
                    "id": 911,
                    "cat": "Movies",
                    "desc": " |- Старые Зарубежные Фильмы (DVD)"
                },
                {
                    "id": 912,
                    "cat": "Movies",
                    "desc": " |- Старые Зарубежные Фильмы (HD, FHD, UHD, 3D)"
                },
                {
                    "id": 220,
                    "cat": "Movies",
                    "desc": "Отечественное кино"
                },
                {
                    "id": 221,
                    "cat": "Movies",
                    "desc": " |- Отечественные Фильмы (SD)"
                },
                {
                    "id": 222,
                    "cat": "Movies",
                    "desc": " |- Отечественные Фильмы (DVD)"
                },
                {
                    "id": 882,
                    "cat": "Movies",
                    "desc": " |- Отечественные Фильмы (HD, FHD, UHD)"
                },
                {
                    "id": 889,
                    "cat": "Movies",
                    "desc": " |- Отечественные Фильмы (3D)"
                },
                {
                    "id": 224,
                    "cat": "Movies",
                    "desc": "Зарубежное кино"
                },
                {
                    "id": 225,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Фильмы (SD)"
                },
                {
                    "id": 226,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Фильмы (DVD)"
                },
                {
                    "id": 227,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Фильмы (HD, FHD)"
                },
                {
                    "id": 1296,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Фильмы (UHD)"
                },
                {
                    "id": 891,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Фильмы (3D)"
                },
                {
                    "id": 1299,
                    "cat": "Movies",
                    "desc": " |- Фильмы ближнего зарубежья"
                },
                {
                    "id": 682,
                    "cat": "Movies",
                    "desc": " |- Азиатское кино (SD)"
                },
                {
                    "id": 694,
                    "cat": "Movies",
                    "desc": " |- Азиатское кино (DVD)"
                },
                {
                    "id": 884,
                    "cat": "Movies",
                    "desc": " |- Азиатское кино (HD, FHD, UHD)"
                },
                {
                    "id": 1211,
                    "cat": "Movies",
                    "desc": " |- Азиатское кино (3D)"
                },
                {
                    "id": 693,
                    "cat": "Movies",
                    "desc": " |- Индийское кино"
                },
                {
                    "id": 913,
                    "cat": "Movies",
                    "desc": " |- Фильмы с переводом на др. языках"
                },
                {
                    "id": 228,
                    "cat": "Movies",
                    "desc": " |- Фильмы в оригинале (SD, DVD)"
                },
                {
                    "id": 1150,
                    "cat": "Movies",
                    "desc": " |- Фильмы в оригинале (HD, FHD, UHD)"
                },
                {
                    "id": 1311,
                    "cat": "Movies",
                    "desc": "Коллекции / *логии"
                },
                {
                    "id": 1313,
                    "cat": "Movies",
                    "desc": " |- Зарубежное кино (коллекции / *логии)"
                },
                {
                    "id": 1312,
                    "cat": "Movies",
                    "desc": " |- Отечественное кино (коллекции / *логии)"
                },
                {
                    "id": 256,
                    "cat": "Movies",
                    "desc": "Театр и Музыкальное видео"
                },
                {
                    "id": 257,
                    "cat": "Movies",
                    "desc": " |- Музыкальные клипы"
                },
                {
                    "id": 258,
                    "cat": "Movies",
                    "desc": " |- Концерты (SD)"
                },
                {
                    "id": 883,
                    "cat": "Movies",
                    "desc": " |- Концерты (DVD)"
                },
                {
                    "id": 955,
                    "cat": "Movies",
                    "desc": " |- Концерты (HD, FHD, UHD, 3D)"
                },
                {
                    "id": 905,
                    "cat": "Movies",
                    "desc": " |- Театр"
                },
                {
                    "id": 271,
                    "cat": "Movies",
                    "desc": " |- Опера, Балет, Мюзиклы"
                },
                {
                    "id": 1210,
                    "cat": "Movies",
                    "desc": " |- Караоке"
                },
                {
                    "id": 264,
                    "cat": "Movies",
                    "desc": "Остальное"
                },
                {
                    "id": 265,
                    "cat": "Movies",
                    "desc": " |- Звуковые дорожки и субтитры"
                },
                {
                    "id": 272,
                    "cat": "Movies",
                    "desc": " |- Игровое видео"
                },
                {
                    "id": 1262,
                    "cat": "Movies",
                    "desc": " |- hand made * video"
                },
                {
                    "id": 266,
                    "cat": "Movies",
                    "desc": " |- Трейлеры"
                },
                {
                    "id": 1294,
                    "cat": "Movies",
                    "desc": " |- Фильмы с Рекламой"
                },
                {
                    "id": 1219,
                    "cat": "TV",
                    "desc": "Классика сериалов и многосерийное кино до 90-х"
                },
                {
                    "id": 1221,
                    "cat": "TV",
                    "desc": " |- Отечественная классика сериалов и старое многосерийное..."
                },
                {
                    "id": 1220,
                    "cat": "TV",
                    "desc": " |- Зарубежная классика сериалов и старое многосерийное кино..."
                },
                {
                    "id": 722,
                    "cat": "TV",
                    "desc": " |- Чертова служба в госпитале МЭШ / M*A*S*H"
                },
                {
                    "id": 768,
                    "cat": "TV",
                    "desc": "Зарубежные сериалы"
                },
                {
                    "id": 1344,
                    "cat": "Other",
                    "desc": " |- Звездные войны / Star Wars (сериалы по франшизе)"
                },
                {
                    "id": 779,
                    "cat": "TV",
                    "desc": " |- Анатомия страсти / Grey's Anatomy"
                },
                {
                    "id": 1288,
                    "cat": "TV",
                    "desc": " |- Во все тяжкие / Breaking Bad; Лучше звоните Солу / Better..."
                },
                {
                    "id": 787,
                    "cat": "TV",
                    "desc": " |- Грань / Fringe"
                },
                {
                    "id": 1141,
                    "cat": "TV",
                    "desc": " |- Дневники вампира / Vampire Diaries; Настоящая кровь /..."
                },
                {
                    "id": 777,
                    "cat": "TV",
                    "desc": " |- Доктор кто / Doctor Who; Торчвуд / Torchwood"
                },
                {
                    "id": 786,
                    "cat": "TV",
                    "desc": " |- Доктор Хаус / House M.D."
                },
                {
                    "id": 776,
                    "cat": "TV",
                    "desc": " |- Звездные врата / Stargate"
                },
                {
                    "id": 785,
                    "cat": "TV",
                    "desc": " |- Звездный Крейсер Галактика / BattleStar Galactica;..."
                },
                {
                    "id": 775,
                    "cat": "TV",
                    "desc": " |- Звездный путь / Star Trek; Орвилл / The Orville"
                },
                {
                    "id": 1265,
                    "cat": "TV",
                    "desc": " |- Игра престолов / Game of Thrones"
                },
                {
                    "id": 1242,
                    "cat": "TV",
                    "desc": " |- Касл / Castle"
                },
                {
                    "id": 1140,
                    "cat": "TV",
                    "desc": " |- Кости / Bones"
                },
                {
                    "id": 782,
                    "cat": "TV",
                    "desc": " |- Менталист / The Mentalist; Теория Лжи / Lie To Me"
                },
                {
                    "id": 773,
                    "cat": "TV",
                    "desc": " |- Место преступления / CSI"
                },
                {
                    "id": 1142,
                    "cat": "TV",
                    "desc": " |- Морская полиция / Navy NCIS; Военно-юридическая служба /..."
                },
                {
                    "id": 772,
                    "cat": "TV",
                    "desc": " |- Побег / Prison Break"
                },
                {
                    "id": 771,
                    "cat": "TV",
                    "desc": " |- Пуаро / Poirot"
                },
                {
                    "id": 783,
                    "cat": "TV",
                    "desc": " |- Сверхъестественное / Supernatural"
                },
                {
                    "id": 1144,
                    "cat": "TV",
                    "desc": " |- Секретные материалы / X-Files"
                },
                {
                    "id": 804,
                    "cat": "TV",
                    "desc": " |- Теория Большого Взрыва / The Big Bang Theory; Детство..."
                },
                {
                    "id": 1290,
                    "cat": "TV",
                    "desc": " |- Ходячие мертвецы / The Walking Dead; Бойтесь ходячих..."
                },
                {
                    "id": 1300,
                    "cat": "TV",
                    "desc": " |- Сериалы ближнего зарубежья"
                },
                {
                    "id": 784,
                    "cat": "TV",
                    "desc": " |- Сериалы DC Comics"
                },
                {
                    "id": 774,
                    "cat": "TV",
                    "desc": " |- Сериалы Marvel Comics"
                },
                {
                    "id": 922,
                    "cat": "TV",
                    "desc": " |- Азиатские сериалы"
                },
                {
                    "id": 770,
                    "cat": "TV",
                    "desc": " |- Латиноамериканские сериалы"
                },
                {
                    "id": 1320,
                    "cat": "TV",
                    "desc": " |- Турецкие сериалы"
                },
                {
                    "id": 780,
                    "cat": "TV",
                    "desc": " |- Сериалы без русского перевода (украинская озвучка)"
                },
                {
                    "id": 781,
                    "cat": "TV",
                    "desc": " |- Сериалы без перевода"
                },
                {
                    "id": 1322,
                    "cat": "TV",
                    "desc": " |- Сериалы с рекламой"
                },
                {
                    "id": 769,
                    "cat": "TV",
                    "desc": "Отечественные сериалы"
                },
                {
                    "id": 799,
                    "cat": "TV",
                    "desc": " |- Бандитский Петербург"
                },
                {
                    "id": 800,
                    "cat": "TV",
                    "desc": " |- Глухарь"
                },
                {
                    "id": 791,
                    "cat": "TV",
                    "desc": " |- Интерны"
                },
                {
                    "id": 793,
                    "cat": "TV",
                    "desc": " |- Ментовские войны"
                },
                {
                    "id": 794,
                    "cat": "TV",
                    "desc": " |- Менты"
                },
                {
                    "id": 796,
                    "cat": "TV",
                    "desc": " |- Солдаты"
                },
                {
                    "id": 795,
                    "cat": "TV",
                    "desc": " |- Универ"
                },
                {
                    "id": 713,
                    "cat": "TV",
                    "desc": "Зарубежные TV-бренды"
                },
                {
                    "id": 706,
                    "cat": "TV",
                    "desc": " |- Animal Planet"
                },
                {
                    "id": 577,
                    "cat": "TV",
                    "desc": " |- BBC"
                },
                {
                    "id": 894,
                    "cat": "TV",
                    "desc": " |- Da Vinci Learning"
                },
                {
                    "id": 578,
                    "cat": "TV",
                    "desc": " |- Discovery"
                },
                {
                    "id": 580,
                    "cat": "TV",
                    "desc": " |- History Channel"
                },
                {
                    "id": 579,
                    "cat": "TV",
                    "desc": " |- National Geographic"
                },
                {
                    "id": 953,
                    "cat": "TV",
                    "desc": " |- PBS"
                },
                {
                    "id": 581,
                    "cat": "TV",
                    "desc": " |- Readers Digest"
                },
                {
                    "id": 806,
                    "cat": "TV",
                    "desc": " |- Интересно обо всем"
                },
                {
                    "id": 714,
                    "cat": "TV",
                    "desc": " |- Мега-Проекты"
                },
                {
                    "id": 761,
                    "cat": "TV",
                    "desc": " |- Доисторический мир"
                },
                {
                    "id": 809,
                    "cat": "TV",
                    "desc": " |- Мир будущего"
                },
                {
                    "id": 924,
                    "cat": "TV",
                    "desc": " |- Одиссея Жака Кусто"
                },
                {
                    "id": 812,
                    "cat": "TV",
                    "desc": " |- Тайны и Загадки"
                },
                {
                    "id": 576,
                    "cat": "TV",
                    "desc": "Документалистика и Телепередачи"
                },
                {
                    "id": 590,
                    "cat": "TV",
                    "desc": " |- Кинолетопись Страны Советской"
                },
                {
                    "id": 591,
                    "cat": "TV",
                    "desc": " |- Вторая Мировая война"
                },
                {
                    "id": 588,
                    "cat": "TV",
                    "desc": " |- Отечественная история"
                },
                {
                    "id": 589,
                    "cat": "TV",
                    "desc": " |- История"
                },
                {
                    "id": 598,
                    "cat": "TV",
                    "desc": " |- Личности в истории"
                },
                {
                    "id": 652,
                    "cat": "TV",
                    "desc": " |- Посвящение искусству"
                },
                {
                    "id": 599,
                    "cat": "TV",
                    "desc": " |- Телешоу"
                },
                {
                    "id": 959,
                    "cat": "TV",
                    "desc": " |- Музыкальные шоу"
                },
                {
                    "id": 956,
                    "cat": "TV",
                    "desc": " |- Интеллектуальные шоу"
                },
                {
                    "id": 597,
                    "cat": "TV",
                    "desc": " |- Непознанное и сверхъестественное"
                },
                {
                    "id": 593,
                    "cat": "TV",
                    "desc": " |- Живая природа"
                },
                {
                    "id": 594,
                    "cat": "TV",
                    "desc": " |- Клуб кинопутешествий"
                },
                {
                    "id": 819,
                    "cat": "TV",
                    "desc": " |- За рулем"
                },
                {
                    "id": 595,
                    "cat": "TV",
                    "desc": " |- Релакс / Relax"
                },
                {
                    "id": 587,
                    "cat": "TV",
                    "desc": " |- Военное дело"
                },
                {
                    "id": 584,
                    "cat": "TV",
                    "desc": " |- Авиация"
                },
                {
                    "id": 586,
                    "cat": "TV",
                    "desc": " |- Космос"
                },
                {
                    "id": 585,
                    "cat": "TV",
                    "desc": " |- Флот"
                },
                {
                    "id": 600,
                    "cat": "TV",
                    "desc": " |- Тележурналистика"
                },
                {
                    "id": 596,
                    "cat": "TV",
                    "desc": " |- Политика и пропаганда, публицистика и экономика"
                },
                {
                    "id": 1295,
                    "cat": "TV",
                    "desc": " |- Общественно-политические и пропагандистские ток-шоу"
                },
                {
                    "id": 614,
                    "cat": "TV",
                    "desc": " |- Религии и культы (Док/TV)"
                },
                {
                    "id": 603,
                    "cat": "TV",
                    "desc": "Спорт и активный отдых"
                },
                {
                    "id": 1308,
                    "cat": "TV",
                    "desc": " |- Хоккей. Чемпионат мира"
                },
                {
                    "id": 1309,
                    "cat": "TV",
                    "desc": " |- Футбол. Чемпионат Европы"
                },
                {
                    "id": 1206,
                    "cat": "TV",
                    "desc": " |- Футбол. Чемпионат Мира"
                },
                {
                    "id": 1194,
                    "cat": "TV",
                    "desc": " |- Летние Олимпийские игры и Паралимпийские игры"
                },
                {
                    "id": 1062,
                    "cat": "TV",
                    "desc": " |- Зимние Олимпийские игры и Паралимпийские игры"
                },
                {
                    "id": 974,
                    "cat": "TV",
                    "desc": " |- Футбол"
                },
                {
                    "id": 609,
                    "cat": "TV",
                    "desc": " |- Баскетбол, Волейбол, Гандбол"
                },
                {
                    "id": 1263,
                    "cat": "TV",
                    "desc": " |- Хоккей"
                },
                {
                    "id": 951,
                    "cat": "TV",
                    "desc": " |- Прочие зимние виды спорта"
                },
                {
                    "id": 975,
                    "cat": "TV",
                    "desc": " |- Бокс"
                },
                {
                    "id": 608,
                    "cat": "TV",
                    "desc": " |- Единоборства, Бои без правил"
                },
                {
                    "id": 607,
                    "cat": "TV",
                    "desc": " |- Гимнастика, Бодибилдинг, Красота тела"
                },
                {
                    "id": 606,
                    "cat": "TV",
                    "desc": " |- Авто, Мото"
                },
                {
                    "id": 750,
                    "cat": "TV",
                    "desc": " |- Формула 1"
                },
                {
                    "id": 605,
                    "cat": "TV",
                    "desc": " |- Экстрим"
                },
                {
                    "id": 604,
                    "cat": "TV",
                    "desc": " |- Рыбалка и Охота"
                },
                {
                    "id": 950,
                    "cat": "TV",
                    "desc": " |- Бильярд"
                },
                {
                    "id": 610,
                    "cat": "TV",
                    "desc": "Юмор (ТВ)"
                },
                {
                    "id": 613,
                    "cat": "TV",
                    "desc": " |- КВН"
                },
                {
                    "id": 612,
                    "cat": "TV",
                    "desc": " |- ПостКВН"
                },
                {
                    "id": 653,
                    "cat": "TV",
                    "desc": " |- Украинские шоу"
                },
                {
                    "id": 654,
                    "cat": "TV",
                    "desc": " |- Маски-шоу"
                },
                {
                    "id": 611,
                    "cat": "TV",
                    "desc": " |- Сатирики"
                },
                {
                    "id": 656,
                    "cat": "TV",
                    "desc": " |- Приколы"
                },
                {
                    "id": 615,
                    "cat": "TV/Anime",
                    "desc": "Манга и Арт"
                },
                {
                    "id": 616,
                    "cat": "TV/Anime",
                    "desc": " |- Манга, Манхва, Маньхуа"
                },
                {
                    "id": 617,
                    "cat": "TV/Anime",
                    "desc": " |- Ранобэ"
                },
                {
                    "id": 648,
                    "cat": "TV/Anime",
                    "desc": " |- Визуальные новеллы"
                },
                {
                    "id": 619,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме арт"
                },
                {
                    "id": 620,
                    "cat": "TV/Anime",
                    "desc": "Аниме с субтитрами"
                },
                {
                    "id": 623,
                    "cat": "TV/Anime",
                    "desc": " |- Онгоинги"
                },
                {
                    "id": 622,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме (SD)"
                },
                {
                    "id": 621,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме (HD)"
                },
                {
                    "id": 632,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме (FullHD)"
                },
                {
                    "id": 624,
                    "cat": "TV/Anime",
                    "desc": "Аниме с озвучкой"
                },
                {
                    "id": 627,
                    "cat": "TV/Anime",
                    "desc": " |- Онгоинги с озвучкой"
                },
                {
                    "id": 626,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме с озвучкой (SD)"
                },
                {
                    "id": 625,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме с озвучкой (HD)"
                },
                {
                    "id": 644,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме с озвучкой (FullHD)"
                },
                {
                    "id": 628,
                    "cat": "TV/Anime",
                    "desc": "Аниме разное"
                },
                {
                    "id": 635,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме DVD"
                },
                {
                    "id": 634,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме Blu-ray, Remux"
                },
                {
                    "id": 638,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме хардсаб"
                },
                {
                    "id": 646,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме прочее"
                },
                {
                    "id": 645,
                    "cat": "TV/Anime",
                    "desc": "Аниме музыка"
                },
                {
                    "id": 639,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме OST (Lossless)"
                },
                {
                    "id": 640,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме OST"
                },
                {
                    "id": 432,
                    "cat": "Books",
                    "desc": "Научная и техническая литература"
                },
                {
                    "id": 755,
                    "cat": "Books",
                    "desc": " |- Учебники"
                },
                {
                    "id": 481,
                    "cat": "Books",
                    "desc": " |- Иностранные языки (литература)"
                },
                {
                    "id": 557,
                    "cat": "Books",
                    "desc": " |- Гуманитарные науки и искусство"
                },
                {
                    "id": 442,
                    "cat": "Books",
                    "desc": " |- Точные и естественные науки"
                },
                {
                    "id": 441,
                    "cat": "Books",
                    "desc": " |- Техническая литература"
                },
                {
                    "id": 875,
                    "cat": "Books",
                    "desc": " |- Военно-историческая литература"
                },
                {
                    "id": 1176,
                    "cat": "Books",
                    "desc": " |- Историческая литература"
                },
                {
                    "id": 444,
                    "cat": "Books",
                    "desc": " |- Научно-популярная литература"
                },
                {
                    "id": 443,
                    "cat": "Books",
                    "desc": " |- Здоровье и медицина"
                },
                {
                    "id": 440,
                    "cat": "Books",
                    "desc": " |- Нормативная документация"
                },
                {
                    "id": 1199,
                    "cat": "Books",
                    "desc": " |- Энциклопедии и словари"
                },
                {
                    "id": 433,
                    "cat": "Books",
                    "desc": "Компьютерная литература"
                },
                {
                    "id": 447,
                    "cat": "Books",
                    "desc": " |- Программирование"
                },
                {
                    "id": 445,
                    "cat": "Books",
                    "desc": " |- Веб-дизайн"
                },
                {
                    "id": 817,
                    "cat": "Books",
                    "desc": " |- 2D графика"
                },
                {
                    "id": 818,
                    "cat": "Books",
                    "desc": " |- 3D графика"
                },
                {
                    "id": 434,
                    "cat": "Books",
                    "desc": "Художественная литература"
                },
                {
                    "id": 1349,
                    "cat": "Books",
                    "desc": " |- Библиотеки"
                },
                {
                    "id": 957,
                    "cat": "Books",
                    "desc": " |- Многоавторские сборники и Библиотеки"
                },
                {
                    "id": 931,
                    "cat": "Books",
                    "desc": " |- Собрания книг русскоязычных авторов"
                },
                {
                    "id": 1152,
                    "cat": "Books",
                    "desc": " |- Собрания книг иностранных авторов"
                },
                {
                    "id": 455,
                    "cat": "Books",
                    "desc": " |- Сатира, Юмор"
                },
                {
                    "id": 453,
                    "cat": "Books",
                    "desc": " |- Боевики, Детективы, Триллеры"
                },
                {
                    "id": 1063,
                    "cat": "Books",
                    "desc": " |- Приключенческая проза "
                },
                {
                    "id": 452,
                    "cat": "Books",
                    "desc": " |- Историческая проза, Мифы и Легенды"
                },
                {
                    "id": 451,
                    "cat": "Books",
                    "desc": " |- Фантастика, Фэнтези"
                },
                {
                    "id": 449,
                    "cat": "Books",
                    "desc": " |- Современная поэзия и проза"
                },
                {
                    "id": 1153,
                    "cat": "Books",
                    "desc": " |- Классическая поэзия и проза"
                },
                {
                    "id": 1347,
                    "cat": "Books",
                    "desc": "Книги вне издательств, самиздат (все жанры)"
                },
                {
                    "id": 482,
                    "cat": "Books",
                    "desc": "Комиксы и Артбуки"
                },
                {
                    "id": 483,
                    "cat": "Books",
                    "desc": " |- Комиксы на русском языке"
                },
                {
                    "id": 484,
                    "cat": "Books",
                    "desc": " |- Комиксы без перевода"
                },
                {
                    "id": 1343,
                    "cat": "Books",
                    "desc": " |- Артбуки"
                },
                {
                    "id": 438,
                    "cat": "Books",
                    "desc": "Художественные аудиокниги и публицистика"
                },
                {
                    "id": 485,
                    "cat": "Books",
                    "desc": " |- Сатира, Юмор (аудиокниги)"
                },
                {
                    "id": 473,
                    "cat": "Books",
                    "desc": " |- Детектив, Боевик (аудиокниги)"
                },
                {
                    "id": 472,
                    "cat": "Books",
                    "desc": " |- Исторические аудиокниги"
                },
                {
                    "id": 471,
                    "cat": "Books",
                    "desc": " |- Классика (аудиокниги)"
                },
                {
                    "id": 895,
                    "cat": "Books",
                    "desc": " |- Проза, Поэзия (аудиокниги)"
                },
                {
                    "id": 470,
                    "cat": "Books",
                    "desc": " |- Фантастика, Фэнтези (аудиокниги)"
                },
                {
                    "id": 896,
                    "cat": "Books",
                    "desc": " |- Публицистика (аудиокниги)"
                },
                {
                    "id": 480,
                    "cat": "Books",
                    "desc": " |- Другие аудиокниги"
                },
                {
                    "id": 436,
                    "cat": "Audio/Audiobook",
                    "desc": "Обучающие аудиоматериалы"
                },
                {
                    "id": 458,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Бизнес и Менеджмент (аудиоматериалы)"
                },
                {
                    "id": 457,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Иностранные языки (аудиоматериалы)"
                },
                {
                    "id": 1342,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Здоровье и Медицина (аудиоматериалы)"
                },
                {
                    "id": 459,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Популярная психология и саморазвитие (аудиоматериалы)"
                },
                {
                    "id": 460,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Медитации (аудиоматериалы)"
                },
                {
                    "id": 461,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Религия (аудиоматериалы)"
                },
                {
                    "id": 462,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Прочие аудиоматериалы"
                },
                {
                    "id": 437,
                    "cat": "Books",
                    "desc": "Обучающие видеоматериалы"
                },
                {
                    "id": 466,
                    "cat": "TV",
                    "desc": " |- Бизнес и Менеджмент (видеокурсы)"
                },
                {
                    "id": 1319,
                    "cat": "TV",
                    "desc": " |- Иностранные языки (видеокурсы)"
                },
                {
                    "id": 463,
                    "cat": "TV",
                    "desc": " |- IT, Компьютерные видеокурсы"
                },
                {
                    "id": 958,
                    "cat": "TV",
                    "desc": " |- Дизайн, рисование (видеокурсы)"
                },
                {
                    "id": 1223,
                    "cat": "TV",
                    "desc": " |- Фотография и Видео (видеокурсы)"
                },
                {
                    "id": 467,
                    "cat": "TV",
                    "desc": " |- Здоровье и Спорт (видеокурсы)"
                },
                {
                    "id": 464,
                    "cat": "TV",
                    "desc": " |- Психология и саморазвитие (видеокурсы)"
                },
                {
                    "id": 465,
                    "cat": "TV",
                    "desc": " |- Музыка (видеокурсы)"
                },
                {
                    "id": 1348,
                    "cat": "TV",
                    "desc": " |- Домоводство, строительство и ремонт (видеокурсы)"
                },
                {
                    "id": 469,
                    "cat": "TV",
                    "desc": " |- Другие видеокурсы"
                },
                {
                    "id": 439,
                    "cat": "Books",
                    "desc": "Мультимедийные материалы"
                },
                {
                    "id": 477,
                    "cat": "Books",
                    "desc": " |- Образование"
                },
                {
                    "id": 476,
                    "cat": "Books",
                    "desc": " |- Иностранные языки"
                },
                {
                    "id": 475,
                    "cat": "Books",
                    "desc": " |- Компьютеры"
                },
                {
                    "id": 474,
                    "cat": "Books",
                    "desc": " |- Мультимедийные справочники, Энциклопедии"
                },
                {
                    "id": 886,
                    "cat": "Books",
                    "desc": " |- Приложения к журналам"
                },
                {
                    "id": 478,
                    "cat": "Books",
                    "desc": " |- Другие мультимедийные материалы"
                },
                {
                    "id": 486,
                    "cat": "Books",
                    "desc": "Журналы"
                },
                {
                    "id": 490,
                    "cat": "Books",
                    "desc": " |- Мужские журналы"
                },
                {
                    "id": 657,
                    "cat": "Books",
                    "desc": " |- Женские журналы"
                },
                {
                    "id": 489,
                    "cat": "Books",
                    "desc": " |- Игровые журналы"
                },
                {
                    "id": 488,
                    "cat": "Books",
                    "desc": " |- Компьютерные журналы"
                },
                {
                    "id": 487,
                    "cat": "Books",
                    "desc": " |- Научно-популярные журналы"
                },
                {
                    "id": 1198,
                    "cat": "Books",
                    "desc": " |- Журналы по электротехнике и радиоэлектронике"
                },
                {
                    "id": 1227,
                    "cat": "Books",
                    "desc": " |- Кулинарные журналы"
                },
                {
                    "id": 893,
                    "cat": "Books",
                    "desc": " |- Домоводство (журналы)"
                },
                {
                    "id": 491,
                    "cat": "Books",
                    "desc": " |- Хобби (журналы)"
                },
                {
                    "id": 767,
                    "cat": "Books",
                    "desc": " |- Другие журналы"
                },
                {
                    "id": 299,
                    "cat": "Books",
                    "desc": "Автомобили"
                },
                {
                    "id": 887,
                    "cat": "Books",
                    "desc": " |- Автомобильные журналы"
                },
                {
                    "id": 301,
                    "cat": "Books",
                    "desc": " |- Автомобильная литература"
                },
                {
                    "id": 1334,
                    "cat": "Books",
                    "desc": " |- Автомобильные обуч.видео"
                },
                {
                    "id": 300,
                    "cat": "Books",
                    "desc": " |- Автомобильные мультимедийные материалы"
                },
                {
                    "id": 1341,
                    "cat": "Books",
                    "desc": " |- Автомобильные программы и навигаторы"
                },
                {
                    "id": 492,
                    "cat": "Books",
                    "desc": "Разное (категория книг)"
                },
                {
                    "id": 558,
                    "cat": "Books",
                    "desc": " |- Бизнес, Менеджмент, Деловая литература"
                },
                {
                    "id": 1173,
                    "cat": "Books",
                    "desc": " |- Публицистика"
                },
                {
                    "id": 1174,
                    "cat": "Books",
                    "desc": " |- Популярная психология и саморазвитие"
                },
                {
                    "id": 1171,
                    "cat": "Books",
                    "desc": " |- Эзотерика"
                },
                {
                    "id": 662,
                    "cat": "Books",
                    "desc": " |- Религиозная литература"
                },
                {
                    "id": 1175,
                    "cat": "Books",
                    "desc": " |- Нетрадиционная медицина"
                },
                {
                    "id": 1172,
                    "cat": "Books",
                    "desc": " |- Строительство и ремонт"
                },
                {
                    "id": 933,
                    "cat": "Books",
                    "desc": " |- Сад, огород, животноводство"
                },
                {
                    "id": 815,
                    "cat": "Books",
                    "desc": " |- Кулинария"
                },
                {
                    "id": 1170,
                    "cat": "Books",
                    "desc": " |- Спорт, Фитнес, Боевые искусства"
                },
                {
                    "id": 398,
                    "cat": "Books",
                    "desc": " |- Ноты и обучение музыке"
                },
                {
                    "id": 816,
                    "cat": "Books",
                    "desc": " |- На досуге"
                },
                {
                    "id": 313,
                    "cat": "Audio",
                    "desc": "HD Audio и Многоканальная Музыка"
                },
                {
                    "id": 1291,
                    "cat": "Audio",
                    "desc": " |- Blu-ray Audio"
                },
                {
                    "id": 680,
                    "cat": "Audio",
                    "desc": " |- DVD-Audio"
                },
                {
                    "id": 1149,
                    "cat": "Audio",
                    "desc": " |- SACD-R"
                },
                {
                    "id": 429,
                    "cat": "Audio",
                    "desc": " |- DTS-Audio"
                },
                {
                    "id": 681,
                    "cat": "Audio",
                    "desc": " |- Vinyl-Rip и Hand-Made"
                },
                {
                    "id": 330,
                    "cat": "Audio",
                    "desc": "Классика"
                },
                {
                    "id": 1256,
                    "cat": "Audio",
                    "desc": " |- Классика (HD Audio)"
                },
                {
                    "id": 1285,
                    "cat": "Audio/Lossless",
                    "desc": " |- Полные собрания сочинений (Lossless)"
                },
                {
                    "id": 370,
                    "cat": "Audio",
                    "desc": " |- Полные собрания сочинений"
                },
                {
                    "id": 1260,
                    "cat": "Audio/Lossless",
                    "desc": " |- Вокал (Lossless)"
                },
                {
                    "id": 371,
                    "cat": "Audio",
                    "desc": " |- Вокал"
                },
                {
                    "id": 1261,
                    "cat": "Audio/Lossless",
                    "desc": " |- Концерты (Lossless)"
                },
                {
                    "id": 375,
                    "cat": "Audio",
                    "desc": " |- Концерты"
                },
                {
                    "id": 1259,
                    "cat": "Audio/Lossless",
                    "desc": " |- Оркестровая (Lossless)"
                },
                {
                    "id": 374,
                    "cat": "Audio",
                    "desc": " |- Оркестровая"
                },
                {
                    "id": 1257,
                    "cat": "Audio/Lossless",
                    "desc": " |- Камерная (Lossless)"
                },
                {
                    "id": 373,
                    "cat": "Audio",
                    "desc": " |- Камерная"
                },
                {
                    "id": 1258,
                    "cat": "Audio/Lossless",
                    "desc": " |- Фортепиано (Lossless)"
                },
                {
                    "id": 372,
                    "cat": "Audio",
                    "desc": " |- Фортепиано"
                },
                {
                    "id": 1160,
                    "cat": "Audio/Lossless",
                    "desc": " |- В обработке/Classical Crossover/Neoclassical (Lossless)"
                },
                {
                    "id": 876,
                    "cat": "Audio",
                    "desc": " |- В обработке/Classical Crossover/Neoclassical"
                },
                {
                    "id": 1255,
                    "cat": "Audio/Lossless",
                    "desc": " |- Классика (сборники) (Lossless)"
                },
                {
                    "id": 376,
                    "cat": "Audio",
                    "desc": " |- Классика (сборники)"
                },
                {
                    "id": 326,
                    "cat": "Audio",
                    "desc": "Jazz, Blues, Soul"
                },
                {
                    "id": 1352,
                    "cat": "Audio",
                    "desc": " |- Jazz (Hi-Res)"
                },
                {
                    "id": 359,
                    "cat": "Audio/Lossless",
                    "desc": " |- Jazz (Lossless)"
                },
                {
                    "id": 358,
                    "cat": "Audio",
                    "desc": " |- Jazz"
                },
                {
                    "id": 1353,
                    "cat": "Audio",
                    "desc": " |- Blues, Soul (Hi-Res)"
                },
                {
                    "id": 1188,
                    "cat": "Audio/Lossless",
                    "desc": " |- Blues, Soul (Lossless)"
                },
                {
                    "id": 1189,
                    "cat": "Audio",
                    "desc": " |- Blues, Soul"
                },
                {
                    "id": 328,
                    "cat": "Audio",
                    "desc": "Шансон, Авторская и Военная песня"
                },
                {
                    "id": 1370,
                    "cat": "Audio",
                    "desc": " |- Шансон, Авторская и Военная песня (Hi-Res)"
                },
                {
                    "id": 1180,
                    "cat": "Audio/Lossless",
                    "desc": " |- Зарубежный Шансон (Lossless)"
                },
                {
                    "id": 1181,
                    "cat": "Audio",
                    "desc": " |- Зарубежный Шансон"
                },
                {
                    "id": 364,
                    "cat": "Audio/Lossless",
                    "desc": " |- Русский Шансон (Lossless)"
                },
                {
                    "id": 363,
                    "cat": "Audio",
                    "desc": " |- Русский Шансон"
                },
                {
                    "id": 1179,
                    "cat": "Audio/Lossless",
                    "desc": " |- Авторская и Военная песня (Lossless)"
                },
                {
                    "id": 879,
                    "cat": "Audio",
                    "desc": " |- Авторская и Военная песня"
                },
                {
                    "id": 322,
                    "cat": "Audio",
                    "desc": "Rock, Alternative, Punk, Metal"
                },
                {
                    "id": 1350,
                    "cat": "Audio",
                    "desc": " |- Rock (Hi-Res)"
                },
                {
                    "id": 962,
                    "cat": "Audio/Lossless",
                    "desc": " |- Rock (Lossless)"
                },
                {
                    "id": 333,
                    "cat": "Audio",
                    "desc": " |- Rock"
                },
                {
                    "id": 1356,
                    "cat": "Audio",
                    "desc": " |- Alternative, Punk (Hi-Res)"
                },
                {
                    "id": 965,
                    "cat": "Audio/Lossless",
                    "desc": " |- Alternative, Punk (Lossless)"
                },
                {
                    "id": 336,
                    "cat": "Audio",
                    "desc": " |- Alternative, Punk"
                },
                {
                    "id": 1362,
                    "cat": "Audio",
                    "desc": " |- Hard Rock (Hi Res)"
                },
                {
                    "id": 337,
                    "cat": "Audio/Lossless",
                    "desc": " |- Hard Rock (Lossless)"
                },
                {
                    "id": 338,
                    "cat": "Audio",
                    "desc": " |- Hard Rock"
                },
                {
                    "id": 1351,
                    "cat": "Audio",
                    "desc": " |- Metal (Hi-Res)"
                },
                {
                    "id": 963,
                    "cat": "Audio/Lossless",
                    "desc": " |- Metal (Lossless)"
                },
                {
                    "id": 334,
                    "cat": "Audio",
                    "desc": " |- Metal"
                },
                {
                    "id": 1357,
                    "cat": "Audio",
                    "desc": " |- Русский Рок (Hi-Res)"
                },
                {
                    "id": 961,
                    "cat": "Audio/Lossless",
                    "desc": " |- Русский Рок (Lossless)"
                },
                {
                    "id": 332,
                    "cat": "Audio",
                    "desc": " |- Русский рок"
                },
                {
                    "id": 325,
                    "cat": "Audio",
                    "desc": "Pop"
                },
                {
                    "id": 1354,
                    "cat": "Audio",
                    "desc": " |- Pop (Hi-Res)"
                },
                {
                    "id": 1355,
                    "cat": "Audio",
                    "desc": " |- Eurodance, Disco (Hi-Res)"
                },
                {
                    "id": 1165,
                    "cat": "Audio/Lossless",
                    "desc": " |- Eurodance, Euro-House, Technopop (Lossless)"
                },
                {
                    "id": 1166,
                    "cat": "Audio",
                    "desc": " |- Eurodance, Euro-House, Technopop"
                },
                {
                    "id": 1168,
                    "cat": "Audio",
                    "desc": " |- Disco, Italo-Disco, Euro-Disco, Hi-NRG"
                },
                {
                    "id": 1167,
                    "cat": "Audio/Lossless",
                    "desc": " |- Disco, Italo-Disco, Euro-Disco, Hi-NRG (Lossless)"
                },
                {
                    "id": 1162,
                    "cat": "Audio/Lossless",
                    "desc": " |- Отечественная поп-музыка (Lossless)"
                },
                {
                    "id": 352,
                    "cat": "Audio",
                    "desc": " |- Отечественная поп-музыка"
                },
                {
                    "id": 1164,
                    "cat": "Audio/Lossless",
                    "desc": " |- Советская эстрада, Ретро (Lossless)"
                },
                {
                    "id": 1163,
                    "cat": "Audio",
                    "desc": " |- Советская эстрада, Ретро"
                },
                {
                    "id": 1161,
                    "cat": "Audio/Lossless",
                    "desc": " |- Зарубежная поп-музыка (Lossless)"
                },
                {
                    "id": 353,
                    "cat": "Audio",
                    "desc": " |- Зарубежная поп-музыка"
                },
                {
                    "id": 324,
                    "cat": "Audio",
                    "desc": "Electronic"
                },
                {
                    "id": 1327,
                    "cat": "Audio/Lossless",
                    "desc": " |- Psybient, Psychill, Psydub (Lossless)"
                },
                {
                    "id": 1328,
                    "cat": "Audio",
                    "desc": " |- Psybient, Psychill, Psydub"
                },
                {
                    "id": 1325,
                    "cat": "Audio/Lossless",
                    "desc": " |- Downtempo, Trip-Hop, Lounge (Lossless)"
                },
                {
                    "id": 1326,
                    "cat": "Audio",
                    "desc": " |- Downtempo, Trip-Hop, Lounge"
                },
                {
                    "id": 1365,
                    "cat": "Audio",
                    "desc": " |- Downtempo, Ambient (Hi-Res)"
                },
                {
                    "id": 1366,
                    "cat": "Audio",
                    "desc": " |- Experimental, Industrial (Hi-Res)"
                },
                {
                    "id": 1323,
                    "cat": "Audio/Lossless",
                    "desc": " |- Ambient, Experimental, Modern Classical (Lossless)"
                },
                {
                    "id": 1324,
                    "cat": "Audio",
                    "desc": " |- Ambient, Experimental, Modern Classical"
                },
                {
                    "id": 976,
                    "cat": "Audio/Lossless",
                    "desc": " |- Trance (Lossless)"
                },
                {
                    "id": 346,
                    "cat": "Audio",
                    "desc": " |- Trance"
                },
                {
                    "id": 1363,
                    "cat": "Audio",
                    "desc": " |- Trance, House, Techno (Hi-Res)"
                },
                {
                    "id": 977,
                    "cat": "Audio/Lossless",
                    "desc": " |- House, Techno, Electro, Minimal (Lossless)"
                },
                {
                    "id": 345,
                    "cat": "Audio",
                    "desc": " |- House"
                },
                {
                    "id": 349,
                    "cat": "Audio",
                    "desc": " |- Techno, Electro, Minimal"
                },
                {
                    "id": 1243,
                    "cat": "Audio",
                    "desc": " |- Label-Packs"
                },
                {
                    "id": 347,
                    "cat": "Audio",
                    "desc": " |- Easy listening"
                },
                {
                    "id": 979,
                    "cat": "Audio/Lossless",
                    "desc": " |- Industrial, EBM, Dark Electro (Lossless)"
                },
                {
                    "id": 673,
                    "cat": "Audio",
                    "desc": " |- Experimental Electronic"
                },
                {
                    "id": 671,
                    "cat": "Audio",
                    "desc": " |- Industrial, EBM, Dark Electro"
                },
                {
                    "id": 1224,
                    "cat": "Audio/Lossless",
                    "desc": " |- IDM (Lossless)"
                },
                {
                    "id": 1225,
                    "cat": "Audio",
                    "desc": " |- IDM"
                },
                {
                    "id": 1367,
                    "cat": "Audio",
                    "desc": " |- Synthpop, New Wave, Retro (Hi-Res)"
                },
                {
                    "id": 980,
                    "cat": "Audio/Lossless",
                    "desc": " |- Synthpop, New Wave (Lossless)"
                },
                {
                    "id": 672,
                    "cat": "Audio",
                    "desc": " |- Synthpop, New Wave"
                },
                {
                    "id": 1316,
                    "cat": "Audio/Lossless",
                    "desc": " |- Dubstep, Future Garage, Bass Music, UK Garage (Lossless)"
                },
                {
                    "id": 1317,
                    "cat": "Audio",
                    "desc": " |- Dubstep, Future Garage, Bass Music, UK Garage"
                },
                {
                    "id": 1364,
                    "cat": "Audio",
                    "desc": " |- Drum'n'Bass, Breakbeat (Hi-Res)"
                },
                {
                    "id": 981,
                    "cat": "Audio/Lossless",
                    "desc": " |- Drum'n'Bass, Jungle, Breaks, Breakbeat (Lossless)"
                },
                {
                    "id": 344,
                    "cat": "Audio",
                    "desc": " |- Drum'n'Bass, Jungle, Breaks, Breakbeat"
                },
                {
                    "id": 1368,
                    "cat": "Audio",
                    "desc": " |- Hardcore, Extreme (Hi-Res)"
                },
                {
                    "id": 983,
                    "cat": "Audio/Lossless",
                    "desc": " |- Hardstyle, Jumpstyle, Hardcore (Lossless)"
                },
                {
                    "id": 984,
                    "cat": "Audio",
                    "desc": " |- Hardstyle, Jumpstyle, Hardcore"
                },
                {
                    "id": 982,
                    "cat": "Audio/Lossless",
                    "desc": " |- Psychedelic, psytrance, fullon (Lossless)"
                },
                {
                    "id": 348,
                    "cat": "Audio",
                    "desc": " |- Psychedelic, psytrance, fullon"
                },
                {
                    "id": 674,
                    "cat": "Audio",
                    "desc": " |- Radioshow, Live Mixes"
                },
                {
                    "id": 323,
                    "cat": "Audio",
                    "desc": "Rap, Hip-hop, RnB, Reggae"
                },
                {
                    "id": 1369,
                    "cat": "Audio",
                    "desc": "Rap, Hip-hop, RnB, Reggae (Hi-Res)"
                },
                {
                    "id": 1187,
                    "cat": "Audio/Lossless",
                    "desc": " |- Rap, Hip-hop зарубежный (Lossless)"
                },
                {
                    "id": 339,
                    "cat": "Audio",
                    "desc": " |- Rap, Hip-hop зарубежный"
                },
                {
                    "id": 1186,
                    "cat": "Audio/Lossless",
                    "desc": " |- Rap, Hip-hop отечественный (Lossless)"
                },
                {
                    "id": 340,
                    "cat": "Audio",
                    "desc": " |- Rap, Hip-hop отечественный"
                },
                {
                    "id": 1185,
                    "cat": "Audio/Lossless",
                    "desc": " |- RnB, Reggae (Lossless)"
                },
                {
                    "id": 341,
                    "cat": "Audio",
                    "desc": " |- RnB, Reggae"
                },
                {
                    "id": 329,
                    "cat": "Audio",
                    "desc": "East Asian Music"
                },
                {
                    "id": 1361,
                    "cat": "Audio",
                    "desc": " |- Asian Music (Hi-Res)"
                },
                {
                    "id": 369,
                    "cat": "Audio/Lossless",
                    "desc": " |- Asian Traditional, Ethnic (Lossless)"
                },
                {
                    "id": 368,
                    "cat": "Audio",
                    "desc": " |- Asian Traditional, Ethnic"
                },
                {
                    "id": 1218,
                    "cat": "Audio/Lossless",
                    "desc": " |- Asian Pop (Lossless)"
                },
                {
                    "id": 365,
                    "cat": "Audio",
                    "desc": " |- Asian Pop"
                },
                {
                    "id": 1217,
                    "cat": "Audio/Lossless",
                    "desc": " |- Asian Rock, Metal (Lossless)"
                },
                {
                    "id": 366,
                    "cat": "Audio",
                    "desc": " |- Asian Rock, Metal"
                },
                {
                    "id": 1215,
                    "cat": "Audio/Lossless",
                    "desc": " |- Doujin Music (Lossless)"
                },
                {
                    "id": 1216,
                    "cat": "Audio",
                    "desc": " |- Doujin Music"
                },
                {
                    "id": 1213,
                    "cat": "Audio/Lossless",
                    "desc": " |- Other Asian (Lossless)"
                },
                {
                    "id": 367,
                    "cat": "Audio",
                    "desc": " |- Other Asian"
                },
                {
                    "id": 331,
                    "cat": "Audio",
                    "desc": "Other Styles"
                },
                {
                    "id": 1358,
                    "cat": "Audio",
                    "desc": " |- Instrumental (Hi-Res)"
                },
                {
                    "id": 1157,
                    "cat": "Audio/Lossless",
                    "desc": " |- Instrumental (Lossless)"
                },
                {
                    "id": 711,
                    "cat": "Audio",
                    "desc": " |- Instrumental"
                },
                {
                    "id": 1159,
                    "cat": "Audio/Lossless",
                    "desc": " |- New Age/Meditative/Relax (Lossless)"
                },
                {
                    "id": 378,
                    "cat": "Audio",
                    "desc": " |- New Age/Meditative/Relax"
                },
                {
                    "id": 1359,
                    "cat": "Audio",
                    "desc": " |- Folk (Hi-Res)"
                },
                {
                    "id": 1158,
                    "cat": "Audio/Lossless",
                    "desc": " |- Folk (Lossless)"
                },
                {
                    "id": 379,
                    "cat": "Audio",
                    "desc": " |- Folk"
                },
                {
                    "id": 380,
                    "cat": "Audio/Lossless",
                    "desc": " |- Other (Lossless)"
                },
                {
                    "id": 1178,
                    "cat": "Audio",
                    "desc": " |- Other"
                },
                {
                    "id": 1360,
                    "cat": "Audio",
                    "desc": " |- OST (Hi-Res)"
                },
                {
                    "id": 361,
                    "cat": "Audio/Lossless",
                    "desc": " |- OST (Lossless)"
                },
                {
                    "id": 360,
                    "cat": "Audio",
                    "desc": " |- OST"
                },
                {
                    "id": 327,
                    "cat": "Audio",
                    "desc": "Неофициальные сборники"
                },
                {
                    "id": 1184,
                    "cat": "Audio",
                    "desc": " |- Jazz, Blues, Soul (сборники)"
                },
                {
                    "id": 824,
                    "cat": "Audio",
                    "desc": " |- Шансон, Авторская и Военная песня (сборники)"
                },
                {
                    "id": 1182,
                    "cat": "Audio",
                    "desc": " |- Rock, Alternative, Punk, Metal (сборники)"
                },
                {
                    "id": 354,
                    "cat": "Audio",
                    "desc": " |- Pop (сборники)"
                },
                {
                    "id": 877,
                    "cat": "Audio",
                    "desc": " |- Electronic (сборники)"
                },
                {
                    "id": 1183,
                    "cat": "Audio",
                    "desc": " |- Rap, Hip-hop, RnB, Reggae (сборники)"
                },
                {
                    "id": 1190,
                    "cat": "Audio",
                    "desc": " |- Instrumental/New Age/Meditative/Relax (сборники)"
                },
                {
                    "id": 917,
                    "cat": "Audio",
                    "desc": " |- Прочее (сборники)"
                },
                {
                    "id": 410,
                    "cat": "Other",
                    "desc": "Win Игры"
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": " |- Горячие новинки Игр"
                },
                {
                    "id": 412,
                    "cat": "Other",
                    "desc": " |- Action (FPS)"
                },
                {
                    "id": 1008,
                    "cat": "Other",
                    "desc": " |- Action (TPS)"
                },
                {
                    "id": 415,
                    "cat": "Other",
                    "desc": " |- Adventure/Quest"
                },
                {
                    "id": 746,
                    "cat": "Other",
                    "desc": " |- Arcade"
                },
                {
                    "id": 428,
                    "cat": "Other",
                    "desc": " |- Online (MMO)"
                },
                {
                    "id": 1009,
                    "cat": "Other",
                    "desc": " |- Online Action (MMO)"
                },
                {
                    "id": 413,
                    "cat": "Other",
                    "desc": " |- RPG"
                },
                {
                    "id": 414,
                    "cat": "Other",
                    "desc": " |- Strategy (RTS/TBS/Grand)"
                },
                {
                    "id": 1010,
                    "cat": "Other",
                    "desc": " |- Strategy Tactical (RTS/TBS)"
                },
                {
                    "id": 1012,
                    "cat": "Other",
                    "desc": " |- Strategy (Manage/Busin)"
                },
                {
                    "id": 1014,
                    "cat": "Other",
                    "desc": " |- Racing"
                },
                {
                    "id": 416,
                    "cat": "Other",
                    "desc": " |- Simulation (Flight/Space)"
                },
                {
                    "id": 1013,
                    "cat": "Other",
                    "desc": " |- Simulation (Sport)"
                },
                {
                    "id": 1015,
                    "cat": "Other",
                    "desc": " |- Simulation (Other)"
                },
                {
                    "id": 268,
                    "cat": "Other",
                    "desc": " |- Action/Arcade/Platformer (Casual)"
                },
                {
                    "id": 1016,
                    "cat": "Other",
                    "desc": " |- Adventure/Quest (Casual)"
                },
                {
                    "id": 1041,
                    "cat": "Other",
                    "desc": " |- Classic Arcade/Zuma/3match (Casual)"
                },
                {
                    "id": 1018,
                    "cat": "Other",
                    "desc": " |- Board/Puzzle/Logic (Casual)"
                },
                {
                    "id": 1017,
                    "cat": "Other",
                    "desc": " |- Strategy/Manager/Business (Casual)"
                },
                {
                    "id": 972,
                    "cat": "Other",
                    "desc": " |- AddOn/DLC/Mod для Игр"
                },
                {
                    "id": 971,
                    "cat": "Other",
                    "desc": " |- Demo/Beta версии Игр"
                },
                {
                    "id": 970,
                    "cat": "Other",
                    "desc": " |- Языковые пакеты для Игр"
                },
                {
                    "id": 969,
                    "cat": "Other",
                    "desc": " |- Patch/Tweak/Trainer/Other для Игр"
                },
                {
                    "id": 968,
                    "cat": "Other",
                    "desc": " |- NoCD/NoDVD/Crack для Игр"
                },
                {
                    "id": 1146,
                    "cat": "Other",
                    "desc": " |- Песочница Win Игр"
                },
                {
                    "id": 418,
                    "cat": "Other",
                    "desc": "Win Старые Игры"
                },
                {
                    "id": 1061,
                    "cat": "Other",
                    "desc": " |- Action (FPS)"
                },
                {
                    "id": 1060,
                    "cat": "Other",
                    "desc": " |- Action (TPS)"
                },
                {
                    "id": 1059,
                    "cat": "Other",
                    "desc": " |- Adventure/Quest"
                },
                {
                    "id": 1058,
                    "cat": "Other",
                    "desc": " |- Arcade"
                },
                {
                    "id": 1057,
                    "cat": "Other",
                    "desc": " |- RPG"
                },
                {
                    "id": 1056,
                    "cat": "Other",
                    "desc": " |- Strategy (RTS/TBS/Grand)"
                },
                {
                    "id": 1054,
                    "cat": "Other",
                    "desc": " |- Strategy Tactical (RTS/TBS/Wargame)"
                },
                {
                    "id": 1053,
                    "cat": "Other",
                    "desc": " |- Strategy (Manage/Busin)"
                },
                {
                    "id": 1052,
                    "cat": "Other",
                    "desc": " |- Racing"
                },
                {
                    "id": 1051,
                    "cat": "Other",
                    "desc": " |- Simulation (Flight/Space)"
                },
                {
                    "id": 1050,
                    "cat": "Other",
                    "desc": " |- Simulation (Sport)"
                },
                {
                    "id": 1049,
                    "cat": "Other",
                    "desc": " |- Simulation (Other)"
                },
                {
                    "id": 1048,
                    "cat": "Other",
                    "desc": " |- AddOn/DLC/Mod для Игр"
                },
                {
                    "id": 1047,
                    "cat": "Other",
                    "desc": " |- Demo/Beta версии Игр"
                },
                {
                    "id": 1046,
                    "cat": "Other",
                    "desc": " |- Языковые пакеты для Игр"
                },
                {
                    "id": 1045,
                    "cat": "Other",
                    "desc": " |- Patch/Tweak/Trainer/Other для Игр"
                },
                {
                    "id": 1044,
                    "cat": "Other",
                    "desc": " |- NoCD/NoDVD/Crack для Игр"
                },
                {
                    "id": 382,
                    "cat": "Other",
                    "desc": "Консольные Игры"
                },
                {
                    "id": 390,
                    "cat": "Other",
                    "desc": " |- Тех. раздел Консолей"
                },
                {
                    "id": 387,
                    "cat": "Other",
                    "desc": " |- Xbox 360"
                },
                {
                    "id": 388,
                    "cat": "Other",
                    "desc": " |- Wii, GameCube"
                },
                {
                    "id": 1264,
                    "cat": "Other",
                    "desc": " |- Wii U"
                },
                {
                    "id": 1318,
                    "cat": "Other",
                    "desc": " |- Switch"
                },
                {
                    "id": 385,
                    "cat": "Other",
                    "desc": " |- PS1"
                },
                {
                    "id": 386,
                    "cat": "Other",
                    "desc": " |- PS2"
                },
                {
                    "id": 848,
                    "cat": "Other",
                    "desc": " |- PS3"
                },
                {
                    "id": 1321,
                    "cat": "Other",
                    "desc": " |- PS4"
                },
                {
                    "id": 383,
                    "cat": "Other",
                    "desc": " |- PSP"
                },
                {
                    "id": 384,
                    "cat": "Other",
                    "desc": " |- Psx to PSP"
                },
                {
                    "id": 1292,
                    "cat": "Other",
                    "desc": " |- PS Vita"
                },
                {
                    "id": 389,
                    "cat": "Other",
                    "desc": " |- Ромы"
                },
                {
                    "id": 391,
                    "cat": "Other",
                    "desc": " |- Другие приставки"
                },
                {
                    "id": 1240,
                    "cat": "Other",
                    "desc": " |- Всё для детей и родителей для Android"
                },
                {
                    "id": 830,
                    "cat": "Other",
                    "desc": " |- ПО для Android"
                },
                {
                    "id": 833,
                    "cat": "Other",
                    "desc": " |- Игры для Android"
                },
                {
                    "id": 839,
                    "cat": "Other",
                    "desc": " |- Навигация для Android"
                },
                {
                    "id": 1233,
                    "cat": "Other",
                    "desc": " |- Прошивки для Android устройств"
                },
                {
                    "id": 1236,
                    "cat": "Other",
                    "desc": " |- Вспомогательное ПО для Android"
                },
                {
                    "id": 832,
                    "cat": "Other",
                    "desc": " |- ПО и Игры на Java"
                },
                {
                    "id": 829,
                    "cat": "Other",
                    "desc": " |- ПО и Игры для Symbian"
                },
                {
                    "id": 828,
                    "cat": "Other",
                    "desc": " |- ПО и Игры для Windows Mobile"
                },
                {
                    "id": 1231,
                    "cat": "Other",
                    "desc": " |- Навигация для др. мобильных устройств"
                },
                {
                    "id": 840,
                    "cat": "Other",
                    "desc": " |- Прошивки для др. мобильных устройств"
                },
                {
                    "id": 1232,
                    "cat": "Other",
                    "desc": " |- Вспомогательное ПО для др. мобильных устройств"
                },
                {
                    "id": 841,
                    "cat": "Other",
                    "desc": " |- Прочее для мобильных устройств"
                },
                {
                    "id": 1238,
                    "cat": "Other",
                    "desc": " |- Карты для навигационного ПО"
                },
                {
                    "id": 844,
                    "cat": "Other",
                    "desc": " |- Мобильное Аудио"
                },
                {
                    "id": 842,
                    "cat": "Other",
                    "desc": " |- Мобильное Видео"
                },
                {
                    "id": 843,
                    "cat": "Other",
                    "desc": " |- Темы и Изображения"
                },
                {
                    "id": 537,
                    "cat": "Other",
                    "desc": " |- macOS (Apple)"
                },
                {
                    "id": 538,
                    "cat": "Other",
                    "desc": " |- macOS (osx86project/hackintosh)"
                },
                {
                    "id": 1151,
                    "cat": "Other",
                    "desc": " |- Разное для macOS (Apple/hackintosh)"
                },
                {
                    "id": 1083,
                    "cat": "Other",
                    "desc": " |- Графика для macOS"
                },
                {
                    "id": 1029,
                    "cat": "Other",
                    "desc": " |- CAD, 3D, ПО для специалистов для macOS"
                },
                {
                    "id": 1082,
                    "cat": "Other",
                    "desc": " |- Офис, Интернет для macOS"
                },
                {
                    "id": 1028,
                    "cat": "Other",
                    "desc": " |- Аудио и видео редакторы для macOS"
                },
                {
                    "id": 1087,
                    "cat": "Other",
                    "desc": " |- Плееры, конвертеры, кодеки для macOS"
                },
                {
                    "id": 1030,
                    "cat": "Other",
                    "desc": " |- Утилиты для macOS"
                },
                {
                    "id": 1039,
                    "cat": "Other",
                    "desc": " |- Kinder Games для macOS"
                },
                {
                    "id": 1038,
                    "cat": "Other",
                    "desc": " |- Quests, Adventure, Arcade для macOS"
                },
                {
                    "id": 1037,
                    "cat": "Other",
                    "desc": " |- Action, FPS для macOS"
                },
                {
                    "id": 1036,
                    "cat": "Other",
                    "desc": " |- Strategy, RPG для macOS"
                },
                {
                    "id": 1035,
                    "cat": "Other",
                    "desc": " |- Racing, Simulation, Sports для macOS"
                },
                {
                    "id": 1034,
                    "cat": "Other",
                    "desc": " |- Casual Games, Other для macOS"
                },
                {
                    "id": 822,
                    "cat": "Other",
                    "desc": " |- Тестовые macOS Игры"
                },
                {
                    "id": 1093,
                    "cat": "Other",
                    "desc": " |- Прошивки iOS и AppleTV"
                },
                {
                    "id": 1092,
                    "cat": "Other",
                    "desc": " |- UnLock, Jailbreak, Cydia"
                },
                {
                    "id": 1091,
                    "cat": "Other",
                    "desc": " |- ПО для iOS"
                },
                {
                    "id": 834,
                    "cat": "Other",
                    "desc": " |- Игры для iOS"
                },
                {
                    "id": 831,
                    "cat": "Other",
                    "desc": " |- ПО из App Store"
                },
                {
                    "id": 1155,
                    "cat": "Other",
                    "desc": " |- Отечественное видео для устройств Apple"
                },
                {
                    "id": 1156,
                    "cat": "Other",
                    "desc": " |- Отечественное видео HD для устройств Apple"
                },
                {
                    "id": 1099,
                    "cat": "Other",
                    "desc": " |- Зарубежное видео для устройств Apple"
                },
                {
                    "id": 1098,
                    "cat": "Other",
                    "desc": " |- Зарубежное видео HD для устройств Apple"
                },
                {
                    "id": 1096,
                    "cat": "Audio",
                    "desc": " |- Музыка (AAC)"
                },
                {
                    "id": 1097,
                    "cat": "Audio/Lossless",
                    "desc": " |- Музыка Lossless (ALAC)"
                },
                {
                    "id": 1095,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Аудиокниги (AAC)"
                },
                {
                    "id": 536,
                    "cat": "Other",
                    "desc": "Linux, Unix и другие ОС"
                },
                {
                    "id": 563,
                    "cat": "Other",
                    "desc": " |- ОС Linux"
                },
                {
                    "id": 1032,
                    "cat": "Other",
                    "desc": " |- ОС *Nix (Alpha, Beta, RC)"
                },
                {
                    "id": 1031,
                    "cat": "Other",
                    "desc": " |- Сборки ОС Linux"
                },
                {
                    "id": 1025,
                    "cat": "Other",
                    "desc": " |- ОС *BSD"
                },
                {
                    "id": 1026,
                    "cat": "Other",
                    "desc": " |- Другие ОС"
                },
                {
                    "id": 564,
                    "cat": "Other",
                    "desc": " |- *Nix. Программы"
                },
                {
                    "id": 1137,
                    "cat": "Other",
                    "desc": " |- Специализированные ОС"
                },
                {
                    "id": 417,
                    "cat": "Other",
                    "desc": "*Nix Игры"
                },
                {
                    "id": 1193,
                    "cat": "Other",
                    "desc": " |- Native *Nix Games"
                },
                {
                    "id": 1192,
                    "cat": "Other",
                    "desc": " |- Ported *Nix Games"
                },
                {
                    "id": 1102,
                    "cat": "Other",
                    "desc": "Материалы для мультимедиа и дизайна"
                },
                {
                    "id": 1070,
                    "cat": "Other",
                    "desc": " |- Digital Juice"
                },
                {
                    "id": 534,
                    "cat": "Other",
                    "desc": " |- Звуковые библиотеки"
                },
                {
                    "id": 676,
                    "cat": "Other",
                    "desc": " |- Пресеты"
                },
                {
                    "id": 1077,
                    "cat": "Other",
                    "desc": " |- Дополнения"
                },
                {
                    "id": 267,
                    "cat": "Other",
                    "desc": " |- Футажи"
                },
                {
                    "id": 1071,
                    "cat": "Other",
                    "desc": " |- 3D модели и материалы"
                },
                {
                    "id": 1134,
                    "cat": "Other",
                    "desc": " |- Web-дизайн и шаблоны сайтов"
                },
                {
                    "id": 1107,
                    "cat": "Other",
                    "desc": " |- Текстуры и Фоны"
                },
                {
                    "id": 1075,
                    "cat": "Other",
                    "desc": " |- Шрифты"
                },
                {
                    "id": 1105,
                    "cat": "Other",
                    "desc": " |- Шаблоны и Рамки"
                },
                {
                    "id": 676,
                    "cat": "Other",
                    "desc": " |- Костюмы"
                },
                {
                    "id": 1072,
                    "cat": "Other",
                    "desc": " |- Растровый клипарт (фото)"
                },
                {
                    "id": 166,
                    "cat": "Other",
                    "desc": " |- Растровый клипарт (элементы)"
                },
                {
                    "id": 1078,
                    "cat": "Other",
                    "desc": " |- Растровый клипарт (иллюстрации)"
                },
                {
                    "id": 1074,
                    "cat": "Other",
                    "desc": " |- Векторный клипарт"
                },
                {
                    "id": 1076,
                    "cat": "Other",
                    "desc": " |- Сборники"
                },
                {
                    "id": 1266,
                    "cat": "Other",
                    "desc": "Проекты"
                },
                {
                    "id": 1267,
                    "cat": "Other",
                    "desc": " |- Детские (проекты)"
                },
                {
                    "id": 1268,
                    "cat": "Other",
                    "desc": " |- Свадебные и романтические (проекты)"
                },
                {
                    "id": 1269,
                    "cat": "Other",
                    "desc": " |- Праздничные (проекты)"
                },
                {
                    "id": 1270,
                    "cat": "Other",
                    "desc": " |- Презентации (проекты)"
                },
                {
                    "id": 1277,
                    "cat": "Other",
                    "desc": " |- Трейлеры (проекты)"
                },
                {
                    "id": 1271,
                    "cat": "Other",
                    "desc": " |- Спортивные (проекты)"
                },
                {
                    "id": 1272,
                    "cat": "Other",
                    "desc": " |- Логотипы (проекты)"
                },
                {
                    "id": 1273,
                    "cat": "Other",
                    "desc": " |- Слайдшоу (проекты)"
                },
                {
                    "id": 1274,
                    "cat": "Other",
                    "desc": " |- Титры (проекты)"
                },
                {
                    "id": 1275,
                    "cat": "Other",
                    "desc": " |- Элементы (проекты)"
                },
                {
                    "id": 1372,
                    "cat": "Other",
                    "desc": " |- Переходы, фоны и оверлеи (проекты)"
                },
                {
                    "id": 1276,
                    "cat": "Other",
                    "desc": " |- Разное (проекты)"
                },
                {
                    "id": 1103,
                    "cat": "Other",
                    "desc": "Графика, Арт, Разное"
                },
                {
                    "id": 1114,
                    "cat": "Other",
                    "desc": " |- Классическое искусство"
                },
                {
                    "id": 1113,
                    "cat": "Other",
                    "desc": " |- Современное изобразительное искусство"
                },
                {
                    "id": 1115,
                    "cat": "Other",
                    "desc": " |- Книжная иллюстрация"
                },
                {
                    "id": 1129,
                    "cat": "Other",
                    "desc": " |- Современная фотография"
                },
                {
                    "id": 1111,
                    "cat": "Other",
                    "desc": " |- Иконки и аватарки"
                },
                {
                    "id": 1116,
                    "cat": "Other",
                    "desc": " |- Картинки"
                },
                {
                    "id": 808,
                    "cat": "Other",
                    "desc": " |- Обои для рабочего стола"
                },
                {
                    "id": 1139,
                    "cat": "Other",
                    "desc": " |- Обои для рабочего стола (16+)"
                },
                {
                    "id": 988,
                    "cat": "Other",
                    "desc": " |- Графика (16+)"
                },
                {
                    "id": 1073,
                    "cat": "Other",
                    "desc": " |- Интернет-творчество"
                },
                {
                    "id": 892,
                    "cat": "Other",
                    "desc": " |- Архив Мультфильмов"
                },
                {
                    "id": 91,
                    "cat": "Other",
                    "desc": " |- Архив Видео. Кино, Театра"
                },
                {
                    "id": 668,
                    "cat": "Other",
                    "desc": " |- Архив Классики кино и Старых фильмов до 90-х"
                },
                {
                    "id": 1143,
                    "cat": "Other",
                    "desc": " |- Архив Музыкального Видео"
                },
                {
                    "id": 802,
                    "cat": "Other",
                    "desc": " |- Архив Сериалов и Архив Старого многосерийного кино до 90-х"
                },
                {
                    "id": 669,
                    "cat": "Other",
                    "desc": " |- Архив Документалистики и TV"
                },
                {
                    "id": 400,
                    "cat": "Other",
                    "desc": " |- Архив Юмора"
                },
                {
                    "id": 169,
                    "cat": "Other",
                    "desc": " |- Архив Аниме"
                },
                {
                    "id": 94,
                    "cat": "Other",
                    "desc": " |- Архив Книг и обучающих материалов"
                },
                {
                    "id": 303,
                    "cat": "Other",
                    "desc": " |- Архив Авто"
                },
                {
                    "id": 92,
                    "cat": "Other",
                    "desc": " |- Архив Музыки"
                },
                {
                    "id": 93,
                    "cat": "Other",
                    "desc": " |- Архив Игр"
                },
                {
                    "id": 1333,
                    "cat": "Other",
                    "desc": " |- Архив *Nix"
                },
                {
                    "id": 95,
                    "cat": "Other",
                    "desc": " |- Архив Программ"
                },
                {
                    "id": 184,
                    "cat": "Other",
                    "desc": " |- Архив КПК и Мобильных устройств"
                },
                {
                    "id": 1080,
                    "cat": "Other",
                    "desc": " |- Архив 4Apple"
                },
                {
                    "id": 180,
                    "cat": "Other",
                    "desc": " |- Архив Медиа-Диз-Графика"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "forum/tracker.php",
                    "method": "post"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "tm": -1,
                "shf": 1,
                "sha": 1,
                "ta": -1,
                "sns": -1,
                "sds": 4,
                "nm": "{{ .Keywords }}",
                "submit": "Поиск"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "сезон $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bE0*(\\d+)\\b",
                        "сери $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "сезон $1 сери $2"
                    ]
                }
            ],
            "rows": {
                "selector": "table.forumline.tablesorter > tbody > tr:has(a[href^=\"viewtopic.php?t=\"]):has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category_id": {
                    "selector": "a[href^=\"tracker.php?f=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "category": {
                    "text": "{{ .Result.category_id }}"
                },
                "title": {
                    "selector": "a[href^=\"viewtopic.php?t=\"] > b",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bКураж-Бамбей\\b",
                                "kurazh"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bКубик в Кубе\\b",
                                "Kubik"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bКравец\\b",
                                "Kravec"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bПифагор\\b",
                                "Pifagor"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bНевафильм\\b",
                                "Nevafilm"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bЛицензия\\b",
                                "Lic"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bселезень\\b",
                                "selezen"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\sот\\s([\\w\\p{P}\\p{S}]+)$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\|\\s(\\w{4,})$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^(.*?)(\\((?:(?:20|19)\\d{2}-?)+\\))(.*?)(.*?)\\((\bS\\d{1,2}E\\d{1,3}(?:-\\d{1,3})?(?:\\s+of\\s+[?0-9]+)?)\\)(.*)",
                                "$1 / $5 $2$4$6"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if and (ne .Result.category_id \"913\") (.Config.addrussiantotitle) }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"viewtopic.php?t=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(6) > u"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "date": {
                    "selector": "td:last-child > u"
                },
                "seeders": {
                    "selector": "td.seedmed > b"
                },
                "leechers": {
                    "selector": "td.leechmed > b"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "a[href^=\"viewtopic.php?t=\"] > b"
                }
            }
        }
    },
    "noname-clubl": {
        "credentials": {
            "cookie": ""
        },
        "id": "noname-clubl",
        "name": "NoNaMe ClubL",
        "description": "This is the NoNaMe Club indexer with Login enabled in the config.",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "windows-1251",
        "links": [
            "https://nnmclub.to/"
        ],
        "legacylinks": [
            "https://nnm-club.name/",
            "https://nnm-club.me/",
            "http://nnmclub.to/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 48,
                    "cat": "Other",
                    "desc": "Форум Региональные встречи"
                },
                {
                    "id": 925,
                    "cat": "Other",
                    "desc": "Форум-Трекер: Клубные таланты Авторские релизы"
                },
                {
                    "id": 872,
                    "cat": "Other",
                    "desc": "Форум-Трекер: Клубные таланты Архив"
                },
                {
                    "id": 724,
                    "cat": "TV",
                    "desc": "Видео, Кино и Сериалы для детей и родителей"
                },
                {
                    "id": 725,
                    "cat": "TV",
                    "desc": " |- Обучающее Видео для родителей"
                },
                {
                    "id": 729,
                    "cat": "TV",
                    "desc": " |- Развивающее Видео для детей"
                },
                {
                    "id": 731,
                    "cat": "TV",
                    "desc": " |- Отечественные Фильмы и Сериалы для детей (SD)"
                },
                {
                    "id": 1345,
                    "cat": "TV",
                    "desc": " |- Отечественные Фильмы и Сериалы для детей (HD, FHD, UHD)"
                },
                {
                    "id": 733,
                    "cat": "TV",
                    "desc": " |- Зарубежные Фильмы и Сериалы для детей (SD)"
                },
                {
                    "id": 1346,
                    "cat": "TV",
                    "desc": " |- Зарубежные Фильмы и Сериалы для детей (HD, FHD, UHD)"
                },
                {
                    "id": 1329,
                    "cat": "TV",
                    "desc": " |- Отечественные Мультфильмы 20-го века (SD)"
                },
                {
                    "id": 1330,
                    "cat": "TV",
                    "desc": " |- Отечественные Мультфильмы 20-го века (HD, FHD, UHD)"
                },
                {
                    "id": 1331,
                    "cat": "TV",
                    "desc": " |- Отечественные Мультфильмы 21-го века (SD)"
                },
                {
                    "id": 1332,
                    "cat": "TV",
                    "desc": " |- Отечественные Мультфильмы 21-го века (HD, FHD, UHD, 3D)"
                },
                {
                    "id": 1340,
                    "cat": "TV",
                    "desc": " |- Отечественные Мультфильмы (коллекции, сборники / *логии)"
                },
                {
                    "id": 658,
                    "cat": "TV",
                    "desc": " |- Отечественные Мультсериалы"
                },
                {
                    "id": 890,
                    "cat": "TV",
                    "desc": " |- Мультфильмы (3D)"
                },
                {
                    "id": 1336,
                    "cat": "TV",
                    "desc": " |- Зарубежные Мультфильмы 20-го века (SD)"
                },
                {
                    "id": 1337,
                    "cat": "TV",
                    "desc": " |- Зарубежные Мультфильмы 20-го века (HD, FHD, UHD)"
                },
                {
                    "id": 1338,
                    "cat": "TV",
                    "desc": " |- Зарубежные Мультфильмы 21-го века (SD)"
                },
                {
                    "id": 1339,
                    "cat": "TV",
                    "desc": " |- Зарубежные Мультфильмы 21-го века (HD, FHD, UHD)"
                },
                {
                    "id": 660,
                    "cat": "TV",
                    "desc": " |- Зарубежные Мультфильмы (коллекции, сборники / *логии)"
                },
                {
                    "id": 232,
                    "cat": "Other",
                    "desc": " |- Зарубежные Мультсериалы"
                },
                {
                    "id": 734,
                    "cat": "Other",
                    "desc": " |- Классика для мам и малышей"
                },
                {
                    "id": 742,
                    "cat": "Other",
                    "desc": " |- Музыка и песни для детей"
                },
                {
                    "id": 735,
                    "cat": "Other",
                    "desc": " |- Аудиокниги для детей и родителей"
                },
                {
                    "id": 738,
                    "cat": "Other",
                    "desc": " |- Образование, обучение и развитие детей"
                },
                {
                    "id": 967,
                    "cat": "Other",
                    "desc": " |- Логопедия, Психология, Педиатрия"
                },
                {
                    "id": 907,
                    "cat": "Other",
                    "desc": " |- Журналы для детей и родителей"
                },
                {
                    "id": 739,
                    "cat": "Other",
                    "desc": " |- Детская литература"
                },
                {
                    "id": 1109,
                    "cat": "Other",
                    "desc": " |- Энциклопедии и Познавательная литература для детей"
                },
                {
                    "id": 736,
                    "cat": "Other",
                    "desc": " |- Мультимедийные материалы для родителей"
                },
                {
                    "id": 737,
                    "cat": "Other",
                    "desc": " |- Мультимедийные материалы для детей"
                },
                {
                    "id": 898,
                    "cat": "Other",
                    "desc": " |- Рабочие тетради, прописи и разукрашки"
                },
                {
                    "id": 935,
                    "cat": "Other",
                    "desc": " |- Настольные игры и Поделки"
                },
                {
                    "id": 871,
                    "cat": "Other",
                    "desc": " |- Подвижные Игры"
                },
                {
                    "id": 973,
                    "cat": "Other",
                    "desc": " |- Изобразительное искусство"
                },
                {
                    "id": 960,
                    "cat": "Other",
                    "desc": " |- Прочие материалы для детей и родителей"
                },
                {
                    "id": 1239,
                    "cat": "Other",
                    "desc": " |- ГИА, ОГЭ, ЕГЭ, ЕМЭ, ГВЭ"
                },
                {
                    "id": 740,
                    "cat": "Other",
                    "desc": " |- Развивающие Игры для детей"
                },
                {
                    "id": 741,
                    "cat": "Other",
                    "desc": " |- Детские Игры"
                },
                {
                    "id": 503,
                    "cat": "Other",
                    "desc": "ОС Windows"
                },
                {
                    "id": 504,
                    "cat": "Other",
                    "desc": " |- Оригинальные версии Windows"
                },
                {
                    "id": 506,
                    "cat": "Other",
                    "desc": " |- Оригинальные версии Windows Server"
                },
                {
                    "id": 763,
                    "cat": "Other",
                    "desc": " |- Windows OEM Recovery СD/DVD"
                },
                {
                    "id": 1335,
                    "cat": "Other",
                    "desc": " |- Сборки Windows 11"
                },
                {
                    "id": 1241,
                    "cat": "Other",
                    "desc": " |- Сборки Windows 10"
                },
                {
                    "id": 1023,
                    "cat": "Other",
                    "desc": " |- Сборки Windows 8"
                },
                {
                    "id": 717,
                    "cat": "Other",
                    "desc": " |- Сборки Windows 7"
                },
                {
                    "id": 509,
                    "cat": "Other",
                    "desc": " |- Сборки Windows Vista"
                },
                {
                    "id": 508,
                    "cat": "Other",
                    "desc": " |- Сборки Windows ХР"
                },
                {
                    "id": 510,
                    "cat": "Other",
                    "desc": " |- Сборки Windows - всё в одном"
                },
                {
                    "id": 1254,
                    "cat": "Other",
                    "desc": " |- Сборки Windows для незрячих"
                },
                {
                    "id": 1042,
                    "cat": "Other",
                    "desc": " |- Песочница ПО и сборок Windows"
                },
                {
                    "id": 511,
                    "cat": "Other",
                    "desc": " |- Разное (RC, Beta и Service Packs)"
                },
                {
                    "id": 916,
                    "cat": "Other",
                    "desc": " |- Музей Windows"
                },
                {
                    "id": 512,
                    "cat": "Other",
                    "desc": "Утилиты, Офис, Интернет"
                },
                {
                    "id": 561,
                    "cat": "Other",
                    "desc": " |- ПО для Интернета и сетей"
                },
                {
                    "id": 1284,
                    "cat": "Other",
                    "desc": " |- Оригинальные версии Office"
                },
                {
                    "id": 562,
                    "cat": "Other",
                    "desc": " |- Офисное ПО"
                },
                {
                    "id": 513,
                    "cat": "Other",
                    "desc": " |- Запись, создание, редактирование, эмуляция дисков и..."
                },
                {
                    "id": 514,
                    "cat": "Other",
                    "desc": " |- Диагностика и обслуживание hardware"
                },
                {
                    "id": 515,
                    "cat": "Other",
                    "desc": " |- Резервирование и восстановление данных"
                },
                {
                    "id": 516,
                    "cat": "Other",
                    "desc": " |- Файловые менеджеры и архиваторы"
                },
                {
                    "id": 517,
                    "cat": "Other",
                    "desc": " |- Обслуживание ОС"
                },
                {
                    "id": 518,
                    "cat": "Other",
                    "desc": " |- Разное (Утилиты, Офис, Интернет)"
                },
                {
                    "id": 519,
                    "cat": "Other",
                    "desc": "Безопасность"
                },
                {
                    "id": 520,
                    "cat": "Other",
                    "desc": " |- Firewalls"
                },
                {
                    "id": 521,
                    "cat": "Other",
                    "desc": " |- Антивирусы"
                },
                {
                    "id": 522,
                    "cat": "Other",
                    "desc": " |- Комплексные системы защиты"
                },
                {
                    "id": 523,
                    "cat": "Other",
                    "desc": " |- Разное (остальные программы по безопасности)"
                },
                {
                    "id": 524,
                    "cat": "Other",
                    "desc": "Мультимедиа и Графика"
                },
                {
                    "id": 532,
                    "cat": "Other",
                    "desc": " |- Аудио Плееры и Кодеки"
                },
                {
                    "id": 533,
                    "cat": "Other",
                    "desc": " |- Аудио Граббинг, Мастеринг, Обработка"
                },
                {
                    "id": 535,
                    "cat": "Other",
                    "desc": " |- Прочее ПО для Аудио"
                },
                {
                    "id": 530,
                    "cat": "Other",
                    "desc": " |- Видео Плееры и Кодеки"
                },
                {
                    "id": 529,
                    "cat": "Other",
                    "desc": " |- Нелинейный Видеомонтаж, Авторинг, Кодировщики"
                },
                {
                    "id": 525,
                    "cat": "Other",
                    "desc": " |- Просмотрщики Графики (вьюверы)"
                },
                {
                    "id": 526,
                    "cat": "Other",
                    "desc": " |- Графические редакторы"
                },
                {
                    "id": 527,
                    "cat": "Other",
                    "desc": " |- ПО для моделирования"
                },
                {
                    "id": 545,
                    "cat": "Other",
                    "desc": "Софт и оболочки для специалистов, Прочее"
                },
                {
                    "id": 764,
                    "cat": "Other",
                    "desc": " |- LiveCD/DVD/Flash"
                },
                {
                    "id": 765,
                    "cat": "Other",
                    "desc": " |- WPI"
                },
                {
                    "id": 820,
                    "cat": "Other",
                    "desc": " |- Серверное ПО"
                },
                {
                    "id": 552,
                    "cat": "Other",
                    "desc": " |- Разработка ПО"
                },
                {
                    "id": 553,
                    "cat": "Other",
                    "desc": " |- САПР/ГИС"
                },
                {
                    "id": 554,
                    "cat": "Other",
                    "desc": " |- Остальное ПО для специалистов"
                },
                {
                    "id": 550,
                    "cat": "Other",
                    "desc": " |- Системы навигации и карты"
                },
                {
                    "id": 549,
                    "cat": "Other",
                    "desc": " |- Драйверы"
                },
                {
                    "id": 548,
                    "cat": "Other",
                    "desc": " |- Разное (прочее ПО)"
                },
                {
                    "id": 216,
                    "cat": "Movies",
                    "desc": "Горячие новинки"
                },
                {
                    "id": 270,
                    "cat": "Movies",
                    "desc": " |- Отечественные Новинки (SD, DVD)"
                },
                {
                    "id": 218,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Новинки (SD, DVD)"
                },
                {
                    "id": 219,
                    "cat": "Movies",
                    "desc": " |- Отечественные Новинки (HD, FHD, UHD, 3D)"
                },
                {
                    "id": 954,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Новинки (HD, FHD, UHD, 3D)"
                },
                {
                    "id": 217,
                    "cat": "Movies",
                    "desc": " |- Экранки"
                },
                {
                    "id": 1293,
                    "cat": "Movies",
                    "desc": " |- Новинки с Рекламой"
                },
                {
                    "id": 1298,
                    "cat": "Movies",
                    "desc": " |- Экранки с рекламой"
                },
                {
                    "id": 318,
                    "cat": "Movies",
                    "desc": "Классика кино и Старые фильмы до 90-х"
                },
                {
                    "id": 320,
                    "cat": "Movies",
                    "desc": " |- Отечественная Классика (SD)"
                },
                {
                    "id": 677,
                    "cat": "Movies",
                    "desc": " |- Отечественная Классика (DVD)"
                },
                {
                    "id": 1177,
                    "cat": "Movies",
                    "desc": " |- Отечественная Классика (HD, FHD, UHD)"
                },
                {
                    "id": 319,
                    "cat": "Movies",
                    "desc": " |- Зарубежная Классика (SD)"
                },
                {
                    "id": 678,
                    "cat": "Movies",
                    "desc": " |- Зарубежная Классика (DVD)"
                },
                {
                    "id": 885,
                    "cat": "Movies",
                    "desc": " |- Зарубежная Классика (HD, FHD, UHD, 3D)"
                },
                {
                    "id": 908,
                    "cat": "Movies",
                    "desc": " |- Старые Отечественные Фильмы (SD)"
                },
                {
                    "id": 1310,
                    "cat": "Movies",
                    "desc": " |- Старые Отечественные Фильмы (DVD)"
                },
                {
                    "id": 909,
                    "cat": "Movies",
                    "desc": " |- Старые Отечественные Фильмы (HD, FHD, UHD)"
                },
                {
                    "id": 910,
                    "cat": "Movies",
                    "desc": " |- Старые Зарубежные Фильмы (SD)"
                },
                {
                    "id": 911,
                    "cat": "Movies",
                    "desc": " |- Старые Зарубежные Фильмы (DVD)"
                },
                {
                    "id": 912,
                    "cat": "Movies",
                    "desc": " |- Старые Зарубежные Фильмы (HD, FHD, UHD, 3D)"
                },
                {
                    "id": 220,
                    "cat": "Movies",
                    "desc": "Отечественное кино"
                },
                {
                    "id": 221,
                    "cat": "Movies",
                    "desc": " |- Отечественные Фильмы (SD)"
                },
                {
                    "id": 222,
                    "cat": "Movies",
                    "desc": " |- Отечественные Фильмы (DVD)"
                },
                {
                    "id": 882,
                    "cat": "Movies",
                    "desc": " |- Отечественные Фильмы (HD, FHD, UHD)"
                },
                {
                    "id": 889,
                    "cat": "Movies",
                    "desc": " |- Отечественные Фильмы (3D)"
                },
                {
                    "id": 224,
                    "cat": "Movies",
                    "desc": "Зарубежное кино"
                },
                {
                    "id": 225,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Фильмы (SD)"
                },
                {
                    "id": 226,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Фильмы (DVD)"
                },
                {
                    "id": 227,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Фильмы (HD, FHD)"
                },
                {
                    "id": 1296,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Фильмы (UHD)"
                },
                {
                    "id": 891,
                    "cat": "Movies",
                    "desc": " |- Зарубежные Фильмы (3D)"
                },
                {
                    "id": 1299,
                    "cat": "Movies",
                    "desc": " |- Фильмы ближнего зарубежья"
                },
                {
                    "id": 682,
                    "cat": "Movies",
                    "desc": " |- Азиатское кино (SD)"
                },
                {
                    "id": 694,
                    "cat": "Movies",
                    "desc": " |- Азиатское кино (DVD)"
                },
                {
                    "id": 884,
                    "cat": "Movies",
                    "desc": " |- Азиатское кино (HD, FHD, UHD)"
                },
                {
                    "id": 1211,
                    "cat": "Movies",
                    "desc": " |- Азиатское кино (3D)"
                },
                {
                    "id": 693,
                    "cat": "Movies",
                    "desc": " |- Индийское кино"
                },
                {
                    "id": 913,
                    "cat": "Movies",
                    "desc": " |- Фильмы с переводом на др. языках"
                },
                {
                    "id": 228,
                    "cat": "Movies",
                    "desc": " |- Фильмы в оригинале (SD, DVD)"
                },
                {
                    "id": 1150,
                    "cat": "Movies",
                    "desc": " |- Фильмы в оригинале (HD, FHD, UHD)"
                },
                {
                    "id": 1311,
                    "cat": "Movies",
                    "desc": "Коллекции / *логии"
                },
                {
                    "id": 1313,
                    "cat": "Movies",
                    "desc": " |- Зарубежное кино (коллекции / *логии)"
                },
                {
                    "id": 1312,
                    "cat": "Movies",
                    "desc": " |- Отечественное кино (коллекции / *логии)"
                },
                {
                    "id": 256,
                    "cat": "Movies",
                    "desc": "Театр и Музыкальное видео"
                },
                {
                    "id": 257,
                    "cat": "Movies",
                    "desc": " |- Музыкальные клипы"
                },
                {
                    "id": 258,
                    "cat": "Movies",
                    "desc": " |- Концерты (SD)"
                },
                {
                    "id": 883,
                    "cat": "Movies",
                    "desc": " |- Концерты (DVD)"
                },
                {
                    "id": 955,
                    "cat": "Movies",
                    "desc": " |- Концерты (HD, FHD, UHD, 3D)"
                },
                {
                    "id": 905,
                    "cat": "Movies",
                    "desc": " |- Театр"
                },
                {
                    "id": 271,
                    "cat": "Movies",
                    "desc": " |- Опера, Балет, Мюзиклы"
                },
                {
                    "id": 1210,
                    "cat": "Movies",
                    "desc": " |- Караоке"
                },
                {
                    "id": 264,
                    "cat": "Movies",
                    "desc": "Остальное"
                },
                {
                    "id": 265,
                    "cat": "Movies",
                    "desc": " |- Звуковые дорожки и субтитры"
                },
                {
                    "id": 272,
                    "cat": "Movies",
                    "desc": " |- Игровое видео"
                },
                {
                    "id": 1262,
                    "cat": "Movies",
                    "desc": " |- hand made * video"
                },
                {
                    "id": 266,
                    "cat": "Movies",
                    "desc": " |- Трейлеры"
                },
                {
                    "id": 1294,
                    "cat": "Movies",
                    "desc": " |- Фильмы с Рекламой"
                },
                {
                    "id": 1219,
                    "cat": "TV",
                    "desc": "Классика сериалов и многосерийное кино до 90-х"
                },
                {
                    "id": 1221,
                    "cat": "TV",
                    "desc": " |- Отечественная классика сериалов и старое многосерийное..."
                },
                {
                    "id": 1220,
                    "cat": "TV",
                    "desc": " |- Зарубежная классика сериалов и старое многосерийное кино..."
                },
                {
                    "id": 722,
                    "cat": "TV",
                    "desc": " |- Чертова служба в госпитале МЭШ / M*A*S*H"
                },
                {
                    "id": 768,
                    "cat": "TV",
                    "desc": "Зарубежные сериалы"
                },
                {
                    "id": 1344,
                    "cat": "Other",
                    "desc": " |- Звездные войны / Star Wars (сериалы по франшизе)"
                },
                {
                    "id": 779,
                    "cat": "TV",
                    "desc": " |- Анатомия страсти / Grey's Anatomy"
                },
                {
                    "id": 1288,
                    "cat": "TV",
                    "desc": " |- Во все тяжкие / Breaking Bad; Лучше звоните Солу / Better..."
                },
                {
                    "id": 787,
                    "cat": "TV",
                    "desc": " |- Грань / Fringe"
                },
                {
                    "id": 1141,
                    "cat": "TV",
                    "desc": " |- Дневники вампира / Vampire Diaries; Настоящая кровь /..."
                },
                {
                    "id": 777,
                    "cat": "TV",
                    "desc": " |- Доктор кто / Doctor Who; Торчвуд / Torchwood"
                },
                {
                    "id": 786,
                    "cat": "TV",
                    "desc": " |- Доктор Хаус / House M.D."
                },
                {
                    "id": 776,
                    "cat": "TV",
                    "desc": " |- Звездные врата / Stargate"
                },
                {
                    "id": 785,
                    "cat": "TV",
                    "desc": " |- Звездный Крейсер Галактика / BattleStar Galactica;..."
                },
                {
                    "id": 775,
                    "cat": "TV",
                    "desc": " |- Звездный путь / Star Trek; Орвилл / The Orville"
                },
                {
                    "id": 1265,
                    "cat": "TV",
                    "desc": " |- Игра престолов / Game of Thrones"
                },
                {
                    "id": 1242,
                    "cat": "TV",
                    "desc": " |- Касл / Castle"
                },
                {
                    "id": 1140,
                    "cat": "TV",
                    "desc": " |- Кости / Bones"
                },
                {
                    "id": 782,
                    "cat": "TV",
                    "desc": " |- Менталист / The Mentalist; Теория Лжи / Lie To Me"
                },
                {
                    "id": 773,
                    "cat": "TV",
                    "desc": " |- Место преступления / CSI"
                },
                {
                    "id": 1142,
                    "cat": "TV",
                    "desc": " |- Морская полиция / Navy NCIS; Военно-юридическая служба /..."
                },
                {
                    "id": 772,
                    "cat": "TV",
                    "desc": " |- Побег / Prison Break"
                },
                {
                    "id": 771,
                    "cat": "TV",
                    "desc": " |- Пуаро / Poirot"
                },
                {
                    "id": 783,
                    "cat": "TV",
                    "desc": " |- Сверхъестественное / Supernatural"
                },
                {
                    "id": 1144,
                    "cat": "TV",
                    "desc": " |- Секретные материалы / X-Files"
                },
                {
                    "id": 804,
                    "cat": "TV",
                    "desc": " |- Теория Большого Взрыва / The Big Bang Theory; Детство..."
                },
                {
                    "id": 1290,
                    "cat": "TV",
                    "desc": " |- Ходячие мертвецы / The Walking Dead; Бойтесь ходячих..."
                },
                {
                    "id": 1300,
                    "cat": "TV",
                    "desc": " |- Сериалы ближнего зарубежья"
                },
                {
                    "id": 784,
                    "cat": "TV",
                    "desc": " |- Сериалы DC Comics"
                },
                {
                    "id": 774,
                    "cat": "TV",
                    "desc": " |- Сериалы Marvel Comics"
                },
                {
                    "id": 922,
                    "cat": "TV",
                    "desc": " |- Азиатские сериалы"
                },
                {
                    "id": 770,
                    "cat": "TV",
                    "desc": " |- Латиноамериканские сериалы"
                },
                {
                    "id": 1320,
                    "cat": "TV",
                    "desc": " |- Турецкие сериалы"
                },
                {
                    "id": 780,
                    "cat": "TV",
                    "desc": " |- Сериалы без русского перевода (украинская озвучка)"
                },
                {
                    "id": 781,
                    "cat": "TV",
                    "desc": " |- Сериалы без перевода"
                },
                {
                    "id": 1322,
                    "cat": "TV",
                    "desc": " |- Сериалы с рекламой"
                },
                {
                    "id": 769,
                    "cat": "TV",
                    "desc": "Отечественные сериалы"
                },
                {
                    "id": 799,
                    "cat": "TV",
                    "desc": " |- Бандитский Петербург"
                },
                {
                    "id": 800,
                    "cat": "TV",
                    "desc": " |- Глухарь"
                },
                {
                    "id": 791,
                    "cat": "TV",
                    "desc": " |- Интерны"
                },
                {
                    "id": 793,
                    "cat": "TV",
                    "desc": " |- Ментовские войны"
                },
                {
                    "id": 794,
                    "cat": "TV",
                    "desc": " |- Менты"
                },
                {
                    "id": 796,
                    "cat": "TV",
                    "desc": " |- Солдаты"
                },
                {
                    "id": 795,
                    "cat": "TV",
                    "desc": " |- Универ"
                },
                {
                    "id": 713,
                    "cat": "TV",
                    "desc": "Зарубежные TV-бренды"
                },
                {
                    "id": 706,
                    "cat": "TV",
                    "desc": " |- Animal Planet"
                },
                {
                    "id": 577,
                    "cat": "TV",
                    "desc": " |- BBC"
                },
                {
                    "id": 894,
                    "cat": "TV",
                    "desc": " |- Da Vinci Learning"
                },
                {
                    "id": 578,
                    "cat": "TV",
                    "desc": " |- Discovery"
                },
                {
                    "id": 580,
                    "cat": "TV",
                    "desc": " |- History Channel"
                },
                {
                    "id": 579,
                    "cat": "TV",
                    "desc": " |- National Geographic"
                },
                {
                    "id": 953,
                    "cat": "TV",
                    "desc": " |- PBS"
                },
                {
                    "id": 581,
                    "cat": "TV",
                    "desc": " |- Readers Digest"
                },
                {
                    "id": 806,
                    "cat": "TV",
                    "desc": " |- Интересно обо всем"
                },
                {
                    "id": 714,
                    "cat": "TV",
                    "desc": " |- Мега-Проекты"
                },
                {
                    "id": 761,
                    "cat": "TV",
                    "desc": " |- Доисторический мир"
                },
                {
                    "id": 809,
                    "cat": "TV",
                    "desc": " |- Мир будущего"
                },
                {
                    "id": 924,
                    "cat": "TV",
                    "desc": " |- Одиссея Жака Кусто"
                },
                {
                    "id": 812,
                    "cat": "TV",
                    "desc": " |- Тайны и Загадки"
                },
                {
                    "id": 576,
                    "cat": "TV",
                    "desc": "Документалистика и Телепередачи"
                },
                {
                    "id": 590,
                    "cat": "TV",
                    "desc": " |- Кинолетопись Страны Советской"
                },
                {
                    "id": 591,
                    "cat": "TV",
                    "desc": " |- Вторая Мировая война"
                },
                {
                    "id": 588,
                    "cat": "TV",
                    "desc": " |- Отечественная история"
                },
                {
                    "id": 589,
                    "cat": "TV",
                    "desc": " |- История"
                },
                {
                    "id": 598,
                    "cat": "TV",
                    "desc": " |- Личности в истории"
                },
                {
                    "id": 652,
                    "cat": "TV",
                    "desc": " |- Посвящение искусству"
                },
                {
                    "id": 599,
                    "cat": "TV",
                    "desc": " |- Телешоу"
                },
                {
                    "id": 959,
                    "cat": "TV",
                    "desc": " |- Музыкальные шоу"
                },
                {
                    "id": 956,
                    "cat": "TV",
                    "desc": " |- Интеллектуальные шоу"
                },
                {
                    "id": 597,
                    "cat": "TV",
                    "desc": " |- Непознанное и сверхъестественное"
                },
                {
                    "id": 593,
                    "cat": "TV",
                    "desc": " |- Живая природа"
                },
                {
                    "id": 594,
                    "cat": "TV",
                    "desc": " |- Клуб кинопутешествий"
                },
                {
                    "id": 819,
                    "cat": "TV",
                    "desc": " |- За рулем"
                },
                {
                    "id": 595,
                    "cat": "TV",
                    "desc": " |- Релакс / Relax"
                },
                {
                    "id": 587,
                    "cat": "TV",
                    "desc": " |- Военное дело"
                },
                {
                    "id": 584,
                    "cat": "TV",
                    "desc": " |- Авиация"
                },
                {
                    "id": 586,
                    "cat": "TV",
                    "desc": " |- Космос"
                },
                {
                    "id": 585,
                    "cat": "TV",
                    "desc": " |- Флот"
                },
                {
                    "id": 600,
                    "cat": "TV",
                    "desc": " |- Тележурналистика"
                },
                {
                    "id": 596,
                    "cat": "TV",
                    "desc": " |- Политика и пропаганда, публицистика и экономика"
                },
                {
                    "id": 1295,
                    "cat": "TV",
                    "desc": " |- Общественно-политические и пропагандистские ток-шоу"
                },
                {
                    "id": 614,
                    "cat": "TV",
                    "desc": " |- Религии и культы (Док/TV)"
                },
                {
                    "id": 603,
                    "cat": "TV",
                    "desc": "Спорт и активный отдых"
                },
                {
                    "id": 1308,
                    "cat": "TV",
                    "desc": " |- Хоккей. Чемпионат мира"
                },
                {
                    "id": 1309,
                    "cat": "TV",
                    "desc": " |- Футбол. Чемпионат Европы"
                },
                {
                    "id": 1206,
                    "cat": "TV",
                    "desc": " |- Футбол. Чемпионат Мира"
                },
                {
                    "id": 1194,
                    "cat": "TV",
                    "desc": " |- Летние Олимпийские игры и Паралимпийские игры"
                },
                {
                    "id": 1062,
                    "cat": "TV",
                    "desc": " |- Зимние Олимпийские игры и Паралимпийские игры"
                },
                {
                    "id": 974,
                    "cat": "TV",
                    "desc": " |- Футбол"
                },
                {
                    "id": 609,
                    "cat": "TV",
                    "desc": " |- Баскетбол, Волейбол, Гандбол"
                },
                {
                    "id": 1263,
                    "cat": "TV",
                    "desc": " |- Хоккей"
                },
                {
                    "id": 951,
                    "cat": "TV",
                    "desc": " |- Прочие зимние виды спорта"
                },
                {
                    "id": 975,
                    "cat": "TV",
                    "desc": " |- Бокс"
                },
                {
                    "id": 608,
                    "cat": "TV",
                    "desc": " |- Единоборства, Бои без правил"
                },
                {
                    "id": 607,
                    "cat": "TV",
                    "desc": " |- Гимнастика, Бодибилдинг, Красота тела"
                },
                {
                    "id": 606,
                    "cat": "TV",
                    "desc": " |- Авто, Мото"
                },
                {
                    "id": 750,
                    "cat": "TV",
                    "desc": " |- Формула 1"
                },
                {
                    "id": 605,
                    "cat": "TV",
                    "desc": " |- Экстрим"
                },
                {
                    "id": 604,
                    "cat": "TV",
                    "desc": " |- Рыбалка и Охота"
                },
                {
                    "id": 950,
                    "cat": "TV",
                    "desc": " |- Бильярд"
                },
                {
                    "id": 610,
                    "cat": "TV",
                    "desc": "Юмор (ТВ)"
                },
                {
                    "id": 613,
                    "cat": "TV",
                    "desc": " |- КВН"
                },
                {
                    "id": 612,
                    "cat": "TV",
                    "desc": " |- ПостКВН"
                },
                {
                    "id": 653,
                    "cat": "TV",
                    "desc": " |- Украинские шоу"
                },
                {
                    "id": 654,
                    "cat": "TV",
                    "desc": " |- Маски-шоу"
                },
                {
                    "id": 611,
                    "cat": "TV",
                    "desc": " |- Сатирики"
                },
                {
                    "id": 656,
                    "cat": "TV",
                    "desc": " |- Приколы"
                },
                {
                    "id": 615,
                    "cat": "TV/Anime",
                    "desc": "Манга и Арт"
                },
                {
                    "id": 616,
                    "cat": "TV/Anime",
                    "desc": " |- Манга, Манхва, Маньхуа"
                },
                {
                    "id": 617,
                    "cat": "TV/Anime",
                    "desc": " |- Ранобэ"
                },
                {
                    "id": 648,
                    "cat": "TV/Anime",
                    "desc": " |- Визуальные новеллы"
                },
                {
                    "id": 619,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме арт"
                },
                {
                    "id": 620,
                    "cat": "TV/Anime",
                    "desc": "Аниме с субтитрами"
                },
                {
                    "id": 623,
                    "cat": "TV/Anime",
                    "desc": " |- Онгоинги"
                },
                {
                    "id": 622,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме (SD)"
                },
                {
                    "id": 621,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме (HD)"
                },
                {
                    "id": 632,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме (FullHD)"
                },
                {
                    "id": 624,
                    "cat": "TV/Anime",
                    "desc": "Аниме с озвучкой"
                },
                {
                    "id": 627,
                    "cat": "TV/Anime",
                    "desc": " |- Онгоинги с озвучкой"
                },
                {
                    "id": 626,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме с озвучкой (SD)"
                },
                {
                    "id": 625,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме с озвучкой (HD)"
                },
                {
                    "id": 644,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме с озвучкой (FullHD)"
                },
                {
                    "id": 628,
                    "cat": "TV/Anime",
                    "desc": "Аниме разное"
                },
                {
                    "id": 635,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме DVD"
                },
                {
                    "id": 634,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме Blu-ray, Remux"
                },
                {
                    "id": 638,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме хардсаб"
                },
                {
                    "id": 646,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме прочее"
                },
                {
                    "id": 645,
                    "cat": "TV/Anime",
                    "desc": "Аниме музыка"
                },
                {
                    "id": 639,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме OST (Lossless)"
                },
                {
                    "id": 640,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме OST"
                },
                {
                    "id": 432,
                    "cat": "Books",
                    "desc": "Научная и техническая литература"
                },
                {
                    "id": 755,
                    "cat": "Books",
                    "desc": " |- Учебники"
                },
                {
                    "id": 481,
                    "cat": "Books",
                    "desc": " |- Иностранные языки (литература)"
                },
                {
                    "id": 557,
                    "cat": "Books",
                    "desc": " |- Гуманитарные науки и искусство"
                },
                {
                    "id": 442,
                    "cat": "Books",
                    "desc": " |- Точные и естественные науки"
                },
                {
                    "id": 441,
                    "cat": "Books",
                    "desc": " |- Техническая литература"
                },
                {
                    "id": 875,
                    "cat": "Books",
                    "desc": " |- Военно-историческая литература"
                },
                {
                    "id": 1176,
                    "cat": "Books",
                    "desc": " |- Историческая литература"
                },
                {
                    "id": 444,
                    "cat": "Books",
                    "desc": " |- Научно-популярная литература"
                },
                {
                    "id": 443,
                    "cat": "Books",
                    "desc": " |- Здоровье и медицина"
                },
                {
                    "id": 440,
                    "cat": "Books",
                    "desc": " |- Нормативная документация"
                },
                {
                    "id": 1199,
                    "cat": "Books",
                    "desc": " |- Энциклопедии и словари"
                },
                {
                    "id": 433,
                    "cat": "Books",
                    "desc": "Компьютерная литература"
                },
                {
                    "id": 447,
                    "cat": "Books",
                    "desc": " |- Программирование"
                },
                {
                    "id": 445,
                    "cat": "Books",
                    "desc": " |- Веб-дизайн"
                },
                {
                    "id": 817,
                    "cat": "Books",
                    "desc": " |- 2D графика"
                },
                {
                    "id": 818,
                    "cat": "Books",
                    "desc": " |- 3D графика"
                },
                {
                    "id": 434,
                    "cat": "Books",
                    "desc": "Художественная литература"
                },
                {
                    "id": 1349,
                    "cat": "Books",
                    "desc": " |- Библиотеки"
                },
                {
                    "id": 957,
                    "cat": "Books",
                    "desc": " |- Многоавторские сборники и Библиотеки"
                },
                {
                    "id": 931,
                    "cat": "Books",
                    "desc": " |- Собрания книг русскоязычных авторов"
                },
                {
                    "id": 1152,
                    "cat": "Books",
                    "desc": " |- Собрания книг иностранных авторов"
                },
                {
                    "id": 455,
                    "cat": "Books",
                    "desc": " |- Сатира, Юмор"
                },
                {
                    "id": 453,
                    "cat": "Books",
                    "desc": " |- Боевики, Детективы, Триллеры"
                },
                {
                    "id": 1063,
                    "cat": "Books",
                    "desc": " |- Приключенческая проза "
                },
                {
                    "id": 452,
                    "cat": "Books",
                    "desc": " |- Историческая проза, Мифы и Легенды"
                },
                {
                    "id": 451,
                    "cat": "Books",
                    "desc": " |- Фантастика, Фэнтези"
                },
                {
                    "id": 449,
                    "cat": "Books",
                    "desc": " |- Современная поэзия и проза"
                },
                {
                    "id": 1153,
                    "cat": "Books",
                    "desc": " |- Классическая поэзия и проза"
                },
                {
                    "id": 1347,
                    "cat": "Books",
                    "desc": "Книги вне издательств, самиздат (все жанры)"
                },
                {
                    "id": 482,
                    "cat": "Books",
                    "desc": "Комиксы и Артбуки"
                },
                {
                    "id": 483,
                    "cat": "Books",
                    "desc": " |- Комиксы на русском языке"
                },
                {
                    "id": 484,
                    "cat": "Books",
                    "desc": " |- Комиксы без перевода"
                },
                {
                    "id": 1343,
                    "cat": "Books",
                    "desc": " |- Артбуки"
                },
                {
                    "id": 438,
                    "cat": "Books",
                    "desc": "Художественные аудиокниги и публицистика"
                },
                {
                    "id": 485,
                    "cat": "Books",
                    "desc": " |- Сатира, Юмор (аудиокниги)"
                },
                {
                    "id": 473,
                    "cat": "Books",
                    "desc": " |- Детектив, Боевик (аудиокниги)"
                },
                {
                    "id": 472,
                    "cat": "Books",
                    "desc": " |- Исторические аудиокниги"
                },
                {
                    "id": 471,
                    "cat": "Books",
                    "desc": " |- Классика (аудиокниги)"
                },
                {
                    "id": 895,
                    "cat": "Books",
                    "desc": " |- Проза, Поэзия (аудиокниги)"
                },
                {
                    "id": 470,
                    "cat": "Books",
                    "desc": " |- Фантастика, Фэнтези (аудиокниги)"
                },
                {
                    "id": 896,
                    "cat": "Books",
                    "desc": " |- Публицистика (аудиокниги)"
                },
                {
                    "id": 480,
                    "cat": "Books",
                    "desc": " |- Другие аудиокниги"
                },
                {
                    "id": 436,
                    "cat": "Audio/Audiobook",
                    "desc": "Обучающие аудиоматериалы"
                },
                {
                    "id": 458,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Бизнес и Менеджмент (аудиоматериалы)"
                },
                {
                    "id": 457,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Иностранные языки (аудиоматериалы)"
                },
                {
                    "id": 1342,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Здоровье и Медицина (аудиоматериалы)"
                },
                {
                    "id": 459,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Популярная психология и саморазвитие (аудиоматериалы)"
                },
                {
                    "id": 460,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Медитации (аудиоматериалы)"
                },
                {
                    "id": 461,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Религия (аудиоматериалы)"
                },
                {
                    "id": 462,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Прочие аудиоматериалы"
                },
                {
                    "id": 437,
                    "cat": "Books",
                    "desc": "Обучающие видеоматериалы"
                },
                {
                    "id": 466,
                    "cat": "TV",
                    "desc": " |- Бизнес и Менеджмент (видеокурсы)"
                },
                {
                    "id": 1319,
                    "cat": "TV",
                    "desc": " |- Иностранные языки (видеокурсы)"
                },
                {
                    "id": 463,
                    "cat": "TV",
                    "desc": " |- IT, Компьютерные видеокурсы"
                },
                {
                    "id": 958,
                    "cat": "TV",
                    "desc": " |- Дизайн, рисование (видеокурсы)"
                },
                {
                    "id": 1223,
                    "cat": "TV",
                    "desc": " |- Фотография и Видео (видеокурсы)"
                },
                {
                    "id": 467,
                    "cat": "TV",
                    "desc": " |- Здоровье и Спорт (видеокурсы)"
                },
                {
                    "id": 464,
                    "cat": "TV",
                    "desc": " |- Психология и саморазвитие (видеокурсы)"
                },
                {
                    "id": 465,
                    "cat": "TV",
                    "desc": " |- Музыка (видеокурсы)"
                },
                {
                    "id": 1348,
                    "cat": "TV",
                    "desc": " |- Домоводство, строительство и ремонт (видеокурсы)"
                },
                {
                    "id": 469,
                    "cat": "TV",
                    "desc": " |- Другие видеокурсы"
                },
                {
                    "id": 439,
                    "cat": "Books",
                    "desc": "Мультимедийные материалы"
                },
                {
                    "id": 477,
                    "cat": "Books",
                    "desc": " |- Образование"
                },
                {
                    "id": 476,
                    "cat": "Books",
                    "desc": " |- Иностранные языки"
                },
                {
                    "id": 475,
                    "cat": "Books",
                    "desc": " |- Компьютеры"
                },
                {
                    "id": 474,
                    "cat": "Books",
                    "desc": " |- Мультимедийные справочники, Энциклопедии"
                },
                {
                    "id": 886,
                    "cat": "Books",
                    "desc": " |- Приложения к журналам"
                },
                {
                    "id": 478,
                    "cat": "Books",
                    "desc": " |- Другие мультимедийные материалы"
                },
                {
                    "id": 486,
                    "cat": "Books",
                    "desc": "Журналы"
                },
                {
                    "id": 490,
                    "cat": "Books",
                    "desc": " |- Мужские журналы"
                },
                {
                    "id": 657,
                    "cat": "Books",
                    "desc": " |- Женские журналы"
                },
                {
                    "id": 489,
                    "cat": "Books",
                    "desc": " |- Игровые журналы"
                },
                {
                    "id": 488,
                    "cat": "Books",
                    "desc": " |- Компьютерные журналы"
                },
                {
                    "id": 487,
                    "cat": "Books",
                    "desc": " |- Научно-популярные журналы"
                },
                {
                    "id": 1198,
                    "cat": "Books",
                    "desc": " |- Журналы по электротехнике и радиоэлектронике"
                },
                {
                    "id": 1227,
                    "cat": "Books",
                    "desc": " |- Кулинарные журналы"
                },
                {
                    "id": 893,
                    "cat": "Books",
                    "desc": " |- Домоводство (журналы)"
                },
                {
                    "id": 491,
                    "cat": "Books",
                    "desc": " |- Хобби (журналы)"
                },
                {
                    "id": 767,
                    "cat": "Books",
                    "desc": " |- Другие журналы"
                },
                {
                    "id": 299,
                    "cat": "Books",
                    "desc": "Автомобили"
                },
                {
                    "id": 887,
                    "cat": "Books",
                    "desc": " |- Автомобильные журналы"
                },
                {
                    "id": 301,
                    "cat": "Books",
                    "desc": " |- Автомобильная литература"
                },
                {
                    "id": 1334,
                    "cat": "Books",
                    "desc": " |- Автомобильные обуч.видео"
                },
                {
                    "id": 300,
                    "cat": "Books",
                    "desc": " |- Автомобильные мультимедийные материалы"
                },
                {
                    "id": 1341,
                    "cat": "Books",
                    "desc": " |- Автомобильные программы и навигаторы"
                },
                {
                    "id": 492,
                    "cat": "Books",
                    "desc": "Разное (категория книг)"
                },
                {
                    "id": 558,
                    "cat": "Books",
                    "desc": " |- Бизнес, Менеджмент, Деловая литература"
                },
                {
                    "id": 1173,
                    "cat": "Books",
                    "desc": " |- Публицистика"
                },
                {
                    "id": 1174,
                    "cat": "Books",
                    "desc": " |- Популярная психология и саморазвитие"
                },
                {
                    "id": 1171,
                    "cat": "Books",
                    "desc": " |- Эзотерика"
                },
                {
                    "id": 662,
                    "cat": "Books",
                    "desc": " |- Религиозная литература"
                },
                {
                    "id": 1175,
                    "cat": "Books",
                    "desc": " |- Нетрадиционная медицина"
                },
                {
                    "id": 1172,
                    "cat": "Books",
                    "desc": " |- Строительство и ремонт"
                },
                {
                    "id": 933,
                    "cat": "Books",
                    "desc": " |- Сад, огород, животноводство"
                },
                {
                    "id": 815,
                    "cat": "Books",
                    "desc": " |- Кулинария"
                },
                {
                    "id": 1170,
                    "cat": "Books",
                    "desc": " |- Спорт, Фитнес, Боевые искусства"
                },
                {
                    "id": 398,
                    "cat": "Books",
                    "desc": " |- Ноты и обучение музыке"
                },
                {
                    "id": 816,
                    "cat": "Books",
                    "desc": " |- На досуге"
                },
                {
                    "id": 313,
                    "cat": "Audio",
                    "desc": "HD Audio и Многоканальная Музыка"
                },
                {
                    "id": 1291,
                    "cat": "Audio",
                    "desc": " |- Blu-ray Audio"
                },
                {
                    "id": 680,
                    "cat": "Audio",
                    "desc": " |- DVD-Audio"
                },
                {
                    "id": 1149,
                    "cat": "Audio",
                    "desc": " |- SACD-R"
                },
                {
                    "id": 429,
                    "cat": "Audio",
                    "desc": " |- DTS-Audio"
                },
                {
                    "id": 681,
                    "cat": "Audio",
                    "desc": " |- Vinyl-Rip и Hand-Made"
                },
                {
                    "id": 330,
                    "cat": "Audio",
                    "desc": "Классика"
                },
                {
                    "id": 1256,
                    "cat": "Audio",
                    "desc": " |- Классика (HD Audio)"
                },
                {
                    "id": 1285,
                    "cat": "Audio/Lossless",
                    "desc": " |- Полные собрания сочинений (Lossless)"
                },
                {
                    "id": 370,
                    "cat": "Audio",
                    "desc": " |- Полные собрания сочинений"
                },
                {
                    "id": 1260,
                    "cat": "Audio/Lossless",
                    "desc": " |- Вокал (Lossless)"
                },
                {
                    "id": 371,
                    "cat": "Audio",
                    "desc": " |- Вокал"
                },
                {
                    "id": 1261,
                    "cat": "Audio/Lossless",
                    "desc": " |- Концерты (Lossless)"
                },
                {
                    "id": 375,
                    "cat": "Audio",
                    "desc": " |- Концерты"
                },
                {
                    "id": 1259,
                    "cat": "Audio/Lossless",
                    "desc": " |- Оркестровая (Lossless)"
                },
                {
                    "id": 374,
                    "cat": "Audio",
                    "desc": " |- Оркестровая"
                },
                {
                    "id": 1257,
                    "cat": "Audio/Lossless",
                    "desc": " |- Камерная (Lossless)"
                },
                {
                    "id": 373,
                    "cat": "Audio",
                    "desc": " |- Камерная"
                },
                {
                    "id": 1258,
                    "cat": "Audio/Lossless",
                    "desc": " |- Фортепиано (Lossless)"
                },
                {
                    "id": 372,
                    "cat": "Audio",
                    "desc": " |- Фортепиано"
                },
                {
                    "id": 1160,
                    "cat": "Audio/Lossless",
                    "desc": " |- В обработке/Classical Crossover/Neoclassical (Lossless)"
                },
                {
                    "id": 876,
                    "cat": "Audio",
                    "desc": " |- В обработке/Classical Crossover/Neoclassical"
                },
                {
                    "id": 1255,
                    "cat": "Audio/Lossless",
                    "desc": " |- Классика (сборники) (Lossless)"
                },
                {
                    "id": 376,
                    "cat": "Audio",
                    "desc": " |- Классика (сборники)"
                },
                {
                    "id": 326,
                    "cat": "Audio",
                    "desc": "Jazz, Blues, Soul"
                },
                {
                    "id": 1352,
                    "cat": "Audio",
                    "desc": " |- Jazz (Hi-Res)"
                },
                {
                    "id": 359,
                    "cat": "Audio/Lossless",
                    "desc": " |- Jazz (Lossless)"
                },
                {
                    "id": 358,
                    "cat": "Audio",
                    "desc": " |- Jazz"
                },
                {
                    "id": 1353,
                    "cat": "Audio",
                    "desc": " |- Blues, Soul (Hi-Res)"
                },
                {
                    "id": 1188,
                    "cat": "Audio/Lossless",
                    "desc": " |- Blues, Soul (Lossless)"
                },
                {
                    "id": 1189,
                    "cat": "Audio",
                    "desc": " |- Blues, Soul"
                },
                {
                    "id": 328,
                    "cat": "Audio",
                    "desc": "Шансон, Авторская и Военная песня"
                },
                {
                    "id": 1370,
                    "cat": "Audio",
                    "desc": " |- Шансон, Авторская и Военная песня (Hi-Res)"
                },
                {
                    "id": 1180,
                    "cat": "Audio/Lossless",
                    "desc": " |- Зарубежный Шансон (Lossless)"
                },
                {
                    "id": 1181,
                    "cat": "Audio",
                    "desc": " |- Зарубежный Шансон"
                },
                {
                    "id": 364,
                    "cat": "Audio/Lossless",
                    "desc": " |- Русский Шансон (Lossless)"
                },
                {
                    "id": 363,
                    "cat": "Audio",
                    "desc": " |- Русский Шансон"
                },
                {
                    "id": 1179,
                    "cat": "Audio/Lossless",
                    "desc": " |- Авторская и Военная песня (Lossless)"
                },
                {
                    "id": 879,
                    "cat": "Audio",
                    "desc": " |- Авторская и Военная песня"
                },
                {
                    "id": 322,
                    "cat": "Audio",
                    "desc": "Rock, Alternative, Punk, Metal"
                },
                {
                    "id": 1350,
                    "cat": "Audio",
                    "desc": " |- Rock (Hi-Res)"
                },
                {
                    "id": 962,
                    "cat": "Audio/Lossless",
                    "desc": " |- Rock (Lossless)"
                },
                {
                    "id": 333,
                    "cat": "Audio",
                    "desc": " |- Rock"
                },
                {
                    "id": 1356,
                    "cat": "Audio",
                    "desc": " |- Alternative, Punk (Hi-Res)"
                },
                {
                    "id": 965,
                    "cat": "Audio/Lossless",
                    "desc": " |- Alternative, Punk (Lossless)"
                },
                {
                    "id": 336,
                    "cat": "Audio",
                    "desc": " |- Alternative, Punk"
                },
                {
                    "id": 1362,
                    "cat": "Audio",
                    "desc": " |- Hard Rock (Hi Res)"
                },
                {
                    "id": 337,
                    "cat": "Audio/Lossless",
                    "desc": " |- Hard Rock (Lossless)"
                },
                {
                    "id": 338,
                    "cat": "Audio",
                    "desc": " |- Hard Rock"
                },
                {
                    "id": 1351,
                    "cat": "Audio",
                    "desc": " |- Metal (Hi-Res)"
                },
                {
                    "id": 963,
                    "cat": "Audio/Lossless",
                    "desc": " |- Metal (Lossless)"
                },
                {
                    "id": 334,
                    "cat": "Audio",
                    "desc": " |- Metal"
                },
                {
                    "id": 1357,
                    "cat": "Audio",
                    "desc": " |- Русский Рок (Hi-Res)"
                },
                {
                    "id": 961,
                    "cat": "Audio/Lossless",
                    "desc": " |- Русский Рок (Lossless)"
                },
                {
                    "id": 332,
                    "cat": "Audio",
                    "desc": " |- Русский рок"
                },
                {
                    "id": 325,
                    "cat": "Audio",
                    "desc": "Pop"
                },
                {
                    "id": 1354,
                    "cat": "Audio",
                    "desc": " |- Pop (Hi-Res)"
                },
                {
                    "id": 1355,
                    "cat": "Audio",
                    "desc": " |- Eurodance, Disco (Hi-Res)"
                },
                {
                    "id": 1165,
                    "cat": "Audio/Lossless",
                    "desc": " |- Eurodance, Euro-House, Technopop (Lossless)"
                },
                {
                    "id": 1166,
                    "cat": "Audio",
                    "desc": " |- Eurodance, Euro-House, Technopop"
                },
                {
                    "id": 1168,
                    "cat": "Audio",
                    "desc": " |- Disco, Italo-Disco, Euro-Disco, Hi-NRG"
                },
                {
                    "id": 1167,
                    "cat": "Audio/Lossless",
                    "desc": " |- Disco, Italo-Disco, Euro-Disco, Hi-NRG (Lossless)"
                },
                {
                    "id": 1162,
                    "cat": "Audio/Lossless",
                    "desc": " |- Отечественная поп-музыка (Lossless)"
                },
                {
                    "id": 352,
                    "cat": "Audio",
                    "desc": " |- Отечественная поп-музыка"
                },
                {
                    "id": 1164,
                    "cat": "Audio/Lossless",
                    "desc": " |- Советская эстрада, Ретро (Lossless)"
                },
                {
                    "id": 1163,
                    "cat": "Audio",
                    "desc": " |- Советская эстрада, Ретро"
                },
                {
                    "id": 1161,
                    "cat": "Audio/Lossless",
                    "desc": " |- Зарубежная поп-музыка (Lossless)"
                },
                {
                    "id": 353,
                    "cat": "Audio",
                    "desc": " |- Зарубежная поп-музыка"
                },
                {
                    "id": 324,
                    "cat": "Audio",
                    "desc": "Electronic"
                },
                {
                    "id": 1327,
                    "cat": "Audio/Lossless",
                    "desc": " |- Psybient, Psychill, Psydub (Lossless)"
                },
                {
                    "id": 1328,
                    "cat": "Audio",
                    "desc": " |- Psybient, Psychill, Psydub"
                },
                {
                    "id": 1325,
                    "cat": "Audio/Lossless",
                    "desc": " |- Downtempo, Trip-Hop, Lounge (Lossless)"
                },
                {
                    "id": 1326,
                    "cat": "Audio",
                    "desc": " |- Downtempo, Trip-Hop, Lounge"
                },
                {
                    "id": 1365,
                    "cat": "Audio",
                    "desc": " |- Downtempo, Ambient (Hi-Res)"
                },
                {
                    "id": 1366,
                    "cat": "Audio",
                    "desc": " |- Experimental, Industrial (Hi-Res)"
                },
                {
                    "id": 1323,
                    "cat": "Audio/Lossless",
                    "desc": " |- Ambient, Experimental, Modern Classical (Lossless)"
                },
                {
                    "id": 1324,
                    "cat": "Audio",
                    "desc": " |- Ambient, Experimental, Modern Classical"
                },
                {
                    "id": 976,
                    "cat": "Audio/Lossless",
                    "desc": " |- Trance (Lossless)"
                },
                {
                    "id": 346,
                    "cat": "Audio",
                    "desc": " |- Trance"
                },
                {
                    "id": 1363,
                    "cat": "Audio",
                    "desc": " |- Trance, House, Techno (Hi-Res)"
                },
                {
                    "id": 977,
                    "cat": "Audio/Lossless",
                    "desc": " |- House, Techno, Electro, Minimal (Lossless)"
                },
                {
                    "id": 345,
                    "cat": "Audio",
                    "desc": " |- House"
                },
                {
                    "id": 349,
                    "cat": "Audio",
                    "desc": " |- Techno, Electro, Minimal"
                },
                {
                    "id": 1243,
                    "cat": "Audio",
                    "desc": " |- Label-Packs"
                },
                {
                    "id": 347,
                    "cat": "Audio",
                    "desc": " |- Easy listening"
                },
                {
                    "id": 979,
                    "cat": "Audio/Lossless",
                    "desc": " |- Industrial, EBM, Dark Electro (Lossless)"
                },
                {
                    "id": 673,
                    "cat": "Audio",
                    "desc": " |- Experimental Electronic"
                },
                {
                    "id": 671,
                    "cat": "Audio",
                    "desc": " |- Industrial, EBM, Dark Electro"
                },
                {
                    "id": 1224,
                    "cat": "Audio/Lossless",
                    "desc": " |- IDM (Lossless)"
                },
                {
                    "id": 1225,
                    "cat": "Audio",
                    "desc": " |- IDM"
                },
                {
                    "id": 1367,
                    "cat": "Audio",
                    "desc": " |- Synthpop, New Wave, Retro (Hi-Res)"
                },
                {
                    "id": 980,
                    "cat": "Audio/Lossless",
                    "desc": " |- Synthpop, New Wave (Lossless)"
                },
                {
                    "id": 672,
                    "cat": "Audio",
                    "desc": " |- Synthpop, New Wave"
                },
                {
                    "id": 1316,
                    "cat": "Audio/Lossless",
                    "desc": " |- Dubstep, Future Garage, Bass Music, UK Garage (Lossless)"
                },
                {
                    "id": 1317,
                    "cat": "Audio",
                    "desc": " |- Dubstep, Future Garage, Bass Music, UK Garage"
                },
                {
                    "id": 1364,
                    "cat": "Audio",
                    "desc": " |- Drum'n'Bass, Breakbeat (Hi-Res)"
                },
                {
                    "id": 981,
                    "cat": "Audio/Lossless",
                    "desc": " |- Drum'n'Bass, Jungle, Breaks, Breakbeat (Lossless)"
                },
                {
                    "id": 344,
                    "cat": "Audio",
                    "desc": " |- Drum'n'Bass, Jungle, Breaks, Breakbeat"
                },
                {
                    "id": 1368,
                    "cat": "Audio",
                    "desc": " |- Hardcore, Extreme (Hi-Res)"
                },
                {
                    "id": 983,
                    "cat": "Audio/Lossless",
                    "desc": " |- Hardstyle, Jumpstyle, Hardcore (Lossless)"
                },
                {
                    "id": 984,
                    "cat": "Audio",
                    "desc": " |- Hardstyle, Jumpstyle, Hardcore"
                },
                {
                    "id": 982,
                    "cat": "Audio/Lossless",
                    "desc": " |- Psychedelic, psytrance, fullon (Lossless)"
                },
                {
                    "id": 348,
                    "cat": "Audio",
                    "desc": " |- Psychedelic, psytrance, fullon"
                },
                {
                    "id": 674,
                    "cat": "Audio",
                    "desc": " |- Radioshow, Live Mixes"
                },
                {
                    "id": 323,
                    "cat": "Audio",
                    "desc": "Rap, Hip-hop, RnB, Reggae"
                },
                {
                    "id": 1369,
                    "cat": "Audio",
                    "desc": "Rap, Hip-hop, RnB, Reggae (Hi-Res)"
                },
                {
                    "id": 1187,
                    "cat": "Audio/Lossless",
                    "desc": " |- Rap, Hip-hop зарубежный (Lossless)"
                },
                {
                    "id": 339,
                    "cat": "Audio",
                    "desc": " |- Rap, Hip-hop зарубежный"
                },
                {
                    "id": 1186,
                    "cat": "Audio/Lossless",
                    "desc": " |- Rap, Hip-hop отечественный (Lossless)"
                },
                {
                    "id": 340,
                    "cat": "Audio",
                    "desc": " |- Rap, Hip-hop отечественный"
                },
                {
                    "id": 1185,
                    "cat": "Audio/Lossless",
                    "desc": " |- RnB, Reggae (Lossless)"
                },
                {
                    "id": 341,
                    "cat": "Audio",
                    "desc": " |- RnB, Reggae"
                },
                {
                    "id": 329,
                    "cat": "Audio",
                    "desc": "East Asian Music"
                },
                {
                    "id": 1361,
                    "cat": "Audio",
                    "desc": " |- Asian Music (Hi-Res)"
                },
                {
                    "id": 369,
                    "cat": "Audio/Lossless",
                    "desc": " |- Asian Traditional, Ethnic (Lossless)"
                },
                {
                    "id": 368,
                    "cat": "Audio",
                    "desc": " |- Asian Traditional, Ethnic"
                },
                {
                    "id": 1218,
                    "cat": "Audio/Lossless",
                    "desc": " |- Asian Pop (Lossless)"
                },
                {
                    "id": 365,
                    "cat": "Audio",
                    "desc": " |- Asian Pop"
                },
                {
                    "id": 1217,
                    "cat": "Audio/Lossless",
                    "desc": " |- Asian Rock, Metal (Lossless)"
                },
                {
                    "id": 366,
                    "cat": "Audio",
                    "desc": " |- Asian Rock, Metal"
                },
                {
                    "id": 1215,
                    "cat": "Audio/Lossless",
                    "desc": " |- Doujin Music (Lossless)"
                },
                {
                    "id": 1216,
                    "cat": "Audio",
                    "desc": " |- Doujin Music"
                },
                {
                    "id": 1213,
                    "cat": "Audio/Lossless",
                    "desc": " |- Other Asian (Lossless)"
                },
                {
                    "id": 367,
                    "cat": "Audio",
                    "desc": " |- Other Asian"
                },
                {
                    "id": 331,
                    "cat": "Audio",
                    "desc": "Other Styles"
                },
                {
                    "id": 1358,
                    "cat": "Audio",
                    "desc": " |- Instrumental (Hi-Res)"
                },
                {
                    "id": 1157,
                    "cat": "Audio/Lossless",
                    "desc": " |- Instrumental (Lossless)"
                },
                {
                    "id": 711,
                    "cat": "Audio",
                    "desc": " |- Instrumental"
                },
                {
                    "id": 1159,
                    "cat": "Audio/Lossless",
                    "desc": " |- New Age/Meditative/Relax (Lossless)"
                },
                {
                    "id": 378,
                    "cat": "Audio",
                    "desc": " |- New Age/Meditative/Relax"
                },
                {
                    "id": 1359,
                    "cat": "Audio",
                    "desc": " |- Folk (Hi-Res)"
                },
                {
                    "id": 1158,
                    "cat": "Audio/Lossless",
                    "desc": " |- Folk (Lossless)"
                },
                {
                    "id": 379,
                    "cat": "Audio",
                    "desc": " |- Folk"
                },
                {
                    "id": 380,
                    "cat": "Audio/Lossless",
                    "desc": " |- Other (Lossless)"
                },
                {
                    "id": 1178,
                    "cat": "Audio",
                    "desc": " |- Other"
                },
                {
                    "id": 1360,
                    "cat": "Audio",
                    "desc": " |- OST (Hi-Res)"
                },
                {
                    "id": 361,
                    "cat": "Audio/Lossless",
                    "desc": " |- OST (Lossless)"
                },
                {
                    "id": 360,
                    "cat": "Audio",
                    "desc": " |- OST"
                },
                {
                    "id": 327,
                    "cat": "Audio",
                    "desc": "Неофициальные сборники"
                },
                {
                    "id": 1184,
                    "cat": "Audio",
                    "desc": " |- Jazz, Blues, Soul (сборники)"
                },
                {
                    "id": 824,
                    "cat": "Audio",
                    "desc": " |- Шансон, Авторская и Военная песня (сборники)"
                },
                {
                    "id": 1182,
                    "cat": "Audio",
                    "desc": " |- Rock, Alternative, Punk, Metal (сборники)"
                },
                {
                    "id": 354,
                    "cat": "Audio",
                    "desc": " |- Pop (сборники)"
                },
                {
                    "id": 877,
                    "cat": "Audio",
                    "desc": " |- Electronic (сборники)"
                },
                {
                    "id": 1183,
                    "cat": "Audio",
                    "desc": " |- Rap, Hip-hop, RnB, Reggae (сборники)"
                },
                {
                    "id": 1190,
                    "cat": "Audio",
                    "desc": " |- Instrumental/New Age/Meditative/Relax (сборники)"
                },
                {
                    "id": 917,
                    "cat": "Audio",
                    "desc": " |- Прочее (сборники)"
                },
                {
                    "id": 410,
                    "cat": "Other",
                    "desc": "Win Игры"
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": " |- Горячие новинки Игр"
                },
                {
                    "id": 412,
                    "cat": "Other",
                    "desc": " |- Action (FPS)"
                },
                {
                    "id": 1008,
                    "cat": "Other",
                    "desc": " |- Action (TPS)"
                },
                {
                    "id": 415,
                    "cat": "Other",
                    "desc": " |- Adventure/Quest"
                },
                {
                    "id": 746,
                    "cat": "Other",
                    "desc": " |- Arcade"
                },
                {
                    "id": 428,
                    "cat": "Other",
                    "desc": " |- Online (MMO)"
                },
                {
                    "id": 1009,
                    "cat": "Other",
                    "desc": " |- Online Action (MMO)"
                },
                {
                    "id": 413,
                    "cat": "Other",
                    "desc": " |- RPG"
                },
                {
                    "id": 414,
                    "cat": "Other",
                    "desc": " |- Strategy (RTS/TBS/Grand)"
                },
                {
                    "id": 1010,
                    "cat": "Other",
                    "desc": " |- Strategy Tactical (RTS/TBS)"
                },
                {
                    "id": 1012,
                    "cat": "Other",
                    "desc": " |- Strategy (Manage/Busin)"
                },
                {
                    "id": 1014,
                    "cat": "Other",
                    "desc": " |- Racing"
                },
                {
                    "id": 416,
                    "cat": "Other",
                    "desc": " |- Simulation (Flight/Space)"
                },
                {
                    "id": 1013,
                    "cat": "Other",
                    "desc": " |- Simulation (Sport)"
                },
                {
                    "id": 1015,
                    "cat": "Other",
                    "desc": " |- Simulation (Other)"
                },
                {
                    "id": 268,
                    "cat": "Other",
                    "desc": " |- Action/Arcade/Platformer (Casual)"
                },
                {
                    "id": 1016,
                    "cat": "Other",
                    "desc": " |- Adventure/Quest (Casual)"
                },
                {
                    "id": 1041,
                    "cat": "Other",
                    "desc": " |- Classic Arcade/Zuma/3match (Casual)"
                },
                {
                    "id": 1018,
                    "cat": "Other",
                    "desc": " |- Board/Puzzle/Logic (Casual)"
                },
                {
                    "id": 1017,
                    "cat": "Other",
                    "desc": " |- Strategy/Manager/Business (Casual)"
                },
                {
                    "id": 972,
                    "cat": "Other",
                    "desc": " |- AddOn/DLC/Mod для Игр"
                },
                {
                    "id": 971,
                    "cat": "Other",
                    "desc": " |- Demo/Beta версии Игр"
                },
                {
                    "id": 970,
                    "cat": "Other",
                    "desc": " |- Языковые пакеты для Игр"
                },
                {
                    "id": 969,
                    "cat": "Other",
                    "desc": " |- Patch/Tweak/Trainer/Other для Игр"
                },
                {
                    "id": 968,
                    "cat": "Other",
                    "desc": " |- NoCD/NoDVD/Crack для Игр"
                },
                {
                    "id": 1146,
                    "cat": "Other",
                    "desc": " |- Песочница Win Игр"
                },
                {
                    "id": 418,
                    "cat": "Other",
                    "desc": "Win Старые Игры"
                },
                {
                    "id": 1061,
                    "cat": "Other",
                    "desc": " |- Action (FPS)"
                },
                {
                    "id": 1060,
                    "cat": "Other",
                    "desc": " |- Action (TPS)"
                },
                {
                    "id": 1059,
                    "cat": "Other",
                    "desc": " |- Adventure/Quest"
                },
                {
                    "id": 1058,
                    "cat": "Other",
                    "desc": " |- Arcade"
                },
                {
                    "id": 1057,
                    "cat": "Other",
                    "desc": " |- RPG"
                },
                {
                    "id": 1056,
                    "cat": "Other",
                    "desc": " |- Strategy (RTS/TBS/Grand)"
                },
                {
                    "id": 1054,
                    "cat": "Other",
                    "desc": " |- Strategy Tactical (RTS/TBS/Wargame)"
                },
                {
                    "id": 1053,
                    "cat": "Other",
                    "desc": " |- Strategy (Manage/Busin)"
                },
                {
                    "id": 1052,
                    "cat": "Other",
                    "desc": " |- Racing"
                },
                {
                    "id": 1051,
                    "cat": "Other",
                    "desc": " |- Simulation (Flight/Space)"
                },
                {
                    "id": 1050,
                    "cat": "Other",
                    "desc": " |- Simulation (Sport)"
                },
                {
                    "id": 1049,
                    "cat": "Other",
                    "desc": " |- Simulation (Other)"
                },
                {
                    "id": 1048,
                    "cat": "Other",
                    "desc": " |- AddOn/DLC/Mod для Игр"
                },
                {
                    "id": 1047,
                    "cat": "Other",
                    "desc": " |- Demo/Beta версии Игр"
                },
                {
                    "id": 1046,
                    "cat": "Other",
                    "desc": " |- Языковые пакеты для Игр"
                },
                {
                    "id": 1045,
                    "cat": "Other",
                    "desc": " |- Patch/Tweak/Trainer/Other для Игр"
                },
                {
                    "id": 1044,
                    "cat": "Other",
                    "desc": " |- NoCD/NoDVD/Crack для Игр"
                },
                {
                    "id": 382,
                    "cat": "Other",
                    "desc": "Консольные Игры"
                },
                {
                    "id": 390,
                    "cat": "Other",
                    "desc": " |- Тех. раздел Консолей"
                },
                {
                    "id": 387,
                    "cat": "Other",
                    "desc": " |- Xbox 360"
                },
                {
                    "id": 388,
                    "cat": "Other",
                    "desc": " |- Wii, GameCube"
                },
                {
                    "id": 1264,
                    "cat": "Other",
                    "desc": " |- Wii U"
                },
                {
                    "id": 1318,
                    "cat": "Other",
                    "desc": " |- Switch"
                },
                {
                    "id": 385,
                    "cat": "Other",
                    "desc": " |- PS1"
                },
                {
                    "id": 386,
                    "cat": "Other",
                    "desc": " |- PS2"
                },
                {
                    "id": 848,
                    "cat": "Other",
                    "desc": " |- PS3"
                },
                {
                    "id": 1321,
                    "cat": "Other",
                    "desc": " |- PS4"
                },
                {
                    "id": 383,
                    "cat": "Other",
                    "desc": " |- PSP"
                },
                {
                    "id": 384,
                    "cat": "Other",
                    "desc": " |- Psx to PSP"
                },
                {
                    "id": 1292,
                    "cat": "Other",
                    "desc": " |- PS Vita"
                },
                {
                    "id": 389,
                    "cat": "Other",
                    "desc": " |- Ромы"
                },
                {
                    "id": 391,
                    "cat": "Other",
                    "desc": " |- Другие приставки"
                },
                {
                    "id": 1240,
                    "cat": "Other",
                    "desc": " |- Всё для детей и родителей для Android"
                },
                {
                    "id": 830,
                    "cat": "Other",
                    "desc": " |- ПО для Android"
                },
                {
                    "id": 833,
                    "cat": "Other",
                    "desc": " |- Игры для Android"
                },
                {
                    "id": 839,
                    "cat": "Other",
                    "desc": " |- Навигация для Android"
                },
                {
                    "id": 1233,
                    "cat": "Other",
                    "desc": " |- Прошивки для Android устройств"
                },
                {
                    "id": 1236,
                    "cat": "Other",
                    "desc": " |- Вспомогательное ПО для Android"
                },
                {
                    "id": 832,
                    "cat": "Other",
                    "desc": " |- ПО и Игры на Java"
                },
                {
                    "id": 829,
                    "cat": "Other",
                    "desc": " |- ПО и Игры для Symbian"
                },
                {
                    "id": 828,
                    "cat": "Other",
                    "desc": " |- ПО и Игры для Windows Mobile"
                },
                {
                    "id": 1231,
                    "cat": "Other",
                    "desc": " |- Навигация для др. мобильных устройств"
                },
                {
                    "id": 840,
                    "cat": "Other",
                    "desc": " |- Прошивки для др. мобильных устройств"
                },
                {
                    "id": 1232,
                    "cat": "Other",
                    "desc": " |- Вспомогательное ПО для др. мобильных устройств"
                },
                {
                    "id": 841,
                    "cat": "Other",
                    "desc": " |- Прочее для мобильных устройств"
                },
                {
                    "id": 1238,
                    "cat": "Other",
                    "desc": " |- Карты для навигационного ПО"
                },
                {
                    "id": 844,
                    "cat": "Other",
                    "desc": " |- Мобильное Аудио"
                },
                {
                    "id": 842,
                    "cat": "Other",
                    "desc": " |- Мобильное Видео"
                },
                {
                    "id": 843,
                    "cat": "Other",
                    "desc": " |- Темы и Изображения"
                },
                {
                    "id": 537,
                    "cat": "Other",
                    "desc": " |- macOS (Apple)"
                },
                {
                    "id": 538,
                    "cat": "Other",
                    "desc": " |- macOS (osx86project/hackintosh)"
                },
                {
                    "id": 1151,
                    "cat": "Other",
                    "desc": " |- Разное для macOS (Apple/hackintosh)"
                },
                {
                    "id": 1083,
                    "cat": "Other",
                    "desc": " |- Графика для macOS"
                },
                {
                    "id": 1029,
                    "cat": "Other",
                    "desc": " |- CAD, 3D, ПО для специалистов для macOS"
                },
                {
                    "id": 1082,
                    "cat": "Other",
                    "desc": " |- Офис, Интернет для macOS"
                },
                {
                    "id": 1028,
                    "cat": "Other",
                    "desc": " |- Аудио и видео редакторы для macOS"
                },
                {
                    "id": 1087,
                    "cat": "Other",
                    "desc": " |- Плееры, конвертеры, кодеки для macOS"
                },
                {
                    "id": 1030,
                    "cat": "Other",
                    "desc": " |- Утилиты для macOS"
                },
                {
                    "id": 1039,
                    "cat": "Other",
                    "desc": " |- Kinder Games для macOS"
                },
                {
                    "id": 1038,
                    "cat": "Other",
                    "desc": " |- Quests, Adventure, Arcade для macOS"
                },
                {
                    "id": 1037,
                    "cat": "Other",
                    "desc": " |- Action, FPS для macOS"
                },
                {
                    "id": 1036,
                    "cat": "Other",
                    "desc": " |- Strategy, RPG для macOS"
                },
                {
                    "id": 1035,
                    "cat": "Other",
                    "desc": " |- Racing, Simulation, Sports для macOS"
                },
                {
                    "id": 1034,
                    "cat": "Other",
                    "desc": " |- Casual Games, Other для macOS"
                },
                {
                    "id": 822,
                    "cat": "Other",
                    "desc": " |- Тестовые macOS Игры"
                },
                {
                    "id": 1093,
                    "cat": "Other",
                    "desc": " |- Прошивки iOS и AppleTV"
                },
                {
                    "id": 1092,
                    "cat": "Other",
                    "desc": " |- UnLock, Jailbreak, Cydia"
                },
                {
                    "id": 1091,
                    "cat": "Other",
                    "desc": " |- ПО для iOS"
                },
                {
                    "id": 834,
                    "cat": "Other",
                    "desc": " |- Игры для iOS"
                },
                {
                    "id": 831,
                    "cat": "Other",
                    "desc": " |- ПО из App Store"
                },
                {
                    "id": 1155,
                    "cat": "Other",
                    "desc": " |- Отечественное видео для устройств Apple"
                },
                {
                    "id": 1156,
                    "cat": "Other",
                    "desc": " |- Отечественное видео HD для устройств Apple"
                },
                {
                    "id": 1099,
                    "cat": "Other",
                    "desc": " |- Зарубежное видео для устройств Apple"
                },
                {
                    "id": 1098,
                    "cat": "Other",
                    "desc": " |- Зарубежное видео HD для устройств Apple"
                },
                {
                    "id": 1096,
                    "cat": "Audio",
                    "desc": " |- Музыка (AAC)"
                },
                {
                    "id": 1097,
                    "cat": "Audio/Lossless",
                    "desc": " |- Музыка Lossless (ALAC)"
                },
                {
                    "id": 1095,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Аудиокниги (AAC)"
                },
                {
                    "id": 536,
                    "cat": "Other",
                    "desc": "Linux, Unix и другие ОС"
                },
                {
                    "id": 563,
                    "cat": "Other",
                    "desc": " |- ОС Linux"
                },
                {
                    "id": 1032,
                    "cat": "Other",
                    "desc": " |- ОС *Nix (Alpha, Beta, RC)"
                },
                {
                    "id": 1031,
                    "cat": "Other",
                    "desc": " |- Сборки ОС Linux"
                },
                {
                    "id": 1025,
                    "cat": "Other",
                    "desc": " |- ОС *BSD"
                },
                {
                    "id": 1026,
                    "cat": "Other",
                    "desc": " |- Другие ОС"
                },
                {
                    "id": 564,
                    "cat": "Other",
                    "desc": " |- *Nix. Программы"
                },
                {
                    "id": 1137,
                    "cat": "Other",
                    "desc": " |- Специализированные ОС"
                },
                {
                    "id": 417,
                    "cat": "Other",
                    "desc": "*Nix Игры"
                },
                {
                    "id": 1193,
                    "cat": "Other",
                    "desc": " |- Native *Nix Games"
                },
                {
                    "id": 1192,
                    "cat": "Other",
                    "desc": " |- Ported *Nix Games"
                },
                {
                    "id": 1102,
                    "cat": "Other",
                    "desc": "Материалы для мультимедиа и дизайна"
                },
                {
                    "id": 1070,
                    "cat": "Other",
                    "desc": " |- Digital Juice"
                },
                {
                    "id": 534,
                    "cat": "Other",
                    "desc": " |- Звуковые библиотеки"
                },
                {
                    "id": 676,
                    "cat": "Other",
                    "desc": " |- Пресеты"
                },
                {
                    "id": 1077,
                    "cat": "Other",
                    "desc": " |- Дополнения"
                },
                {
                    "id": 267,
                    "cat": "Other",
                    "desc": " |- Футажи"
                },
                {
                    "id": 1071,
                    "cat": "Other",
                    "desc": " |- 3D модели и материалы"
                },
                {
                    "id": 1134,
                    "cat": "Other",
                    "desc": " |- Web-дизайн и шаблоны сайтов"
                },
                {
                    "id": 1107,
                    "cat": "Other",
                    "desc": " |- Текстуры и Фоны"
                },
                {
                    "id": 1075,
                    "cat": "Other",
                    "desc": " |- Шрифты"
                },
                {
                    "id": 1105,
                    "cat": "Other",
                    "desc": " |- Шаблоны и Рамки"
                },
                {
                    "id": 676,
                    "cat": "Other",
                    "desc": " |- Костюмы"
                },
                {
                    "id": 1072,
                    "cat": "Other",
                    "desc": " |- Растровый клипарт (фото)"
                },
                {
                    "id": 166,
                    "cat": "Other",
                    "desc": " |- Растровый клипарт (элементы)"
                },
                {
                    "id": 1078,
                    "cat": "Other",
                    "desc": " |- Растровый клипарт (иллюстрации)"
                },
                {
                    "id": 1074,
                    "cat": "Other",
                    "desc": " |- Векторный клипарт"
                },
                {
                    "id": 1076,
                    "cat": "Other",
                    "desc": " |- Сборники"
                },
                {
                    "id": 1266,
                    "cat": "Other",
                    "desc": "Проекты"
                },
                {
                    "id": 1267,
                    "cat": "Other",
                    "desc": " |- Детские (проекты)"
                },
                {
                    "id": 1268,
                    "cat": "Other",
                    "desc": " |- Свадебные и романтические (проекты)"
                },
                {
                    "id": 1269,
                    "cat": "Other",
                    "desc": " |- Праздничные (проекты)"
                },
                {
                    "id": 1270,
                    "cat": "Other",
                    "desc": " |- Презентации (проекты)"
                },
                {
                    "id": 1277,
                    "cat": "Other",
                    "desc": " |- Трейлеры (проекты)"
                },
                {
                    "id": 1271,
                    "cat": "Other",
                    "desc": " |- Спортивные (проекты)"
                },
                {
                    "id": 1272,
                    "cat": "Other",
                    "desc": " |- Логотипы (проекты)"
                },
                {
                    "id": 1273,
                    "cat": "Other",
                    "desc": " |- Слайдшоу (проекты)"
                },
                {
                    "id": 1274,
                    "cat": "Other",
                    "desc": " |- Титры (проекты)"
                },
                {
                    "id": 1275,
                    "cat": "Other",
                    "desc": " |- Элементы (проекты)"
                },
                {
                    "id": 1372,
                    "cat": "Other",
                    "desc": " |- Переходы, фоны и оверлеи (проекты)"
                },
                {
                    "id": 1276,
                    "cat": "Other",
                    "desc": " |- Разное (проекты)"
                },
                {
                    "id": 1103,
                    "cat": "Other",
                    "desc": "Графика, Арт, Разное"
                },
                {
                    "id": 1114,
                    "cat": "Other",
                    "desc": " |- Классическое искусство"
                },
                {
                    "id": 1113,
                    "cat": "Other",
                    "desc": " |- Современное изобразительное искусство"
                },
                {
                    "id": 1115,
                    "cat": "Other",
                    "desc": " |- Книжная иллюстрация"
                },
                {
                    "id": 1129,
                    "cat": "Other",
                    "desc": " |- Современная фотография"
                },
                {
                    "id": 1111,
                    "cat": "Other",
                    "desc": " |- Иконки и аватарки"
                },
                {
                    "id": 1116,
                    "cat": "Other",
                    "desc": " |- Картинки"
                },
                {
                    "id": 808,
                    "cat": "Other",
                    "desc": " |- Обои для рабочего стола"
                },
                {
                    "id": 1139,
                    "cat": "Other",
                    "desc": " |- Обои для рабочего стола (16+)"
                },
                {
                    "id": 988,
                    "cat": "Other",
                    "desc": " |- Графика (16+)"
                },
                {
                    "id": 1073,
                    "cat": "Other",
                    "desc": " |- Интернет-творчество"
                },
                {
                    "id": 892,
                    "cat": "Other",
                    "desc": " |- Архив Мультфильмов"
                },
                {
                    "id": 91,
                    "cat": "Other",
                    "desc": " |- Архив Видео. Кино, Театра"
                },
                {
                    "id": 150,
                    "cat": "Other",
                    "desc": " |- Архив неактуальных Экранок и любого видео с Рекламой"
                },
                {
                    "id": 668,
                    "cat": "Other",
                    "desc": " |- Архив Классики кино и Старых фильмов до 90-х"
                },
                {
                    "id": 1143,
                    "cat": "Other",
                    "desc": " |- Архив Музыкального Видео"
                },
                {
                    "id": 802,
                    "cat": "Other",
                    "desc": " |- Архив Сериалов и Архив Старого многосерийного кино до 90-х"
                },
                {
                    "id": 669,
                    "cat": "Other",
                    "desc": " |- Архив Документалистики и TV"
                },
                {
                    "id": 400,
                    "cat": "Other",
                    "desc": " |- Архив Юмора"
                },
                {
                    "id": 169,
                    "cat": "Other",
                    "desc": " |- Архив Аниме"
                },
                {
                    "id": 94,
                    "cat": "Other",
                    "desc": " |- Архив Книг и обучающих материалов"
                },
                {
                    "id": 303,
                    "cat": "Other",
                    "desc": " |- Архив Авто"
                },
                {
                    "id": 92,
                    "cat": "Other",
                    "desc": " |- Архив Музыки"
                },
                {
                    "id": 93,
                    "cat": "Other",
                    "desc": " |- Архив Игр"
                },
                {
                    "id": 1333,
                    "cat": "Other",
                    "desc": " |- Архив *Nix"
                },
                {
                    "id": 95,
                    "cat": "Other",
                    "desc": " |- Архив Программ"
                },
                {
                    "id": 184,
                    "cat": "Other",
                    "desc": " |- Архив КПК и Мобильных устройств"
                },
                {
                    "id": 1080,
                    "cat": "Other",
                    "desc": " |- Архив 4Apple"
                },
                {
                    "id": 180,
                    "cat": "Other",
                    "desc": " |- Архив Медиа-Диз-Графика"
                },
                {
                    "id": 145,
                    "cat": "Other",
                    "desc": " |- Видео (temp)"
                },
                {
                    "id": 146,
                    "cat": "Other",
                    "desc": " |- Аниме (temp)"
                },
                {
                    "id": 161,
                    "cat": "Other",
                    "desc": " |- Книги (temp)"
                },
                {
                    "id": 147,
                    "cat": "Other",
                    "desc": " |- Музыка (temp)"
                },
                {
                    "id": 148,
                    "cat": "Other",
                    "desc": " |- Игры (temp)"
                },
                {
                    "id": 149,
                    "cat": "Other",
                    "desc": " |- Программы (temp)"
                },
                {
                    "id": 183,
                    "cat": "Other",
                    "desc": " |- КПК и Мобильные устройства (temp)"
                },
                {
                    "id": 1145,
                    "cat": "Other",
                    "desc": " |- 4Apple (temp)"
                },
                {
                    "id": 171,
                    "cat": "Other",
                    "desc": " |- Медиа-Диз-Графика (temp)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "info_row",
                "type": "info",
                "label": "Search settings",
                "default": "This Indexer requires specific columns to be active on your account search settings.<br>Login to the web site and ensure that only the <b>Автор</b> (Author) and <b>Форум</b> (Forum) checkboxes are ticked in the <b>Показывать колонку</b> (Show Columns) section of the <b>Настройки поиска Torrent</b> (Torrent Search Settings) page.<br>Having other columns active may prevent the Indexer processing/displaying results correctly."
            },
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "forum/index.php",
                "selector": "table.menutable a.mainmenu:contains(\"Выход\")"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "forum/tracker.php",
                    "method": "post"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "tm": -1,
                "shf": 1,
                "sha": 1,
                "ta": -1,
                "sns": -1,
                "sds": "{{ if .Config.freeleech }}1{{ else }}-1{{ end }}",
                "nm": "{{ .Keywords }}",
                "submit": "Поиск"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "сезон $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bE0*(\\d+)\\b",
                        "сери $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "сезон $1 сери $2"
                    ]
                }
            ],
            "rows": {
                "selector": "table.forumline.tablesorter > tbody > tr:has(a[href^=\"viewtopic.php?t=\"]):has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category_id": {
                    "selector": "a[href^=\"tracker.php?f=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "category": {
                    "text": "{{ .Result.category_id }}"
                },
                "title": {
                    "selector": "a[href^=\"viewtopic.php?t=\"] > b",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bКураж-Бамбей\\b",
                                "kurazh"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bКубик в Кубе\\b",
                                "Kubik"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bКравец\\b",
                                "Kravec"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bПифагор\\b",
                                "Pifagor"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bНевафильм\\b",
                                "Nevafilm"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bЛицензия\\b",
                                "Lic"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bселезень\\b",
                                "selezen"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\sот\\s([\\w\\p{P}\\p{S}]+)$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\|\\s(\\w{4,})$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^(.*?)(\\((?:(?:20|19)\\d{2}-?)+\\))(.*?)(.*?)\\((\bS\\d{1,2}E\\d{1,3}(?:-\\d{1,3})?(?:\\s+of\\s+[?0-9]+)?)\\)(.*)",
                                "$1 / $5 $2$4$6"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if and (ne .Result.category_id \"913\") (.Config.addrussiantotitle) }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"viewtopic.php?t=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(6) > u"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "date": {
                    "selector": "td:last-child > u"
                },
                "seeders": {
                    "selector": "td.seedmed > b"
                },
                "leechers": {
                    "selector": "td.leechmed > b"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/gold.gif\"]": 0,
                        "img[src$=\"/silver.gif\"]": 0.5,
                        "img[src$=\"/bronze.gif\"]": 0.75,
                        "img[src$=\"/platinum.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "a[href^=\"viewtopic.php?t=\"] > b"
                }
            }
        }
    },
    "nordicbytes": {
        "credentials": {
            "apikey": ""
        },
        "id": "nordicbytes",
        "replaces": [
            "danishbytes-api"
        ],
        "name": "NordicBytes",
        "description": "NordicBytes is a Mixed NORDIC Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://nordicbytes.org/"
        ],
        "legacylinks": [
            "https://danishbytes.org/",
            "https://danishbytes.art/",
            "https://danishbytes.club/",
            "https://danishbytes2.org/",
            "https://dbytes.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "PC/0day",
                    "desc": "Apps"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Sound"
                },
                {
                    "id": 6,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 7,
                    "cat": "Audio/Audiobook",
                    "desc": "AudioBooks"
                },
                {
                    "id": 8,
                    "cat": "Audio/Other",
                    "desc": "Podcasts"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_apikey",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Key by accessing the <a href=\"https://nordicbytes.org/account/apikey/\" target=\"_blank\">NordicBytes Account API Key</a> page."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Your account is automatically disabled after 90 days of no activity."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://placehold.co/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "nordicquality-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "nordicquality-api",
        "name": "NordicQuality (API)",
        "description": "NordicQuality is a NORDIC Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://nordicq.org/"
        ],
        "legacylinks": [
            "https://nordicq.info/",
            "https://nordicq.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 8,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobooks"
                },
                {
                    "id": 7,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 9,
                    "cat": "Audio/Other",
                    "desc": "Podcasts"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://nordicq.org/\" target=\"_blank\">NordicQuality</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Your membership requires that you stay active at NordicQuality. To not get disabled, you are required to login to the site at least once every 90 days."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "nostradamus": {
        "credentials": {
            "apikey": ""
        },
        "id": "nostradamus",
        "name": "Nostradamus",
        "description": "Nostradamus is a ratioless FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://nostradamus.foo/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Films"
                },
                {
                    "id": 2020,
                    "cat": "Movies",
                    "desc": "Films/Film"
                },
                {
                    "id": 2010,
                    "cat": "Movies/Other",
                    "desc": "Films/Animation"
                },
                {
                    "id": 2030,
                    "cat": "TV/Documentary",
                    "desc": "Films/Documentaire"
                },
                {
                    "id": 2040,
                    "cat": "Audio/Video",
                    "desc": "Films/Spectacle"
                },
                {
                    "id": 2060,
                    "cat": "Audio/Video",
                    "desc": "Films/Concert"
                },
                {
                    "id": 2510,
                    "cat": "Movies/Other",
                    "desc": "Films/Court-métrage"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "Séries TV"
                },
                {
                    "id": 5040,
                    "cat": "TV",
                    "desc": "Séries TV/Série TV"
                },
                {
                    "id": 5070,
                    "cat": "TV/Anime",
                    "desc": "Séries TV/Animation Série"
                },
                {
                    "id": 5080,
                    "cat": "TV",
                    "desc": "Séries TV/Emission TV"
                },
                {
                    "id": 5090,
                    "cat": "Audio/Video",
                    "desc": "Vidéo"
                },
                {
                    "id": 5060,
                    "cat": "TV/Sport",
                    "desc": "Vidéo/Sport"
                },
                {
                    "id": 5091,
                    "cat": "Audio/Video",
                    "desc": "Vidéo/Vidéo-clips"
                },
                {
                    "id": 5092,
                    "cat": "Audio/Video",
                    "desc": "Vidéo/Autre"
                },
                {
                    "id": 7000,
                    "cat": "Books",
                    "desc": "eBook"
                },
                {
                    "id": 7010,
                    "cat": "Audio/Audiobook",
                    "desc": "eBook/Audio"
                },
                {
                    "id": 7030,
                    "cat": "Books/Comics",
                    "desc": "eBook/BDs"
                },
                {
                    "id": 7040,
                    "cat": "Books/Comics",
                    "desc": "eBook/Comics"
                },
                {
                    "id": 7020,
                    "cat": "Books/EBook",
                    "desc": "eBook/Livres"
                },
                {
                    "id": 7050,
                    "cat": "Books/Comics",
                    "desc": "eBook/Mangas"
                },
                {
                    "id": 7060,
                    "cat": "Books/Mags",
                    "desc": "eBook/Presse"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 3030,
                    "cat": "Audio/Other",
                    "desc": "Audio/Karaoke"
                },
                {
                    "id": 3010,
                    "cat": "Audio",
                    "desc": "Audio/Musique"
                },
                {
                    "id": 3040,
                    "cat": "Audio/Other",
                    "desc": "Audio/Podcast Radio"
                },
                {
                    "id": 3050,
                    "cat": "Audio/Other",
                    "desc": "Audio/Samples"
                },
                {
                    "id": 1000,
                    "cat": "Console",
                    "desc": "Jeu vidéo"
                },
                {
                    "id": 1099,
                    "cat": "Console/Other",
                    "desc": "Jeu vidéo/Autre"
                },
                {
                    "id": 1091,
                    "cat": "PC/Games",
                    "desc": "Jeu vidéo/Linux"
                },
                {
                    "id": 1092,
                    "cat": "PC/Games",
                    "desc": "Jeu vidéo/MacOS"
                },
                {
                    "id": 1040,
                    "cat": "PC/Games",
                    "desc": "Jeu vidéo/Microsoft"
                },
                {
                    "id": 1030,
                    "cat": "Console/NDS",
                    "desc": "Jeu vidéo/Nintendo"
                },
                {
                    "id": 1060,
                    "cat": "Console/Other",
                    "desc": "Jeu vidéo/Smartphone"
                },
                {
                    "id": 1080,
                    "cat": "Console/PS4",
                    "desc": "Jeu vidéo/Sony"
                },
                {
                    "id": 1061,
                    "cat": "Console/Other",
                    "desc": "Jeu vidéo/Tablette"
                },
                {
                    "id": 1090,
                    "cat": "PC/Games",
                    "desc": "Jeu vidéo/Windows"
                },
                {
                    "id": 8000,
                    "cat": "Other",
                    "desc": "eBook/Littérature & Audio/Autre & Séries TV/Documentaire"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "tvdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API Key"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API Key",
                "default": "You can find your API Key by accessing the <a href=\"https://nostradamus.foo/api-access\" target=\"_blank\">Nostradamus API access</a> page and scrolling down to the <b>API Credentials</b> section."
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi.FRENCH": "MULTi.FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi.ENGLISH": "MULTi.ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi.VOSTFR": "MULTi.VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            }
        ],
        "login": {
            "path": "api",
            "method": "get",
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "search",
                "limit": 1
            }
        },
        "search": {
            "paths": [
                {
                    "path": "api",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "{{ if .Query.IMDBID }}movie{{ else }}{{ end }}{{ if .Query.TVDBID }}tvsearch{{ else }}{{ end }}{{ if or .Query.TVDBID .Query.IMDBID }}{{ else }}search{{ end }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "imdbid": "{{ .Query.IMDBID }}",
                "tvdbid": "{{ .Query.TVDBID }}",
                "limit": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\W+",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title_phase1": {
                    "selector": "title"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR|VF2|VFF|VFQ|VOQ|VFI|VOF)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "details": {
                    "selector": "link"
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "infohash": {
                    "selector": "[name=infohash]",
                    "attribute": "value"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "[name=size]",
                    "attribute": "value"
                },
                "imdbid": {
                    "selector": "[name=imdbid]",
                    "attribute": "value"
                },
                "tmdbid": {
                    "selector": "[name=tmdbid]",
                    "attribute": "value"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=leechers]",
                    "attribute": "value"
                },
                "grabs": {
                    "selector": "[name=grabs]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "novahd": {
        "credentials": {
            "cookie": ""
        },
        "id": "novahd",
        "name": "NovaHD",
        "description": "NovaHD is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.novahd.top/",
            "https://tracker.novahd.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 413,
                    "cat": "TV/Anime",
                    "desc": "Anime Series/番剧"
                },
                {
                    "id": 412,
                    "cat": "TV/Anime",
                    "desc": "Anime/动漫"
                },
                {
                    "id": 411,
                    "cat": "TV",
                    "desc": "Playlet/短剧"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentary/纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动画"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV/演唱会"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 409,
                    "cat": "Audio",
                    "desc": "Music/音乐"
                },
                {
                    "id": 410,
                    "cat": "Other/Misc",
                    "desc": "Misc/其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "nyaasi": {
        "id": "nyaasi",
        "name": "Nyaa.si",
        "description": "Nyaa is a Public torrent site focused on Eastern ASIAN media including anime, manga, literature and music",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://nyaa.si/",
            "https://nyaa.iss.ink/",
            "https://nyaa.land/",
            "https://nyaa.mom/",
            "https://nyaa.unblockninja.com/"
        ],
        "legacylinks": [
            "https://nyaa.black-mirror.xyz/",
            "https://nyaa.unblocked.casa/",
            "https://nyaa.proxyportal.fun/",
            "https://nyaa.uk-unblock.xyz/",
            "https://nyaa.ind-unblock.xyz/",
            "https://nyaa.unblocked.bar/",
            "https://nyaa.proxyportal.pw/",
            "https://nyaa.uk-unblock.pro/",
            "https://nyaa.root.yt/",
            "https://nyaa.lol/",
            "https://nyaa.mrunblock.bond/",
            "https://nyaa.nocensor.cloud/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 10,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 11,
                    "cat": "TV/Anime",
                    "desc": "Anime - Anime Music Video"
                },
                {
                    "id": 12,
                    "cat": "TV/Anime",
                    "desc": "Anime - English-translated"
                },
                {
                    "id": 13,
                    "cat": "TV/Anime",
                    "desc": "Anime - Non-English-translated"
                },
                {
                    "id": 14,
                    "cat": "TV/Anime",
                    "desc": "Anime - Raw"
                },
                {
                    "id": 10,
                    "cat": "Movies/Other",
                    "desc": "Anime"
                },
                {
                    "id": 11,
                    "cat": "Movies/Other",
                    "desc": "Anime - Anime Music Video"
                },
                {
                    "id": 12,
                    "cat": "Movies/Other",
                    "desc": "Anime - English-translated"
                },
                {
                    "id": 13,
                    "cat": "Movies/Other",
                    "desc": "Anime - Non-English-translated"
                },
                {
                    "id": 14,
                    "cat": "Movies/Other",
                    "desc": "Anime - Raw"
                },
                {
                    "id": 20,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 21,
                    "cat": "Audio",
                    "desc": "Audio - Lossless"
                },
                {
                    "id": 22,
                    "cat": "Audio",
                    "desc": "Audio - Lossy"
                },
                {
                    "id": 30,
                    "cat": "Books",
                    "desc": "Literature"
                },
                {
                    "id": 31,
                    "cat": "Books",
                    "desc": "Literature  English-translated"
                },
                {
                    "id": 32,
                    "cat": "Books",
                    "desc": "Literature - Non-English-translated"
                },
                {
                    "id": 33,
                    "cat": "Books",
                    "desc": "Literature - Raw"
                },
                {
                    "id": 40,
                    "cat": "TV",
                    "desc": "Live Action"
                },
                {
                    "id": 41,
                    "cat": "TV",
                    "desc": "Live Action - English-translated"
                },
                {
                    "id": 42,
                    "cat": "TV",
                    "desc": "Live Action - Idol/Promotional Video"
                },
                {
                    "id": 43,
                    "cat": "TV",
                    "desc": "Live Action - Non-English-translated"
                },
                {
                    "id": 44,
                    "cat": "TV",
                    "desc": "Live Action - Raw"
                },
                {
                    "id": 50,
                    "cat": "Other",
                    "desc": "Pictures"
                },
                {
                    "id": 51,
                    "cat": "Other",
                    "desc": "Pictures - Graphics"
                },
                {
                    "id": 52,
                    "cat": "Other",
                    "desc": "Pictures - Photos"
                },
                {
                    "id": 60,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 61,
                    "cat": "PC/ISO",
                    "desc": "Software - Applications"
                },
                {
                    "id": 62,
                    "cat": "PC/Games",
                    "desc": "Software - Games"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "prefer_magnet_links",
                "type": "checkbox",
                "label": "Prefer Magnet Links",
                "default": true
            },
            {
                "name": "sonarr_compatibility",
                "type": "checkbox",
                "label": "Improve Sonarr compatibility by trying to add Season information into Release Titles",
                "default": false
            },
            {
                "name": "strip_s01",
                "type": "checkbox",
                "label": "Remove first season keywords (S1/S01/Season 1), as some results do not include this for first/single season releases",
                "default": false
            },
            {
                "name": "radarr_compatibility",
                "type": "checkbox",
                "label": "Improve Radarr compatibility by removing year information from keywords and adding it to Release Titles",
                "default": false
            },
            {
                "name": "filter-id",
                "type": "select",
                "label": "Filter",
                "default": 0,
                "options": [
                    "No filter",
                    "No remakes",
                    "Trusted only"
                ]
            },
            {
                "name": "cat-id",
                "type": "select",
                "label": "Category",
                "default": 0,
                "options": {
                    "0": "All categories",
                    "10": "Anime",
                    "11": "Anime - Anime Music Video",
                    "12": "Anime - English-translated",
                    "13": "Anime - Non-English-translated",
                    "14": "Anime - Raw",
                    "20": "Audio",
                    "21": "Audio - Lossless",
                    "22": "Audio - Lossy",
                    "30": "Literature",
                    "31": "Literature - English-translated",
                    "32": "Literature - Non-English-translated",
                    "33": "Literature - Lossy",
                    "40": "Live Action",
                    "41": "Live Action - English",
                    "42": "Live Action - Idol/PV",
                    "43": "Live Action - Non-English",
                    "44": "Live Action - Raw",
                    "50": "Pictures",
                    "51": "Pictures  - Graphics",
                    "52": "Pictures  - Photos",
                    "60": "Software",
                    "61": "Software - Applications",
                    "62": "Software - Games"
                }
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "id",
                "options": {
                    "id": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "/",
                    "inputs": {
                        "q": "{{ .Keywords }}"
                    }
                },
                {
                    "path": "/",
                    "inputs": {
                        "q": "{{ if .Keywords }}{{ re_replace .Keywords \"\\b0(\\d{1})\\b\" \"$1\" }}{{ else }}{{ end }}",
                        "p": "{{ if .Keywords }}{{ else }}2{{ end }}"
                    }
                }
            ],
            "inputs": {
                "f": "{{ .Config.filter-id }}",
                "c": "{{ .Config.cat-id }}",
                "s": "{{ .Config.sort }}",
                "o": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        " *\\b((?:19|20)\\d{2})\\b",
                        "{{ if .Config.radarr_compatibility }}{{ else }} $1{{ end }}"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i) *\\b(S(?:0|eason *)?1)\\b",
                        "{{ if .Config.strip_s01 }}{{ else }} $1{{ end }}"
                    ]
                }
            ],
            "rows": {
                "selector": "tr.default,tr.danger,tr.success"
            },
            "fields": {
                "category": {
                    "selector": "td:nth-child(1) a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "=",
                                -1
                            ]
                        }
                    ]
                },
                "category_group_id": {
                    "selector": "td:nth-child(1) a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "=",
                                -1
                            ]
                        },
                        {
                            "name": "split",
                            "args": [
                                "_",
                                0
                            ]
                        }
                    ]
                },
                "title_default": {
                    "selector": "td:nth-child(2) a:last-of-type"
                },
                "title_phase1": {
                    "selector": "td:nth-child(2) a:last-of-type:contains(\"[PuyaSubs!] \")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " Spanish"
                        }
                    ]
                },
                "title_keyword_year": {
                    "text": "{{ .Query.Keywords }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\b((19|20)\\d{2})\\b"
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ or (.Result.title_phase1) (.Result.title_default) }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\[.+?\\] ?)?(\\[.+?\\] ?)?(.+?)(\\[)",
                                "$1$2$3{{ if and (.Config.radarr_compatibility) (.Result.title_keyword_year) }} {{ .Result.title_keyword_year }} $4{{ else }}$4{{ end }}"
                            ]
                        }
                    ]
                },
                "title_phase3": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b((?:S|Seasons?|EP?|Episodes?)\\s?)(\\d+)(?:\\-|[\\s~\\+àa&]+)(\\d+)\\b",
                                "$1$2-$3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:S|Seasons?)\\s?(\\d+(?:-\\d+)?)[\\s\\-]+(?:EP|Episodes?)\\s?(\\d+(?:-\\d+)?)\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:S|Seasons?)\\s?(\\d+(?:-\\d+)?)(?:.+?)(?:EP|Episodes?)\\s?(\\d+(?:-\\d+)?)\\b(?!(?:-\\d+)?\\sS\\d+(?:-\\d+)?E\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\b (II) - (\\d+)[\\s\\-~\\+àa&]+(\\d+)",
                                " $1 S02 - $2-$3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\b (II) - (\\d+)",
                                " $1 S02 - $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\b (III) - (\\d+)[\\s\\-~\\+àa&]+(\\d+)",
                                " $1 S03 - $2-$3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\b (III) - (\\d+)",
                                " $1 S03 - $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d+)(st|nd|rd|th) Season\\b",
                                "$0 S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)_(\\d+)(st|nd|rd|th)_season_(\\d+)_",
                                "$0S$1E$3_"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)_(\\d+)(st|nd|rd|th)_season_",
                                "$0S$1_"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(S\\d+(?:-\\d+)?) - (\\d+)[\\s\\-~\\+àa&]+(\\d+)\\b",
                                "$1E$2-$3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(S\\d+(?:-\\d+)?) - (\\d+)\\b",
                                "$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:S\\s|Seasons?\\s?)(\\d+(?:-\\d+)?)\\b(?!(?:-\\d+)?\\s(?:EP|Episodes?)?\\s?(?:\\d+(?:-\\d+)?)?\\s?S\\d+(?:E\\d+(?:-\\d+)?)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:EP|Episodes?)\\s?(\\d+(?:-\\d+)?)\\b(?!(?:-\\d+)?\\sS\\d+(?:-\\d+)?(?:E\\d+(?:-\\d+)?)?)",
                                "S01E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s+",
                                " "
                            ]
                        },
                        {
                            "name": "trim"
                        }
                    ]
                },
                "title_has_season": {
                    "text": "{{ .Result.title_phase3 }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(?i)(S\\d{1,3}([Ev]\\d+)?)"
                        },
                        {
                            "name": "append",
                            "args": "NULL"
                        }
                    ]
                },
                "title_has_episode": {
                    "text": "{{ .Result.title_phase3 }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\b(.+? - ?)(\\d+([-v]\\d+)?) ([\\[\\(])\\b"
                        },
                        {
                            "name": "append",
                            "args": "NULL"
                        }
                    ]
                },
                "title_has_movie_ova": {
                    "text": "{{ .Result.title_phase3 }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(?i)(?<![A-Za-z0-9])(Movies?|OVA|OAV)(?![A-Za-z0-9])"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Movies?|OVA|OAV)",
                                "YES"
                            ]
                        }
                    ]
                },
                "title_optional": {
                    "text": "{{ .Result.title_phase3 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\[.+?].+?)\\s*(?<![\\]\\)])((?:\\[|\\(| - ).+)",
                                "{{ if and (and (eq .Result.category_group_id \"1\") (ne .Result.title_has_movie_ova \"YES\")) (and (eq .Result.title_has_season \"NULL\") (eq .Result.title_has_episode \"NULL\")) }}$1 S01 $2{{ else }}$1 $2{{ end }}"
                            ]
                        }
                    ]
                },
                "title_live_action": {
                    "text": "{{ .Result.title_optional }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(.+?)([\\. ])((?:19|20)\\d{2})([\\. ])(.+)$",
                                "{{ if and (eq .Result.category_group_id \"4\") (and (eq .Result.title_has_season \"NULL\") (eq .Result.title_has_episode \"NULL\")) }}$1$2$3$4S01$4$5{{ else }}$1$2$3$4$5{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^(?!.*(?:19|20)\\d{2})(.+?)([\\. ])((?:480|720|1080|2160)[pi])(.*)$",
                                "{{ if and (eq .Result.category_group_id \"4\") (and (eq .Result.title_has_season \"NULL\") (eq .Result.title_has_episode \"NULL\")) }}$1$2S01$2$3$4{{ else }}$1$2$3$4{{ end }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.sonarr_compatibility }}{{ .Result.title_live_action }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "details": {
                    "selector": "td:nth-child(2) a:last-of-type",
                    "attribute": "href"
                },
                "download_optional": {
                    "selector": "td:nth-child(3) a[href$=\".torrent\"]",
                    "attribute": "href",
                    "optional": true
                },
                "download": {
                    "text": "{{ if .Config.prefer_magnet_links }}{{ else }}{{ .Result.download_optional }}{{ end }}",
                    "optional": true
                },
                "magnet": {
                    "selector": "td:nth-child(3) a[href^=\"magnet:?\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(4)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm zzz"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(6):not(:empty)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td:nth-child(7):not(:empty)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td:nth-child(8):not(:empty)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "td:nth-child(2) a:last-of-type"
                }
            }
        }
    },
    "okpt": {
        "credentials": {
            "cookie": ""
        },
        "id": "okpt",
        "name": "OKPT",
        "description": "OKPT is a CHINESE Private Torrent Tracker for MOVIES / TV / MUSIC / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://www.okpt.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影",
                    "default": true
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧",
                    "default": true
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺",
                    "default": true
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片",
                    "default": true
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育",
                    "default": true
                },
                {
                    "id": 436,
                    "cat": "Books/Comics",
                    "desc": "Comics/漫画书",
                    "default": true
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫",
                    "default": true
                },
                {
                    "id": 434,
                    "cat": "Books/EBook",
                    "desc": "Books/书刊",
                    "default": true
                },
                {
                    "id": 432,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook/有声书",
                    "default": true
                },
                {
                    "id": 413,
                    "cat": "Console",
                    "desc": "Games/游戏",
                    "default": true
                },
                {
                    "id": 431,
                    "cat": "PC",
                    "desc": "Software/软件",
                    "default": true
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc/其他",
                    "default": true
                },
                {
                    "id": 411,
                    "cat": "XXX/x264",
                    "desc": "3XVideo/写真影片",
                    "default": false
                },
                {
                    "id": 410,
                    "cat": "XXX/ImageSet",
                    "desc": "3XImageSet/写真图片",
                    "default": false
                },
                {
                    "id": 415,
                    "cat": "Audio",
                    "desc": "Music/音乐",
                    "default": false
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV",
                    "default": false
                },
                {
                    "id": 437,
                    "cat": "Audio/Video",
                    "desc": "Concert/演唱会",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ul><li>Ultimate User and above will keep the account forever</li><li>Veteran User level accounts will not be disabled if they are parked (control panel)</li><li>Unparked accounts will be banned if they have not logged in for 60 days</li><li>Users below Veteran User level will be banned if they have not logged in for more than 300 days</li><li>Users who have not generated any traffic in 30 days (i.e. upload/download are 0) will be banned</li><li>Banned accounts will be deleted if they have not logged in for more than 365 days</li></ul>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        401,
                        402,
                        403,
                        404,
                        407,
                        436,
                        405,
                        434,
                        432,
                        413,
                        431,
                        409
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        411,
                        410,
                        415,
                        406,
                        437
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "oldgreektracker": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "oldgreektracker",
        "name": "Old Greek Tracker (OGT)",
        "description": "Old Greek Tracker (OGT) is a GREEK Private Torrent Tracker for PRE-2020 MOVIES / TV / GENERAL",
        "language": "el-GR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://oldgreektracker.xyz/"
        ],
        "legacylinks": [
            "http://oldgreektracker.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 4,
                    "cat": "PC/0day",
                    "desc": "Apps: Windows"
                },
                {
                    "id": 5,
                    "cat": "PC/0day",
                    "desc": "Apps: Linux"
                },
                {
                    "id": 6,
                    "cat": "PC/Mac",
                    "desc": "Apps: MacOS"
                },
                {
                    "id": 7,
                    "cat": "PC/Mobile-Android",
                    "desc": "Apps: Android"
                },
                {
                    "id": 9,
                    "cat": "Audio/MP3",
                    "desc": "Music: Greek MP3"
                },
                {
                    "id": 10,
                    "cat": "Audio/Lossless",
                    "desc": "Music: Greek FLAC"
                },
                {
                    "id": 11,
                    "cat": "Audio/MP3",
                    "desc": "Music: Foreign MP3"
                },
                {
                    "id": 12,
                    "cat": "Audio/Lossless",
                    "desc": "Music: Foreign FLAC"
                },
                {
                    "id": 72,
                    "cat": "Audio/Other",
                    "desc": "Music: Foreign Soundtracks"
                },
                {
                    "id": 115,
                    "cat": "Audio/Video",
                    "desc": "Music: Foreign Music Videos"
                },
                {
                    "id": 71,
                    "cat": "Audio",
                    "desc": "Music: Foreign Collections"
                },
                {
                    "id": 68,
                    "cat": "Audio",
                    "desc": "Music: Foreign Discographies"
                },
                {
                    "id": 86,
                    "cat": "Audio",
                    "desc": "Music: Greek Discographies"
                },
                {
                    "id": 87,
                    "cat": "Audio",
                    "desc": "Music: Greek Collections"
                },
                {
                    "id": 92,
                    "cat": "Audio/Other",
                    "desc": "Music: Greek Soundtracks"
                },
                {
                    "id": 116,
                    "cat": "Audio/Video",
                    "desc": "Music: Greek Music Videos"
                },
                {
                    "id": 16,
                    "cat": "Movies/SD",
                    "desc": "Movies: Foreign Movies Non HD"
                },
                {
                    "id": 119,
                    "cat": "Movies/SD",
                    "desc": "Movies: Greek Movies Non HD"
                },
                {
                    "id": 20,
                    "cat": "Movies/SD",
                    "desc": "Movies: Filmographies"
                },
                {
                    "id": 106,
                    "cat": "Movies",
                    "desc": "Movies: Foreign Cartoons"
                },
                {
                    "id": 122,
                    "cat": "Movies/HD",
                    "desc": "Movies: Foreign HDRip / BRRip"
                },
                {
                    "id": 112,
                    "cat": "Movies/HD",
                    "desc": "Movies: Movie Packs"
                },
                {
                    "id": 129,
                    "cat": "Movies/SD",
                    "desc": "Movies: Greek VHS"
                },
                {
                    "id": 130,
                    "cat": "Movies/SD",
                    "desc": "Movies: Foreign VHS"
                },
                {
                    "id": 132,
                    "cat": "Movies/SD",
                    "desc": "Movies: CAM / TS / TC"
                },
                {
                    "id": 133,
                    "cat": "Movies/DVD",
                    "desc": "Movies: Foreign DVD5/DVD9"
                },
                {
                    "id": 134,
                    "cat": "Movies/DVD",
                    "desc": "Movies: Greek DVD5/DVD9"
                },
                {
                    "id": 136,
                    "cat": "Movies/DVD",
                    "desc": "Movies: Greek DVDRip"
                },
                {
                    "id": 139,
                    "cat": "Movies/HD",
                    "desc": "Movies: Greek HDRip / BRRip"
                },
                {
                    "id": 138,
                    "cat": "Movies/DVD",
                    "desc": "Movies: Foreign DVDRip"
                },
                {
                    "id": 140,
                    "cat": "Movies",
                    "desc": "Movies: Greek Audio Cartoons"
                },
                {
                    "id": 141,
                    "cat": "Movies",
                    "desc": "Movies: Greek Audio Animation"
                },
                {
                    "id": 145,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies: Foreign WEBRip"
                },
                {
                    "id": 146,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies: Greek WEBRip"
                },
                {
                    "id": 105,
                    "cat": "Movies",
                    "desc": "Movies: Foreign Animation"
                },
                {
                    "id": 23,
                    "cat": "Books/EBook",
                    "desc": "Books: Foreign Books"
                },
                {
                    "id": 24,
                    "cat": "Books/EBook",
                    "desc": "Books: Greek Books"
                },
                {
                    "id": 27,
                    "cat": "Books/Comics",
                    "desc": "Books: Comics"
                },
                {
                    "id": 114,
                    "cat": "Audio/Audiobook",
                    "desc": "Books: Foreign Audio Books"
                },
                {
                    "id": 69,
                    "cat": "Audio/Audiobook",
                    "desc": "Books: Greek Audio Books"
                },
                {
                    "id": 29,
                    "cat": "TV/Anime",
                    "desc": "TV: Foreign Animation"
                },
                {
                    "id": 31,
                    "cat": "TV/Other",
                    "desc": "TV: Foreign Cartoons"
                },
                {
                    "id": 35,
                    "cat": "TV",
                    "desc": "TV: Greek TV Series"
                },
                {
                    "id": 36,
                    "cat": "TV",
                    "desc": "TV: Greek TV Packs"
                },
                {
                    "id": 40,
                    "cat": "TV",
                    "desc": "TV: Greek TV Shows"
                },
                {
                    "id": 67,
                    "cat": "TV/Sport",
                    "desc": "TV: Sports"
                },
                {
                    "id": 75,
                    "cat": "TV",
                    "desc": "TV: Foreign TV Series"
                },
                {
                    "id": 76,
                    "cat": "TV",
                    "desc": "TV: Foreign TV Shows"
                },
                {
                    "id": 77,
                    "cat": "TV",
                    "desc": "TV: Foreign TV Episodes"
                },
                {
                    "id": 79,
                    "cat": "TV/Documentary",
                    "desc": "TV: Foreign Documentaries"
                },
                {
                    "id": 127,
                    "cat": "TV/Other",
                    "desc": "TV: Tutorials"
                },
                {
                    "id": 142,
                    "cat": "TV/Other",
                    "desc": "TV: Greek Audio Cartoons"
                },
                {
                    "id": 143,
                    "cat": "TV/Anime",
                    "desc": "TV: Greek Audio Animation"
                },
                {
                    "id": 144,
                    "cat": "TV/Documentary",
                    "desc": "TV: Greek Audio Documentaries"
                },
                {
                    "id": 147,
                    "cat": "TV",
                    "desc": "TV: Foreign Packs"
                },
                {
                    "id": 74,
                    "cat": "PC/Games",
                    "desc": "Games: PC Games"
                },
                {
                    "id": 42,
                    "cat": "Movies/HD",
                    "desc": "Movies HD: Remux / 1080p"
                },
                {
                    "id": 43,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies HD: WEB-DL / 720p"
                },
                {
                    "id": 51,
                    "cat": "Movies/UHD",
                    "desc": "Movies HD: BluRay / 4K (UHD)"
                },
                {
                    "id": 45,
                    "cat": "Movies/BluRay",
                    "desc": "Movies HD: BluRay Disk / 1080p"
                },
                {
                    "id": 46,
                    "cat": "Movies/UHD",
                    "desc": "Movies HD: Remux / 4K (UHD)"
                },
                {
                    "id": 47,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies HD: WEB-DL / 1080p"
                },
                {
                    "id": 48,
                    "cat": "Movies/UHD",
                    "desc": "Movies HD: WEB-DL / 4K (UHD)"
                },
                {
                    "id": 49,
                    "cat": "Movies/HD",
                    "desc": "Movies HD: BluRay / 720p"
                },
                {
                    "id": 50,
                    "cat": "Movies/HD",
                    "desc": "Movies HD: BluRay / 1080p"
                },
                {
                    "id": 66,
                    "cat": "Movies/BluRay",
                    "desc": "Movies HD: BluRay Disk / 4K (UHD)"
                },
                {
                    "id": 3,
                    "cat": "PC",
                    "desc": "Apps"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q"
                ],
                "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": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile. The Default is <i>15</i>."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "To keep records updated regularly, all inactive accounts will be deleted after 60 days of inactivity."
            }
        ],
        "login": {
            "path": "index.php?page=login",
            "method": "post",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "tr td span[style=\"color:#FF0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ .Keywords }}",
                "category": "{{ range .Categories }}{{.}};{{end}}",
                "options": "{{ if .Config.freeleech }}5{{ else }}0{{ end }}",
                "active": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "table.lista[width=\"100%\"] > tbody > tr:has(a[href^=\"download.php?id=\"]):has(img[title=\"Locked\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"index.php?page=torrents&category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.+?) width"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "torrentimg/nocover.jpg",
                                ""
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(11)"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "optional": true,
                    "selector": "td:nth-child(8)",
                    "default": 0
                },
                "grabs": {
                    "optional": true,
                    "selector": "td:nth-child(9)",
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/freeleech.gif\"]": 0,
                        "img[src=\"images/gold.gif\"]": 0,
                        "img[src=\"images/silver.gif\"]": 0.5,
                        "img[src=\"images/bronze.gif\"]": 0.75,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "oldtoonsworld": {
        "credentials": {
            "apikey": ""
        },
        "id": "oldtoonsworld",
        "name": "OldToonsWorld (API)",
        "description": "Old Toons World (OTW) is a Private Torrent Tracker for ANIMATED MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://oldtoons.world/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 5,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "WOC"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://oldtoons.world/\" target=\"_blank\">Oldtoons</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "<ul><li>You must log in once every 60 days or seed at least 1 torrent to not get disabled</li><li>Once disabled, you have another 60 days to log back in and have your account re-activated. You may need to contact Helpdesk to do so</li><li>Disabled account will be deleted after 180 days of inactivity</li></ul>"
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "onejav": {
        "id": "onejav",
        "name": "OneJAV",
        "description": "OneJAV is a Public tracker for ASIAN 3X (JAV)",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://onejav.com/"
        ],
        "caps": {
            "categories": {
                "XXX": "XXX"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search/{{ .Keywords }}{{ else }}new{{ end }}"
                },
                {
                    "path": "{{ if .Keywords }}search/{{ .Keywords }}{{ else }}new{{ end }}?page=2"
                }
            ],
            "rows": {
                "selector": "div.mb-3"
            },
            "fields": {
                "category": {
                    "text": "XXX"
                },
                "title": {
                    "selector": "a[href^=\"/torrent/\"]"
                },
                "details": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/download/\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "_actress": {
                    "selector": "a[href^=\"/actress/\"]",
                    "optional": true,
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "Actress: "
                        }
                    ]
                },
                "_tags": {
                    "selector": "div.tags",
                    "optional": true,
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "Tags: "
                        }
                    ]
                },
                "description_text": {
                    "selector": "p.level",
                    "optional": true
                },
                "description": {
                    "text": "{{ .Result.description_text }}</br>{{ .Result._actress }}</br>{{ .Result._tags }}"
                },
                "date": {
                    "selector": "p.is-6 > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "/yyyy/MM/dd zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "span.is-size-6"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "onlyencodes-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "onlyencodes-api",
        "name": "OnlyEncodes+ (API)",
        "description": "OnlyEncodes+ is a Private Tracker for MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://onlyencodes.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV Show"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://onlyencodes.cc/\" target=\"_blank\">OnlyEncodes+</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "You must log in once every 60 days or seed at least 1 torrent to not get disabled."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "opencd": {
        "credentials": {
            "cookie": ""
        },
        "id": "opencd",
        "name": "OpenCD",
        "description": "OpenCD is a CHINESE Private Torrent Tracker for LOSSLESS ASIAN MUSIC",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://open.cd/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2,
                    "cat": "Audio",
                    "desc": "华语流行(Pop)"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "古典音乐(Classical)"
                },
                {
                    "id": 11,
                    "cat": "Audio",
                    "desc": "民族音乐(Instrumental)"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "原声配乐(OST)"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "泛摇滚乐(Rock)"
                },
                {
                    "id": 8,
                    "cat": "Audio",
                    "desc": "爵士乡村(Jazz)"
                },
                {
                    "id": 12,
                    "cat": "Audio",
                    "desc": "新世纪(NewAge)"
                },
                {
                    "id": 13,
                    "cat": "Audio",
                    "desc": "舞曲(Dance)"
                },
                {
                    "id": 14,
                    "cat": "Audio",
                    "desc": "电子(Electronic)"
                },
                {
                    "id": 15,
                    "cat": "Audio",
                    "desc": "民谣(Folk)"
                },
                {
                    "id": 16,
                    "cat": "Audio",
                    "desc": "独立(Indie)"
                },
                {
                    "id": 17,
                    "cat": "Audio",
                    "desc": "嘻哈(Hip Hop)"
                },
                {
                    "id": 18,
                    "cat": "Audio",
                    "desc": "音乐剧(Musical)"
                },
                {
                    "id": 19,
                    "cat": "Audio",
                    "desc": "乡村(Country)"
                },
                {
                    "id": 20,
                    "cat": "Audio",
                    "desc": "另类(Alternative)"
                },
                {
                    "id": 21,
                    "cat": "Audio",
                    "desc": "世界音樂(World))"
                },
                {
                    "id": 9,
                    "cat": "Audio",
                    "desc": "其它类型(Others)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "artist"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile. Default is 50."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}source{{.}}=1&{{end}}",
                "search": "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.Artist }}6{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "td:nth-child(1)",
                    "attribute": "title",
                    "case": {
                        "td[title=\"华语流行\"]": 2,
                        "td[title=\"古典音乐\"]": 3,
                        "td[title=\"民族音乐\"]": 11,
                        "td[title=\"原声配乐\"]": 4,
                        "td[title=\"泛摇滚乐\"]": 5,
                        "td[title=\"爵士乡村\"]": 8,
                        "td[title=\"新世纪\"]": 12,
                        "td[title=\"舞曲\"]": 13,
                        "td[title=\"电子\"]": 14,
                        "td[title=\"民谣\"]": 15,
                        "td[title=\"独立\"]": 16,
                        "td[title=\"嘻哈\"]": 17,
                        "td[title=\"音乐剧\"]": 18,
                        "td[title=\"乡村(Country)\"]": 19,
                        "td[title=\"另类(Alternative)\"]": 20,
                        "td[title=\"世界音樂(World)\"]": 21,
                        "td[title=\"其它类型\"]": 9,
                        "td:not([title])": 9
                    }
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[id^=\"attach\"]",
                    "attribute": "src",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "https://images.weserv.nl/?url={{ .Config.sitelink }}"
                        },
                        {
                            "name": "append",
                            "args": "&w=180&h=270"
                        }
                    ]
                },
                "date_elapsed": {
                    "selector": "td:nth-child(6) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(6):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "grabs": {
                    "selector": "td:nth-child(10)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 129600
                },
                "description": {
                    "selector": "td:nth-child(3)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "opensharing": {
        "id": "opensharing",
        "name": "OpenSharing",
        "description": "OpenSharing is a RUSSIAN Public Torrent Tracker for 3X",
        "language": "ru-RU",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://opensharing.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "Полнометражные XXX фильмы / Full Length Movies"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "  Классика / Classic (Полнометражные фильмы снятые до 2000 года)"
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "  Фильмы с сюжетом / Feature Vignettes"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "  Порно-пародия / Parody"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "  Компиляции и фильмы без сюжета / Movies without a story"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "  Фильмы с Русским переводом"
                },
                {
                    "id": 37,
                    "cat": "XXX",
                    "desc": "  Эротические фильмы / Erotic Movies"
                },
                {
                    "id": 38,
                    "cat": "XXX",
                    "desc": "  Документальные фильмы 18+ / Documentary 18+"
                },
                {
                    "id": 39,
                    "cat": "XXX",
                    "desc": "  Паки полнометражных фильмов / Full Length Movies Packs"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Русское порно / Russian - Фильмы и ролики"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "  Порнофильмы с Русскими актрисами / Movies with Russian actresses"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "  Сцены и ролики с Русскими актрисами / Russian Movie Scenes & SiteRip's"
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "  Паки видео с Русскими актрисами / Russian Video Packs"
                },
                {
                    "id": 28,
                    "cat": "XXX",
                    "desc": "Зарубежные ролики по жанрам / Foreign videos by genre"
                },
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "  Сцены из фильмов / Movie Scenes"
                },
                {
                    "id": 26,
                    "cat": "XXX",
                    "desc": "  Порно-кастинги / Casting"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "  Family Roleplay, Incest & Taboo"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "  Public & Reality, Sex In Car, Outdoors"
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "  Анал и ДП / Anal & DP"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "  Секс втроём / Threesomes"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "  Группавуха / Group & Gangbang"
                },
                {
                    "id": 35,
                    "cat": "XXX",
                    "desc": "  Молоденькие / Legal Teens"
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "  Мамочки / MILF & Mature"
                },
                {
                    "id": 33,
                    "cat": "XXX",
                    "desc": "  Бабушки / Grannies"
                },
                {
                    "id": 40,
                    "cat": "XXX",
                    "desc": "  Pornstars & Other"
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "  Паки порнороликов / Video Packs"
                },
                {
                    "id": 64,
                    "cat": "XXX",
                    "desc": "Этническое порно / Ethnic Porn - Фильмы и ролики"
                },
                {
                    "id": 65,
                    "cat": "XXX",
                    "desc": "  Межрасовый секс / Interracial - Сцены и ролики"
                },
                {
                    "id": 68,
                    "cat": "XXX",
                    "desc": "  Негритянки и Темнокожие / Ebony & Arab - Сцены и ролики"
                },
                {
                    "id": 66,
                    "cat": "XXX",
                    "desc": "  Азиатки / Asian - Сцены и ролики"
                },
                {
                    "id": 67,
                    "cat": "XXX",
                    "desc": "  Латинки / Latin - Сцены и ролики"
                },
                {
                    "id": 83,
                    "cat": "XXX",
                    "desc": "  Полнометражные азиатские и этнические фильмы / Full-length ethnic films"
                },
                {
                    "id": 105,
                    "cat": "XXX",
                    "desc": "  Этническое порно / Ethnic Porn - Паки роликов и фильмов"
                },
                {
                    "id": 84,
                    "cat": "XXX",
                    "desc": "Оральный секс / Blowjob & Deep Throat, Licking - Фильмы и ролики"
                },
                {
                    "id": 86,
                    "cat": "XXX",
                    "desc": "  Оральный секс / Blowjob & Deep Throat, Licking - Сцены и ролики"
                },
                {
                    "id": 87,
                    "cat": "XXX",
                    "desc": "  Групповой оральный секс / Blowbang & Bukkake - Сцены и ролики"
                },
                {
                    "id": 85,
                    "cat": "XXX",
                    "desc": "  Оральный секс / Blowjob & Deep Throat, Licking - Полнометражные фильмы"
                },
                {
                    "id": 61,
                    "cat": "XXX",
                    "desc": "Masturbation, Solo & Posing - Фильмы и ролики"
                },
                {
                    "id": 62,
                    "cat": "XXX",
                    "desc": "  Мастурбация / Masturbation"
                },
                {
                    "id": 63,
                    "cat": "XXX",
                    "desc": "  Posing & Striptease"
                },
                {
                    "id": 2,
                    "cat": "XXX",
                    "desc": "Любительское порно / Amateur & Homemade"
                },
                {
                    "id": 3,
                    "cat": "XXX",
                    "desc": "  Русское любительское XXX видео / Russian Amateur"
                },
                {
                    "id": 18,
                    "cat": "XXX",
                    "desc": "  Зарубежное любительское порно / Foreign amateur"
                },
                {
                    "id": 4,
                    "cat": "XXX",
                    "desc": "  Порно чаты / WEBCam"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "  Скрытые камеры / Spycam"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "  Паки любительского порно / Amateur porn packs"
                },
                {
                    "id": 110,
                    "cat": "XXX",
                    "desc": "Только для зарегистрированных / For Registered Members Only"
                },
                {
                    "id": 112,
                    "cat": "XXX",
                    "desc": "  Полнометражные фильмы / Full-length Movies"
                },
                {
                    "id": 113,
                    "cat": "XXX",
                    "desc": "  Сцены и ролики / Scenes & Videos"
                },
                {
                    "id": 114,
                    "cat": "XXX",
                    "desc": "  Анимация 18+ / Animation 18+"
                },
                {
                    "id": 116,
                    "cat": "XXX",
                    "desc": "  Игры для взрослых / Porn games"
                },
                {
                    "id": 115,
                    "cat": "XXX",
                    "desc": "  Фото, Обои, Картинки / Photos, Wallpapers & Pictures"
                },
                {
                    "id": 117,
                    "cat": "XXX",
                    "desc": "  Видео паки / Video Packs"
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "Фетиш и Нетрадиционное порно / Special Interest Movies & Clips"
                },
                {
                    "id": 43,
                    "cat": "XXX",
                    "desc": "Rough Sex & BDSM - Фильмы и ролики"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "  Rough Sex, BDSM & Bondage - Полнометражные фильмы"
                },
                {
                    "id": 46,
                    "cat": "XXX",
                    "desc": "  Постановочные изнасилования / Pseudo-Rape - Сцены и ролики"
                },
                {
                    "id": 41,
                    "cat": "XXX",
                    "desc": "  Rough Sex, BDSM & Bondage - Сцены и ролики"
                },
                {
                    "id": 45,
                    "cat": "XXX",
                    "desc": "  Ролики и фильмы от &quot;LegalPorno &quot;"
                },
                {
                    "id": 44,
                    "cat": "XXX",
                    "desc": "  Fisting & Dildo - Сцены и ролики"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "Фетиш / Fetish - Фильмы и ролики"
                },
                {
                    "id": 49,
                    "cat": "XXX",
                    "desc": "  Фетиш / Fetish - Полнометражные фильмы"
                },
                {
                    "id": 109,
                    "cat": "XXX",
                    "desc": "  Cuckold / Cheating - Сцены и ролики"
                },
                {
                    "id": 99,
                    "cat": "XXX",
                    "desc": "  Alt-Porn / Alt Girls - Сцены и ролики"
                },
                {
                    "id": 106,
                    "cat": "XXX",
                    "desc": "  Cosplay - Сцены и ролики"
                },
                {
                    "id": 53,
                    "cat": "XXX",
                    "desc": "  Fetish Wear / Latex, Uniform, Panties, Lingerie, Stockings - Сцены и ролики"
                },
                {
                    "id": 54,
                    "cat": "XXX",
                    "desc": "  Большие сиськи и жопы / Big Boobs & Big Ass - Сцены и ролики"
                },
                {
                    "id": 48,
                    "cat": "XXX",
                    "desc": "  Foot Fetish, Footjob & Feet - Сцены и ролики"
                },
                {
                    "id": 55,
                    "cat": "XXX",
                    "desc": "  Толстушки / BBW & Plump Woman - Сцены и ролики"
                },
                {
                    "id": 56,
                    "cat": "XXX",
                    "desc": "  Худенькие и Миниатюрные / Skinny & Petite - Сцены и ролики"
                },
                {
                    "id": 60,
                    "cat": "XXX",
                    "desc": "  Массаж / Massage - Сцены и ролики"
                },
                {
                    "id": 98,
                    "cat": "XXX",
                    "desc": "  Wet & Oiled - Сцены и ролики"
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "  Femdom & Domination - Сцены и ролики"
                },
                {
                    "id": 50,
                    "cat": "XXX",
                    "desc": "  Мохнатки / Hairy Pussy & Bush - Сцены и ролики"
                },
                {
                    "id": 57,
                    "cat": "XXX",
                    "desc": "  Squirting / Pissing & Pee - Сцены и ролики"
                },
                {
                    "id": 52,
                    "cat": "XXX",
                    "desc": "  Glory Hole - Сцены и ролики"
                },
                {
                    "id": 107,
                    "cat": "XXX",
                    "desc": "  Medical Fetish - Сцены и ролики"
                },
                {
                    "id": 58,
                    "cat": "XXX",
                    "desc": "  Беременные / Pregnant - Сцены и ролики"
                },
                {
                    "id": 104,
                    "cat": "XXX",
                    "desc": "  Пьяные и Спящие / Drunk & Sleeping - Сцены и ролики"
                },
                {
                    "id": 59,
                    "cat": "XXX",
                    "desc": "  Карлики / Midgets - Сцены и ролики"
                },
                {
                    "id": 108,
                    "cat": "XXX",
                    "desc": "  Разное / Various Fetishes - Сцены и ролики"
                },
                {
                    "id": 69,
                    "cat": "XXX",
                    "desc": "Лесбиянки / Lesbians - Фильмы и ролики"
                },
                {
                    "id": 70,
                    "cat": "XXX",
                    "desc": "  Полнометражные лесби-фильмы / Full length lesbian movies"
                },
                {
                    "id": 71,
                    "cat": "XXX",
                    "desc": "  Лесбиянки / Lesbians - Сцены и ролики"
                },
                {
                    "id": 72,
                    "cat": "XXX",
                    "desc": "  Лесбийский страпон / Lesbian Strap-on - Сцены и ролики"
                },
                {
                    "id": 73,
                    "cat": "XXX",
                    "desc": "  All Girl / Lesbians - Video Pack"
                },
                {
                    "id": 42,
                    "cat": "XXX",
                    "desc": "Fetish, Rough Sex & BDSM - Video Pack"
                },
                {
                    "id": 24,
                    "cat": "XXX",
                    "desc": "Анимация, игры, фото и картинки"
                },
                {
                    "id": 23,
                    "cat": "XXX",
                    "desc": "Анимация 18+ / Animation 18+"
                },
                {
                    "id": 74,
                    "cat": "XXX",
                    "desc": "  Мультфильмы18+ / Cartoons 18+"
                },
                {
                    "id": 75,
                    "cat": "XXX",
                    "desc": "  Хентай 18+ / Hentai 18+"
                },
                {
                    "id": 76,
                    "cat": "XXX",
                    "desc": "  Паки мультфильмов 18+ / Animation packs 18+"
                },
                {
                    "id": 77,
                    "cat": "XXX",
                    "desc": "Фото, Обои и Картинки / Photos, Wallpapers & Pictures"
                },
                {
                    "id": 79,
                    "cat": "XXX",
                    "desc": "  Любительское фото / Amateur photo"
                },
                {
                    "id": 80,
                    "cat": "XXX",
                    "desc": "  Подборки сетов / Picture Sets Packs"
                },
                {
                    "id": 81,
                    "cat": "XXX",
                    "desc": "  Подборки по актрисам / Actresses Picture Packs"
                },
                {
                    "id": 82,
                    "cat": "XXX",
                    "desc": "  Сборники фото и обоев, разное / Collections of Photos & Wallpapers"
                },
                {
                    "id": 78,
                    "cat": "XXX",
                    "desc": "Игры 18+ / Porn games"
                },
                {
                    "id": 102,
                    "cat": "XXX",
                    "desc": "  Визуальные новеллы / Visual Novels"
                },
                {
                    "id": 103,
                    "cat": "XXX",
                    "desc": "  Ролевые / Role-Playing"
                },
                {
                    "id": 88,
                    "cat": "XXX",
                    "desc": "Общий форум"
                },
                {
                    "id": 100,
                    "cat": "XXX",
                    "desc": "Правила & FAQ"
                },
                {
                    "id": 89,
                    "cat": "XXX",
                    "desc": "Новости и объявления"
                },
                {
                    "id": 90,
                    "cat": "XXX",
                    "desc": "Тех. раздел"
                },
                {
                    "id": 91,
                    "cat": "XXX",
                    "desc": "Стол заказов"
                },
                {
                    "id": 92,
                    "cat": "XXX",
                    "desc": "Помогите опознать!"
                },
                {
                    "id": 93,
                    "cat": "XXX",
                    "desc": "Свободное общение"
                },
                {
                    "id": 94,
                    "cat": "XXX",
                    "desc": "Форум релизёров"
                },
                {
                    "id": 95,
                    "cat": "XXX",
                    "desc": "  Скриншоты"
                },
                {
                    "id": 96,
                    "cat": "XXX",
                    "desc": "  MediaInfo"
                },
                {
                    "id": 97,
                    "cat": "XXX",
                    "desc": "  Разное"
                },
                {
                    "id": 101,
                    "cat": "XXX",
                    "desc": "Архив"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "t",
                "options": {
                    "t": "created",
                    "ts": "seeders",
                    "sz": "size",
                    "i": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "d",
                "options": {
                    "d": "desc",
                    "a": "asc"
                }
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "search.php"
                }
            ],
            "inputs": {
                "tracker_search": "torrent",
                "keywords": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "terms": "all",
                "author": "",
                "sc": 1,
                "sf": "titleonly",
                "sr": "topics",
                "sk": "{{ .Config.sort }}",
                "sd": "{{ .Config.type }}",
                "st": 0,
                "ch": 300,
                "t": 0,
                "submit": "Поиск",
                "$raw": "{{ range .Categories }}&fid[]={{.}}{{end}}"
            },
            "rows": {
                "selector": "table.tablebg > tbody > tr:has(a[href^=\"./download/file.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"./viewtopic.php?f=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "title": {
                    "selector": "a.topictitle"
                },
                "details": {
                    "selector": "a.topictitle",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./download/file.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "p.gensmall > b",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "ТБ",
                                "TB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ГБ",
                                "GB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "МБ",
                                "MB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "КБ",
                                "KB"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "span.seed"
                },
                "leechers": {
                    "selector": "span.leech"
                },
                "grabs": {
                    "selector": "span.complet"
                },
                "date": {
                    "selector": "a.topictitle",
                    "optional": true,
                    "default": "now",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{2}\\.\\d{2}\\.\\d{4})"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "order66": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "order66",
        "name": "Order66",
        "description": "Order66 is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://executeorder66.info/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 47,
                    "cat": "PC/0day",
                    "desc": "APP: WINDOWS/O/S"
                },
                {
                    "id": 18,
                    "cat": "PC",
                    "desc": "Apps: PC"
                },
                {
                    "id": 20,
                    "cat": "PC",
                    "desc": "Apps: Linux"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Games: PC"
                },
                {
                    "id": 61,
                    "cat": "Movies/SD",
                    "desc": "Movies: Xvid"
                },
                {
                    "id": 54,
                    "cat": "Movies/DVD",
                    "desc": "Movies: DVD-R"
                },
                {
                    "id": 55,
                    "cat": "Movies/BluRay",
                    "desc": "Movies: HD/Bluray"
                },
                {
                    "id": 56,
                    "cat": "Movies",
                    "desc": "Movies: Kids"
                },
                {
                    "id": 57,
                    "cat": "Movies/HD",
                    "desc": "Movies: MP4"
                },
                {
                    "id": 58,
                    "cat": "Movies",
                    "desc": "Movies: Packs"
                },
                {
                    "id": 59,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies: WEBRip/Web-DL"
                },
                {
                    "id": 60,
                    "cat": "Movies/HD",
                    "desc": "Movies: x265"
                },
                {
                    "id": 53,
                    "cat": "Movies/SD",
                    "desc": "Movies: Cam"
                },
                {
                    "id": 52,
                    "cat": "Movies/BluRay",
                    "desc": "Movies: BD-Rip"
                },
                {
                    "id": 51,
                    "cat": "Movies/BluRay",
                    "desc": "Movies: BD-R"
                },
                {
                    "id": 50,
                    "cat": "Movies/UHD",
                    "desc": "Movies: 4K"
                },
                {
                    "id": 49,
                    "cat": "Movies/SD",
                    "desc": "Movies: 480p"
                },
                {
                    "id": 48,
                    "cat": "Movies/BluRay",
                    "desc": "Movies: BluRay/AVI/MKV"
                },
                {
                    "id": 1,
                    "cat": "Movies/Other",
                    "desc": "Movies: R3-En-Code"
                },
                {
                    "id": 9,
                    "cat": "Audio",
                    "desc": "music: All"
                },
                {
                    "id": 22,
                    "cat": "Audio",
                    "desc": "Music: MP3/Flac"
                },
                {
                    "id": 26,
                    "cat": "Audio",
                    "desc": "Music: SiteDJExclusivemix"
                },
                {
                    "id": 41,
                    "cat": "TV/HD",
                    "desc": "TV: HD"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "id",
                "options": {
                    "id": "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_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting <b>0 results</b> then access the site with your browser and <b>mark as read</b> all PMs."
            }
        ],
        "login": {
            "path": "account-login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.lp-alert:contains(\"incorrect\")",
                    "message": {
                        "text": "The specified username or password was incorrect."
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"account-logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "cat": 0,
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\W+",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "table.ttbl > tbody > tr:has(a[href^=\"download.php?id=\"]){{ if .Config.freeleech }}:has(span.badge-free){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrents.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "date": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyHH:mm"
                        }
                    ]
                },
                "seeders": {
                    "selector": "span[class^=\"num-s\"]"
                },
                "leechers": {
                    "selector": "span[class^=\"num-l\"]"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.badge-free": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "oshenpt": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "oshenpt",
        "name": "OshenPT",
        "description": "OshenPT is a CHINESE Private Torrent Tracker for HD MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.oshen.win/"
        ],
        "legacylinks": [
            "http://www.oshen.win/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/剧集"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MusicVideo/音乐MV"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/运体"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc/音乐"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio/无损音乐"
                },
                {
                    "id": 410,
                    "cat": "Console",
                    "desc": "Games/游戏"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the OshenPT Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted</li><li>Elite User or above would never be deleted if parked (at User CP)</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row</li><li>Un-parked accounts would be deleted if users have not logged in for more than 150 days in a row</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }} {{ else }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }} {{ else }}{{ end }}{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if or .Query.IMDBID .Query.DoubanID }}1{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "ourbits": {
        "credentials": {
            "cookie": ""
        },
        "id": "ourbits",
        "name": "OurBits",
        "description": "OurBits (HDPter) is a CHINESE Private Torrent Tracker for HD MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://ourbits.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 402,
                    "cat": "Movies/3D",
                    "desc": "Movies 3D"
                },
                {
                    "id": 405,
                    "cat": "TV",
                    "desc": "TV Packs"
                },
                {
                    "id": 410,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries"
                },
                {
                    "id": 411,
                    "cat": "TV/Anime",
                    "desc": "Animations"
                },
                {
                    "id": 412,
                    "cat": "TV",
                    "desc": "TV Episodes"
                },
                {
                    "id": 413,
                    "cat": "TV",
                    "desc": "TV Shows"
                },
                {
                    "id": 414,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": 415,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 416,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 419,
                    "cat": "TV",
                    "desc": "Concert"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted</li><li>Elite User or above would never be deleted if parked (at User CP)</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row</li><li>Un-parked accounts would be deleted if users have not logged in for more than 150 days in a row</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 7 days in a row.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"logout.php?token=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat[]={{.}}&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}5{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2) > table > tbody > tr > td",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " 剩余时间：",
                                ""
                            ]
                        }
                    ]
                }
            }
        }
    },
    "p2pbg": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "p2pbg",
        "name": "P2PBG",
        "description": "P2PBG is a BULGARIAN Private PAY2DL Torrent Tracker for 0DAY / GENERAL",
        "language": "bg-BG",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.p2pbg.com/"
        ],
        "legacylinks": [
            "http://www.p2pbg.com/",
            "http://p2pbg.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies/SD",
                    "desc": "Movies XviD"
                },
                {
                    "id": 7,
                    "cat": "TV/Documentary",
                    "desc": "Movies Documentaries"
                },
                {
                    "id": 11,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD"
                },
                {
                    "id": 14,
                    "cat": "TV",
                    "desc": "TV Shows"
                },
                {
                    "id": 15,
                    "cat": "TV",
                    "desc": "TV Boxset"
                },
                {
                    "id": 16,
                    "cat": "Movies/HD",
                    "desc": "Movies x264"
                },
                {
                    "id": 17,
                    "cat": "Movies/HD",
                    "desc": "Movies MPEG2"
                },
                {
                    "id": 18,
                    "cat": "Movies/BluRay",
                    "desc": "Movies BR/HD DVD"
                },
                {
                    "id": 24,
                    "cat": "TV/SD",
                    "desc": "TV BG"
                },
                {
                    "id": 34,
                    "cat": "Movies",
                    "desc": "Movies BG"
                },
                {
                    "id": 35,
                    "cat": "Movies",
                    "desc": "Movies GSM"
                },
                {
                    "id": 38,
                    "cat": "TV/Anime",
                    "desc": "Cartoons"
                },
                {
                    "id": 55,
                    "cat": "Movies/3D",
                    "desc": "Movies 3D"
                },
                {
                    "id": 58,
                    "cat": "Movies/HD",
                    "desc": "Movies x265"
                },
                {
                    "id": 59,
                    "cat": "Movies/SD",
                    "desc": "Movies VHS"
                },
                {
                    "id": 60,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K"
                },
                {
                    "id": 2,
                    "cat": "Audio/MP3",
                    "desc": "Music Song"
                },
                {
                    "id": 3,
                    "cat": "Audio/Video",
                    "desc": "Music DVD"
                },
                {
                    "id": 19,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 28,
                    "cat": "Audio",
                    "desc": "Music Album"
                },
                {
                    "id": 29,
                    "cat": "Audio",
                    "desc": "Music Discography"
                },
                {
                    "id": 8,
                    "cat": "PC/Games",
                    "desc": "Games PC ISO"
                },
                {
                    "id": 9,
                    "cat": "PC/Games",
                    "desc": "Games PC Rips"
                },
                {
                    "id": 12,
                    "cat": "Console/PS3",
                    "desc": "Games PS2"
                },
                {
                    "id": 20,
                    "cat": "Console/PSP",
                    "desc": "Games PSP"
                },
                {
                    "id": 21,
                    "cat": "Console/XBox",
                    "desc": "Games XboX"
                },
                {
                    "id": 22,
                    "cat": "Console/XBox 360",
                    "desc": "Games X360"
                },
                {
                    "id": 23,
                    "cat": "Console/PS3",
                    "desc": "Games PS3"
                },
                {
                    "id": 33,
                    "cat": "Console/Wii",
                    "desc": "Games Wii"
                },
                {
                    "id": 26,
                    "cat": "PC/ISO",
                    "desc": "Appz PC ISO"
                },
                {
                    "id": 27,
                    "cat": "PC",
                    "desc": "Appz GSM"
                },
                {
                    "id": 30,
                    "cat": "PC",
                    "desc": "Appz Linux"
                },
                {
                    "id": 31,
                    "cat": "PC/0day",
                    "desc": "Appz Ripped"
                },
                {
                    "id": 49,
                    "cat": "PC/Mac",
                    "desc": "Appz MacOS"
                },
                {
                    "id": 5,
                    "cat": "TV/Sport",
                    "desc": "Formula 1"
                },
                {
                    "id": 51,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 57,
                    "cat": "TV/Sport",
                    "desc": "Formula 2"
                },
                {
                    "id": 64,
                    "cat": "TV/Sport",
                    "desc": "Football"
                },
                {
                    "id": 65,
                    "cat": "TV/Sport",
                    "desc": "E-Sports"
                },
                {
                    "id": 4,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 6,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 37,
                    "cat": "Other/Misc",
                    "desc": "Pictures"
                },
                {
                    "id": 39,
                    "cat": "Other",
                    "desc": "e-Learning"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 32,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX Pictures"
                },
                {
                    "id": 48,
                    "cat": "XXX",
                    "desc": "XXX BG Amateurs"
                },
                {
                    "id": 53,
                    "cat": "XXX",
                    "desc": "XXX Hentai"
                },
                {
                    "id": 54,
                    "cat": "XXX",
                    "desc": "XXX 4K"
                },
                {
                    "id": 56,
                    "cat": "XXX",
                    "desc": "XXX VR"
                },
                {
                    "id": 61,
                    "cat": "XXX",
                    "desc": "XXX OF"
                },
                {
                    "id": 66,
                    "cat": "XXX",
                    "desc": "XXX HD"
                }
            ],
            "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": "info_magnets",
                "type": "info",
                "label": "About Magnets",
                "default": "IF you do not see Magnets in the results then this means that you are not a <b>Super User</b> or <b>VIP</b>.<br />You will need to visit the <a href=\"https://www.p2pbg.com/marketplace\" target=\"_blank\">MarketPlace</a>."
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "Only the <b>Base</b> style is supported with this indexer.<br />For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "data",
                "options": {
                    "data": "created",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "DESC",
                "options": {
                    "DESC": "desc",
                    "ASC": "asc"
                }
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "form": "form.auth-form",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}",
                "remember": 1
            },
            "error": [
                {
                    "selector": "div.auth-notice:contains(\"Incorrect\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href$=\"logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents"
                }
            ],
            "allowEmptyInputs": true,
            "inputs": {
                "category": "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}",
                "fakeusernameremembered": "",
                "fakepasswordremembered": "",
                "search": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ end }}",
                "active": 0,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.torrent-index__table:not(table.torrent-index__table--recommended) > tbody > tr.torrent-index__row"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "td:nth-child(2) a"
                },
                "_hash": {
                    "selector": "td:nth-child(2) a",
                    "attribute": "onclick",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "details": {
                    "text": "torrents/{{ .Result._hash }}"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href",
                    "optional": true
                },
                "poster": {
                    "selector": "a:has(img[src*=\"/torrentimg/pic\"])",
                    "attribute": "data-overlib",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\"(.*?)\\\""
                        }
                    ]
                },
                "date_day": {
                    "selector": "td:nth-last-child(5):not(:contains(\"/\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)сейчас|Сега",
                                "now"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)сегодня|Днес",
                                "Today"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)вчера|Вчера",
                                "Yesterday"
                            ]
                        }
                    ]
                },
                "date_year": {
                    "selector": "td:nth-last-child(5):contains(\"/\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(1)"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "panda": {
        "credentials": {
            "cookie": ""
        },
        "id": "panda",
        "name": "Panda",
        "description": "Panda is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://pandapt.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影",
                    "default": true
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧",
                    "default": true
                },
                {
                    "id": 415,
                    "cat": "TV",
                    "desc": "TV MiniSeries/短剧",
                    "default": true
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫",
                    "default": true
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺",
                    "default": true
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片",
                    "default": true
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育",
                    "default": true
                },
                {
                    "id": 412,
                    "cat": "PC",
                    "desc": "Software/软件",
                    "default": true
                },
                {
                    "id": 411,
                    "cat": "Console",
                    "desc": "Games/游戏",
                    "default": true
                },
                {
                    "id": 413,
                    "cat": "Audio/Video",
                    "desc": "Concert/演唱会/音乐会",
                    "default": true
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Others/其他",
                    "default": true
                },
                {
                    "id": 410,
                    "cat": "Books",
                    "desc": "E-Books/电子书",
                    "default": false
                },
                {
                    "id": 414,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook/有声书",
                    "default": false
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos/音乐短片",
                    "default": false
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Music/音乐",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts would be deleted based on the following rules:<ol><li>Nexus Master or above would never be deleted.</li><li>Veteran User or above would never be deleted if parked (at User CP).</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row.</li><li>Un-parked accounts would be deleted if users have not logged in for more than 150 days in a row.</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        401,
                        402,
                        415,
                        405,
                        403,
                        404,
                        407,
                        412,
                        411,
                        413,
                        409
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        410,
                        414,
                        406,
                        408
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "pandacd": {
        "id": "pandacd",
        "name": "PandaCD",
        "description": "PandaCD is a Public Tracker for MUSIC (Creative Commons and artist-permitted content)",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://pandacd.io/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 3010,
                    "cat": "Audio/MP3",
                    "desc": "MP3"
                },
                {
                    "id": 3040,
                    "cat": "Audio/Lossless",
                    "desc": "Lossless"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "artist",
                    "album",
                    "genre"
                ]
            }
        },
        "settings": [],
        "search": {
            "paths": [
                {
                    "path": "api/torznab",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "t": "{{ .Query.Type }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "artist": "{{ .Query.Artist }}",
                "album": "{{ .Query.Album }}",
                "genre": "{{ .Query.Genre }}",
                "limit": 100
            },
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title": {
                    "selector": "title"
                },
                "details": {
                    "selector": "guid"
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "[name=size]",
                    "attribute": "value"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=leechers]",
                    "attribute": "value"
                },
                "grabs": {
                    "selector": "[name=grabs]",
                    "attribute": "value"
                },
                "files": {
                    "selector": "[name=files]",
                    "attribute": "value"
                },
                "infohash": {
                    "selector": "[name=infohash]",
                    "attribute": "value"
                },
                "genre": {
                    "selector": "[name=genre]",
                    "attribute": "value"
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "downloadvolumefactor": {
                    "selector": "[name=downloadvolumefactor]",
                    "attribute": "value"
                },
                "uploadvolumefactor": {
                    "selector": "[name=uploadvolumefactor]",
                    "attribute": "value"
                }
            }
        }
    },
    "parabellumhd-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "parabellumhd-api",
        "name": "ParabellumHD (API)",
        "description": "ParabellumHD is a SPANISH Private Torrent Tracker for HEVC & AV1-encoded MOVIES / TV",
        "language": "es-ES",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://parabellumhd.cx/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Películas"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Series"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Música"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Juegos"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 6,
                    "cat": "Other",
                    "desc": "Varios"
                },
                {
                    "id": 7,
                    "cat": "Movies/Other",
                    "desc": "Películas de dibujos"
                },
                {
                    "id": 8,
                    "cat": "TV/Other",
                    "desc": "Series de dibujos"
                },
                {
                    "id": 9,
                    "cat": "Movies/Other",
                    "desc": "Películas anime"
                },
                {
                    "id": 10,
                    "cat": "TV/Anime",
                    "desc": "Series anime"
                },
                {
                    "id": 11,
                    "cat": "Movies/UHD",
                    "desc": "Películas 4K"
                },
                {
                    "id": 12,
                    "cat": "Movies/Other",
                    "desc": "Colecciones"
                },
                {
                    "id": 13,
                    "cat": "TV/UHD",
                    "desc": "Series 4K"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://parabellumhd.cx/\" target=\"_blank\">ParabellumHD</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "_resolution": {
                    "selector": "resolution"
                },
                "_type": {
                    "selector": "type",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Encode",
                                "BluRay"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Full Disc",
                                "BR-DISK"
                            ]
                        }
                    ]
                },
                "title_optional": {
                    "selector": "name",
                    "filters": [
                        {
                            "name": "append",
                            "args": " {{ .Result._resolution }} {{ .Result._type }}"
                        }
                    ]
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bTemporada (\\d+)\\b",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bEpisodio (\\d+)\\b",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+)x(\\d+)",
                                "S$1E$2"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "party-tracker": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "party-tracker",
        "name": "Party-Tracker",
        "description": "Party-Tracker is a HUNGARIAN private tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "private",
        "encoding": "ISO-8859-2",
        "links": [
            "https://party-tracker.info/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 47,
                    "cat": "Console/XBox",
                    "desc": "Játék/Xbox"
                },
                {
                    "id": 46,
                    "cat": "Console/PS3",
                    "desc": "Játék/Ps2"
                },
                {
                    "id": 45,
                    "cat": "PC/Games",
                    "desc": "Játék/Pc"
                },
                {
                    "id": 44,
                    "cat": "Movies/SD",
                    "desc": "Cam/hun"
                },
                {
                    "id": 69,
                    "cat": "Movies/SD",
                    "desc": "Cam/eng"
                },
                {
                    "id": 43,
                    "cat": "Movies/SD",
                    "desc": "Film/Hun/XviD"
                },
                {
                    "id": 42,
                    "cat": "Movies/SD",
                    "desc": "Film/Eng/XviD"
                },
                {
                    "id": 41,
                    "cat": "Movies/DVD",
                    "desc": "Film/Hun/DVD"
                },
                {
                    "id": 40,
                    "cat": "Movies/DVD",
                    "desc": "Film/Eng/DVD"
                },
                {
                    "id": 39,
                    "cat": "Books/EBook",
                    "desc": "E-book"
                },
                {
                    "id": 38,
                    "cat": "TV/HD",
                    "desc": "HD/Hun"
                },
                {
                    "id": 57,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Eng"
                },
                {
                    "id": 66,
                    "cat": "TV/HD",
                    "desc": "HD/Eng"
                },
                {
                    "id": 50,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil"
                },
                {
                    "id": 51,
                    "cat": "PC/0day",
                    "desc": "Programok"
                },
                {
                    "id": 52,
                    "cat": "TV/SD",
                    "desc": "Sorozat/Hun"
                },
                {
                    "id": 53,
                    "cat": "XXX/x264",
                    "desc": "XXX/Film"
                },
                {
                    "id": 54,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX/Kép"
                },
                {
                    "id": 48,
                    "cat": "Other",
                    "desc": "Képek"
                },
                {
                    "id": 49,
                    "cat": "TV/Anime",
                    "desc": "Mese"
                },
                {
                    "id": 55,
                    "cat": "Audio",
                    "desc": "Zene/Eng"
                },
                {
                    "id": 56,
                    "cat": "Audio",
                    "desc": "Zene/Hun"
                },
                {
                    "id": 65,
                    "cat": "Audio/Audiobook",
                    "desc": "Hangoskönyv"
                },
                {
                    "id": 67,
                    "cat": "Audio/Video",
                    "desc": "Klipp"
                },
                {
                    "id": 68,
                    "cat": "Books/EBook",
                    "desc": "Ebook/eng"
                }
            ],
            "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": 4,
                "options": {
                    "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>Torrent oldalanként:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "post",
            "path": "takelogin.php",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "table.main:contains(\"Hiba\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?url=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "letoltes.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "ker": 0,
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\W+",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "table.main > tbody > tr:has(a[href^=\"letoltes.php?tipus=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"letoltes.php?tipus=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "tipus"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "span[onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=([^\\s]+)"
                        }
                    ]
                },
                "genre": {
                    "selector": "a[href^=\"/letoltes.php?cimke=\"]"
                },
                "description": {
                    "case": {
                        "img[src=\"/fajlok/kepek/yes.svg\"]": "Verified: {{ .Result.genre }}",
                        "*": "Unverified: {{ .Result.genre }}"
                    }
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "remove": "font",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"fajlok/kepek/free.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"fajlok/kepek/x2.gif\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "pctorrent": {
        "id": "pctorrent",
        "name": "PC-torrent",
        "description": "PC-torrent is a RUSSIAN Public Torrent Tracker for Games",
        "language": "ru-RU",
        "type": "public",
        "encoding": "windows-1251",
        "links": [
            "https://pc-torrents.games/"
        ],
        "legacylinks": [
            "https://pc-torrent.org/",
            "https://pc-torrent.pro/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "PC/Games",
                    "desc": "Games"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a[href*=\"/engine/download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}?do=search&subaction=search&search_start=0&full_search=1&result_from=1&story={{ .Keywords }}{{ else }}{{ end }}"
                }
            ],
            "rows": {
                "selector": "div.dshort:has(div.d3-raz):not(:has(div.d3-raz:contains(\"Анонс!\")))",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "div.d3-title"
                },
                "details": {
                    "selector": "a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "selector": "div.d3-raz"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "peeratiko": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "peeratiko",
        "name": "Peeratiko",
        "description": "Peeratiko is a GREEK Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "el-GR",
        "type": "private",
        "encoding": "UTF-8",
        "certificates": [
            "0ad8e189bb7d9e15499ba434d77b1e1b3656099f"
        ],
        "links": [
            "https://peeratiko.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 58,
                    "cat": "PC",
                    "desc": "Applications Linux"
                },
                {
                    "id": 4,
                    "cat": "PC/Mac",
                    "desc": "Applications Mac"
                },
                {
                    "id": 54,
                    "cat": "PC/Mobile-Other",
                    "desc": "Applications Mobiles"
                },
                {
                    "id": 2,
                    "cat": "PC",
                    "desc": "Applications Other"
                },
                {
                    "id": 3,
                    "cat": "PC/0day",
                    "desc": "Applications Windows"
                },
                {
                    "id": 39,
                    "cat": "Books/EBook",
                    "desc": "Books Books"
                },
                {
                    "id": 56,
                    "cat": "Books/Comics",
                    "desc": "Books Comics"
                },
                {
                    "id": 47,
                    "cat": "Books/Mags",
                    "desc": "Books Magazines"
                },
                {
                    "id": 57,
                    "cat": "PC/Mobile-Other",
                    "desc": "Games Mobiles"
                },
                {
                    "id": 5,
                    "cat": "Console/Other",
                    "desc": "Games Other"
                },
                {
                    "id": 8,
                    "cat": "Console/PS3",
                    "desc": "Games PSP/PS2/PS3"
                },
                {
                    "id": 6,
                    "cat": "PC/Games",
                    "desc": "Games Windows"
                },
                {
                    "id": 7,
                    "cat": "Console/XBox",
                    "desc": "Games XBOX"
                },
                {
                    "id": 60,
                    "cat": "Movies/3D",
                    "desc": "Movies 3D"
                },
                {
                    "id": 64,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K"
                },
                {
                    "id": 72,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K Pack"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies Anime/Cartoons"
                },
                {
                    "id": 67,
                    "cat": "Movies/BluRay",
                    "desc": "Movies BluRay Remux"
                },
                {
                    "id": 9,
                    "cat": "Movies/BluRay",
                    "desc": "Movies BluRay x264"
                },
                {
                    "id": 62,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD-R"
                },
                {
                    "id": 15,
                    "cat": "Movies/WEB-DL",
                    "desc": "DVD/BD/BR-rip x264"
                },
                {
                    "id": 16,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies Gr. Subs DVD/BD/BR-rip"
                },
                {
                    "id": 18,
                    "cat": "Movies",
                    "desc": "Movies Gr. Subs Embeddeed"
                },
                {
                    "id": 19,
                    "cat": "Movies/Other",
                    "desc": "Movies Gr. Subs Other"
                },
                {
                    "id": 17,
                    "cat": "Movies/DVD",
                    "desc": "Movies Greek DVD-R"
                },
                {
                    "id": 21,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies Greek DVD/BD/BR-rip"
                },
                {
                    "id": 22,
                    "cat": "Movies/Other",
                    "desc": "Movies Greek Other"
                },
                {
                    "id": 10,
                    "cat": "Movies/HD",
                    "desc": "Movies HD Packs"
                },
                {
                    "id": 13,
                    "cat": "Movies/Other",
                    "desc": "Movies Other"
                },
                {
                    "id": 14,
                    "cat": "Movies",
                    "desc": "Movies Packs"
                },
                {
                    "id": 71,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies Webdl"
                },
                {
                    "id": 69,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies Webrip"
                },
                {
                    "id": 23,
                    "cat": "Audio",
                    "desc": "Music DJs Stuff"
                },
                {
                    "id": 26,
                    "cat": "Audio",
                    "desc": "Music English/Discographies"
                },
                {
                    "id": 24,
                    "cat": "Audio",
                    "desc": "Music English/Foreign"
                },
                {
                    "id": 25,
                    "cat": "Audio/Lossless",
                    "desc": "Music English/Foreign FLAC"
                },
                {
                    "id": 27,
                    "cat": "Audio",
                    "desc": "Music Greek"
                },
                {
                    "id": 28,
                    "cat": "Audio/Lossless",
                    "desc": "Music Greek FLAC"
                },
                {
                    "id": 29,
                    "cat": "Audio",
                    "desc": "Music Greek/Discographies"
                },
                {
                    "id": 36,
                    "cat": "Audio/Video",
                    "desc": "Music Video Clips"
                },
                {
                    "id": 61,
                    "cat": "Other",
                    "desc": "Other Packs"
                },
                {
                    "id": 40,
                    "cat": "Other/Misc",
                    "desc": "Other Misc"
                },
                {
                    "id": 59,
                    "cat": "Other",
                    "desc": "Other Pictures"
                },
                {
                    "id": 68,
                    "cat": "TV/HD",
                    "desc": "TV Bluray Remux"
                },
                {
                    "id": 11,
                    "cat": "TV/Documentary",
                    "desc": "TV Documentaries"
                },
                {
                    "id": 12,
                    "cat": "TV/HD",
                    "desc": "TV HD Series"
                },
                {
                    "id": 63,
                    "cat": "TV/HD",
                    "desc": "TV HD Series Packs"
                },
                {
                    "id": 53,
                    "cat": "TV/Other",
                    "desc": "TV Other"
                },
                {
                    "id": 31,
                    "cat": "TV",
                    "desc": "TV Series Gr. Subs"
                },
                {
                    "id": 32,
                    "cat": "TV",
                    "desc": "TV Series Gr. Subs Embedded"
                },
                {
                    "id": 33,
                    "cat": "TV",
                    "desc": "TV Series Gr. Subs Packs"
                },
                {
                    "id": 34,
                    "cat": "TV",
                    "desc": "TV Series Greek"
                },
                {
                    "id": 35,
                    "cat": "TV",
                    "desc": "TV Series Greek Packs"
                },
                {
                    "id": 30,
                    "cat": "TV/Sport",
                    "desc": "TV Sports"
                },
                {
                    "id": 65,
                    "cat": "TV/UHD",
                    "desc": "TV Series 4K"
                },
                {
                    "id": 66,
                    "cat": "TV/UHD",
                    "desc": "TV Series Pack 4K"
                },
                {
                    "id": 73,
                    "cat": "TV/WEB-DL",
                    "desc": "TV Series Webdl"
                },
                {
                    "id": 70,
                    "cat": "TV/WEB-DL",
                    "desc": "TV Series Webrip"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "genre"
                ],
                "movie-search": [
                    "q",
                    "genre"
                ],
                "music-search": [
                    "q",
                    "genre"
                ],
                "book-search": [
                    "q",
                    "genre"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page</b> setting to <b>100</b> on your <i>Personal Options</i> from the <i>Personal Settings</i> menu on the Peeratiko webpage."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Accounts inactive for more than 42 days are automatically deleted."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "use_ssl": 1,
                "keeplogged": 1
            },
            "error": [
                {
                    "selector": "h2",
                    "message": {
                        "selector": "table tr td.text"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"/logout.php?auth=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "search": "{{ if .Query.Genre }}{{ .Query.Genre }} {{ else }}{{ end }}{{ .Keywords }}",
                "searchin": "{{ if .Query.Genre }}all{{ else }}title{{ end }}",
                "incldead": 1,
                "only_free": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[width=\"90%\"] tbody tr:has(a[href^=\"download.php?torrent=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": ">(.+?)<"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "strong > i"
                },
                "description": {
                    "case": {
                        "img[src=\"/pic/mod.gif\"]": "verified: {{ .Result.genre }}",
                        "*": "Unverified: {{ .Result.genre }}"
                    }
                },
                "poster": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=..(https.+).. width"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-last-child(8)"
                },
                "date_day": {
                    "selector": "td:nth-last-child(6):contains(\"day\")",
                    "optional": true
                },
                "date_year": {
                    "selector": "td:nth-last-child(6):not(:contains(\"day\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM d yyyy hh:mm tt"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "b:contains(\"[FREE]\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "peergarden": {
        "credentials": {
            "apikey": ""
        },
        "id": "peergarden",
        "name": "PeerGarden",
        "description": "PeerGarden (PG) is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://peergarden.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "PC/0day",
                    "desc": "Apps"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 6,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 7,
                    "cat": "Audio/Audiobook",
                    "desc": "AudioBooks"
                },
                {
                    "id": 8,
                    "cat": "Audio/Other",
                    "desc": "Podcasts"
                },
                {
                    "id": 10,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 11,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_apikey",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Key by accessing the <a href=\"https://peergarden.org/account/apikey/\" target=\"_blank\">PeerGarden Account API Key</a> page."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Your account is automatically disabled after 90 days of no activity."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://placehold.co/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "peersfm": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "peersfm",
        "name": "Peers.FM",
        "description": "Peers.FM is a RUSSIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ru-RU",
        "type": "private",
        "encoding": "windows-1251",
        "links": [
            "https://peers.fm/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 18,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 17,
                    "cat": "PC",
                    "desc": "Database"
                },
                {
                    "id": 25,
                    "cat": "TV",
                    "desc": "EDU"
                },
                {
                    "id": 14,
                    "cat": "Movies/HD",
                    "desc": "HD Видео"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Images"
                },
                {
                    "id": 15,
                    "cat": "PC/Mac",
                    "desc": "Mac"
                },
                {
                    "id": 26,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile"
                },
                {
                    "id": 24,
                    "cat": "TV",
                    "desc": "TV Show"
                },
                {
                    "id": 1,
                    "cat": "PC",
                    "desc": "WaReZ"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 9,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги"
                },
                {
                    "id": 3,
                    "cat": "PC/Games",
                    "desc": "Игры/GameZ"
                },
                {
                    "id": 2,
                    "cat": "Audio/Video",
                    "desc": "Клипы/Концерты"
                },
                {
                    "id": 8,
                    "cat": "Books/Mags",
                    "desc": "Книги/Журналы"
                },
                {
                    "id": 20,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка/Lossless"
                },
                {
                    "id": 11,
                    "cat": "Audio/MP3",
                    "desc": "Музыка/Mp3"
                },
                {
                    "id": 13,
                    "cat": "TV",
                    "desc": "Мультфильмы"
                },
                {
                    "id": 12,
                    "cat": "Other",
                    "desc": "Разное/Miscellaneous"
                },
                {
                    "id": 4,
                    "cat": "Movies/DVD",
                    "desc": "Фильмы DVD"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "Фильмы MPEG4"
                }
            ],
            "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": 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"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "When are accounts automatically deleted?<ol><li>Activated accounts with zero download/share values ​​are deleted 30 days after registration</li><li>Unbanned accounts (active accounts) of the User class are deleted after 120 days have passed since the last recorded activity</li><li>Unbanned accounts (active accounts) of the Power User class are deleted after 180 days from the last recorded activity</li><li>You should also keep in mind that the administration regularly deletes accounts with very low ratings.</li></ol>"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "SSL": 1
            },
            "error": [
                {
                    "selector": "table[width=\"400\"] tr td"
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[width=\"940px\"] > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "grabs": {
                    "selector": "a[href^=\"download.php/\"]"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "янв",
                                "Jan"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "фев",
                                "Feb"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "мар",
                                "Mar"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "апр",
                                "Apr"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "мая",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июн",
                                "Jun"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июл",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "авг",
                                "Aug"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "сен",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "окт",
                                "Oct"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ноя",
                                "Nov"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "дек",
                                "Dec"
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "HH:mm:ssdd MMM yyyy"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/free_100.png\"]": 0,
                        "img[src=\"pic/free_75.png\"]": 0.25,
                        "img[src=\"pic/free_50.png\"]": 0.5,
                        "img[src=\"pic/free_25.png\"]": 0.75,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "phoenixproject": {
        "credentials": {
            "username": "",
            "password": "",
            "2fa_code": ""
        },
        "id": "phoenixproject",
        "name": "Phoenix Project",
        "description": "Phoenix Project is a Private MacOS software tracker",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://phoenixproject.app/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "PC/Mac",
                    "desc": "Applications"
                },
                {
                    "id": 2,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 3,
                    "cat": "PC/Mobile-iOS",
                    "desc": "IOS Applications"
                },
                {
                    "id": 4,
                    "cat": "PC/Mobile-iOS",
                    "desc": "IOS Games"
                },
                {
                    "id": 5,
                    "cat": "Other",
                    "desc": "Graphics"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Tutorials"
                },
                {
                    "id": 8,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2fa_code",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the Phoenix Project Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "twofa": "{{ .Config.2fa_code }}",
                "keeplogged": 1
            },
            "error": [
                {
                    "selector": "div.main div.warning-login"
                }
            ],
            "test": {
                "path": "torrents.php",
                "selector": "a[href^=\"logout.php?auth=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchstr": "{{ .Keywords }}",
                "freetorrent": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "group_results": 0,
                "action": "advanced",
                "order": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}",
                "searchsubmit": 1
            },
            "rows": {
                "selector": "table.torrent_table tr.torrent:has(a[title=\"Download\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[(\\d+?)\\]"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"torrents.php?id=\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "div.tags a[href*=\"taglist\"]"
                },
                "download": {
                    "selector": "span > a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div.group_image > img",
                    "attribute": "src"
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "date": {
                    "selector": "span.time.tooltip",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td.td_size"
                },
                "files": {
                    "selector": "td.td_file_count"
                },
                "seeders": {
                    "selector": "td.td_seeders"
                },
                "leechers": {
                    "selector": "td.td_leechers"
                },
                "grabs": {
                    "selector": "td.td_snatched"
                },
                "downloadvolumefactor": {
                    "case": {
                        "strong.torrent_label.tl_free": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.6
                }
            }
        }
    },
    "pier720": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "pier720",
        "name": "720pier",
        "description": "720pier is a RUSSIAN Private Torrent Tracker for HD SPORTS",
        "language": "ru-RU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://720pier.ru/"
        ],
        "legacylinks": [
            "http://720pier.ru/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 30,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 32,
                    "cat": "TV/Sport",
                    "desc": "Basketball"
                },
                {
                    "id": 34,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA"
                },
                {
                    "id": 87,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Playoffs"
                },
                {
                    "id": 124,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Playoffs - 2026"
                },
                {
                    "id": 121,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Playoffs - 2025"
                },
                {
                    "id": 119,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Playoffs - 2024"
                },
                {
                    "id": 117,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Playoffs - 2023"
                },
                {
                    "id": 113,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Playoffs - 2022"
                },
                {
                    "id": 111,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Playoffs - 2021"
                },
                {
                    "id": 108,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Playoffs - 2020"
                },
                {
                    "id": 106,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Playoffs - 2019"
                },
                {
                    "id": 103,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Playoffs - 2018"
                },
                {
                    "id": 95,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Playoffs - 2017"
                },
                {
                    "id": 81,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Playoffs - 2016"
                },
                {
                    "id": 58,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA Classic Games"
                },
                {
                    "id": 105,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NBA The Finals"
                },
                {
                    "id": 52,
                    "cat": "TV/Sport",
                    "desc": "Basketball - NCAA"
                },
                {
                    "id": 82,
                    "cat": "TV/Sport",
                    "desc": "Basketball - WNBA"
                },
                {
                    "id": 36,
                    "cat": "TV/Sport",
                    "desc": "Basketball - European basketball"
                },
                {
                    "id": 37,
                    "cat": "TV/Sport",
                    "desc": "Basketball - World Championship"
                },
                {
                    "id": 38,
                    "cat": "TV/Sport",
                    "desc": "Basketball - Olympic Games"
                },
                {
                    "id": 51,
                    "cat": "TV/Sport",
                    "desc": "Basketball - Reviews and highlights"
                },
                {
                    "id": 41,
                    "cat": "TV/Sport",
                    "desc": "Basketball - Other"
                },
                {
                    "id": 42,
                    "cat": "TV/Sport",
                    "desc": "Football"
                },
                {
                    "id": 43,
                    "cat": "TV/Sport",
                    "desc": "Football - NFL"
                },
                {
                    "id": 66,
                    "cat": "TV/Sport",
                    "desc": "Football - Super Bowls"
                },
                {
                    "id": 53,
                    "cat": "TV/Sport",
                    "desc": "Football - NCAA"
                },
                {
                    "id": 99,
                    "cat": "TV/Sport",
                    "desc": "Football - CFL"
                },
                {
                    "id": 110,
                    "cat": "TV/Sport",
                    "desc": "Football - USFL"
                },
                {
                    "id": 54,
                    "cat": "TV/Sport",
                    "desc": "Football - Reviews and highlights"
                },
                {
                    "id": 97,
                    "cat": "TV/Sport",
                    "desc": "Football - Documentaries"
                },
                {
                    "id": 44,
                    "cat": "TV/Sport",
                    "desc": "Football - Other"
                },
                {
                    "id": 101,
                    "cat": "TV/Sport",
                    "desc": "Football - AAF"
                },
                {
                    "id": 46,
                    "cat": "TV/Sport",
                    "desc": "Hockey"
                },
                {
                    "id": 48,
                    "cat": "TV/Sport",
                    "desc": "Hockey - NHL"
                },
                {
                    "id": 88,
                    "cat": "TV/Sport",
                    "desc": "Hockey - NHL Playoffs"
                },
                {
                    "id": 125,
                    "cat": "TV/Sport",
                    "desc": "Hockey - NHL Playoffs - 2026"
                },
                {
                    "id": 122,
                    "cat": "TV/Sport",
                    "desc": "Hockey - NHL Playoffs - 2025"
                },
                {
                    "id": 120,
                    "cat": "TV/Sport",
                    "desc": "Hockey - NHL Playoffs - 2024"
                },
                {
                    "id": 118,
                    "cat": "TV/Sport",
                    "desc": "Hockey - NHL Playoffs - 2023"
                },
                {
                    "id": 114,
                    "cat": "TV/Sport",
                    "desc": "Hockey - NHL Playoffs - 2022"
                },
                {
                    "id": 112,
                    "cat": "TV/Sport",
                    "desc": "Hockey - NHL Playoffs - 2021"
                },
                {
                    "id": 102,
                    "cat": "TV/Sport",
                    "desc": "Hockey - NHL Playoffs 2018-2020"
                },
                {
                    "id": 93,
                    "cat": "TV/Sport",
                    "desc": "Hockey - NHL Playoffs - 2017"
                },
                {
                    "id": 80,
                    "cat": "TV/Sport",
                    "desc": "Hockey - NHL Playoffs - 2016"
                },
                {
                    "id": 65,
                    "cat": "TV/Sport",
                    "desc": "Hockey - Stanley Cup Finals"
                },
                {
                    "id": 92,
                    "cat": "TV/Sport",
                    "desc": "Hockey - NCAA"
                },
                {
                    "id": 49,
                    "cat": "TV/Sport",
                    "desc": "Hockey - World Championship"
                },
                {
                    "id": 123,
                    "cat": "TV/Sport",
                    "desc": "Hockey - Olympic Games"
                },
                {
                    "id": 68,
                    "cat": "TV/Sport",
                    "desc": "Hockey - Documentaries"
                },
                {
                    "id": 64,
                    "cat": "TV/Sport",
                    "desc": "Hockey - Reviews and highlights"
                },
                {
                    "id": 50,
                    "cat": "TV/Sport",
                    "desc": "Hockey - Other"
                },
                {
                    "id": 55,
                    "cat": "TV/Sport",
                    "desc": "Baseball"
                },
                {
                    "id": 71,
                    "cat": "TV/Sport",
                    "desc": "Baseball - MLB"
                },
                {
                    "id": 107,
                    "cat": "TV/Sport",
                    "desc": "Baseball - MLB World Series"
                },
                {
                    "id": 72,
                    "cat": "TV/Sport",
                    "desc": "Baseball - Other"
                },
                {
                    "id": 85,
                    "cat": "TV/Sport",
                    "desc": "Baseball - Reviews, highlights, documentaries"
                },
                {
                    "id": 45,
                    "cat": "TV/Sport",
                    "desc": "Other sports"
                },
                {
                    "id": 79,
                    "cat": "TV/Sport",
                    "desc": "Other sports - Rugby"
                },
                {
                    "id": 78,
                    "cat": "TV/Sport",
                    "desc": "Other sports - Lacrosse"
                },
                {
                    "id": 77,
                    "cat": "TV/Sport",
                    "desc": "Other sports - Cricket"
                },
                {
                    "id": 76,
                    "cat": "TV/Sport",
                    "desc": "Other sports - Volleyball"
                },
                {
                    "id": 75,
                    "cat": "TV/Sport",
                    "desc": "Other sports - Tennis"
                },
                {
                    "id": 74,
                    "cat": "TV/Sport",
                    "desc": "Other sports - Fighting"
                },
                {
                    "id": 94,
                    "cat": "TV/Sport",
                    "desc": "Other sports - Misc"
                },
                {
                    "id": 100,
                    "cat": "TV/Sport",
                    "desc": "Soccer"
                },
                {
                    "id": 98,
                    "cat": "TV/Sport",
                    "desc": "Soccer - FIFA World Cup"
                },
                {
                    "id": 56,
                    "cat": "TV/Sport",
                    "desc": "Sports on tv"
                },
                {
                    "id": 70,
                    "cat": "TV/Sport",
                    "desc": "Sports on tv ESPN Films"
                },
                {
                    "id": 73,
                    "cat": "TV/Sport",
                    "desc": "Other sports - Auto, moto racing"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "t",
                "options": {
                    "t": "created",
                    "ts": "seeders",
                    "sz": "size",
                    "i": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "d",
                "options": {
                    "d": "desc",
                    "a": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": ":has(a[href^=\"./ucp.php?mode=logout&\"])"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href*=\"/download/torrent?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "paths": [
                {
                    "path": "search.php"
                }
            ],
            "inputs": {
                "keywords": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "terms": "all",
                "author": "",
                "sc": 1,
                "sf": "firstpost",
                "sr": "topics",
                "sk": "{{ .Config.sort }}",
                "sd": "{{ .Config.type }}",
                "st": 0,
                "ch": 300,
                "t": 0,
                "submit": "Search"
            },
            "rows": {
                "selector": "li.row:has(div.list-inner div[style=\"float:right;\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "title": {
                    "selector": "a.topictitle"
                },
                "details": {
                    "selector": "a.topictitle",
                    "attribute": "href"
                },
                "category": {
                    "selector": "a[href^=\"./viewforum.php?f=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "download": {
                    "selector": "a.topictitle",
                    "attribute": "href"
                },
                "size": {
                    "selector": "div.list-inner div[style=\"float:right;\"]",
                    "optional": true,
                    "default": "1 GB"
                },
                "seeders": {
                    "selector": "dd.posts span.my_tt.seed",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "dd.posts span.my_tt.leech",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "dd.views span.my_tt.complet",
                    "optional": true,
                    "default": 0
                },
                "date": {
                    "selector": "div.left-box time"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.8
                },
                "minimumseedtime": {
                    "text": 216000
                }
            }
        }
    },
    "pignetwork": {
        "credentials": {
            "cookie": ""
        },
        "id": "pignetwork",
        "name": "PigNetwork (猪猪网)",
        "description": "PigNetwork (猪猪网) is a CHINESE Private Torrent Tracker for HD MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://piggo.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影",
                    "default": true
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片",
                    "default": true
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫",
                    "default": true
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧",
                    "default": true
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺",
                    "default": true
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MusicVideo/MV",
                    "default": true
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育",
                    "default": true
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc/其他",
                    "default": true
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Music/音乐",
                    "default": true
                },
                {
                    "id": 909,
                    "cat": "Movies",
                    "desc": "Movies/电  影 🎬",
                    "default": false
                },
                {
                    "id": 908,
                    "cat": "TV/Anime",
                    "desc": "Animation Series/剧集动画",
                    "default": false
                },
                {
                    "id": 905,
                    "cat": "Audio",
                    "desc": "Audiobooks/有声读物",
                    "default": false
                },
                {
                    "id": 910,
                    "cat": "Books",
                    "desc": "Picture Books/读书绘本",
                    "default": false
                },
                {
                    "id": 907,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片🏞️",
                    "default": false
                },
                {
                    "id": 911,
                    "cat": "Audio",
                    "desc": "Music/音  乐 🎧",
                    "default": true
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_date",
                "type": "info",
                "label": "Date Setting",
                "default": "Access your <a href=\"https://piggo.me/usercp.php?action=tracker\" target =_blank>个人中心 网站设定 (UserCP Website settings) </a> and set <b>时间显示类型 (Time Display Type)</b> to <b>发生时间 (Time of Occurence)</b>. <i>Elapsed Time</i> is not supported by this indexer and will see zero results."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ul><li>Nexus Master users and above will be retained forever</li><li>Elite User users and above will not have their accounts deleted after parking their accounts (in the control panel)</li><li>Users who have parked their accounts will be deleted if they do not log in for 180 consecutive days</li><li>Users whose accounts have not been parked will have their accounts deleted if they do not log in for 90 consecutive days</li><li>Users who have no traffic for 7 consecutive days or who have not logged in for 30 consecutive days (that is, the upload/download data are both 0) will be automatically banned by the system.</li></ul>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"/usercp.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        401,
                        402,
                        403,
                        404,
                        405,
                        406,
                        407,
                        408,
                        409
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        909,
                        908,
                        905,
                        910,
                        907,
                        911
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "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 }}"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td.rowfollow:nth-child(4)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 259200
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "pixelcove": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "pixelcove",
        "name": "PixelCove",
        "description": "PixelCove (Ultimate Gamer) is a Private Torrent Tracker for GAMES",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.pixelcove.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Windows"
                },
                {
                    "id": 11,
                    "cat": "PC/Mac",
                    "desc": "Macintosh"
                },
                {
                    "id": 47,
                    "cat": "PC",
                    "desc": "Linux"
                },
                {
                    "id": 56,
                    "cat": "PC",
                    "desc": "VR"
                },
                {
                    "id": 14,
                    "cat": "Console/XBox",
                    "desc": "Xbox"
                },
                {
                    "id": 61,
                    "cat": "Console/XBox 360",
                    "desc": "Xbox 360"
                },
                {
                    "id": 62,
                    "cat": "Console/XBox One",
                    "desc": "Xbox One"
                },
                {
                    "id": 43,
                    "cat": "Console/PS3",
                    "desc": "Playstation "
                },
                {
                    "id": 63,
                    "cat": "Console/PS3",
                    "desc": "Playstation 2"
                },
                {
                    "id": 64,
                    "cat": "Console/PS3",
                    "desc": "Playstation 3"
                },
                {
                    "id": 67,
                    "cat": "Console/PS4",
                    "desc": "Playstation 4"
                },
                {
                    "id": 12,
                    "cat": "Console/Other",
                    "desc": "PSN"
                },
                {
                    "id": 57,
                    "cat": "Console/Other",
                    "desc": "Gamecube"
                },
                {
                    "id": 44,
                    "cat": "Console/Wii",
                    "desc": "Wii"
                },
                {
                    "id": 46,
                    "cat": "Console/Wii",
                    "desc": "Wii U"
                },
                {
                    "id": 76,
                    "cat": "Console/Other",
                    "desc": "Switch"
                },
                {
                    "id": 15,
                    "cat": "Console/NDS",
                    "desc": "DS"
                },
                {
                    "id": 68,
                    "cat": "Console/NDS",
                    "desc": "3DS"
                },
                {
                    "id": 69,
                    "cat": "Console/PSP",
                    "desc": "PSP"
                },
                {
                    "id": 70,
                    "cat": "Console/PS Vita",
                    "desc": "PSVita"
                },
                {
                    "id": 65,
                    "cat": "PC/Mobile-iOS",
                    "desc": "iOS"
                },
                {
                    "id": 49,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 66,
                    "cat": "PC/Mobile-Other",
                    "desc": "Windows Mobile"
                },
                {
                    "id": 53,
                    "cat": "Books",
                    "desc": "Books/Mags"
                },
                {
                    "id": 60,
                    "cat": "Books",
                    "desc": "Comics"
                },
                {
                    "id": 17,
                    "cat": "Books",
                    "desc": "Guides"
                },
                {
                    "id": 58,
                    "cat": "Audio/Video",
                    "desc": "Gaming Videos"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "OST"
                },
                {
                    "id": 55,
                    "cat": "Other",
                    "desc": "Time for a Break"
                },
                {
                    "id": 81,
                    "cat": "Audio/Video",
                    "desc": "Videos"
                },
                {
                    "id": 59,
                    "cat": "Other",
                    "desc": "Mods"
                },
                {
                    "id": 54,
                    "cat": "Other",
                    "desc": "Updates/Fixes"
                },
                {
                    "id": 71,
                    "cat": "PC/0day",
                    "desc": "Applications/Tools"
                },
                {
                    "id": 48,
                    "cat": "Other",
                    "desc": "Retro"
                },
                {
                    "id": 72,
                    "cat": "Other",
                    "desc": "Board Games"
                },
                {
                    "id": 75,
                    "cat": "Other",
                    "desc": "Paper Crafting"
                },
                {
                    "id": 77,
                    "cat": "Other",
                    "desc": "Arcade"
                },
                {
                    "id": 78,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA",
                "default": "If you want to enable 2FA then use the PixelCove2FA indexer instead."
            },
            {
                "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": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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": "You must login regularly to maintain an active account. For User and Member, you must login once every 4 months. For Power User, Master and Elite you must login once per year. If you fail to do this your account will be disabled."
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "cinfo": "2550|1350|24|-60",
                "keeploggedin": 1
            },
            "error": [
                {
                    "selector": "div.error"
                }
            ],
            "test": {
                "path": "torrents.php",
                "selector": "a.username"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "searchtext": "",
                "title": "{{ .Keywords }}",
                "filelist": "",
                "taglist": ""
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent row\"]:has(a[href*=\"action=download\"])"
            },
            "fields": {
                "download": {
                    "selector": "a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "description_tags": {
                    "selector": "div.tags"
                },
                "description": {
                    "case": {
                        "span.icon_okay": "Verified: {{ .Result.description_tags }}",
                        "*": "Unverified: {{ .Result.description_tags }}"
                    }
                },
                "title": {
                    "selector": "a[href^=\"/torrents.php?id=\"]"
                },
                "category": {
                    "selector": "a[href*=\"filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[(\\d+?)\\]"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "td:nth-child(2) > script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\\"(.*?)\\\\\""
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\\\(.)",
                                "$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "/static/common/noartwork/noimage.png",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(5) > span:not(:contains(\"ago\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(5) > span:contains(\"ago\")",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/freedownload.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"DoubleSeed\"]": 2,
                        "img[alt=\"DoubleSeed\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "pixelcove2fa": {
        "credentials": {
            "cookie": ""
        },
        "id": "pixelcove2fa",
        "name": "PixelCove2FA",
        "description": "PixelCove2FA (Ultimate Gamer) is a Private Torrent Tracker for GAMES. Cookie Login for 2FA use.",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.pixelcove.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Windows"
                },
                {
                    "id": 11,
                    "cat": "PC/Mac",
                    "desc": "Macintosh"
                },
                {
                    "id": 47,
                    "cat": "PC",
                    "desc": "Linux"
                },
                {
                    "id": 56,
                    "cat": "PC",
                    "desc": "VR"
                },
                {
                    "id": 14,
                    "cat": "Console/XBox",
                    "desc": "Xbox"
                },
                {
                    "id": 61,
                    "cat": "Console/XBox 360",
                    "desc": "Xbox 360"
                },
                {
                    "id": 62,
                    "cat": "Console/XBox One",
                    "desc": "Xbox One"
                },
                {
                    "id": 43,
                    "cat": "Console/PS3",
                    "desc": "Playstation "
                },
                {
                    "id": 63,
                    "cat": "Console/PS3",
                    "desc": "Playstation 2"
                },
                {
                    "id": 64,
                    "cat": "Console/PS3",
                    "desc": "Playstation 3"
                },
                {
                    "id": 67,
                    "cat": "Console/PS4",
                    "desc": "Playstation 4"
                },
                {
                    "id": 12,
                    "cat": "Console/Other",
                    "desc": "PSN"
                },
                {
                    "id": 57,
                    "cat": "Console/Other",
                    "desc": "Gamecube"
                },
                {
                    "id": 44,
                    "cat": "Console/Wii",
                    "desc": "Wii"
                },
                {
                    "id": 46,
                    "cat": "Console/Wii",
                    "desc": "Wii U"
                },
                {
                    "id": 76,
                    "cat": "Console/Other",
                    "desc": "Switch"
                },
                {
                    "id": 15,
                    "cat": "Console/NDS",
                    "desc": "DS"
                },
                {
                    "id": 68,
                    "cat": "Console/NDS",
                    "desc": "3DS"
                },
                {
                    "id": 69,
                    "cat": "Console/PSP",
                    "desc": "PSP"
                },
                {
                    "id": 70,
                    "cat": "Console/PS Vita",
                    "desc": "PSVita"
                },
                {
                    "id": 65,
                    "cat": "PC/Mobile-iOS",
                    "desc": "iOS"
                },
                {
                    "id": 49,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 66,
                    "cat": "PC/Mobile-Other",
                    "desc": "Windows Mobile"
                },
                {
                    "id": 53,
                    "cat": "Books",
                    "desc": "Books/Mags"
                },
                {
                    "id": 60,
                    "cat": "Books",
                    "desc": "Comics"
                },
                {
                    "id": 17,
                    "cat": "Books",
                    "desc": "Guides"
                },
                {
                    "id": 58,
                    "cat": "Audio/Video",
                    "desc": "Gaming Videos"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "OST"
                },
                {
                    "id": 55,
                    "cat": "Other",
                    "desc": "Time for a Break"
                },
                {
                    "id": 81,
                    "cat": "Audio/Video",
                    "desc": "Videos"
                },
                {
                    "id": 59,
                    "cat": "Other",
                    "desc": "Mods"
                },
                {
                    "id": 54,
                    "cat": "Other",
                    "desc": "Updates/Fixes"
                },
                {
                    "id": 71,
                    "cat": "PC/0day",
                    "desc": "Applications/Tools"
                },
                {
                    "id": 48,
                    "cat": "Other",
                    "desc": "Retro"
                },
                {
                    "id": 72,
                    "cat": "Other",
                    "desc": "Board Games"
                },
                {
                    "id": 75,
                    "cat": "Other",
                    "desc": "Paper Crafting"
                },
                {
                    "id": 77,
                    "cat": "Other",
                    "desc": "Arcade"
                },
                {
                    "id": 78,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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": "You must login regularly to maintain an active account. For User and Member, you must login once every 4 months. For Power User, Master and Elite you must login once per year. If you fail to do this your account will be disabled."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "torrents.php",
                "selector": "a.username"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "searchtext": "",
                "title": "{{ .Keywords }}",
                "filelist": "",
                "taglist": ""
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent row\"]:has(a[href*=\"action=download\"])"
            },
            "fields": {
                "download": {
                    "selector": "a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "description_tags": {
                    "selector": "div.tags"
                },
                "description": {
                    "case": {
                        "span.icon_okay": "Verified: {{ .Result.description_tags }}",
                        "*": "Unverified: {{ .Result.description_tags }}"
                    }
                },
                "title": {
                    "selector": "a[href^=\"/torrents.php?id=\"]"
                },
                "category": {
                    "selector": "a[href*=\"filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[(\\d+?)\\]"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"/torrents.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "td:nth-child(2) > script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\\"(.*?)\\\\\""
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\\\(.)",
                                "$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "/static/common/noartwork/noimage.png",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(5) > span:not(:contains(\"ago\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(5) > span:contains(\"ago\")",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/freedownload.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"DoubleSeed\"]": 2,
                        "img[alt=\"DoubleSeed\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "playletpt": {
        "credentials": {
            "cookie": ""
        },
        "id": "playletpt",
        "name": "PlayletPT",
        "description": "PlayletPT is a CHINESE Private Torrent Tracker for Short Drama",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://playlet.cc/"
        ],
        "legacylinks": [
            "https://playletpt.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 408,
                    "cat": "TV",
                    "desc": "短剧/Drama"
                },
                {
                    "id": 409,
                    "cat": "TV",
                    "desc": "漫画/Comedy"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href*=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "plugintorrent": {
        "id": "plugintorrent",
        "name": "plugintorrent",
        "description": "plugintorrent is a Public site for AUDIO apps, plugins and samples",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://plugintorrent.com/"
        ],
        "caps": {
            "categories": {
                "PC": "PC"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "date",
                "options": {
                    "date": "created",
                    "relevance": "relevance"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "DESC",
                "options": {
                    "DESC": "desc",
                    "ASC": "asc"
                }
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?xt\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "allowEmptyInputs": true,
            "inputs": {
                "s": "{{ .Keywords }}",
                "orderby": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}",
                "post_type": "post"
            },
            "rows": {
                "selector": "article:has(a)",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": "PC"
                },
                "title": {
                    "selector": ".entry-title"
                },
                "details": {
                    "selector": ".entry-title > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": ".entry-title > a",
                    "attribute": "href"
                },
                "description": {
                    "selector": ".entry-summary"
                },
                "date": {
                    "selector": "span.date"
                },
                "size": {
                    "text": "512 MB"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "podzemlje": {
        "credentials": {
            "apikey": ""
        },
        "id": "podzemlje",
        "name": "Podzemlje",
        "description": "Podzemlje is an EX-YU Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://podzemlje.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "PC/Games",
                    "desc": "Igre"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "Muzika"
                },
                {
                    "id": 5,
                    "cat": "PC/0day",
                    "desc": "Programi"
                },
                {
                    "id": 6,
                    "cat": "Books",
                    "desc": "Knjige"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://podzemlje.net/\" target=\"_blank\">Podzemlje</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "polishtorrent": {
        "credentials": {
            "apikey": ""
        },
        "id": "polishtorrent",
        "name": "Polish Torrent (API)",
        "description": "Polish Torrent (PTT) is a POLISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pl-PL",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://polishtorrent.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 32,
                    "cat": "Movies/Other",
                    "desc": "Anime/Filmy"
                },
                {
                    "id": 31,
                    "cat": "TV/Anime",
                    "desc": "Anime/Seriale"
                },
                {
                    "id": 6,
                    "cat": "PC/0day",
                    "desc": "Aplikacje/Programy"
                },
                {
                    "id": 25,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook"
                },
                {
                    "id": 4,
                    "cat": "Movies",
                    "desc": "Bajki"
                },
                {
                    "id": 12,
                    "cat": "Movies/BluRay",
                    "desc": "BD25/50_5/9"
                },
                {
                    "id": 20,
                    "cat": "Books",
                    "desc": "Book"
                },
                {
                    "id": 13,
                    "cat": "Movies/DVD",
                    "desc": "DVD5/9"
                },
                {
                    "id": 14,
                    "cat": "Movies/3D",
                    "desc": "Filmy 3D"
                },
                {
                    "id": 23,
                    "cat": "Movies/UHD",
                    "desc": "Filmy 4K"
                },
                {
                    "id": 1,
                    "cat": "Movies/HD",
                    "desc": "Filmy HD"
                },
                {
                    "id": 16,
                    "cat": "Movies/SD",
                    "desc": "Filmy SD"
                },
                {
                    "id": 15,
                    "cat": "Movies",
                    "desc": "Filmy bez lektora"
                },
                {
                    "id": 34,
                    "cat": "Movies/Other",
                    "desc": "Filmy HDTS - Kino"
                },
                {
                    "id": 17,
                    "cat": "Movies/Other",
                    "desc": "Filmy inne"
                },
                {
                    "id": 5,
                    "cat": "PC/Games",
                    "desc": "Gry PC"
                },
                {
                    "id": 24,
                    "cat": "PC/Games",
                    "desc": "Gry dodatki"
                },
                {
                    "id": 10,
                    "cat": "Console",
                    "desc": "Gry Konsole"
                },
                {
                    "id": 19,
                    "cat": "Other",
                    "desc": "Inne"
                },
                {
                    "id": 33,
                    "cat": "Movies",
                    "desc": "iNTERNAL"
                },
                {
                    "id": 18,
                    "cat": "PC/Mobile-Android",
                    "desc": "Mobile"
                },
                {
                    "id": 8,
                    "cat": "Audio",
                    "desc": "Muzyka"
                },
                {
                    "id": 37,
                    "cat": "TV",
                    "desc": "Reality TV"
                },
                {
                    "id": 11,
                    "cat": "Movies",
                    "desc": "Paczki"
                },
                {
                    "id": 36,
                    "cat": "TV",
                    "desc": "Seriale TV - Całe Sezony"
                },
                {
                    "id": 21,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 29,
                    "cat": "Movies",
                    "desc": "Stare Filmy"
                },
                {
                    "id": 27,
                    "cat": "TV/Other",
                    "desc": "Teatr Telewizyjny"
                },
                {
                    "id": 2,
                    "cat": "TV/UHD",
                    "desc": "TV 4K"
                },
                {
                    "id": 28,
                    "cat": "TV/Documentary",
                    "desc": "TV Dokument"
                },
                {
                    "id": 30,
                    "cat": "TV",
                    "desc": "TV Seriale Bajki"
                },
                {
                    "id": 9,
                    "cat": "TV/HD",
                    "desc": "TV Seriale HD"
                },
                {
                    "id": 22,
                    "cat": "TV/SD",
                    "desc": "TV Seriale SD"
                },
                {
                    "id": 38,
                    "cat": "TV",
                    "desc": "Reality TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowtvsearchimdb": true
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://polishtorrent.top/\" target=\"_blank\">Polish Torrent</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "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"
                }
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "<ul><li> login as much as possible – no login for 30 days results in the account as DISABLED.</li><li>Lack of login for another 60 days causes permanent account blocking.</li><li>after 90 days of inactivity, the account is automatically deleted by the system.</li><li>This policy applies to users in the following groups: User, PowerUser, SuperUser, and Leech.</li></ul>"
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title_phase1": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase1 }}",
                    "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": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Akcja i Przygoda)",
                                "Akcja_i_Przygoda"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(film TV)",
                                "film_TV"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 864000
                }
            }
        }
    },
    "polishtracker-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "polishtracker-api",
        "name": "PolishTracker (API)",
        "description": "PolishTracker is a POLISH Private Torrent Tracker for 0DAY / MOVIES / GENERAL",
        "language": "pl-PL",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pte.nu/"
        ],
        "legacylinks": [
            "https://polishtracker.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "PC/0day",
                    "desc": "0-Day"
                },
                {
                    "id": 2,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 3,
                    "cat": "PC/0day",
                    "desc": "Apps"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Consoles"
                },
                {
                    "id": 5,
                    "cat": "Books",
                    "desc": "E-book"
                },
                {
                    "id": 6,
                    "cat": "Movies/HD",
                    "desc": "Movies HD"
                },
                {
                    "id": 7,
                    "cat": "Movies/SD",
                    "desc": "Movies SD"
                },
                {
                    "id": 8,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 9,
                    "cat": "Movies/UHD",
                    "desc": "Movies UHD"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "PC Games"
                },
                {
                    "id": 11,
                    "cat": "TV/HD",
                    "desc": "TV HD"
                },
                {
                    "id": 12,
                    "cat": "TV/SD",
                    "desc": "TV SD"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 14,
                    "cat": "TV/UHD",
                    "desc": "TV-UHD"
                },
                {
                    "id": 15,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find your API Key by accessing your <a href=\"https://pte.nu/\" target =_blank>PolishTracker</a> account <i>Settings</i> page and clicking on the <b>API</b> section."
            },
            {
                "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"
                }
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "https://api-test.pte.nu/api/v1/torrents",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "tpage": 1,
                "imdb_id": "{{ .Query.IMDBIDShort }}",
                "$raw": "{{ range .Categories }}&cat[]={{.}}{{end}}"
            },
            "headers": {
                "API-Key": [
                    "{{ .Config.apikey }}"
                ]
            },
            "rows": {
                "selector": "torrents",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ],
                "count": {
                    "selector": "count"
                }
            },
            "fields": {
                "_id": {
                    "selector": "id"
                },
                "category": {
                    "selector": "category"
                },
                "title_phase1": {
                    "selector": "name"
                },
                "title_multilang": {
                    "selector": "name",
                    "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": {
                    "text": "{{ .Config.sitelink }}torrents/{{ .Result._id }}"
                },
                "download": {
                    "text": "/download/{{ .Result._id }}"
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "genre": {
                    "selector": "tags",
                    "filters": [
                        {
                            "name": "validate",
                            "args": "Animation, Comedy, Family, Strategy, Action, Adventure, Indie, RPG, Simulation, Early, Crime, Thriller, Drama, Rock, Fantasy, Sci-Fi, Horror, Pop, War, Mystery, Oldies, Hardcore, Sport, Biography, Music, Rap, Romance, Dance, Hip-Hop, House, Punk Rock, Disco, Casual, Bass, History, Racing, Metal, Electronic, Alternative, Funk, Short, Classical, Acoustic, Soundtrack, Punk, Ambient, Talk-Show, Sports, Reggae, Documentary, Progressive Rock, Other, Western, Dance Hall, Trance, Folk, Classic Rock, Jazz, Hard Rock, Trip-Hop, R&B, Blues, Musical, Club, Techno, Cabaret, Black Metal, Easy Listening, Goa, Free, Massively, Reality-TV, Grunge, SynthPop, Ballad, Top 40, News, Industrial, Psychedelic Rock, Heavy Metal, Beat, Alternative Rock, Drum & Bass, Film-Noir, Rock & Roll, Death Metal, Lo-Fi, Country, Instrumental Pop, Game-Show, Soul, Retro, Noise, Latin, Design, Education, Software, Utilities, Pop-Folk, Instrumental, Game, Acid Jazz, Acid, Gothic Rock, Fusion, Darkwave, Meditative, Crossover, Thrash Metal, New Wave, Opera, Ethnic, Instrumental Rock, New Age, Gangsta, Speech, Gothic, Gospel, Symphonic Rock, Ska, JPop, Avantgarde, Tango, Vocal, Folk-Rock, Celtic"
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "completed"
                },
                "date": {
                    "selector": "added"
                },
                "size": {
                    "selector": "size"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "polskie-torrenty": {
        "credentials": {
            "cookie": ""
        },
        "id": "polskie-torrenty",
        "name": "Polskie-Torrenty",
        "description": "Polskie-Torrenty is a POLISH Semi-Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pl-PL",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://polskie-torrenty.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 27,
                    "cat": "Movies/DVD",
                    "desc": "Filmy DVD"
                },
                {
                    "id": 30,
                    "cat": "Movies/SD",
                    "desc": "Filmy DivX/XviD"
                },
                {
                    "id": 71,
                    "cat": "Movies/3D",
                    "desc": "Filmy 3D"
                },
                {
                    "id": 72,
                    "cat": "Movies/HD",
                    "desc": "Filmy x264/h264/1080p"
                },
                {
                    "id": 73,
                    "cat": "Movies/HD",
                    "desc": "Filmy x264/h264/720p"
                },
                {
                    "id": 74,
                    "cat": "Movies/HD",
                    "desc": "Filmy x265/h265"
                },
                {
                    "id": 75,
                    "cat": "Movies/HD",
                    "desc": "Filmy x264/h264"
                },
                {
                    "id": 76,
                    "cat": "Movies/HD",
                    "desc": "Filmy BluRay / REMUX"
                },
                {
                    "id": 77,
                    "cat": "Movies/UHD",
                    "desc": "Filmy 4K UHD"
                },
                {
                    "id": 78,
                    "cat": "Movies/SD",
                    "desc": "Filmy IVO / AI"
                },
                {
                    "id": 79,
                    "cat": "Movies/SD",
                    "desc": "Filmy TS/CAM"
                },
                {
                    "id": 88,
                    "cat": "Movies/HD",
                    "desc": "Filmy x265/h265/1080p"
                },
                {
                    "id": 89,
                    "cat": "Movies/HD",
                    "desc": "Filmy x265/h265/720p"
                },
                {
                    "id": 25,
                    "cat": "TV",
                    "desc": "Seriale Polskie"
                },
                {
                    "id": 26,
                    "cat": "TV/Foreign",
                    "desc": "Seriale Zagraniczne"
                },
                {
                    "id": 122,
                    "cat": "TV",
                    "desc": "Seriale Fiona 9"
                },
                {
                    "id": 32,
                    "cat": "Movies",
                    "desc": "Filmy/Bajki"
                },
                {
                    "id": 111,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook"
                },
                {
                    "id": 112,
                    "cat": "Console",
                    "desc": "Gry"
                },
                {
                    "id": 113,
                    "cat": "Other",
                    "desc": "Inne"
                },
                {
                    "id": 114,
                    "cat": "Books",
                    "desc": "Kolorowanki"
                },
                {
                    "id": 115,
                    "cat": "Books",
                    "desc": "Książki"
                },
                {
                    "id": 116,
                    "cat": "Audio",
                    "desc": "Muzyka"
                },
                {
                    "id": 117,
                    "cat": "PC",
                    "desc": "Programy"
                },
                {
                    "id": 118,
                    "cat": "Audio/Video",
                    "desc": "Teledyski"
                },
                {
                    "id": 34,
                    "cat": "PC/Games",
                    "desc": "Gry PC"
                },
                {
                    "id": 35,
                    "cat": "Console/PSP",
                    "desc": "PS2/PS3/PS4/PSP/PS VITA"
                },
                {
                    "id": 36,
                    "cat": "Console/XBox",
                    "desc": "Xbox One/XBOX 360/Xbox"
                },
                {
                    "id": 37,
                    "cat": "Console/NDS",
                    "desc": "NINTENDO / WII / DS"
                },
                {
                    "id": 38,
                    "cat": "Audio/Foreign",
                    "desc": "Muzyka Zagraniczna"
                },
                {
                    "id": 39,
                    "cat": "Audio",
                    "desc": "Soundtracki"
                },
                {
                    "id": 40,
                    "cat": "Audio/Video",
                    "desc": "Teledyski"
                },
                {
                    "id": 80,
                    "cat": "Audio",
                    "desc": "Muzyka Polska"
                },
                {
                    "id": 81,
                    "cat": "Audio/Video",
                    "desc": "Koncerty"
                },
                {
                    "id": 42,
                    "cat": "PC/Mobile-Other",
                    "desc": "Tapety GSM/PDA"
                },
                {
                    "id": 43,
                    "cat": "PC/Mobile-Other",
                    "desc": "Programy GSM/PDA"
                },
                {
                    "id": 44,
                    "cat": "PC/Mobile-Other",
                    "desc": "Filmy GSM/PDA"
                },
                {
                    "id": 45,
                    "cat": "PC/Mobile-Other",
                    "desc": "Dzwonki GSM/PDA"
                },
                {
                    "id": 46,
                    "cat": "PC/Mobile-Other",
                    "desc": "Gry GSM/PDA"
                },
                {
                    "id": 47,
                    "cat": "Books/EBook",
                    "desc": "E-Booki"
                },
                {
                    "id": 48,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio-Booki"
                },
                {
                    "id": 49,
                    "cat": "Books/Mags",
                    "desc": "Czasopisma"
                },
                {
                    "id": 50,
                    "cat": "Books/Comics",
                    "desc": "Komiksy"
                },
                {
                    "id": 51,
                    "cat": "PC/0day",
                    "desc": "Windows"
                },
                {
                    "id": 52,
                    "cat": "PC",
                    "desc": "Linux"
                },
                {
                    "id": 53,
                    "cat": "PC/Mac",
                    "desc": "Macintosh"
                },
                {
                    "id": 58,
                    "cat": "XXX/Other",
                    "desc": "Czasopisma"
                },
                {
                    "id": 59,
                    "cat": "XXX/ImageSet",
                    "desc": "Zdjęcia"
                },
                {
                    "id": 60,
                    "cat": "XXX/x264",
                    "desc": "Filmy"
                },
                {
                    "id": 61,
                    "cat": "XXX/Other",
                    "desc": "Gry"
                },
                {
                    "id": 63,
                    "cat": "XXX/Other",
                    "desc": "Hentai+18"
                },
                {
                    "id": 69,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 70,
                    "cat": "XXX/Other",
                    "desc": "Hentai"
                },
                {
                    "id": 121,
                    "cat": "Books/Comics",
                    "desc": "Manga"
                },
                {
                    "id": 55,
                    "cat": "Other",
                    "desc": "Tapety"
                },
                {
                    "id": 57,
                    "cat": "Other",
                    "desc": "Pozostale"
                },
                {
                    "id": 86,
                    "cat": "Other",
                    "desc": "Śmieszne"
                },
                {
                    "id": 105,
                    "cat": "Other",
                    "desc": "Design www"
                },
                {
                    "id": 106,
                    "cat": "Other",
                    "desc": "Filmy (S)VCD"
                },
                {
                    "id": 107,
                    "cat": "Other",
                    "desc": "Flash/Shockwave"
                },
                {
                    "id": 108,
                    "cat": "Other",
                    "desc": "Fotografia"
                },
                {
                    "id": 109,
                    "cat": "Other",
                    "desc": "Kursy"
                },
                {
                    "id": 110,
                    "cat": "Other",
                    "desc": "Modelarstwo"
                },
                {
                    "id": 92,
                    "cat": "TV/Sport",
                    "desc": "Boks"
                },
                {
                    "id": 93,
                    "cat": "TV/Sport",
                    "desc": "Hokej"
                },
                {
                    "id": 94,
                    "cat": "TV/Sport",
                    "desc": "Koszykówka"
                },
                {
                    "id": 95,
                    "cat": "TV/Sport",
                    "desc": "Kulturystyka i fitness"
                },
                {
                    "id": 96,
                    "cat": "TV/Sport",
                    "desc": "MMA"
                },
                {
                    "id": 97,
                    "cat": "TV/Sport",
                    "desc": "Motorowe"
                },
                {
                    "id": 98,
                    "cat": "TV/Sport",
                    "desc": "Piłka nożna"
                },
                {
                    "id": 99,
                    "cat": "TV/Sport",
                    "desc": "Rowerowe"
                },
                {
                    "id": 100,
                    "cat": "TV/Sport",
                    "desc": "Siatkówka"
                },
                {
                    "id": 101,
                    "cat": "TV/Sport",
                    "desc": "Wodne"
                },
                {
                    "id": 102,
                    "cat": "TV/Sport",
                    "desc": "Wrestling"
                },
                {
                    "id": 103,
                    "cat": "TV/Sport",
                    "desc": "Zapasy"
                },
                {
                    "id": 104,
                    "cat": "TV/Sport",
                    "desc": "Zimowe"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "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"
                }
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "date",
                "options": {
                    "date": "created",
                    "seed": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_limit",
                "type": "info",
                "label": "Download Daily Limit",
                "default": "Polskie-Torrenty has a daily limit on downloads. If downloads <b>fail</b> then you have exceeded your daily limit. Try again tomorrow."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "wyszukaj.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "q": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "sort": "{{ .Config.sort }}_{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.results-table tbody tr"
            },
            "fields": {
                "category": {
                    "selector": "td:nth-child(1) a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "sub_category"
                        }
                    ]
                },
                "title_phase1": {
                    "selector": "td:nth-child(2) a"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase1 }}",
                    "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": "td:nth-child(2) a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td:nth-child(2) a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details.php?id=",
                                "download.php?id="
                            ]
                        }
                    ]
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "selector": "td:nth-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-child(4)"
                },
                "leechers": {
                    "selector": "td:nth-child(5)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "pornbay": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "pornbay",
        "name": "Pornbay",
        "description": "Pornbay is a Private Torrent Tracker for 3X",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pornbay.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "XXX",
                    "desc": "Amateur"
                },
                {
                    "id": 2,
                    "cat": "XXX",
                    "desc": "Anal"
                },
                {
                    "id": 3,
                    "cat": "XXX",
                    "desc": "Asian"
                },
                {
                    "id": 4,
                    "cat": "XXX",
                    "desc": "BBW"
                },
                {
                    "id": 31,
                    "cat": "XXX",
                    "desc": "BDSM"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "Black"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "Blowjob"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "Busty"
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "Classic"
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "Clips"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "Creampie"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "DVD-R"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "Feature"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Fetish"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "Foreign"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Game"
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "Gonzo"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "Hardcore"
                },
                {
                    "id": 18,
                    "cat": "XXX",
                    "desc": "HD Quality"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "Hentai"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "Homemade"
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "Interracial"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "Latin"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "Lesbian"
                },
                {
                    "id": 23,
                    "cat": "XXX",
                    "desc": "Mature"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "Megapack"
                },
                {
                    "id": 49,
                    "cat": "XXX",
                    "desc": "Old+Young"
                },
                {
                    "id": 24,
                    "cat": "XXX",
                    "desc": "Orgy"
                },
                {
                    "id": 25,
                    "cat": "XXX",
                    "desc": "Other"
                },
                {
                    "id": 26,
                    "cat": "XXX",
                    "desc": "Pics"
                },
                {
                    "id": 50,
                    "cat": "XXX",
                    "desc": "POV"
                },
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "Sick"
                },
                {
                    "id": 35,
                    "cat": "XXX",
                    "desc": "Site rips"
                },
                {
                    "id": 48,
                    "cat": "XXX",
                    "desc": "Solo"
                },
                {
                    "id": 28,
                    "cat": "XXX",
                    "desc": "Straight"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "Teen"
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "VR Porn"
                },
                {
                    "id": 33,
                    "cat": "XXX",
                    "desc": "Transsexual"
                }
            ],
            "modes": {
                "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": "info_grid",
                "type": "info",
                "label": "GRID view",
                "default": "This indexer does not support the GRID view on the torrent search page. Change the <b>Grid View</b> setting to <b>OFF</b> on your User Settings. If set to <i>ON</i> will cause no results to be returned."
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page</b> setting to <b>100</b> on your User Settings. The default is <i>25</i>."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "keeplogged": 1
            },
            "error": [
                {
                    "selector": "form#loginform > span.warning"
                }
            ],
            "test": {
                "path": "torrents.php",
                "selector": "#nav_useredit"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchtext": "",
                "title": "{{ .Keywords }}",
                "order_by": "time",
                "order_way": "desc",
                "action": "advanced",
                "filter_freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "filelist": "",
                "taglist": ""
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[class^=\"torrent row\"]"
            },
            "fields": {
                "download": {
                    "selector": "a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "description": {
                    "selector": "div.tags"
                },
                "title": {
                    "selector": "a[href^=\"torrents.php?id=\"]"
                },
                "category": {
                    "selector": "a[href*=\"filter_cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[(\\d+?)\\]"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"torrents.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "td:nth-child(2) > script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\\"(.*?)\\\\\""
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\\\(.)",
                                "$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "/static/common/noartwork/noimage.png",
                                ""
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "date_elapsed": {
                    "selector": "span.time:contains(\"ago\")",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "span.time:not(:contains(\"ago\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM dd yyyy, HH:mm zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)"
                },
                "leechers": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.icon[title*=\"Freeleech\"]": 0,
                        "img[alt=\"Freeleech\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "pornolab": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "pornolab",
        "name": "PornoLab",
        "description": "PornoLab is a Semi-Private Russian site for 3X",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "windows-1251",
        "links": [
            "https://pornolab.net/",
            "https://pornolab.cc/",
            "https://pornolab.biz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1670,
                    "cat": "XXX",
                    "desc": "Эротическое видео / Erotic & Softcore"
                },
                {
                    "id": 1768,
                    "cat": "XXX",
                    "desc": "Эротические фильмы / Erotic Movies"
                },
                {
                    "id": 60,
                    "cat": "XXX",
                    "desc": "Документальные фильмы / Documentary & Reality"
                },
                {
                    "id": 1671,
                    "cat": "XXX",
                    "desc": "Эротические ролики и сайтрипы / Erotic Clips & SiteRips"
                },
                {
                    "id": 1644,
                    "cat": "XXX",
                    "desc": "Нудизм-Натуризм / Nudity"
                },
                {
                    "id": 1672,
                    "cat": "XXX",
                    "desc": "Зарубежные порнофильмы / Full Length Movies"
                },
                {
                    "id": 1111,
                    "cat": "XXX/Pack",
                    "desc": "Паки полных фильмов / Full Length Movies Packs"
                },
                {
                    "id": 508,
                    "cat": "XXX",
                    "desc": "Классические фильмы / Classic"
                },
                {
                    "id": 555,
                    "cat": "XXX",
                    "desc": "Фильмы с сюжетом / Feature & Vignettes"
                },
                {
                    "id": 1845,
                    "cat": "XXX",
                    "desc": "Гонзо-фильмы 1991-2010 / Gonzo 1991-2010"
                },
                {
                    "id": 1673,
                    "cat": "XXX",
                    "desc": "Гонзо-фильмы 2011-2026 / Gonzo 2011-2026"
                },
                {
                    "id": 1112,
                    "cat": "XXX",
                    "desc": "Фильмы без сюжета 1991-2010 / All Sex & Amateur 1991-2010"
                },
                {
                    "id": 1718,
                    "cat": "XXX",
                    "desc": "Фильмы без сюжета 2011-2026 / All Sex & Amateur 2011-2026"
                },
                {
                    "id": 553,
                    "cat": "XXX",
                    "desc": "Лесбо-фильмы / All Girl & Solo"
                },
                {
                    "id": 1143,
                    "cat": "XXX",
                    "desc": "Этнические фильмы / Ethnic-Themed"
                },
                {
                    "id": 1646,
                    "cat": "XXX",
                    "desc": "Видео для телефонов и КПК / Pocket РС & Phone Video"
                },
                {
                    "id": 1717,
                    "cat": "XXX",
                    "desc": "Зарубежные фильмы в высоком качестве (DVD&HD) / Full Length Movies High-Quality"
                },
                {
                    "id": 1851,
                    "cat": "XXX/DVD",
                    "desc": "Эротические и Документальные видео (DVD) / Erotic, Documentary & Reality (DVD)"
                },
                {
                    "id": 1713,
                    "cat": "XXX/DVD",
                    "desc": "Фильмы с сюжетом, Классические (DVD) / Feature & Vignettes, Classic (DVD)"
                },
                {
                    "id": 512,
                    "cat": "XXX/DVD",
                    "desc": "Гонзо, Лесбо и Фильмы без сюжета (DVD) / Gonzo, All Girl & Solo, All Sex (DVD)"
                },
                {
                    "id": 1712,
                    "cat": "XXX",
                    "desc": "Эротические и Документальные видео (HD Video) / Erotic, Documentary & Reality (HD Video)"
                },
                {
                    "id": 1775,
                    "cat": "XXX",
                    "desc": "Фильмы с сюжетом, Классические (HD Video) / Feature & Vignettes, Classic (HD Video)"
                },
                {
                    "id": 1450,
                    "cat": "XXX",
                    "desc": "Гонзо, Лесбо и Фильмы без сюжета (HD Video) / Gonzo, All Girl & Solo, All Sex (HD Video)"
                },
                {
                    "id": 1674,
                    "cat": "XXX",
                    "desc": "Русское порно / Russian Video"
                },
                {
                    "id": 902,
                    "cat": "XXX",
                    "desc": "Русские порнофильмы / Russian Full Length Movies"
                },
                {
                    "id": 1675,
                    "cat": "XXX/Pack",
                    "desc": "Паки русских порнороликов / Russian Clips Packs"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "Сайтрипы с русскими актрисами 1991-2015 / Russian SiteRip's 1991-2015"
                },
                {
                    "id": 1830,
                    "cat": "XXX",
                    "desc": "Сайтрипы с русскими актрисами 1991-2015 (HD Video) / Russian SiteRip's 1991-2015 (HD Video)"
                },
                {
                    "id": 1803,
                    "cat": "XXX",
                    "desc": "Сайтрипы с русскими актрисами 2016-2025 / Russian SiteRip's 2016-2025"
                },
                {
                    "id": 1831,
                    "cat": "XXX",
                    "desc": "Сайтрипы с русскими актрисами 2016-2025 (HD Video) / Russian SiteRip's 2016-2025 (HD Video)"
                },
                {
                    "id": 1877,
                    "cat": "XXX",
                    "desc": "Сайтрипы с русскими актрисами 2026 / Russian SiteRip's 2026"
                },
                {
                    "id": 1878,
                    "cat": "XXX",
                    "desc": "Сайтрипы с русскими актрисами 2026 (HD Video) / Russian SiteRip's 2026 (HD Video)"
                },
                {
                    "id": 1741,
                    "cat": "XXX",
                    "desc": "Русские Порноролики Разное / Russian Clips (various)"
                },
                {
                    "id": 1676,
                    "cat": "XXX",
                    "desc": "Русское любительское видео / Russian Amateur Video"
                },
                {
                    "id": 1677,
                    "cat": "XXX",
                    "desc": "Зарубежные порноролики / Clips"
                },
                {
                    "id": 1780,
                    "cat": "XXX/Pack",
                    "desc": "Паки сайтрипов (HD Video) / SiteRip's Packs (HD Video)"
                },
                {
                    "id": 1110,
                    "cat": "XXX/Pack",
                    "desc": "Паки сайтрипов (SD Video) / SiteRip's Packs (SD Video)"
                },
                {
                    "id": 1678,
                    "cat": "XXX/Pack",
                    "desc": "Паки порнороликов по актрисам / Actresses Clips Packs"
                },
                {
                    "id": 1124,
                    "cat": "XXX",
                    "desc": "Сайтрипы 1991-2010 (HD Video) / SiteRip's 1991-2010 (HD Video)"
                },
                {
                    "id": 1784,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2011-2012 (HD Video) / SiteRip's 2011-2012 (HD Video)"
                },
                {
                    "id": 1769,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2013 (HD Video) / SiteRip's 2013 (HD Video)"
                },
                {
                    "id": 1793,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2014 (HD Video) / SiteRip's 2014 (HD Video)"
                },
                {
                    "id": 1797,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2015 (HD Video) / SiteRip's 2015 (HD Video)"
                },
                {
                    "id": 1804,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2016 (HD Video) / SiteRip's 2016 (HD Video)"
                },
                {
                    "id": 1819,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2017 (HD Video) / SiteRip's 2017 (HD Video)"
                },
                {
                    "id": 1825,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2018 (HD Video) / SiteRip's 2018 (HD Video)"
                },
                {
                    "id": 1836,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2019 (HD Video) / SiteRip's 2019 (HD Video)"
                },
                {
                    "id": 1842,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2020 (HD Video) / SiteRip's 2020 (HD Video)"
                },
                {
                    "id": 1846,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2021 (HD Video) / SiteRip's 2021 (HD Video)"
                },
                {
                    "id": 1857,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2022 (HD Video) / SiteRip's 2022 (HD Video)"
                },
                {
                    "id": 1861,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2023 (HD Video) / SiteRip's 2023 (HD Video)"
                },
                {
                    "id": 1867,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2024 (HD Video) / SiteRip's 2024 (HD Video)"
                },
                {
                    "id": 1872,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2025 (HD Video) / SiteRip's 2025 (HD Video)"
                },
                {
                    "id": 1875,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2026 (HD Video) / SiteRip's 2026 (HD Video)"
                },
                {
                    "id": 1451,
                    "cat": "XXX",
                    "desc": "Сайтрипы 1991-2010 / SiteRip's 1991-2010"
                },
                {
                    "id": 1788,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2011-2012 / SiteRip's 2011-2012"
                },
                {
                    "id": 1789,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2013 / SiteRip's 2013"
                },
                {
                    "id": 1792,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2014 / SiteRip's 2014"
                },
                {
                    "id": 1798,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2015 / SiteRip's 2015"
                },
                {
                    "id": 1805,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2016 / SiteRip's 2016"
                },
                {
                    "id": 1820,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2017 / SiteRip's 2017"
                },
                {
                    "id": 1826,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2018 / SiteRip's 2018"
                },
                {
                    "id": 1837,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2019 / SiteRip's 2019"
                },
                {
                    "id": 1843,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2020 / SiteRip's 2020"
                },
                {
                    "id": 1847,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2021 / SiteRip's 2021"
                },
                {
                    "id": 1856,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2022 / SiteRip's 2022"
                },
                {
                    "id": 1862,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2023 / SiteRip's 2023"
                },
                {
                    "id": 1868,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2024 / SiteRip's 2024"
                },
                {
                    "id": 1873,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2025 / SiteRip's 2025"
                },
                {
                    "id": 1876,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2026 / SiteRip's 2026"
                },
                {
                    "id": 1707,
                    "cat": "XXX",
                    "desc": "Сцены из фильмов / Movie Scenes (кроме SiteRip)"
                },
                {
                    "id": 1874,
                    "cat": "XXX",
                    "desc": "Порноролики с переводом / Clips with translation"
                },
                {
                    "id": 284,
                    "cat": "XXX",
                    "desc": "Порноролики Разное / Clips (various)"
                },
                {
                    "id": 1853,
                    "cat": "XXX",
                    "desc": "Компиляции и Музыкальные порно клипы / Compilations & Porn Music Video (PMV)"
                },
                {
                    "id": 1823,
                    "cat": "XXX",
                    "desc": "Порноролики в 3D и Virtual Reality (VR) / 3D & Virtual Reality Videos"
                },
                {
                    "id": 1800,
                    "cat": "XXX",
                    "desc": "Японское и китайское порно / Japanese & Chinese Adult Video (JAV)"
                },
                {
                    "id": 1801,
                    "cat": "XXX/Pack",
                    "desc": "Паки японских фильмов и сайтрипов / Full Length Japanese Movies Packs & SiteRip's Packs"
                },
                {
                    "id": 1719,
                    "cat": "XXX",
                    "desc": "Японские фильмы и сайтрипы (DVD и HD Video) / Japanese Movies & SiteRip's (DVD & HD Video)"
                },
                {
                    "id": 997,
                    "cat": "XXX",
                    "desc": "Японские фильмы и сайтрипы 1991-2014 / Japanese Movies & SiteRip's 1991-2014"
                },
                {
                    "id": 1818,
                    "cat": "XXX",
                    "desc": "Японские фильмы и сайтрипы 2015-2026 / Japanese Movies & SiteRip's 2015-2026"
                },
                {
                    "id": 1849,
                    "cat": "XXX",
                    "desc": "Китайские фильмы и сайтрипы (DVD и HD Video) / Chinese Movies & SiteRip's (DVD & HD Video)"
                },
                {
                    "id": 1723,
                    "cat": "XXX",
                    "desc": "Фото и журналы / Photos & Magazines"
                },
                {
                    "id": 1726,
                    "cat": "XXX",
                    "desc": "MetArt & MetModels"
                },
                {
                    "id": 883,
                    "cat": "XXX/ImageSet",
                    "desc": "Эротические студии Разное / Erotic Picture Gallery (various)"
                },
                {
                    "id": 1728,
                    "cat": "XXX/ImageSet",
                    "desc": "Любительское фото / Amateur Picture Gallery"
                },
                {
                    "id": 1729,
                    "cat": "XXX/Pack",
                    "desc": "Подборки по актрисам / Actresses Picture Packs"
                },
                {
                    "id": 38,
                    "cat": "XXX/ImageSet",
                    "desc": "Подборки сайтрипов / SiteRip's Picture Packs"
                },
                {
                    "id": 1757,
                    "cat": "XXX/ImageSet",
                    "desc": "Подборки сетов / Picture Sets Packs"
                },
                {
                    "id": 1735,
                    "cat": "XXX/ImageSet",
                    "desc": "Тематическое и нетрадиционное фото / Misc & Special Interest Picture Packs"
                },
                {
                    "id": 1731,
                    "cat": "XXX/ImageSet",
                    "desc": "Журналы / Magazines"
                },
                {
                    "id": 1745,
                    "cat": "XXX",
                    "desc": "Хентай и Манга, Мультфильмы и Комиксы, Рисунки, Аудио / Hentai & Manga, Cartoons & Comics, Artwork & Audio"
                },
                {
                    "id": 1679,
                    "cat": "XXX",
                    "desc": "Хентай: основной подраздел / Hentai: main subsection"
                },
                {
                    "id": 1740,
                    "cat": "XXX",
                    "desc": "Хентай в высоком качестве (DVD и HD) / Hentai DVD & HD"
                },
                {
                    "id": 1834,
                    "cat": "XXX",
                    "desc": "Хентай: ролики 2D / Hentai: 2D video"
                },
                {
                    "id": 1752,
                    "cat": "XXX",
                    "desc": "Хентай: ролики 3D / Hentai: 3D video"
                },
                {
                    "id": 1760,
                    "cat": "XXX",
                    "desc": "Хентай: Манга / Hentai: Manga"
                },
                {
                    "id": 1781,
                    "cat": "XXX",
                    "desc": "Хентай: Арт и HCG / Hentai: Artwork & HCG"
                },
                {
                    "id": 1711,
                    "cat": "XXX",
                    "desc": "Мультфильмы / Cartoons"
                },
                {
                    "id": 1296,
                    "cat": "XXX",
                    "desc": "Комиксы, рисунки, аудио / Comics, Artwork & Audio"
                },
                {
                    "id": 1863,
                    "cat": "XXX",
                    "desc": "Обсуждение / Discussion"
                },
                {
                    "id": 1838,
                    "cat": "XXX",
                    "desc": "Игры / Games"
                },
                {
                    "id": 1750,
                    "cat": "XXX",
                    "desc": "Игры: основной подраздел / Games: main subsection"
                },
                {
                    "id": 1756,
                    "cat": "XXX",
                    "desc": "Игры: визуальные новеллы (профессиональная студия) / Games: Visual Novels (Pro)"
                },
                {
                    "id": 1869,
                    "cat": "XXX",
                    "desc": "Игры: визуальные новеллы (независимый разработчик) / Games: Visual Novels (Indie)"
                },
                {
                    "id": 1785,
                    "cat": "XXX",
                    "desc": "Игры: ролевые / Games: role-playing [RPG Maker / WOLF RPG Editor]"
                },
                {
                    "id": 1790,
                    "cat": "XXX",
                    "desc": "Игры и Софт: Анимация / Software: Animation"
                },
                {
                    "id": 1827,
                    "cat": "XXX",
                    "desc": "Игры: В разработке и Демо (основной подраздел) / Games: In Progress and Demo (main subsection)"
                },
                {
                    "id": 1870,
                    "cat": "XXX",
                    "desc": "Игры: В разработке и Демо (визуальные новеллы - независимый разработчик) / Games: In Progress and Demo (visual novels - Indie)"
                },
                {
                    "id": 1828,
                    "cat": "XXX",
                    "desc": "Игры: В разработке и Демо (ролевые) / Games: In Progress and Demo (role-playing) [RPG Maker / WOLF RPG Editor]"
                },
                {
                    "id": 1829,
                    "cat": "XXX",
                    "desc": "Обсуждение игр / Games Discussion"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "Нетрадиционное порно / Special Interest Movies & Clips"
                },
                {
                    "id": 1715,
                    "cat": "XXX",
                    "desc": "Транссексуалы (DVD и HD) / Transsexual (DVD & HD)"
                },
                {
                    "id": 1680,
                    "cat": "XXX",
                    "desc": "Транссексуалы / Transsexual"
                },
                {
                    "id": 1758,
                    "cat": "XXX",
                    "desc": "Бисексуалы / Bisexual"
                },
                {
                    "id": 1682,
                    "cat": "XXX",
                    "desc": "БДСМ / BDSM"
                },
                {
                    "id": 1733,
                    "cat": "XXX",
                    "desc": "Женское доминирование и страпон / Femdom & Strapon"
                },
                {
                    "id": 1754,
                    "cat": "XXX",
                    "desc": "Подглядывание / Voyeur"
                },
                {
                    "id": 1734,
                    "cat": "XXX",
                    "desc": "Фистинг и дилдо / Fisting & Dildo"
                },
                {
                    "id": 1791,
                    "cat": "XXX",
                    "desc": "Беременные / Pregnant"
                },
                {
                    "id": 509,
                    "cat": "XXX",
                    "desc": "Буккаке / Bukkake"
                },
                {
                    "id": 1859,
                    "cat": "XXX",
                    "desc": "Гэнг-бэнг / GangBang"
                },
                {
                    "id": 1685,
                    "cat": "XXX",
                    "desc": "Мочеиспускание / Peeing"
                },
                {
                    "id": 1762,
                    "cat": "XXX",
                    "desc": "Фетиш / Fetish"
                },
                {
                    "id": 1681,
                    "cat": "XXX",
                    "desc": "Дефекация / Scat"
                },
                {
                    "id": 1688,
                    "cat": "XXX",
                    "desc": "Гей-порно / Gay Forum"
                },
                {
                    "id": 903,
                    "cat": "XXX",
                    "desc": "Полнометражные гей-фильмы / Full Length Movies (Gay)"
                },
                {
                    "id": 1765,
                    "cat": "XXX",
                    "desc": "Полнометражные азиатские гей-фильмы / Full-length Asian Films (Gay)"
                },
                {
                    "id": 1767,
                    "cat": "XXX",
                    "desc": "Классические гей-фильмы (до 1990 года) / Classic Gay Films (Pre-1990's)"
                },
                {
                    "id": 1755,
                    "cat": "XXX",
                    "desc": "Гей-фильмы в высоком качестве (DVD и HD) / High-Quality Full Length Movies (Gay DVD & HD)"
                },
                {
                    "id": 1787,
                    "cat": "XXX",
                    "desc": "Азиатские гей-фильмы в высоком качестве (DVD и HD) / High-Quality Full Length Asian Movies (Gay DVD & HD)"
                },
                {
                    "id": 1763,
                    "cat": "XXX/Pack",
                    "desc": "ПАКи гей-роликов и сайтрипов / Clip's & SiteRip's Packs (Gay)"
                },
                {
                    "id": 1777,
                    "cat": "XXX",
                    "desc": "Гей-ролики в высоком качестве (HD Video) / Gay Clips (HD Video)"
                },
                {
                    "id": 1691,
                    "cat": "XXX",
                    "desc": "Ролики, SiteRip'ы и сцены из гей-фильмов / Clips & Movie Scenes (Gay)"
                },
                {
                    "id": 1692,
                    "cat": "XXX/ImageSet",
                    "desc": "Гей-журналы, фото, разное / Magazines, Photo, Rest (Gay)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "login": {
            "path": "forum/login.php",
            "method": "form",
            "form": "form[action=\"/forum/login.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[src^=\"//static.pornolab.net/captcha/\"]",
                "input": "input[name^=\"cap_code_\"]"
            },
            "inputs": {
                "input[name=\"login_username\"]": "{{ .Config.username }}",
                "input[name=\"login_password\"]": "{{ .Config.password }}"
            },
            "selectors": true,
            "selectorinputs": {
                "cap_sid": {
                    "selector": "input[name=\"cap_sid\"]",
                    "attribute": "value",
                    "optional": true
                }
            },
            "error": [
                {
                    "selector": "div:contains(\"Форум временно отключен\")"
                },
                {
                    "selector": "h4.warnColor1.tCenter.mrg_16"
                }
            ],
            "test": {
                "path": "forum/index.php",
                "selector": "div.topmenu a[onclick*=logout]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "forum/tracker.php"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "nm": "{{ .Keywords }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\W+",
                        " "
                    ]
                },
                {
                    "name": "trim"
                }
            ],
            "rows": {
                "selector": "table#tor-tbl > tbody > tr:has(a.tr-dl)"
            },
            "fields": {
                "category": {
                    "selector": "a.f",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "title": {
                    "selector": "a.tLink",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "trim"
                        }
                    ]
                },
                "details": {
                    "selector": "a.tLink",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.tr-dl",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(6) u"
                },
                "date": {
                    "selector": "td:nth-child(11) u"
                },
                "seeders": {
                    "selector": "td.seedmed > b",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.leechmed > b"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.31
                }
            }
        }
    },
    "pornotorrent": {
        "id": "pornotorrent",
        "name": "PornoTorrent",
        "description": "PornoTorrent is a BRAZILIAN Public Torrent Tracker for 3X",
        "language": "pt-BR",
        "type": "public",
        "encoding": "UTF-8",
        "testlinktorrent": false,
        "links": [
            "https://pornotorrent.com.br/"
        ],
        "legacylinks": [
            "https://www.pornotorrent.eu/",
            "https://pornotorrent.net.br/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "XXX",
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "s": "{{ .Keywords }}",
                "cat": 0
            },
            "rows": {
                "selector": "article.cp-card"
            },
            "fields": {
                "category": {
                    "text": "XXX"
                },
                "title": {
                    "selector": "h3.cp-card__title"
                },
                "details": {
                    "selector": "h3.cp-card__title > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "h3.cp-card__title > a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "text": "5GB"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "span:has(span.cm-ico-clock)"
                }
            }
        }
    },
    "pornrips": {
        "id": "pornrips",
        "name": "PornRips",
        "description": "PornRips is a Public site for 3X",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://pornrips.to/"
        ],
        "caps": {
            "categories": {
                "XXX": "XXX"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a[href*=\"/torrents/\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "s": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "article:has(a)",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": "XXX"
                },
                "title": {
                    "selector": ".entry-title"
                },
                "details": {
                    "selector": ".entry-title > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": ".entry-title > a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "data-src"
                },
                "date": {
                    "selector": "time",
                    "attribute": "datetime"
                },
                "size": {
                    "selector": "p",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+ [M|G]i?B)"
                        }
                    ]
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "portugas-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "portugas-api",
        "name": "Portugas (API)",
        "description": "Portugas is a PORTUGUESE Private Torrent Tracker for 0DAY / GENERAL",
        "language": "pt-PT",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://portugas.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Filmes"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Músicas"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Jogos"
                },
                {
                    "id": 5,
                    "cat": "PC/0day",
                    "desc": "Appz"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 9,
                    "cat": "Books",
                    "desc": "E-Books"
                },
                {
                    "id": 10,
                    "cat": "Movies",
                    "desc": "Animação Filmes"
                },
                {
                    "id": 11,
                    "cat": "TV/Anime",
                    "desc": "Animação TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://portugas.org/\" target=\"_blank\">Portugas</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "All users must log into their account at least once every 60 days, otherwise the account will be deactivated."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "_audiopt": {
                    "selector": "audio_pt",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}{{ if .Result._audiopt }} Portuguese PT-PT{{ else }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^None$",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Ficção científica)",
                                "Ficção_científica"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Cinema TV)",
                                "Cinema_TV"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "postman": {
        "id": "postman",
        "name": "Postman",
        "description": "Postman is a Public I2P Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 4,
        "links": [
            "http://tracker2.postman.i2p/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 3,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 5,
                    "cat": "PC/0day",
                    "desc": "Apps"
                },
                {
                    "id": 6,
                    "cat": "Other/Misc",
                    "desc": "Misc."
                },
                {
                    "id": 8,
                    "cat": "TV",
                    "desc": "Pictures"
                },
                {
                    "id": 9,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 10,
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": 24,
                    "cat": "Audio/Other",
                    "desc": "Podcasts"
                },
                {
                    "id": 11,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 17,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Books"
                },
                {
                    "id": 20,
                    "cat": "Books/EBook",
                    "desc": "E-Books"
                },
                {
                    "id": 21,
                    "cat": "Other",
                    "desc": "Course/Lesson"
                },
                {
                    "id": 22,
                    "cat": "Other",
                    "desc": "Essay/Op-Ed"
                },
                {
                    "id": 23,
                    "cat": "Other",
                    "desc": "Cad/3D Printing"
                },
                {
                    "id": 13,
                    "cat": "Audio/Video",
                    "desc": "Music Vid."
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Pr0n"
                },
                {
                    "id": 15,
                    "cat": "TV/Documentary",
                    "desc": "Documentary"
                },
                {
                    "id": 16,
                    "cat": "Other",
                    "desc": "Leaked Documents"
                },
                {
                    "id": 18,
                    "cat": "Other",
                    "desc": "Conspiracy"
                },
                {
                    "id": 19,
                    "cat": "Other",
                    "desc": "Religious Content"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_i2p",
                "type": "info",
                "label": "I2P",
                "default": "To use this indexer you need I2P services. The site is not available on the regular WEB network."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "5": "seeders",
                    "7": "size"
                }
            }
        ],
        "login": {
            "path": "index.php?view=Main",
            "selectorinputs": {
                "formtoken": {
                    "selector": "input[name=\"formtoken\"]",
                    "attribute": "value"
                }
            },
            "test": {
                "path": "/",
                "selector": "a[href^=\"index.php?view=Login\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "allowEmptyInputs": true,
            "inputs": {
                "view": "Main",
                "search": "{{ .Keywords }}",
                "category": -1,
                "orderby": "{{ .Config.sort }}",
                "lastactive": -1,
                "lang": -1
            },
            "rows": {
                "selector": "table#torrentView tbody tr"
            },
            "fields": {
                "category": {
                    "selector": "td.category a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "td.torrentname a",
                    "attribute": "title"
                },
                "details": {
                    "selector": "td.torrentname a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"index.php?action=Download&id=\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt\"]",
                    "attribute": "href"
                },
                "description": {
                    "selector": "td.torrentname span"
                },
                "imdbid": {
                    "text": "{{ .Result.description }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(https?:\\/\\/www\\.imdb\\.com\\/title\\/tt\\d+)"
                        }
                    ]
                },
                "tmdbid": {
                    "text": "{{ .Result.description }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(https?:\\/\\/www\\.themoviedb\\.org\\/(movie|tv)\\/.+?)\\n"
                        }
                    ]
                },
                "date": {
                    "selector": "td.added",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd"
                        }
                    ]
                },
                "files": {
                    "selector": "span.filecount"
                },
                "size": {
                    "selector": "span.size",
                    "remove": "span",
                    "filters": [
                        {
                            "name": "append",
                            "args": "B"
                        }
                    ]
                },
                "grabs": {
                    "selector": "span.badge.downloadcount"
                },
                "seeders": {
                    "selector": "span.swarm",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "span.swarm",
                    "remove": "span",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                1
                            ]
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "postman-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "postman-api",
        "name": "Postman (API)",
        "description": "Postman is a Semi-Private I2P Torrent Tracker for MOVIES / TV / GENERAL. This indexer uses the API for login.",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "requestDelay": 6,
        "links": [
            "http://tracker2.postman.i2p/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 3,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 5,
                    "cat": "PC/0day",
                    "desc": "Apps"
                },
                {
                    "id": 6,
                    "cat": "Other/Misc",
                    "desc": "Misc."
                },
                {
                    "id": 8,
                    "cat": "TV",
                    "desc": "Pictures"
                },
                {
                    "id": 9,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 10,
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": 24,
                    "cat": "Audio/Other",
                    "desc": "Podcasts"
                },
                {
                    "id": 11,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 17,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Books"
                },
                {
                    "id": 20,
                    "cat": "Books/EBook",
                    "desc": "E-Books"
                },
                {
                    "id": 21,
                    "cat": "Other",
                    "desc": "Course/Lesson"
                },
                {
                    "id": 22,
                    "cat": "Other",
                    "desc": "Essay/Op-Ed"
                },
                {
                    "id": 23,
                    "cat": "Other",
                    "desc": "Cad/3D Printing"
                },
                {
                    "id": 13,
                    "cat": "Audio/Video",
                    "desc": "Music Vid."
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Pr0n"
                },
                {
                    "id": 15,
                    "cat": "TV/Documentary",
                    "desc": "Documentary"
                },
                {
                    "id": 16,
                    "cat": "Other",
                    "desc": "Leaked Documents"
                },
                {
                    "id": 18,
                    "cat": "Other",
                    "desc": "Conspiracy"
                },
                {
                    "id": 19,
                    "cat": "Other",
                    "desc": "Religious Content"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_i2p",
                "type": "info",
                "label": "I2P",
                "default": "To use this indexer you need I2P services. The site is not available on the regular WEB network."
            },
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"http://tracker2.postman.i2p/\" target=\"_blank\">Postman</a> account <i>Preferences</i> page."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "5": "seeders",
                    "7": "size"
                }
            }
        ],
        "login": {
            "path": "api/meta/session",
            "method": "get",
            "error": [
                {
                    "selector": ":root:contains(\"403\")",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"429\"):contains(\"daily quota\")",
                    "message": {
                        "text": "You have exceeded your daily quota, you have to wait until 00:00 UTC next day."
                    }
                },
                {
                    "selector": ":root:contains(\"429\"):contains(\"rate limit\")",
                    "message": {
                        "text": "API is temporary unavailable due to rate limiting. Try going slower please!"
                    }
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "name": "{{ .Keywords }}",
                "sort_id": "{{ .Config.sort }}",
                "filter_id": -1,
                "catfilter_id": -1,
                "entries": 100
            },
            "headers": {
                "X-Postman-Token": [
                    "{{ .Config.apikey }}"
                ]
            },
            "rows": {
                "selector": "torrents",
                "count": {
                    "selector": "available_entries"
                }
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title": {
                    "selector": "name"
                },
                "download_link": {
                    "selector": "download_link"
                },
                "download": {
                    "text": "/{{ .Result.download_link }}"
                },
                "details": {
                    "text": "{{ .Result.download }}",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "action=Download",
                                "view=TorrentDetail"
                            ]
                        }
                    ]
                },
                "magnet": {
                    "selector": "magnet_link"
                },
                "date": {
                    "selector": "added",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss"
                        }
                    ]
                },
                "files": {
                    "selector": "file_count"
                },
                "size": {
                    "selector": "size"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "proaudiotorrents": {
        "credentials": {
            "cookie": ""
        },
        "id": "proaudiotorrents",
        "name": "ProAudioTorrents",
        "description": "ProAudioTorrents (PAT) is a Private Torrent Tracker for AUDIO SOFTWARE / SAMPLES / TUTORIALS / ETC",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://proaudiotorrents.org/"
        ],
        "legacylinks": [
            "http://proaudiotorrents.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 24,
                    "cat": "PC/0day",
                    "desc": "DJ Applications"
                },
                {
                    "id": 3,
                    "cat": "Books/EBook",
                    "desc": "Ebooks"
                },
                {
                    "id": 4,
                    "cat": "PC",
                    "desc": "Expansions & Addons"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "HYBRID PC/MAC"
                },
                {
                    "id": 26,
                    "cat": "Other",
                    "desc": "Independent"
                },
                {
                    "id": 19,
                    "cat": "PC",
                    "desc": "Linux Plugins"
                },
                {
                    "id": 2,
                    "cat": "PC/Mac",
                    "desc": "Mac Audio Apps"
                },
                {
                    "id": 15,
                    "cat": "PC/Mac",
                    "desc": "Mac Updates"
                },
                {
                    "id": 22,
                    "cat": "PC/Mac",
                    "desc": "Mac VST Fx"
                },
                {
                    "id": 21,
                    "cat": "PC/Mac",
                    "desc": "Mac VST Instrument"
                },
                {
                    "id": 6,
                    "cat": "Other/Misc",
                    "desc": "Misc / Other"
                },
                {
                    "id": 20,
                    "cat": "TV/Documentary",
                    "desc": "Music Documentary"
                },
                {
                    "id": 18,
                    "cat": "TV/Documentary",
                    "desc": "Musical Training"
                },
                {
                    "id": 1,
                    "cat": "PC/0day",
                    "desc": "PC Audio Apps"
                },
                {
                    "id": 14,
                    "cat": "PC/0day",
                    "desc": "PC Updates"
                },
                {
                    "id": 16,
                    "cat": "Other",
                    "desc": "Refills"
                },
                {
                    "id": 7,
                    "cat": "PC",
                    "desc": "RTAS"
                },
                {
                    "id": 8,
                    "cat": "Audio",
                    "desc": "Samples / Libraries"
                },
                {
                    "id": 12,
                    "cat": "Audio",
                    "desc": "SFX"
                },
                {
                    "id": 9,
                    "cat": "TV/Documentary",
                    "desc": "Software Tutorials"
                },
                {
                    "id": 11,
                    "cat": "PC",
                    "desc": "VST Instruments"
                },
                {
                    "id": 13,
                    "cat": "PC",
                    "desc": "VST Plug-ins"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "down",
                "options": {
                    "down": "desc",
                    "up": "asc"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "How long does my account stay if it is inactive?",
                "default": "12 weeks exactly. You will need to log in before that amount of time has elapsed to keep your account active."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "my.php",
                "selector": "a[href=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "cat": 0,
                "search": "{{ .Keywords }}",
                "searchin": 0,
                "incldead": 1,
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "tr.ttable:has(a[href^=\"browse.php?cat=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "td:nth-child(2) a",
                    "attribute": "title"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "date": {
                    "selector": "td:nth-child(2)",
                    "remove": "a",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Uploaded ",
                                ""
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "proporno": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "proporno",
        "name": "ProPorno",
        "description": "ProPorno is a RUSSIAN Semi-Private tracker for 3X",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://proporno.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2,
                    "cat": "XXX",
                    "desc": "порно видео"
                },
                {
                    "id": 4,
                    "cat": "XXX",
                    "desc": "Порно с блондинками"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "лесбиянки"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "эротика"
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "груповушка"
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "анальный секс"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "Молодые девушки"
                },
                {
                    "id": 24,
                    "cat": "XXX",
                    "desc": "Минет / куннилингус / оральный секс"
                },
                {
                    "id": 25,
                    "cat": "XXX",
                    "desc": "большая грудь"
                },
                {
                    "id": 28,
                    "cat": "XXX",
                    "desc": "порно видео зрелых"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "видео кастинг"
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "девушки с красивыми попами"
                },
                {
                    "id": 33,
                    "cat": "XXX",
                    "desc": "порно с мулатками"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "любительское видео"
                },
                {
                    "id": 3,
                    "cat": "XXX",
                    "desc": "порно фильмы"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "зарубежные порно фильмы"
                },
                {
                    "id": 31,
                    "cat": "XXX",
                    "desc": "фильмы с русским переводом"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "русское порно видео"
                },
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "убойная эротика"
                },
                {
                    "id": 26,
                    "cat": "XXX",
                    "desc": "онлайн порно"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                }
            ]
        },
        "login": {
            "path": "/",
            "method": "form",
            "form": "form[onSubmit]",
            "inputs": {
                "login_name": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "login": "submit"
            },
            "error": [
                {
                    "selector": "div.berrors:contains(\"Ошибка авторизации\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href$=\"/index.php?action=logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "do": "search",
                "subaction": "search",
                "story": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "titleonly": "{{ if .Keywords }}3{{ else }}0{{ end }}",
                "sortby": "date",
                "resorder": "desc",
                "showposts": 0,
                "$raw": "{{ range .Categories }}catlist[]={{.}}&{{end}}"
            },
            "rows": {
                "selector": "div.goods-777:has(div.inmy), div.goods-7777:has(div.mini)",
                "after": 1
            },
            "fields": {
                "categorydesc_optional": {
                    "selector": "div.inmy > a:last-of-type",
                    "optional": true
                },
                "categorydesc": {
                    "text": "{{ if .Result.categorydesc_optional }}{{ .Result.categorydesc_optional }}{{ else }}порно видео{{ end }}"
                },
                "title": {
                    "selector": "div.news_text > a"
                },
                "details": {
                    "selector": "div.news_text > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "div.news_text > a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[src*=\"/uploads/posts/\"]",
                    "attribute": "src"
                },
                "date_day": {
                    "selector": "div.mini:contains(\"Сегодня\"), div.mini:contains(\"Вчера\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "((Вчера|Сегодня)(, \\d{2}:\\d{2}))"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Вчера",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Сегодня",
                                "Today"
                            ]
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.mini:contains(\"-\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{1,2}-\\d{2}-\\d{4}, \\d{2}:\\d{2})"
                        },
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "d-MM-yyyy, HH:mm zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "size": {
                    "text": "1 GB"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "ptcafe": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "ptcafe",
        "name": "PTCafe (咖啡)",
        "description": "PTCafe (咖啡) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://ptcafe.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "剧集"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the PTCafe Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Retention rules:<ol><li>[Veteran User] and above will be retained forever.</li><li>[Elite User] and above will not be deleted after their accounts are blocked.</li><li>Users with a parked account will be banned if they do not log in for 365 consecutive days.</li><li>Users with a non-parked account will be banned if they do not log in for 180 consecutive days.</li><li>Newly registered accounts will be banned by the system if they have no traffic within 14 days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))",
                    "message": {
                        "selector": "td.text"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.8
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "ptcc": {
        "credentials": {
            "cookie": ""
        },
        "id": "ptcc",
        "name": "PTCC (我的PT)",
        "description": "PTCC (我的PT) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://cc.mypt.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/剧集"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/节目"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "DOCU/纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动画片"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MTV/演唱会/唱片"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/运动/体育"
                },
                {
                    "id": 408,
                    "cat": "TV/Other",
                    "desc": "Playlet/短剧"
                },
                {
                    "id": 409,
                    "cat": "Movies/Other",
                    "desc": "Opera/戏曲"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users with no traffic (i.e. upload/download data is 0) will be deleted if they have not logged in for more than 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "pterclub": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "pterclub",
        "name": "PTerClub (PT之友俱乐部)",
        "description": "PTerClub (PT之友俱乐部) is a CHINESE Private Torrent Tracker for HD MUSIC VIDEOS / MOVIES / TV / ANIME",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pterclub.net/"
        ],
        "legacylinks": [
            "https://pterclub.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影 (Movie)"
                },
                {
                    "id": 404,
                    "cat": "TV",
                    "desc": "电视剧 (TV Play)"
                },
                {
                    "id": 403,
                    "cat": "TV/Anime",
                    "desc": "动漫 (Anime)"
                },
                {
                    "id": 405,
                    "cat": "TV",
                    "desc": "综艺 (TV Show)"
                },
                {
                    "id": 413,
                    "cat": "Audio/Video",
                    "desc": "音乐短片 (MV)"
                },
                {
                    "id": 418,
                    "cat": "Audio/Video",
                    "desc": "舞台演出(Stage Performance)"
                },
                {
                    "id": 406,
                    "cat": "Audio",
                    "desc": "音乐 (Music)"
                },
                {
                    "id": 402,
                    "cat": "TV/Documentary",
                    "desc": "纪录片 (Documentary)"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育 (Sport)"
                },
                {
                    "id": 408,
                    "cat": "Books",
                    "desc": "电子书 (Ebook)"
                },
                {
                    "id": 409,
                    "cat": "Console",
                    "desc": "游戏 (Game)"
                },
                {
                    "id": 410,
                    "cat": "PC",
                    "desc": "软件 (Software)"
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": "学习 (Study)"
                },
                {
                    "id": 412,
                    "cat": "Other",
                    "desc": "其它 (Other)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>All accounts will be permanently protected and will not be deleted; however, due to site security, some users will be temporarily banned due to activity rules</li><li>New users with no traffic changes will be disabled after 7 days of registration (not the actual download volume)</li><li>Those who download free torrents without generating any upload volume, or simply auxiliary torrents that generate magic power without any uploads will still be banned</li><li>Users with a non-parked account will be disabled if they do not log in for 60 consecutive days</li><li>Users with a parked account will be disabled if they do not log in for 180 consecutive days</li><li>Angora/Veteran User and above will not be disabled after parking</li><li>Sichuan Jianzhou Cat/Nexus Master users and above will be retained forever.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php?&noredir=1",
                "selector": "a[data-url=\"logout.php\"]"
            }
        },
        "search": {
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}5{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"], a[href^=\"detailsgame.php?\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"], a[title][href^=\"detailsgame.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"], a[href^=\"detailsgame.php?\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-orig]",
                    "attribute": "data-orig"
                },
                "imdbid": {
                    "selector": "a[href$=\"&search_area=4\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href$=\"&search_area=5\"]",
                    "attribute": "href"
                },
                "_anchor1": {
                    "selector": "td:has(a[href^=\"comment.php?\"])",
                    "optional": true
                },
                "date_elapsed": {
                    "selector": "td:has(a[{{ if .Result._anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:has(a[{{ if .Result._anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td:not(:has(span[title]))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:has(a[{{ if .Result._anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td ~ td"
                },
                "seeders": {
                    "selector": "td:has(a[{{ if .Result._anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td ~ td ~ td"
                },
                "leechers": {
                    "selector": "td:has(a[{{ if .Result._anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td ~ td ~ td ~ td"
                },
                "grabs": {
                    "selector": "td:has(a[{{ if .Result._anchor1 }}href^=\"comment.php\"{{ else }}href$=\"startcomments\"{{ end }}]) ~ td ~ td ~ td ~ td ~ td"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.9
                },
                "description": {
                    "selector": "td.embedded > div > div:nth-child(2) > span"
                }
            }
        }
    },
    "ptfans": {
        "credentials": {
            "cookie": ""
        },
        "id": "ptfans",
        "name": "PTFans",
        "description": "PTFans is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://ptfans.cc/"
        ],
        "legacylinks": [
            "https://cusat.win/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影",
                    "default": true
                },
                {
                    "id": 404,
                    "cat": "TV",
                    "desc": "TV Series/电视剧",
                    "default": true
                },
                {
                    "id": 405,
                    "cat": "TV",
                    "desc": "TV Shows/综艺",
                    "default": true
                },
                {
                    "id": 406,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片",
                    "default": true
                },
                {
                    "id": 403,
                    "cat": "TV/Sport",
                    "desc": "Sport/体育、竞技、武术及相关",
                    "default": true
                },
                {
                    "id": 409,
                    "cat": "PC/Games",
                    "desc": "Games/游戏及相关",
                    "default": true
                },
                {
                    "id": 407,
                    "cat": "Audio",
                    "desc": "Music/音乐、专辑、MV、演唱会",
                    "default": true
                },
                {
                    "id": 408,
                    "cat": "Other",
                    "desc": "Art/曲艺、相声、小品、戏曲、舞蹈、歌剧、评书等",
                    "default": true
                },
                {
                    "id": 410,
                    "cat": "Other",
                    "desc": "Science/科学、知识、技能",
                    "default": true
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": "School/应试、考级、职称、初中以上教育",
                    "default": true
                },
                {
                    "id": 412,
                    "cat": "Books/EBook",
                    "desc": "Book/书籍、杂志、报刊、有声书",
                    "default": true
                },
                {
                    "id": 413,
                    "cat": "Other",
                    "desc": "Code/IT技术、建模、编程、信息技术、大数据、人工智能",
                    "default": true
                },
                {
                    "id": 414,
                    "cat": "TV/Anime",
                    "desc": "Animate/3D动画、2.5次元",
                    "default": true
                },
                {
                    "id": 415,
                    "cat": "Other",
                    "desc": "ACGN/二次元、漫画",
                    "default": true
                },
                {
                    "id": 416,
                    "cat": "Other",
                    "desc": "Baby/婴幼、儿童、早教、小学及相关",
                    "default": true
                },
                {
                    "id": 417,
                    "cat": "Other",
                    "desc": "Resource/素材、数据、图片、文档、模板",
                    "default": true
                },
                {
                    "id": 418,
                    "cat": "PC/0day",
                    "desc": "Software/软件、系统、 程序、APP等",
                    "default": true
                },
                {
                    "id": 420,
                    "cat": "XXX",
                    "desc": "步兵(步兵/无码)",
                    "default": false
                },
                {
                    "id": 421,
                    "cat": "XXX",
                    "desc": "骑兵(骑兵/有码)",
                    "default": false
                },
                {
                    "id": 422,
                    "cat": "XXX",
                    "desc": "三级(三级片、限制级电影)",
                    "default": false
                },
                {
                    "id": 424,
                    "cat": "XXX",
                    "desc": "H游(游戏及相关)",
                    "default": false
                },
                {
                    "id": 423,
                    "cat": "XXX",
                    "desc": "H漫(动漫、漫画)",
                    "default": false
                },
                {
                    "id": 425,
                    "cat": "XXX",
                    "desc": "H书(书籍、有声书)",
                    "default": false
                },
                {
                    "id": 426,
                    "cat": "XXX",
                    "desc": "H图(写真、图片、私拍、短视频）",
                    "default": false
                },
                {
                    "id": 427,
                    "cat": "XXX",
                    "desc": "H音(ASMR、音频、音乐)",
                    "default": false
                },
                {
                    "id": 428,
                    "cat": "XXX",
                    "desc": "H综(综艺、综合、剪辑、其他等)",
                    "default": false
                },
                {
                    "id": 429,
                    "cat": "XXX",
                    "desc": "H同(男同、女同、人妖)",
                    "default": false
                },
                {
                    "id": 419,
                    "cat": "Other",
                    "desc": "Other(其它，确认上边分类无)",
                    "default": true
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        401,
                        403,
                        404,
                        405,
                        406,
                        407,
                        408,
                        409,
                        410,
                        411,
                        412,
                        413,
                        414,
                        415,
                        416,
                        417,
                        418,
                        419
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        420,
                        421,
                        422,
                        423,
                        424,
                        425,
                        426,
                        427,
                        428,
                        429
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "ptfiles": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "ptfiles",
        "name": "PTFiles",
        "description": "PTFiles (PTF) is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "windows-1252",
        "certificates": [
            "18e07892474429b99f7f9a20768792d31234433e"
        ],
        "links": [
            "https://ptfiles.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 19,
                    "cat": "Movies/SD",
                    "desc": "Movies/XviD"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Movies/DVD-R"
                },
                {
                    "id": 60,
                    "cat": "Movies/SD",
                    "desc": "Movies/SD X264"
                },
                {
                    "id": 23,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 1,
                    "cat": "PC/0day",
                    "desc": "Apps"
                },
                {
                    "id": 55,
                    "cat": "Books",
                    "desc": "Comics"
                },
                {
                    "id": 5,
                    "cat": "Movies/HD",
                    "desc": "Movies/720p HD"
                },
                {
                    "id": 8,
                    "cat": "Movies/HD",
                    "desc": "Movies/1080p HD"
                },
                {
                    "id": 15,
                    "cat": "Movies/UHD",
                    "desc": "Movies/Ultra-HD"
                },
                {
                    "id": 44,
                    "cat": "Movies",
                    "desc": "Movies/Packs"
                },
                {
                    "id": 69,
                    "cat": "Books",
                    "desc": "E Books"
                },
                {
                    "id": 12,
                    "cat": "Books",
                    "desc": "E Learning"
                },
                {
                    "id": 11,
                    "cat": "PC/Mac",
                    "desc": "Mac OS"
                },
                {
                    "id": 7,
                    "cat": "TV/SD",
                    "desc": "TV/XviD Episodes"
                },
                {
                    "id": 42,
                    "cat": "TV/SD",
                    "desc": "TV/SD X264 Episodes"
                },
                {
                    "id": 33,
                    "cat": "TV/HD",
                    "desc": "TV/HD Episodes"
                },
                {
                    "id": 22,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 24,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 39,
                    "cat": "TV",
                    "desc": "TV/Seasons"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Games/PC"
                },
                {
                    "id": 29,
                    "cat": "Console",
                    "desc": "Games/Consoles"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": 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"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "You must login to the site at least every 119 days. If you get to the 120th day without logging in, your account will be Deleted/Pruned automatically by the system."
            }
        ],
        "login": {
            "path": "loginproc/",
            "method": "form",
            "form": "form#login",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "force_ssl": true,
                "ssl": ""
            },
            "selectorinputs": {
                "hash": {
                    "selector": "input[name=\"hash\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "p.error:contains(strong)"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"&logout_hash=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "title": "{{ if .Query.IMDBID }}1{{ else }}0{{ end }}",
                "free": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table#tortable > tbody > tr.rowhead:has(a[href^=\"dl.php/\"]), table#tablethree > tbody > tr.rowhead:has(a[href^=\"dl.php/\"])"
            },
            "fields": {
                "download": {
                    "selector": "a[href^=\"dl.php/\"]",
                    "attribute": "href"
                },
                "title": {
                    "selector": "a.torrentlink",
                    "attribute": "title"
                },
                "category": {
                    "selector": "td[onclick*=\"browse.php?cat=\"]",
                    "attribute": "onclick",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        },
                        {
                            "name": "trim",
                            "args": "'"
                        }
                    ]
                },
                "details": {
                    "selector": "a.torrentlink",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(3) > span",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([\\d\\.]+)"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(3)",
                    "remove": "span"
                },
                "seeders": {
                    "selector": "td:nth-last-child(2) > span > b:nth-child(1)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2) > span > b:nth-child(2)"
                },
                "date": {
                    "selector": "td:nth-child(2) > span > span > small",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Uploaded: ",
                                ""
                            ]
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        ":root:has(div.rounded_colhead2:contains(\"w00t It's Crazyhour!\"))": 0,
                        "span.tool:contains(\"[FREE]\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        ":root:has(div.rounded_colhead2:contains(\"w00t It's Crazyhour!\"))": 3,
                        "*": 1
                    }
                },
                "genre": {
                    "selector": "td:nth-child(2) > span:has(span > small)",
                    "remove": "span:nth-child(1), span.tool, a[title^=\"Search all\"], br ~ b > small"
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "ptgtk": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "ptgtk",
        "name": "PT GTK",
        "description": "PT GTK is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.gtkpw.xyz/"
        ],
        "legacylinks": [
            "https://pt.gtk.pw/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies(电影)"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries(纪录片)"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations(动画)"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series(剧集)"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows(综艺)"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos(MV)"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports(运动题材)"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc(其他)"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio(高清音频)"
                },
                {
                    "id": 410,
                    "cat": "Books",
                    "desc": "Book(图书)"
                },
                {
                    "id": 411,
                    "cat": "Audio",
                    "desc": "Music Album(音乐专辑)"
                },
                {
                    "id": 412,
                    "cat": "Other",
                    "desc": "Education(资料)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the PT GTK Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted</li><li>Elite User or above would never be deleted if parked (at User CP)</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row</li><li>Un-parked accounts would be deleted if users have not logged in for more than 150 days in a row</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "pthome": {
        "credentials": {
            "cookie": ""
        },
        "id": "pthome",
        "name": "PThome",
        "description": "PTHome is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "followredirect": true,
        "links": [
            "https://www.pthome.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies(电影)"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries(记录片)"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations(动漫)"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series(电视剧)"
                },
                {
                    "id": 403,
                    "cat": "TV/Other",
                    "desc": "TV Shows(综艺)"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos(MV)"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports(体育)"
                },
                {
                    "id": 408,
                    "cat": "Audio/Lossless",
                    "desc": "HQ Audio(音乐)"
                },
                {
                    "id": 410,
                    "cat": "Console",
                    "desc": "Games(游戏)"
                },
                {
                    "id": 411,
                    "cat": "PC",
                    "desc": "Software(软件)"
                },
                {
                    "id": 412,
                    "cat": "Books",
                    "desc": "Study(学习)"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc(其他)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents tr:has(a[href^=\"?cat=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "title": {
                    "selector": "td.torrents-box a",
                    "attribute": "title"
                },
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details.php",
                                "download.php"
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "ptitzmx": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "ptitzmx",
        "name": "PT分享站 (itzmx)",
        "description": "PT分享站 (itzmx) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.itzmx.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Anime.动画"
                },
                {
                    "id": 404,
                    "cat": "Books/Comics",
                    "desc": "Comics.漫画"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Music.音乐"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies.电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV.电视剧"
                },
                {
                    "id": 414,
                    "cat": "Movies/BluRay",
                    "desc": "MoviesBluray.蓝光"
                },
                {
                    "id": 410,
                    "cat": "PC",
                    "desc": "Appz.软件"
                },
                {
                    "id": 411,
                    "cat": "Console",
                    "desc": "Games.游戏"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User and above users will be retained forever</li><li>Elite User and above users will not be deleted after parking their accounts (in the control panel)</li><li>Users with parked accounts will have their accounts deleted if they do not log in for 300 consecutive days</li><li>Users with un-parked accounts will have their accounts deleted if they do not log in for 90 consecutive days</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 7 days in a row.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }} {{ else }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }} {{ else }}{{ end }}{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if or .Query.IMDBID .Query.DoubanID }}1{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, img"
                }
            }
        }
    },
    "ptlao": {
        "credentials": {
            "cookie": ""
        },
        "id": "ptlao",
        "name": "PTLAO",
        "description": "PTLAO is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://ptlao.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite Users and above will not be deleted after parking (in the control panel)</li><li>Users with a parked account will be banned if they do not log in for 300 consecutive days</li><li>Users who do not log in for 150 consecutive days will be banned</li><li>Newly registered users with no traffic within 30 days, will be banned.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.6
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "ptlgs": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "ptlgs",
        "name": "PTLGS",
        "description": "PTLGS is a CHINESE Private Torrent Tracker for MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://ptlgs.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 409,
                    "cat": "Other/Misc",
                    "desc": "其他(Other)"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育(Sports)"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "音乐(Music Video)"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺(Variety Shows)"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "剧集(Drama Serie)"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫/Anime)"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片/Documentary)"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影(Movies)"
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": "字幕组(Subtitle Group)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the PTLGS Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>All users' accounts will be retained forever, and data will be retained forever</li><li>Newly registered accounts without traffic (i.e., upload/download data are 0) will be automatically frozen by the system if they do not log in for 7 consecutive days</li><li>Accounts that have been inactive for more than 30 days will be automatically banned by the system</li><li>determination method: When there is an unread announcement, it is necessary to manually confirm that the announcement has been read to be considered active; When there are no unread announcements, you need to visit the homepage to be active.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href*=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 18000
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "ptsbao": {
        "credentials": {
            "cookie": ""
        },
        "id": "ptsbao",
        "name": "PTSBAO (烧包)",
        "description": "PTSBAO (烧包) is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "followredirect": true,
        "links": [
            "https://ptsbao.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies(电影)"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series(电视剧)"
                },
                {
                    "id": 403,
                    "cat": "TV/Other",
                    "desc": "TV Shows(电视节目)"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations(动漫)"
                },
                {
                    "id": 414,
                    "cat": "Audio",
                    "desc": "Music(音乐)"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries(记录片)"
                },
                {
                    "id": 423,
                    "cat": "Movies",
                    "desc": "Movies Original(原创)"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc(其他)"
                },
                {
                    "id": 424,
                    "cat": "Other",
                    "desc": "Limit(限制)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "table.torrentname td a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "pic/imdb_pic/nophoto.gif",
                                ""
                            ]
                        }
                    ]
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                }
            }
        }
    },
    "ptskit": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "ptskit",
        "name": "PTSKIT",
        "description": "PTSKIT is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://www.ptskit.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "TV/Other",
                    "desc": "短剧(Playlet)",
                    "default": true
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "动态漫(Animation)",
                    "default": true
                },
                {
                    "id": 404,
                    "cat": "Movies",
                    "desc": "电影(Movies)",
                    "default": true
                },
                {
                    "id": 405,
                    "cat": "TV",
                    "desc": "电视剧(TV Series)",
                    "default": true
                },
                {
                    "id": 409,
                    "cat": "TV",
                    "desc": "综艺(TV Shows)",
                    "default": true
                },
                {
                    "id": 408,
                    "cat": "Audio/Video",
                    "desc": "音乐(Music Video)",
                    "default": true
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "游戏(TV)",
                    "default": true
                },
                {
                    "id": 407,
                    "cat": "TV/Anime",
                    "desc": "动漫/漫画(Anime/Manga)",
                    "default": true
                },
                {
                    "id": 406,
                    "cat": "Other",
                    "desc": "其他(Other)",
                    "default": true
                },
                {
                    "id": 411,
                    "cat": "XXX",
                    "desc": "日韩(Japanese/Korean)",
                    "default": false
                },
                {
                    "id": 410,
                    "cat": "XXX",
                    "desc": "国产(Chinese)",
                    "default": false
                },
                {
                    "id": 412,
                    "cat": "XXX",
                    "desc": "欧美(European/American)",
                    "default": false
                },
                {
                    "id": 413,
                    "cat": "XXX",
                    "desc": "里番(HiAnime)",
                    "default": false
                },
                {
                    "id": 414,
                    "cat": "XXX",
                    "desc": "漫画(Hentai)",
                    "default": false
                },
                {
                    "id": 415,
                    "cat": "XXX/Other",
                    "desc": "游戏(Games)",
                    "default": false
                },
                {
                    "id": 416,
                    "cat": "XXX/Other",
                    "desc": "其他(Other)",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        401,
                        402,
                        404,
                        405,
                        409,
                        408,
                        403,
                        407,
                        406
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        411,
                        410,
                        412,
                        413,
                        414,
                        415,
                        416
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "pttey": {
        "credentials": {
            "cookie": ""
        },
        "id": "pttey",
        "name": "PTTey",
        "description": "PTTey is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.tey.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies(电影)"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series(电视剧)"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries(记录片)"
                },
                {
                    "id": 403,
                    "cat": "TV/Other",
                    "desc": "TV Shows(电视节目)"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations(动漫)"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports(体育)"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos(MV)"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Music(音乐)"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc(其他)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted.</li><li>Elite User or above would never be deleted if parked (at User CP).</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row.</li><li>Unparked accounts would be deleted if users have not logged in for more than 150 days in a row.</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href*=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "table.torrentname td a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                }
            }
        }
    },
    "pttime": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "pttime",
        "name": "PTTime",
        "description": "PTTime is a ratioless CHINESE Private Torrent Tracker for HD MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 5,
        "links": [
            "https://www.pttime.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies(电影)",
                    "default": true
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series(电视剧)",
                    "default": true
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows(综艺)",
                    "default": true
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries(纪录片)",
                    "default": true
                },
                {
                    "id": 405,
                    "cat": "TV/Sport",
                    "desc": "Sport(体育、竞技、武术及相关)",
                    "default": true
                },
                {
                    "id": 406,
                    "cat": "PC/Games",
                    "desc": "Games(游戏及相关)",
                    "default": true
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "Music(音乐、专辑、MV、演唱会)",
                    "default": true
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Art(舞蹈、歌剧、戏曲、相声、评书等)",
                    "default": true
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": "Science(科学、知识、技能)",
                    "default": true
                },
                {
                    "id": 412,
                    "cat": "Other",
                    "desc": "School(应试、考级、初中以上教育)",
                    "default": true
                },
                {
                    "id": 420,
                    "cat": "PC",
                    "desc": "Code(IT、编程、大数据、人工智能",
                    "default": true
                },
                {
                    "id": 430,
                    "cat": "TV/Anime",
                    "desc": "Animate(3D动画、2.5次元)",
                    "default": true
                },
                {
                    "id": 432,
                    "cat": "TV/Other",
                    "desc": "Baby(婴幼、早教、小学及相关)",
                    "default": true
                },
                {
                    "id": 450,
                    "cat": "Other",
                    "desc": "Resource(资源、素材、模板)",
                    "default": true
                },
                {
                    "id": 451,
                    "cat": "PC",
                    "desc": "Software(软件、系统、 程序、APP等)",
                    "default": true
                },
                {
                    "id": 490,
                    "cat": "Other",
                    "desc": "Other(其它)",
                    "default": true
                },
                {
                    "id": 440,
                    "cat": "XXX",
                    "desc": "9kg-AV(步兵/无码)",
                    "default": false
                },
                {
                    "id": 441,
                    "cat": "XXX",
                    "desc": "9kg-Sex(骑兵/有码)",
                    "default": false
                },
                {
                    "id": 442,
                    "cat": "XXX",
                    "desc": "9kg-III(三级片、限制级电影)",
                    "default": false
                },
                {
                    "id": 443,
                    "cat": "XXX",
                    "desc": "9kg-H动漫",
                    "default": false
                },
                {
                    "id": 444,
                    "cat": "XXX",
                    "desc": "9kg-H游戏",
                    "default": false
                },
                {
                    "id": 445,
                    "cat": "XXX",
                    "desc": "9kg-H书籍(书籍、有声书)",
                    "default": false
                },
                {
                    "id": 446,
                    "cat": "XXX",
                    "desc": "9kg-H写真(图片、私拍、短视频）",
                    "default": false
                },
                {
                    "id": 447,
                    "cat": "XXX",
                    "desc": "9kg-H音频(ASMR、音乐、音频)",
                    "default": false
                },
                {
                    "id": 448,
                    "cat": "XXX",
                    "desc": "9kg-H综(综艺、综合、剪辑、其他等)",
                    "default": false
                },
                {
                    "id": 449,
                    "cat": "XXX",
                    "desc": "9kg-H同(男同、女同、人妖)",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel).</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "loginmethod": "username",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "dutime": "month",
                "ssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        401,
                        402,
                        403,
                        404,
                        405,
                        406,
                        408,
                        409,
                        411,
                        412,
                        420,
                        430,
                        432,
                        450,
                        451,
                        490
                    ]
                },
                {
                    "path": "adults.php",
                    "categories": [
                        440,
                        441,
                        442,
                        443,
                        444,
                        445,
                        446,
                        447,
                        448,
                        449
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }} {{ else }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }} {{ else }}{{ end }}{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if or .Query.IMDBID .Query.DoubanID }}3{{ else }}2{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "td.torrentimg > img",
                    "attribute": "src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(5) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(5):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "font.promotion.free": 0,
                        "font.promotion.twoupfree": 0,
                        "font.promotion.halfdown": 0.5,
                        "font.promotion.twouphalfdown": 0.5,
                        "font.promotion.thirtypercent": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "font.promotion.twoup": 2,
                        "font.promotion.twoupfree": 2,
                        "font.promotion.twouphalfdown": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2) > font:last-child"
                }
            }
        }
    },
    "ptying": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "ptying",
        "name": "PTYING (樱花)",
        "description": "PTYING (樱花) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.ying.us.kg/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "HQ Misc/其他"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio/音频"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Video/MV"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports/体育"
                },
                {
                    "id": 410,
                    "cat": "TV",
                    "desc": "Playlet/短剧"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Anime/动漫"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows/综艺"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the PTYING Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "ptzone": {
        "credentials": {
            "cookie": ""
        },
        "id": "ptzone",
        "name": "PTzone",
        "description": "PTzone is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://ptzone.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies(电影)"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series(电视剧)"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows(综艺)"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries(纪录片)"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations(动漫)"
                },
                {
                    "id": 406,
                    "cat": "Audio",
                    "desc": "Music(音乐)"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports(体育)"
                },
                {
                    "id": 408,
                    "cat": "Other",
                    "desc": "Others(其它)"
                },
                {
                    "id": 410,
                    "cat": "PC/0day",
                    "desc": "Software(软件)"
                },
                {
                    "id": 411,
                    "cat": "PC/Games",
                    "desc": "Games(游戏)"
                },
                {
                    "id": 409,
                    "cat": "TV",
                    "desc": "Others(其它)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "punkshorror": {
        "credentials": {
            "cookie": ""
        },
        "id": "punkshorror",
        "name": "Punk's Horror Tracker",
        "description": "Punk's Horror Tracker is a HUNGARIAN Private Tracker for Horror MOVIES / TV",
        "language": "hu-HU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://punck-tracker.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 87,
                    "cat": "Movies",
                    "desc": "Action Eng"
                },
                {
                    "id": 88,
                    "cat": "Movies",
                    "desc": "Action Hun"
                },
                {
                    "id": 79,
                    "cat": "TV/Documentary",
                    "desc": "Dokumentumfilm"
                },
                {
                    "id": 89,
                    "cat": "Movies",
                    "desc": "Horror Anime"
                },
                {
                    "id": 78,
                    "cat": "Books",
                    "desc": "Horror Ebook"
                },
                {
                    "id": 66,
                    "cat": "Movies",
                    "desc": "Horror Eng"
                },
                {
                    "id": 65,
                    "cat": "Movies",
                    "desc": "Horror Hun"
                },
                {
                    "id": 82,
                    "cat": "XXX",
                    "desc": "Horror XXX"
                },
                {
                    "id": 94,
                    "cat": "Movies",
                    "desc": "Kamerás filmek"
                },
                {
                    "id": 98,
                    "cat": "Movies/HD",
                    "desc": "MD-HD"
                },
                {
                    "id": 86,
                    "cat": "Movies",
                    "desc": "Mystery-Fantasy Eng"
                },
                {
                    "id": 85,
                    "cat": "Movies",
                    "desc": "Mystery-Fantasy Hun"
                },
                {
                    "id": 83,
                    "cat": "Movies",
                    "desc": "Punk Release"
                },
                {
                    "id": 76,
                    "cat": "Movies",
                    "desc": "Retro Film"
                },
                {
                    "id": 70,
                    "cat": "Movies",
                    "desc": "Scifi Eng"
                },
                {
                    "id": 69,
                    "cat": "Movies",
                    "desc": "Scifi Hun"
                },
                {
                    "id": 75,
                    "cat": "TV",
                    "desc": "Sorozat Eng"
                },
                {
                    "id": 74,
                    "cat": "TV",
                    "desc": "Sorozat Hun"
                },
                {
                    "id": 100,
                    "cat": "Movies",
                    "desc": "THC Release"
                },
                {
                    "id": 68,
                    "cat": "Movies",
                    "desc": "Thriller Eng"
                },
                {
                    "id": 67,
                    "cat": "Movies",
                    "desc": "Thriller Hun"
                },
                {
                    "id": 84,
                    "cat": "Movies/SD",
                    "desc": "VHS Ritkaságok"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "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",
                "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."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table table table > tbody > tr:has(a[href^=\"details.php?id=\"]){{ if .Config.freeleech }}:has(td:nth-last-child(4) span:nth-of-type(1):contains(\"0\")){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-last-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "poster": {
                    "selector": "a.preview",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-last-child(4) b"
                },
                "files": {
                    "selector": "td:nth-last-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(2)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(1)"
                },
                "description": {
                    "case": {
                        "img[src=\"pic/yes.png\"]": "Verified",
                        "img[src=\"pic/nincs.png\"]": "Unverified"
                    }
                },
                "downloadvolumefactor": {
                    "selector": "td:nth-last-child(4) span:nth-of-type(1)"
                },
                "uploadvolumefactor": {
                    "selector": "td:nth-last-child(4) span:nth-of-type(2)"
                },
                "minimumratio": {
                    "text": 0.8
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "puntotorrent": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "puntotorrent",
        "replaces": [
            "puntorrent"
        ],
        "name": "PuntoTorrent",
        "description": "PuntoTorrent is a SPANISH Private Torrent Tracker for 0DAY / GENERAL",
        "language": "es-ES",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://xbt.puntotorrent.com/"
        ],
        "legacylinks": [
            "https://xbt.puntotorrent.ch/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 37,
                    "cat": "TV/Anime",
                    "desc": "DVD - Animación"
                },
                {
                    "id": 38,
                    "cat": "TV/Sport",
                    "desc": "DVD - Deportes"
                },
                {
                    "id": 39,
                    "cat": "TV/Documentary",
                    "desc": "DVD - Documentales"
                },
                {
                    "id": 40,
                    "cat": "Movies/DVD",
                    "desc": "DVD - Películas"
                },
                {
                    "id": 41,
                    "cat": "TV/SD",
                    "desc": "DVD - Series"
                },
                {
                    "id": 42,
                    "cat": "XXX/DVD",
                    "desc": "DVD - Adulto (+18)"
                },
                {
                    "id": 43,
                    "cat": "Audio/Video",
                    "desc": "DVD - Música"
                },
                {
                    "id": 45,
                    "cat": "TV/Anime",
                    "desc": "XVID - Animación"
                },
                {
                    "id": 46,
                    "cat": "TV/Sport",
                    "desc": "XVID - Deportes"
                },
                {
                    "id": 47,
                    "cat": "TV/Documentary",
                    "desc": "XVID - Documentales"
                },
                {
                    "id": 48,
                    "cat": "Movies/SD",
                    "desc": "XVID - Películas"
                },
                {
                    "id": 33,
                    "cat": "Movies/SD",
                    "desc": "XVID - Estrenos"
                },
                {
                    "id": 114,
                    "cat": "Movies/SD",
                    "desc": "XVID - Estrenos BajaCalidad"
                },
                {
                    "id": 14,
                    "cat": "TV/SD",
                    "desc": "XVID - Series"
                },
                {
                    "id": 12,
                    "cat": "XXX/XviD",
                    "desc": "XVID - Adulto (+18)"
                },
                {
                    "id": 51,
                    "cat": "Audio/Video",
                    "desc": "XVID - Música"
                },
                {
                    "id": 106,
                    "cat": "TV/Anime",
                    "desc": "HDRip - Animación"
                },
                {
                    "id": 107,
                    "cat": "TV/Sport",
                    "desc": "HDRip - Deportes"
                },
                {
                    "id": 108,
                    "cat": "TV/Documentary",
                    "desc": "HDRip - Documentales"
                },
                {
                    "id": 109,
                    "cat": "Movies/HD",
                    "desc": "HDRip - Películas"
                },
                {
                    "id": 110,
                    "cat": "TV/HD",
                    "desc": "HDRip - Series"
                },
                {
                    "id": 112,
                    "cat": "XXX/x264",
                    "desc": "HDRip - Adulto (+18)"
                },
                {
                    "id": 111,
                    "cat": "Audio/Video",
                    "desc": "HDRip - Música"
                },
                {
                    "id": 53,
                    "cat": "TV/Anime",
                    "desc": "HD - Animación"
                },
                {
                    "id": 54,
                    "cat": "TV/Sport",
                    "desc": "HD - Deportes"
                },
                {
                    "id": 55,
                    "cat": "TV/Documentary",
                    "desc": "HD - Documentales"
                },
                {
                    "id": 56,
                    "cat": "Movies/HD",
                    "desc": "HD - BDrip/BDremux/FullBD"
                },
                {
                    "id": 59,
                    "cat": "TV/HD",
                    "desc": "HD - Series"
                },
                {
                    "id": 63,
                    "cat": "XXX/x264",
                    "desc": "HD - Adulto (+18)"
                },
                {
                    "id": 61,
                    "cat": "Audio/Video",
                    "desc": "HD - Música"
                },
                {
                    "id": 144,
                    "cat": "TV/Anime",
                    "desc": "WEB-DL - Animación"
                },
                {
                    "id": 145,
                    "cat": "TV/Sport",
                    "desc": "WEB-DL - Deportes"
                },
                {
                    "id": 146,
                    "cat": "TV/Documentary",
                    "desc": "WEB-DL - Documentales"
                },
                {
                    "id": 147,
                    "cat": "Movies/HD",
                    "desc": "WEB-DL - Películas"
                },
                {
                    "id": 148,
                    "cat": "TV/HD",
                    "desc": "WEB-DL - Series"
                },
                {
                    "id": 149,
                    "cat": "XXX/x264",
                    "desc": "WEB-DL - Adulto (+18)"
                },
                {
                    "id": 150,
                    "cat": "Audio/Video",
                    "desc": "WEB-DL - Música"
                },
                {
                    "id": 136,
                    "cat": "TV/Anime",
                    "desc": "UHD - Animación"
                },
                {
                    "id": 137,
                    "cat": "TV/Sport",
                    "desc": "UHD - Deportes"
                },
                {
                    "id": 138,
                    "cat": "TV/Documentary",
                    "desc": "UHD - Documentales"
                },
                {
                    "id": 139,
                    "cat": "Movies/UHD",
                    "desc": "UHD - Películas"
                },
                {
                    "id": 140,
                    "cat": "TV/UHD",
                    "desc": "UHD - Series"
                },
                {
                    "id": 141,
                    "cat": "XXX/x264",
                    "desc": "UHD - Adulto (+18)"
                },
                {
                    "id": 126,
                    "cat": "TV/Anime",
                    "desc": "Micro HD - Animación"
                },
                {
                    "id": 127,
                    "cat": "TV/Sport",
                    "desc": "Micro HD - Deportes"
                },
                {
                    "id": 128,
                    "cat": "TV/Documentary",
                    "desc": "Micro HD - Documentales"
                },
                {
                    "id": 57,
                    "cat": "Movies/HD",
                    "desc": "Micro HD - Películas"
                },
                {
                    "id": 124,
                    "cat": "TV/HD",
                    "desc": "Micro HD - Series"
                },
                {
                    "id": 129,
                    "cat": "XXX/x264",
                    "desc": "Micro HD - Adulto"
                },
                {
                    "id": 130,
                    "cat": "Audio/Video",
                    "desc": "Micro HD - Música"
                },
                {
                    "id": 117,
                    "cat": "TV/Anime",
                    "desc": "3D - Animación"
                },
                {
                    "id": 118,
                    "cat": "TV/Sport",
                    "desc": "3D - Deportes"
                },
                {
                    "id": 119,
                    "cat": "TV/Documentary",
                    "desc": "3D - Documentales"
                },
                {
                    "id": 120,
                    "cat": "Movies/3D",
                    "desc": "3D - Películas"
                },
                {
                    "id": 121,
                    "cat": "XXX",
                    "desc": "3D - Adulto (+18)"
                },
                {
                    "id": 122,
                    "cat": "Audio/Video",
                    "desc": "3D - Música"
                },
                {
                    "id": 92,
                    "cat": "Other",
                    "desc": "Otros formatos - Animación"
                },
                {
                    "id": 93,
                    "cat": "Other",
                    "desc": "Otros formatos - Deportes"
                },
                {
                    "id": 94,
                    "cat": "Other",
                    "desc": "Otros formatos - Documentales"
                },
                {
                    "id": 95,
                    "cat": "Other",
                    "desc": "Otros formatos - Películas"
                },
                {
                    "id": 100,
                    "cat": "Other",
                    "desc": "Otros formatos - Estrenos"
                },
                {
                    "id": 97,
                    "cat": "Other",
                    "desc": "Otros formatos - Series"
                },
                {
                    "id": 98,
                    "cat": "Other",
                    "desc": "Otros formatos - Adulto (+18)"
                },
                {
                    "id": 99,
                    "cat": "Other",
                    "desc": "Otros formatos - Música"
                },
                {
                    "id": 69,
                    "cat": "Audio/MP3",
                    "desc": "Música - MP3"
                },
                {
                    "id": 70,
                    "cat": "Audio/Lossless",
                    "desc": "Música - FLAC"
                },
                {
                    "id": 71,
                    "cat": "Audio/Other",
                    "desc": "Música - Otros Formatos"
                },
                {
                    "id": 6,
                    "cat": "Books/EBook",
                    "desc": "eBooks - eBooks"
                },
                {
                    "id": 142,
                    "cat": "Audio/Audiobook",
                    "desc": "eBooks - Audiolibros"
                },
                {
                    "id": 131,
                    "cat": "Books/Comics",
                    "desc": "eBooks - Cómics"
                },
                {
                    "id": 134,
                    "cat": "Books",
                    "desc": "eBooks - Manga"
                },
                {
                    "id": 132,
                    "cat": "Books/Mags",
                    "desc": "eBooks - Revistas"
                },
                {
                    "id": 133,
                    "cat": "Books",
                    "desc": "eBooks - Adulto (+18)"
                },
                {
                    "id": 72,
                    "cat": "Books/Other",
                    "desc": "eBooks - Otros"
                },
                {
                    "id": 25,
                    "cat": "PC/Games",
                    "desc": "Juegos - Microsoft"
                },
                {
                    "id": 26,
                    "cat": "Console",
                    "desc": "Juegos - Sony"
                },
                {
                    "id": 27,
                    "cat": "PC/Games",
                    "desc": "Juegos - PC (Windows)"
                },
                {
                    "id": 28,
                    "cat": "Console/NDS",
                    "desc": "Juegos - Nintendo"
                },
                {
                    "id": 113,
                    "cat": "Console/Other",
                    "desc": "Juegos - Emuladores/Otras P."
                },
                {
                    "id": 74,
                    "cat": "PC/0day",
                    "desc": "Software - Windows"
                },
                {
                    "id": 75,
                    "cat": "PC",
                    "desc": "Software - Linux"
                },
                {
                    "id": 76,
                    "cat": "PC/Mac",
                    "desc": "Software - MAC"
                },
                {
                    "id": 115,
                    "cat": "PC/Mobile-Android",
                    "desc": "Software - Android"
                },
                {
                    "id": 77,
                    "cat": "PC/Mobile-Other",
                    "desc": "Software - Otras Plataformas"
                },
                {
                    "id": 17,
                    "cat": "Movies/Other",
                    "desc": "VCD/SVCD - SVCD/VCD"
                },
                {
                    "id": 78,
                    "cat": "Movies/Other",
                    "desc": "VCD/SVCD - Estrenos VCD/SVCD"
                },
                {
                    "id": 102,
                    "cat": "Movies/Other",
                    "desc": "XVID - Películas"
                }
            ],
            "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": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "index.php?page=login",
            "method": "post",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": ".lista>span"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "form[name=\"jump1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)S(\\d+)",
                        " $1 "
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)E(\\d+)",
                        " $1 "
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "[\\.\\-,_\\[\\]\\(\\)]+",
                        " "
                    ]
                }
            ],
            "inputs": {
                "page": "torrents",
                "$raw": "&category={{ range .Categories }}{{.}};{{end}}",
                "active": "{{ if .Config.freeleech }}3{{ else }}0{{ end }}",
                "search": "{{ .Keywords }}",
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "#mcol .block-content-l table table.lista > tbody > tr:not(:first-child):not(.descripcion)"
            },
            "fields": {
                "category": {
                    "selector": "td:nth-child(1) a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "_remux": {
                    "selector": "td:nth-child(2) a:contains(\"REMUX\"),a:contains(\"Remux\"),a:contains(\"remux\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "Remux."
                        }
                    ]
                },
                "_webdl": {
                    "selector": "td:nth-child(2) a:contains(\"WEB\"),a:contains(\"web\"),a:contains(\"Web\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "WEBDL."
                        }
                    ]
                },
                "_hdtv": {
                    "selector": "td:nth-child(2) a:contains(\"HDTV\"),a:contains(\"HDtv\"),a:contains(\"hdtv\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "HDTV."
                        }
                    ]
                },
                "_dvd": {
                    "selector": "td:nth-child(2) a:contains(\"DVD\"),a:contains(\"dvd\"),a:contains(\"Dvd\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "DVD.Spanish-PuntoTorrent"
                        }
                    ]
                },
                "_bluray": {
                    "selector": "td:nth-child(2) a:not(:contains(\"HDTV\"))a:not(:contains(\"hdtv\"))a:not(:contains(\"REMUX\"))a:not(:contains(\"Remux\"))a:not(:contains(\"remux\"))a:not(:contains(\"WEB\"))a:not(:contains(\"web\"))a:not(:contains(\"Web\"))a:contains(\"1080\"),:contains(\"2160\"):contains(\"uhd\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "BluRay."
                        }
                    ]
                },
                "_2160p": {
                    "selector": "td:nth-child(2) a:contains(\"2160\"),a:contains(\"4k\"),a:contains(\"4K\"),a:contains(\"uhd\"),a:contains(\"UHD\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "2160p.Spanish-PuntoTorrent"
                        }
                    ]
                },
                "_1080p": {
                    "selector": "td:nth-child(2) a:contains(\"1080\"),a:contains(\"microhd\"),a:contains(\"mhd\"),a:contains(\"BDRemux\"):not(:contains(\"2160\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "1080p.Spanish-PuntoTorrent"
                        }
                    ]
                },
                "_720p": {
                    "selector": "td:nth-child(2) a:contains(\"720\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "720p.Spanish-PuntoTorrent"
                        }
                    ]
                },
                "_480p": {
                    "selector": "td:nth-child(2) a:contains(\"480\"),a:contains(\"Xvid\"),a:contains(\"XVID\"),a:contains(\"xvid\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "480p.Spanish-PuntoTorrent"
                        }
                    ]
                },
                "title_default": {
                    "selector": "td:nth-child(2)",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)T[\\s-_]?(\\d{1,2})(.*)\\[(\\d{1,2})[x|\\/|\\\\](\\d{1,2})\\]",
                                "S$1E$3 $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)T[\\s-_]?(\\d{1,2})\\b",
                                " S$1 "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\w*Temp\\w*\\b\\s?(\\d{1,2})(ª|\\D)?\\b",
                                " S$1 "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d{1,2})(ª|\\D)?\\s?\\w*Temp\\w*\\b",
                                " S$1 "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d{1,2})(ª|\\D)?\\s?\\w*Temp\\w*\\b",
                                " S$1 "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d{1,2})[x|\\/|\\\\](\\d{1,2})",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)S(\\d{1,2})[/x]?C(\\d{1,2})",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\[\\.[a-zA-Z.]+\\]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                " SILVER:.*",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                " Torrent.*",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                " GOLDEN:.*",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\W",
                                "."
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\.+",
                                "."
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^\\.",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " {{ .Result._remux }}{{ .Result._webdl }}{{ .Result._hdtv }}{{ .Result._dvd }}{{ .Result._bluray }}{{ .Result._2160p }}{{ .Result._1080p }}{{ .Result._720p }}{{ .Result._480p }}"
                        }
                    ]
                },
                "title_vose": {
                    "selector": "td:nth-child(2) a:contains(\"VOSE\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " | English"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)T[\\s-_]?(\\d{1,2})(.*)\\[(\\d{1,2})[x|\\/|\\\\](\\d{1,2})\\]",
                                "S$1E$3 $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)T[\\s-_]?(\\d{1,2})\\b",
                                " S$1 "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\w*Temp\\w*\\b\\s?(\\d{1,2})(ª|\\D)?\\b",
                                " S$1 "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d{1,2})(ª|\\D)?\\s?\\w*Temp\\w*\\b",
                                " S$1 "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d{1,2})[x|\\/|\\\\](\\d{1,2})",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " {{ .Result._remux }}{{ .Result._webdl }}{{ .Result._hdtv }}{{ .Result._dvd }}{{ .Result._bluray }}{{ .Result._2160p }}{{ .Result._1080p }}{{ .Result._720p }}{{ .Result._480p }}"
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Result.title_vose }}{{ .Result.title_vose }}{{ else }}{{ .Result.title_default }}{{ end }}"
                },
                "details": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "download.php?",
                                "index.php?page=torrent-details&"
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(8) a"
                },
                "leechers": {
                    "selector": "td:nth-child(9) a"
                },
                "grabs": {
                    "selector": "td:nth-child(10)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy zzz"
                        }
                    ]
                },
                "download": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"golden.gif\"]": 0,
                        "img[src$=\"silver.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"x2.gif\"]": 2,
                        "img[src$=\"x3.gif\"]": 3,
                        "*": 1
                    }
                }
            }
        }
    },
    "pussytorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "pussytorrents",
        "name": "PussyTorrents",
        "description": "PussyTorrents is a Semi-Private Torrent Tracker for 3X",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://pussytorrents.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "nameSort": "title",
                    "score": "score"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_score",
                "type": "info",
                "label": "About sorting by score",
                "default": "In order to sort by score you first must have edited your <a href=\"https://pussytorrents.org/\" target=\"_blank\">PussyTorrents</a> account profile and changed <b>Results default sorting method</b> to <b>By Score</b>."
            }
        ],
        "login": {
            "path": "user/account/login/",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "remember_me": true
            },
            "error": [
                {
                    "selector": "div.alert-error"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"/user/account/logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents/browse"
                }
            ],
            "inputs": {
                "query": "{{ .Keywords }}",
                "page": 1,
                "orderby": "{{ if ne .Config.sort \"score\" }}{{ .Config.sort }}{{ else }}{{ end }}",
                "order": "{{ if ne .Config.sort \"score\" }}{{ .Config.type }}{{ else }}{{ end }}"
            },
            "rows": {
                "selector": "table#torrenttable > tbody > tr:has(a[href^=\"/download/\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "a[href^=\"/torrent/\"]"
                },
                "details": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/download/\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "span.subnote",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Added on ",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "description": {
                    "selector": "td.name",
                    "remove": "span.title, span.subnote"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.4
                },
                "minimumseedtime": {
                    "text": 216000
                }
            }
        }
    },
    "putao": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "putao",
        "name": "PuTao (葡萄)",
        "description": "PuTao (葡萄) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.sjtu.edu.cn/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies CHN 华语电影"
                },
                {
                    "id": 402,
                    "cat": "Movies",
                    "desc": "Movies Eng 欧美电影"
                },
                {
                    "id": 403,
                    "cat": "Movies",
                    "desc": "Movies Asian 亚洲电影"
                },
                {
                    "id": 406,
                    "cat": "TV/Documentary",
                    "desc": "Documentary 纪录片"
                },
                {
                    "id": 407,
                    "cat": "TV",
                    "desc": "TV Series HKTW 港台电视剧"
                },
                {
                    "id": 408,
                    "cat": "TV",
                    "desc": "TV Series Asian 亚洲电视剧"
                },
                {
                    "id": 409,
                    "cat": "TV",
                    "desc": "TV Series CHN 大陆电视剧"
                },
                {
                    "id": 410,
                    "cat": "TV",
                    "desc": "TV Series Eng 欧美电视剧"
                },
                {
                    "id": 411,
                    "cat": "TV",
                    "desc": "TV CHN 大陆综艺节目"
                },
                {
                    "id": 412,
                    "cat": "TV",
                    "desc": "TV HKTW 港台综艺节目"
                },
                {
                    "id": 413,
                    "cat": "TV",
                    "desc": "TV Eng 欧美综艺节目"
                },
                {
                    "id": 414,
                    "cat": "TV",
                    "desc": "TV JPKR 日韩综艺节目"
                },
                {
                    "id": 420,
                    "cat": "Audio",
                    "desc": "Music CHN 华语音乐"
                },
                {
                    "id": 421,
                    "cat": "Audio",
                    "desc": "Music JPKR 日韩音乐"
                },
                {
                    "id": 422,
                    "cat": "Audio",
                    "desc": "Music Eng 欧美音乐"
                },
                {
                    "id": 423,
                    "cat": "Audio",
                    "desc": "Music OST 原声音乐"
                },
                {
                    "id": 425,
                    "cat": "Audio",
                    "desc": "Music Classic 古典音乐"
                },
                {
                    "id": 426,
                    "cat": "Audio/MP3",
                    "desc": "Music mp3合辑"
                },
                {
                    "id": 427,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": 429,
                    "cat": "Console",
                    "desc": "Games 游戏"
                },
                {
                    "id": 431,
                    "cat": "TV/Anime",
                    "desc": "Anime 动漫"
                },
                {
                    "id": 432,
                    "cat": "TV/Sport",
                    "desc": "Sport 体育"
                },
                {
                    "id": 434,
                    "cat": "PC",
                    "desc": "Software 软件"
                },
                {
                    "id": 435,
                    "cat": "Other",
                    "desc": "Study 学习"
                },
                {
                    "id": 440,
                    "cat": "PC/Mac",
                    "desc": "Software Mac"
                },
                {
                    "id": 451,
                    "cat": "Other",
                    "desc": "Campus 校园原创"
                },
                {
                    "id": 450,
                    "cat": "Other/Misc",
                    "desc": "Misc 其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>每页种子数:每页显示</b><i>(Torrents per page:)</i> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 240 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 120 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 30 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "checkcode": "XxXx",
                "logout": ""
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?hash=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "picktype": 0,
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4):not(:contains(\"-\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "年",
                                "years"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "月",
                                "months"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "天",
                                "days"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "时",
                                " hours"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "分",
                                "minutes"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " ago"
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):contains(\"-\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_2up": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "img.pro_70pctdown": 0.7,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_2up": 2,
                        "img.pro_free2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.7
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "pwtorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "pwtorrents",
        "name": "PWTorrents",
        "description": "PWTorrents (PWT) is a Private Torrent Tracker for PROFESSIONAL WRESTLING",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pwtorrents.net/"
        ],
        "legacylinks": [
            "http://pwtorrents.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 26,
                    "cat": "TV/Sport",
                    "desc": "AEW Dark"
                },
                {
                    "id": 21,
                    "cat": "TV/Sport",
                    "desc": "AEW Dynamite"
                },
                {
                    "id": 20,
                    "cat": "TV/Sport",
                    "desc": "AEW PPV"
                },
                {
                    "id": 23,
                    "cat": "TV/Sport",
                    "desc": "AEW Rampage"
                },
                {
                    "id": 28,
                    "cat": "TV/Sport",
                    "desc": "AEW Collision"
                },
                {
                    "id": 1,
                    "cat": "TV/Sport",
                    "desc": "Boxing"
                },
                {
                    "id": 2,
                    "cat": "TV/Sport",
                    "desc": "Documentaries"
                },
                {
                    "id": 3,
                    "cat": "TV/Sport",
                    "desc": "DVD"
                },
                {
                    "id": 4,
                    "cat": "TV/Sport",
                    "desc": "ECW"
                },
                {
                    "id": 13,
                    "cat": "TV/Sport",
                    "desc": "Impact PPV"
                },
                {
                    "id": 14,
                    "cat": "TV/Sport",
                    "desc": "Impact Weekly"
                },
                {
                    "id": 6,
                    "cat": "TV/Sport",
                    "desc": "Indy's"
                },
                {
                    "id": 7,
                    "cat": "TV/Sport",
                    "desc": "Matches"
                },
                {
                    "id": 8,
                    "cat": "TV/Sport",
                    "desc": "Misc."
                },
                {
                    "id": 9,
                    "cat": "TV/Sport",
                    "desc": "MMA"
                },
                {
                    "id": 11,
                    "cat": "TV/Sport",
                    "desc": "Puro"
                },
                {
                    "id": 10,
                    "cat": "TV/Sport",
                    "desc": "PWT Packs"
                },
                {
                    "id": 12,
                    "cat": "TV/Sport",
                    "desc": "Ring Of Honor"
                },
                {
                    "id": 15,
                    "cat": "TV/Sport",
                    "desc": "WCW"
                },
                {
                    "id": 18,
                    "cat": "TV/Sport",
                    "desc": "WWE Network"
                },
                {
                    "id": 16,
                    "cat": "TV/Sport",
                    "desc": "WWE PPV"
                },
                {
                    "id": 24,
                    "cat": "TV/Sport",
                    "desc": "WWE RAW"
                },
                {
                    "id": 25,
                    "cat": "TV/Sport",
                    "desc": "WWE Smackdown"
                },
                {
                    "id": 17,
                    "cat": "TV/Sport",
                    "desc": "WWE Weekly"
                },
                {
                    "id": 27,
                    "cat": "TV/Sport",
                    "desc": "WWE NXT"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "seedbox",
                "type": "checkbox",
                "label": "Use SeedBox Download Link",
                "default": false
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "table.main:contains(\"Login failed!\")"
                }
            ],
            "test": {
                "path": "my.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "search": "{{ .Keywords }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[border=\"1\"][cellspacing=\"0\"][cellpadding=\"5\"] tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "optional": true,
                    "default": "No Title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download_1": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "download_2": {
                    "selector": "a[href^=\"seeddownload.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "text": "{{ if .Config.seedbox }}{{ .Result.download_2 }}{{ else }}{{ .Result.download_1 }}{{ end }}"
                },
                "date": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freeleech.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"gold.png\"]": 2,
                        "img[src=\"silver.png\"]": 1.5,
                        "img[src=\"bronze.png\"]": 1.25,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.7
                }
            }
        }
    },
    "qingwa": {
        "credentials": {
            "cookie": ""
        },
        "id": "qingwa",
        "name": "Qingwa (青蛙)",
        "description": "Qingwa (青蛙) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.qingwapt.com/"
        ],
        "legacylinks": [
            "https://qingwapt.com/",
            "https://new.qingwa.pro/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "剧集"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐"
                },
                {
                    "id": 412,
                    "cat": "TV",
                    "desc": "短剧"
                },
                {
                    "id": 412,
                    "cat": "Movies",
                    "desc": "短剧"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>60</b> on your account profile.</br>Choosing more may cause the web site to fail to deliver complete results."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted.</li><li>Elite User or above would never be deleted if parked (at User CP).</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row.</li><li>Unparked accounts would be deleted if users have not logged in for more than 150 days in a row.</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "r3vwtf": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "r3vwtf",
        "name": "R3V WTF!",
        "description": "R3V WTF! is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://r3vuk.wtf/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "PC",
                    "desc": "Apps"
                },
                {
                    "id": 39,
                    "cat": "Other",
                    "desc": "AutoBoT"
                },
                {
                    "id": 36,
                    "cat": "Movies/BluRay",
                    "desc": "Bluray"
                },
                {
                    "id": 34,
                    "cat": "Audio/MP3",
                    "desc": "Carrow's MP3 Packs"
                },
                {
                    "id": 38,
                    "cat": "Audio",
                    "desc": "DMC Music"
                },
                {
                    "id": 24,
                    "cat": "Books/EBook",
                    "desc": "EBOOK"
                },
                {
                    "id": 37,
                    "cat": "Audio",
                    "desc": "Mastermix Music"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Movies/Dvdr"
                },
                {
                    "id": 17,
                    "cat": "Movies",
                    "desc": "Movies/Packs"
                },
                {
                    "id": 26,
                    "cat": "Movies/HD",
                    "desc": "Movies/X264"
                },
                {
                    "id": 44,
                    "cat": "Movies/HD",
                    "desc": "Movies/x265"
                },
                {
                    "id": 10,
                    "cat": "Movies/SD",
                    "desc": "Movies/XviD"
                },
                {
                    "id": 46,
                    "cat": "Movies/DVD",
                    "desc": "Multi DVD"
                },
                {
                    "id": 14,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 40,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": 22,
                    "cat": "Audio/Lossless",
                    "desc": "Music/Flac"
                },
                {
                    "id": 51,
                    "cat": "PC/Games",
                    "desc": "PC  GAMES"
                },
                {
                    "id": 53,
                    "cat": "Audio",
                    "desc": "Promo Music"
                },
                {
                    "id": 23,
                    "cat": "TV",
                    "desc": "Tv/Packs"
                },
                {
                    "id": 16,
                    "cat": "TV/HD",
                    "desc": "Tv/x264"
                },
                {
                    "id": 49,
                    "cat": "TV/HD",
                    "desc": "Tv/X265"
                },
                {
                    "id": 15,
                    "cat": "TV/SD",
                    "desc": "Tv/Xvid"
                },
                {
                    "id": 42,
                    "cat": "Audio",
                    "desc": "VIP MUSIC"
                },
                {
                    "id": 50,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "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": 4,
                "options": {
                    "4": "created",
                    "7": "seeders",
                    "5": "size",
                    "1": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Accounts inactive for more than 42 days are automatically deleted."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "submitme": "X"
            },
            "error": [
                {
                    "selector": "h2",
                    "message": {
                        "selector": "table tr td.text"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"logout.php?hash_please=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "searchin": "title",
                "incldead": 1,
                "only_free": "{{ if .Config.freeleech }}1{{ else }}0{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[cellpadding=\"3\"] > tbody > tr:has(a[href^=\"download.php?torrent=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\'(.+?)\\\\'"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-last-child(8)"
                },
                "date_year": {
                    "selector": "td:nth-last-child(6):not(:contains(\"day\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM d yyyy hh:mm tt zzz"
                        }
                    ]
                },
                "date_day": {
                    "selector": "td:nth-last-child(6):contains(\"day\")",
                    "optional": true
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "description": {
                    "case": {
                        "img[src=\"./pic/mod.gif\"]": "Verified",
                        "*": "Unverified"
                    }
                },
                "downloadvolumefactor": {
                    "case": {
                        "a.info:contains(\"Freeleech\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"pic/doubleseed.gif\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "racing4everyone-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "racing4everyone-api",
        "name": "Racing4Everyone (API)",
        "description": "Racing4Everyone (R4E) is a Private Torrent Tracker for RACING",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://racing4everyone.eu/"
        ],
        "legacylinks": [
            "https://racing4everyone.jp/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 72,
                    "cat": "TV/Sport",
                    "desc": "AMA Pro Motocross"
                },
                {
                    "id": 73,
                    "cat": "TV/Sport",
                    "desc": "AMA Supercross"
                },
                {
                    "id": 76,
                    "cat": "TV/Sport",
                    "desc": "ARCA"
                },
                {
                    "id": 77,
                    "cat": "TV/Sport",
                    "desc": "Blancpain GT"
                },
                {
                    "id": 1,
                    "cat": "TV/Sport",
                    "desc": "BTCC"
                },
                {
                    "id": 60,
                    "cat": "TV/Sport",
                    "desc": "Drag Racing"
                },
                {
                    "id": 3,
                    "cat": "TV/Sport",
                    "desc": "DTM"
                },
                {
                    "id": 61,
                    "cat": "TV/Sport",
                    "desc": "ERC"
                },
                {
                    "id": 81,
                    "cat": "TV/Sport",
                    "desc": "Extreme E"
                },
                {
                    "id": 67,
                    "cat": "TV/Sport",
                    "desc": "Formula 1"
                },
                {
                    "id": 22,
                    "cat": "TV/Sport",
                    "desc": "Formula 2"
                },
                {
                    "id": 68,
                    "cat": "TV/Sport",
                    "desc": "Formula 3"
                },
                {
                    "id": 23,
                    "cat": "TV/Sport",
                    "desc": "Formula E"
                },
                {
                    "id": 62,
                    "cat": "TV/Sport",
                    "desc": "Indycar Series"
                },
                {
                    "id": 26,
                    "cat": "TV/Sport",
                    "desc": "MotoGP-2-3-E"
                },
                {
                    "id": 82,
                    "cat": "TV/Sport",
                    "desc": "Motorcycle Speedway"
                },
                {
                    "id": 85,
                    "cat": "TV/Sport",
                    "desc": "MXGP"
                },
                {
                    "id": 31,
                    "cat": "TV/Sport",
                    "desc": "Nascar"
                },
                {
                    "id": 25,
                    "cat": "TV/Sport",
                    "desc": "Other Bikes"
                },
                {
                    "id": 69,
                    "cat": "TV/Sport",
                    "desc": "Other Cars"
                },
                {
                    "id": 78,
                    "cat": "TV/Sport",
                    "desc": "Porsche Supercup"
                },
                {
                    "id": 32,
                    "cat": "TV/Sport",
                    "desc": "Stock Car Brazil"
                },
                {
                    "id": 63,
                    "cat": "TV/Sport",
                    "desc": "Supercars"
                },
                {
                    "id": 84,
                    "cat": "TV/Sport",
                    "desc": "Super Formula"
                },
                {
                    "id": 83,
                    "cat": "TV/Sport",
                    "desc": "Super GT"
                },
                {
                    "id": 80,
                    "cat": "TV/Sport",
                    "desc": "Touring Cars"
                },
                {
                    "id": 57,
                    "cat": "TV/Sport",
                    "desc": "WEC"
                },
                {
                    "id": 50,
                    "cat": "TV/Sport",
                    "desc": "WRC"
                },
                {
                    "id": 56,
                    "cat": "TV/Sport",
                    "desc": "WRX"
                },
                {
                    "id": 71,
                    "cat": "TV/Sport",
                    "desc": "WSBK"
                },
                {
                    "id": 74,
                    "cat": "TV/Sport",
                    "desc": "WTCR"
                },
                {
                    "id": 58,
                    "cat": "TV/Sport",
                    "desc": "W Series"
                },
                {
                    "id": 55,
                    "cat": "TV/Sport",
                    "desc": "Season Reviews"
                },
                {
                    "id": 66,
                    "cat": "TV/Sport",
                    "desc": "Documentaries"
                },
                {
                    "id": 2,
                    "cat": "TV/Sport",
                    "desc": "TV-Documentaries"
                },
                {
                    "id": 24,
                    "cat": "TV/Sport",
                    "desc": "Misc"
                },
                {
                    "id": 70,
                    "cat": "TV/Sport",
                    "desc": "Motorsport Movies"
                },
                {
                    "id": 79,
                    "cat": "TV/Sport",
                    "desc": "TV Series"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://racing4everyone.eu/\" target=\"_blank\">Racing4Everyone</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "After 6 months without any log in or usage of your account, it will be pruned and can only be reactivated by a staff member. Make sure to keep your account active and do not use programs to keep your account active, as your account may still get pruned."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "racingforme": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "racingforme",
        "name": "RacingForMe",
        "description": "Racing For Me (RFM) is a Private Torrent Tracker for RACING",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://www.racingfor.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1000,
                    "cat": "TV/Sport",
                    "desc": "Formula 1 - Full races"
                },
                {
                    "id": 1010,
                    "cat": "TV/Sport",
                    "desc": "F1 Full Seasons"
                },
                {
                    "id": 1020,
                    "cat": "TV/Sport",
                    "desc": "F1 Full Season 1950-1980"
                },
                {
                    "id": 1030,
                    "cat": "TV/Sport",
                    "desc": "F1 Full Season 1981-1990"
                },
                {
                    "id": 1040,
                    "cat": "TV/Sport",
                    "desc": "F1 Full Season 1991-2000"
                },
                {
                    "id": 1050,
                    "cat": "TV/Sport",
                    "desc": "F1 Full Season 2001-2010"
                },
                {
                    "id": 1060,
                    "cat": "TV/Sport",
                    "desc": "F1 Full Season 2011-2020"
                },
                {
                    "id": 1070,
                    "cat": "TV/Sport",
                    "desc": "F1 Full Season 2011-2020 (HD)"
                },
                {
                    "id": 2000,
                    "cat": "TV/Sport",
                    "desc": "Formula 1 - Highlights"
                },
                {
                    "id": 2010,
                    "cat": "TV/Sport",
                    "desc": "F1 Highlights 1950-1980"
                },
                {
                    "id": 2020,
                    "cat": "TV/Sport",
                    "desc": "F1 Highlights 1981-1990"
                },
                {
                    "id": 2030,
                    "cat": "TV/Sport",
                    "desc": "F1 Highlights 1991-2000"
                },
                {
                    "id": 2040,
                    "cat": "TV/Sport",
                    "desc": "F1 Highlights 2001-2010"
                },
                {
                    "id": 2050,
                    "cat": "TV/Sport",
                    "desc": "F1 Highlights 2011-2020"
                },
                {
                    "id": 2060,
                    "cat": "TV/Sport",
                    "desc": "F1 Highlights 2011-2020 (HD)"
                },
                {
                    "id": 3000,
                    "cat": "TV/Sport",
                    "desc": "Formula 1 - FP and quali"
                },
                {
                    "id": 3010,
                    "cat": "TV/Sport",
                    "desc": "F1 FP and quali 1950-1980"
                },
                {
                    "id": 3020,
                    "cat": "TV/Sport",
                    "desc": "F1 FP and quali 1981-1990"
                },
                {
                    "id": 3030,
                    "cat": "TV/Sport",
                    "desc": "F1 FP and quali 1991-2000"
                },
                {
                    "id": 3040,
                    "cat": "TV/Sport",
                    "desc": "F1 FP and quali 2001-2010"
                },
                {
                    "id": 3050,
                    "cat": "TV/Sport",
                    "desc": "F1 FP and quali 2011-2020"
                },
                {
                    "id": 3060,
                    "cat": "TV/Sport",
                    "desc": "F1 FP and quali 2011-2020 (HD)"
                },
                {
                    "id": 4000,
                    "cat": "TV/Sport",
                    "desc": "Formula 1 - Onboard"
                },
                {
                    "id": 4010,
                    "cat": "TV/Sport",
                    "desc": "F1 Onboard 1950-1980"
                },
                {
                    "id": 4020,
                    "cat": "TV/Sport",
                    "desc": "F1 Onboard 1981-1990"
                },
                {
                    "id": 4030,
                    "cat": "TV/Sport",
                    "desc": "F1 Onboard 1991-2000"
                },
                {
                    "id": 4040,
                    "cat": "TV/Sport",
                    "desc": "F1 Onboard 2001-2010"
                },
                {
                    "id": 4050,
                    "cat": "TV/Sport",
                    "desc": "F1 Onboard 2011-2020"
                },
                {
                    "id": 5000,
                    "cat": "TV/Sport",
                    "desc": "Formula 1 - Miscellaneous"
                },
                {
                    "id": 5010,
                    "cat": "TV/Sport",
                    "desc": "F1 Misc Documentaries"
                },
                {
                    "id": 5020,
                    "cat": "TV/Sport",
                    "desc": "F1 Misc Driver/team specials"
                },
                {
                    "id": 5030,
                    "cat": "TV/Sport",
                    "desc": "F1 Misc Event specials"
                },
                {
                    "id": 5040,
                    "cat": "TV/Sport",
                    "desc": "F1 Misc Other"
                },
                {
                    "id": 6000,
                    "cat": "TV/Sport",
                    "desc": "Formula 1 - current season"
                },
                {
                    "id": 6010,
                    "cat": "TV/Sport",
                    "desc": "F1 current season Free practices"
                },
                {
                    "id": 6020,
                    "cat": "TV/Sport",
                    "desc": "F1 current season Qualifications"
                },
                {
                    "id": 6030,
                    "cat": "TV/Sport",
                    "desc": "F1 current season Races"
                },
                {
                    "id": 6040,
                    "cat": "TV/Sport",
                    "desc": "F1 current season Highlights"
                },
                {
                    "id": 6050,
                    "cat": "TV/Sport",
                    "desc": "F1 current season Onboards"
                },
                {
                    "id": 6060,
                    "cat": "TV/Sport",
                    "desc": "F1 current season Other"
                },
                {
                    "id": 7000,
                    "cat": "TV/Sport",
                    "desc": "Formula 1 - current season (HD)"
                },
                {
                    "id": 7010,
                    "cat": "TV/Sport",
                    "desc": "F1 current season (HD) Free practices"
                },
                {
                    "id": 7020,
                    "cat": "TV/Sport",
                    "desc": "F1 current season (HD) Qualifications"
                },
                {
                    "id": 7030,
                    "cat": "TV/Sport",
                    "desc": "F1 current season (HD) Races"
                },
                {
                    "id": 7040,
                    "cat": "TV/Sport",
                    "desc": "F1 current season (HD) Highlights"
                },
                {
                    "id": 7050,
                    "cat": "TV/Sport",
                    "desc": "F1 current season (HD) Other"
                },
                {
                    "id": 8000,
                    "cat": "TV/Sport",
                    "desc": "Moto3 / Moto2 / MotoGP"
                },
                {
                    "id": 8010,
                    "cat": "TV/Sport",
                    "desc": "Moto 125cc"
                },
                {
                    "id": 8020,
                    "cat": "TV/Sport",
                    "desc": "Moto 250cc"
                },
                {
                    "id": 8030,
                    "cat": "TV/Sport",
                    "desc": "Moto Moto3"
                },
                {
                    "id": 8040,
                    "cat": "TV/Sport",
                    "desc": "Moto Moto2"
                },
                {
                    "id": 8050,
                    "cat": "TV/Sport",
                    "desc": "Moto MotoGP"
                },
                {
                    "id": 9000,
                    "cat": "TV/Sport",
                    "desc": "Motorbikes"
                },
                {
                    "id": 9010,
                    "cat": "TV/Sport",
                    "desc": "Motorbikes AMA"
                },
                {
                    "id": 9020,
                    "cat": "TV/Sport",
                    "desc": "Motorbikes World Supersport"
                },
                {
                    "id": 9030,
                    "cat": "TV/Sport",
                    "desc": "Motorbikes World Superstock"
                },
                {
                    "id": 9040,
                    "cat": "TV/Sport",
                    "desc": "Motorbikes WSBK"
                },
                {
                    "id": 9050,
                    "cat": "TV/Sport",
                    "desc": "Motorbikes BSB"
                },
                {
                    "id": 9060,
                    "cat": "TV/Sport",
                    "desc": "Motorbikes Other"
                },
                {
                    "id": 9070,
                    "cat": "TV/Sport",
                    "desc": "Motorbikes MotoAmerica"
                },
                {
                    "id": 10000,
                    "cat": "TV/Sport",
                    "desc": "Touring cars"
                },
                {
                    "id": 10010,
                    "cat": "TV/Sport",
                    "desc": "Touring cars WTCC"
                },
                {
                    "id": 10020,
                    "cat": "TV/Sport",
                    "desc": "Touring cars DTM"
                },
                {
                    "id": 10030,
                    "cat": "TV/Sport",
                    "desc": "Touring cars V8 Supercars"
                },
                {
                    "id": 10040,
                    "cat": "TV/Sport",
                    "desc": "Touring cars BTCC"
                },
                {
                    "id": 10050,
                    "cat": "TV/Sport",
                    "desc": "Touring cars Porsche Supercup"
                },
                {
                    "id": 10060,
                    "cat": "TV/Sport",
                    "desc": "Touring cars Other"
                },
                {
                    "id": 11000,
                    "cat": "TV/Sport",
                    "desc": "Sports cars"
                },
                {
                    "id": 11010,
                    "cat": "TV/Sport",
                    "desc": "Sports cars BSS"
                },
                {
                    "id": 11020,
                    "cat": "TV/Sport",
                    "desc": "Sports cars Le Mans 24H"
                },
                {
                    "id": 11030,
                    "cat": "TV/Sport",
                    "desc": "Sports cars WSC/WEC"
                },
                {
                    "id": 11040,
                    "cat": "TV/Sport",
                    "desc": "Sports cars IMSA"
                },
                {
                    "id": 11050,
                    "cat": "TV/Sport",
                    "desc": "Sports cars USC"
                },
                {
                    "id": 11070,
                    "cat": "TV/Sport",
                    "desc": "Sports cars BES"
                },
                {
                    "id": 11080,
                    "cat": "TV/Sport",
                    "desc": "Sports cars Super GT"
                },
                {
                    "id": 11090,
                    "cat": "TV/Sport",
                    "desc": "Sports cars IMSA Pilot Challenge"
                },
                {
                    "id": 11060,
                    "cat": "TV/Sport",
                    "desc": "Sports cars Other"
                },
                {
                    "id": 12000,
                    "cat": "TV/Sport",
                    "desc": "American open-wheelers"
                },
                {
                    "id": 12010,
                    "cat": "TV/Sport",
                    "desc": "American open-wheelers CCWS"
                },
                {
                    "id": 12020,
                    "cat": "TV/Sport",
                    "desc": "American open-wheelers IRL"
                },
                {
                    "id": 12030,
                    "cat": "TV/Sport",
                    "desc": "American open-wheelers CART"
                },
                {
                    "id": 12040,
                    "cat": "TV/Sport",
                    "desc": "American open-wheelers Indycar Series"
                },
                {
                    "id": 12050,
                    "cat": "TV/Sport",
                    "desc": "American open-wheelers Indy Lights"
                },
                {
                    "id": 12060,
                    "cat": "TV/Sport",
                    "desc": "American open-wheelers Other"
                },
                {
                    "id": 13000,
                    "cat": "TV/Sport",
                    "desc": "Rally"
                },
                {
                    "id": 13010,
                    "cat": "TV/Sport",
                    "desc": "Rally WRC"
                },
                {
                    "id": 13020,
                    "cat": "TV/Sport",
                    "desc": "Rally ERC"
                },
                {
                    "id": 13030,
                    "cat": "TV/Sport",
                    "desc": "Rally BRC"
                },
                {
                    "id": 13040,
                    "cat": "TV/Sport",
                    "desc": "Rally National series"
                },
                {
                    "id": 13050,
                    "cat": "TV/Sport",
                    "desc": "Rally Enduro-rally"
                },
                {
                    "id": 13060,
                    "cat": "TV/Sport",
                    "desc": "Rally Rally cross"
                },
                {
                    "id": 13070,
                    "cat": "TV/Sport",
                    "desc": "Rally Other"
                },
                {
                    "id": 14000,
                    "cat": "TV/Sport",
                    "desc": "NASCAR / Stockcars"
                },
                {
                    "id": 14010,
                    "cat": "TV/Sport",
                    "desc": "NASCAR Sprint Cup"
                },
                {
                    "id": 14020,
                    "cat": "TV/Sport",
                    "desc": "NASCAR XFINITY Series"
                },
                {
                    "id": 14030,
                    "cat": "TV/Sport",
                    "desc": "NASCAR CW Trucks"
                },
                {
                    "id": 14040,
                    "cat": "TV/Sport",
                    "desc": "NASCAR ARCA"
                },
                {
                    "id": 14050,
                    "cat": "TV/Sport",
                    "desc": "NASCAR Other"
                },
                {
                    "id": 15000,
                    "cat": "TV/Sport",
                    "desc": "F3000 / GP2 / Formula 2"
                },
                {
                    "id": 15010,
                    "cat": "TV/Sport",
                    "desc": "F2 1985-1990"
                },
                {
                    "id": 15020,
                    "cat": "TV/Sport",
                    "desc": "F2 1991-2000"
                },
                {
                    "id": 15030,
                    "cat": "TV/Sport",
                    "desc": "F2 2001-2011"
                },
                {
                    "id": 15040,
                    "cat": "TV/Sport",
                    "desc": "F2 2012-2019"
                },
                {
                    "id": 15050,
                    "cat": "TV/Sport",
                    "desc": "F2 GP2 Asia"
                },
                {
                    "id": 16000,
                    "cat": "TV/Sport",
                    "desc": "Single seaters"
                },
                {
                    "id": 16010,
                    "cat": "TV/Sport",
                    "desc": "Single seaters Formula 2"
                },
                {
                    "id": 16020,
                    "cat": "TV/Sport",
                    "desc": "Single seaters FIA F3"
                },
                {
                    "id": 16030,
                    "cat": "TV/Sport",
                    "desc": "Single seaters GP3"
                },
                {
                    "id": 16040,
                    "cat": "TV/Sport",
                    "desc": "Single seaters WSBR 2.0"
                },
                {
                    "id": 16050,
                    "cat": "TV/Sport",
                    "desc": "Single seaters WSBR 3.5"
                },
                {
                    "id": 16060,
                    "cat": "TV/Sport",
                    "desc": "Single seaters British F3"
                },
                {
                    "id": 16070,
                    "cat": "TV/Sport",
                    "desc": "Single seaters Formula E"
                },
                {
                    "id": 16080,
                    "cat": "TV/Sport",
                    "desc": "Single seaters Other"
                },
                {
                    "id": 17000,
                    "cat": "TV/Sport",
                    "desc": "Other Photographs"
                },
                {
                    "id": 17010,
                    "cat": "TV/Sport",
                    "desc": "Other Formula 1"
                },
                {
                    "id": 17020,
                    "cat": "TV/Sport",
                    "desc": "Other Motorbikes"
                },
                {
                    "id": 17030,
                    "cat": "TV/Sport",
                    "desc": "Other Touring cars"
                },
                {
                    "id": 17040,
                    "cat": "TV/Sport",
                    "desc": "Other Rally"
                },
                {
                    "id": 17050,
                    "cat": "TV/Sport",
                    "desc": "Other Sports cars"
                },
                {
                    "id": 17060,
                    "cat": "TV/Sport",
                    "desc": "Other"
                },
                {
                    "id": 18000,
                    "cat": "TV/Sport",
                    "desc": "Miscellaneous"
                },
                {
                    "id": 18010,
                    "cat": "TV/Sport",
                    "desc": "Documentaries"
                },
                {
                    "id": 18020,
                    "cat": "TV/Sport",
                    "desc": "TV shows"
                },
                {
                    "id": 18030,
                    "cat": "TV/Sport",
                    "desc": "DVD covers"
                },
                {
                    "id": 18040,
                    "cat": "TV/Sport",
                    "desc": "E-books"
                },
                {
                    "id": 18050,
                    "cat": "TV/Sport",
                    "desc": "Other"
                },
                {
                    "id": 19000,
                    "cat": "TV/Sport",
                    "desc": "Other"
                },
                {
                    "id": 19010,
                    "cat": "TV/Sport",
                    "desc": "Drag racing"
                },
                {
                    "id": 19020,
                    "cat": "TV/Sport",
                    "desc": "Truck racing"
                },
                {
                    "id": 19030,
                    "cat": "TV/Sport",
                    "desc": "Off-road"
                },
                {
                    "id": 19040,
                    "cat": "TV/Sport",
                    "desc": "Drifting"
                },
                {
                    "id": 19050,
                    "cat": "TV/Sport",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "date_desc",
                "options": {
                    "date_desc": "created desc",
                    "date_asc": "created asc",
                    "sd_desc": "seeders desc",
                    "sd_asc": "seeders asc",
                    "sz_desc": "size desc",
                    "sz_asc": "size asc",
                    "name_desc": "title desc",
                    "name_asc": "title asc"
                }
            }
        ],
        "login": {
            "path": "login",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "rememberme": true,
                "redirect": ""
            },
            "error": [
                {
                    "selector": "div.front__error"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href$=\"/logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "search/{{ if .Keywords }}{{ .Keywords }}{{ else }}*{{ end }}"
                },
                {
                    "path": "search/{{ if .Keywords }}{{ .Keywords }}{{ else }}*{{ end }}",
                    "inputs": {
                        "offset": 20
                    }
                },
                {
                    "path": "search/{{ if .Keywords }}{{ .Keywords }}{{ else }}*{{ end }}",
                    "inputs": {
                        "offset": 40
                    }
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)S(\\d{1,4})E(\\d{1,2})",
                        "$1 Round $2"
                    ]
                }
            ],
            "inputs": {
                "c": -1,
                "ob": "{{ .Config.sort }}"
            },
            "rows": {
                "selector": "div.row:has(div.torrent-item__download)"
            },
            "fields": {
                "category": {
                    "selector": "div.torrent-item__category span a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "c"
                        }
                    ]
                },
                "title": {
                    "selector": "div.torrent-item__title a"
                },
                "download": {
                    "selector": "div.torrent-item__download a",
                    "attribute": "href"
                },
                "details": {
                    "selector": "div.torrent-item__title a",
                    "attribute": "href"
                },
                "size": {
                    "selector": "div.data-size"
                },
                "seeders": {
                    "selector": "div.data-seeders"
                },
                "leechers": {
                    "selector": "div.data-leechers"
                },
                "grabs": {
                    "selector": "div.data-completed"
                },
                "date": {
                    "text": "now"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "railgunpt": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "railgunpt",
        "name": "RailgunPT",
        "description": "RailgunPT is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://bilibili.download/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐 / HQ Audio"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他 / Misc"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育 / Sports"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV / Music Videos"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺 / TV Shows"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "剧集 / TVSeries"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫 / Anime"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片 / Documentary"
                },
                {
                    "id": 420,
                    "cat": "Other",
                    "desc": "下架视频备份"
                },
                {
                    "id": 419,
                    "cat": "Books/Comics",
                    "desc": "漫画 / Comics"
                },
                {
                    "id": 412,
                    "cat": "Console",
                    "desc": "游戏 / Games"
                },
                {
                    "id": 411,
                    "cat": "Books/Other",
                    "desc": "学习 / Study"
                },
                {
                    "id": 410,
                    "cat": "PC",
                    "desc": "软件 / Software"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影 / Movies"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the RailgunPT Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Users Level 5 and above will be retained forever</li><li>Users of Level 4 and above will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 300 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 120 consecutive days</li><li>Users with no traffic (i.e. upload/download data is 0) within 30 days after registration will have their accounts deleted.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "rain": {
        "credentials": {
            "cookie": ""
        },
        "id": "rain",
        "name": "Rain (雨)",
        "description": "Rain (雨) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://raingfh.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐 / HQ Audio"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他 / Misc"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育竞技 / Sports"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV / Music Videos"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺 / TV Shows"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧 / TVSeries"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫 / Anime"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片 / Documentary"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影 / Movies"
                },
                {
                    "id": 410,
                    "cat": "Other",
                    "desc": "其他 / Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 4000 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 3650 consecutive days</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "rainbowtracker": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "rainbowtracker",
        "name": "Rainbow Tracker",
        "description": "Rainbow Tracker is a RUSSIAN Semi-Private Torrent Tracker for LGBTQ MOVIES / TV",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://gaytracker.ru/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Художественные гей-фильмы"
                },
                {
                    "id": 67,
                    "cat": "Movies/Foreign",
                    "desc": "Художественные гей-фильмы - Российское гей-кино"
                },
                {
                    "id": 66,
                    "cat": "Movies",
                    "desc": "Художественные гей-фильмы - Ретро гей-фильмы"
                },
                {
                    "id": 65,
                    "cat": "Movies/Foreign",
                    "desc": "Художественные гей-фильмы - Азиатские гей-фильмы"
                },
                {
                    "id": 63,
                    "cat": "Movies",
                    "desc": "Художественные гей-фильмы - Короткометражные гей-фильмы"
                },
                {
                    "id": 74,
                    "cat": "XXX/Other",
                    "desc": "Художественные гей-фильмы - Фильмы с элементами гей-Pron "
                },
                {
                    "id": 82,
                    "cat": "Movies",
                    "desc": "Художественные гей-фильмы - Фильмы с элементами гей-темы"
                },
                {
                    "id": 4,
                    "cat": "Movies",
                    "desc": "Художественные лесби-фильмы"
                },
                {
                    "id": 89,
                    "cat": "Movies/Foreign",
                    "desc": "Художественные лесби-фильмы - Российское лесби-кино"
                },
                {
                    "id": 90,
                    "cat": "Movies",
                    "desc": "Художественные лесби-фильмы - Ретро лесби-фильмы"
                },
                {
                    "id": 78,
                    "cat": "Movies/Foreign",
                    "desc": "Художественные лесби-фильмы - Азиатское лесби-кино"
                },
                {
                    "id": 64,
                    "cat": "Movies",
                    "desc": "Художественные лесби-фильмы - Короткометражные лесби-фильмы"
                },
                {
                    "id": 91,
                    "cat": "XXX/Other",
                    "desc": "Художественные лесби-фильмы - Фильмы с элементами лесби-Pron "
                },
                {
                    "id": 88,
                    "cat": "Movies",
                    "desc": "Художественные лесби-фильмы - Фильмы с элементами лесби-темы"
                },
                {
                    "id": 96,
                    "cat": "Movies",
                    "desc": "Художественные фильмы Транс*тематики"
                },
                {
                    "id": 5,
                    "cat": "Movies",
                    "desc": "Арт-хаус и авторское кино"
                },
                {
                    "id": 7,
                    "cat": "TV/Documentary",
                    "desc": "Документальные фильмы"
                },
                {
                    "id": 76,
                    "cat": "XXX/Other",
                    "desc": "Документальные фильмы - Фильмы с элементами Pron "
                },
                {
                    "id": 8,
                    "cat": "TV/Anime",
                    "desc": "Мультфильмы, Аниме"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "Эротическое видео"
                },
                {
                    "id": 71,
                    "cat": "XXX",
                    "desc": "Эротическое видео - Документальные фильмы"
                },
                {
                    "id": 72,
                    "cat": "XXX",
                    "desc": "Эротическое видео - Нудизм-Натуризм"
                },
                {
                    "id": 11,
                    "cat": "TV/Other",
                    "desc": "Шоу, Клипы, Музыка, Юмор и т.п."
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "Сериалы"
                },
                {
                    "id": 80,
                    "cat": "TV",
                    "desc": "Сериалы - Эпизод (серия) с гей-темой"
                },
                {
                    "id": 87,
                    "cat": "TV",
                    "desc": "Сериалы - Бесстыжие / Shameless "
                },
                {
                    "id": 77,
                    "cat": "TV",
                    "desc": "Сериалы - В поиске / Looking "
                },
                {
                    "id": 58,
                    "cat": "TV",
                    "desc": "Сериалы - Дрянные девчонки / Bad Girls "
                },
                {
                    "id": 56,
                    "cat": "TV",
                    "desc": "Сериалы - Лузеры / Хор / Glee "
                },
                {
                    "id": 49,
                    "cat": "TV",
                    "desc": "Сериалы - Физика или Химия"
                },
                {
                    "id": 44,
                    "cat": "TV",
                    "desc": "Сериалы - Юг нигде / South of nowhere "
                },
                {
                    "id": 41,
                    "cat": "TV",
                    "desc": "Сериалы - Охота на парней / Manhunt "
                },
                {
                    "id": 39,
                    "cat": "TV",
                    "desc": "Сериалы - Секс в другом городе / Мир Л / The L Word "
                },
                {
                    "id": 37,
                    "cat": "TV",
                    "desc": "Сериалы - Логово / The Lair "
                },
                {
                    "id": 34,
                    "cat": "TV",
                    "desc": "Сериалы - Бухта Данте"
                },
                {
                    "id": 29,
                    "cat": "TV",
                    "desc": "Сериалы - Ноев ковчег / Noah's Arc "
                },
                {
                    "id": 26,
                    "cat": "TV",
                    "desc": "Сериалы - Маленькая Британия / Little Britain "
                },
                {
                    "id": 21,
                    "cat": "TV",
                    "desc": "Сериалы - Молокососы / Skins. season "
                },
                {
                    "id": 15,
                    "cat": "TV",
                    "desc": "Сериалы - Близкие друзья / Queer as folk "
                },
                {
                    "id": 25,
                    "cat": "XXX/ImageSet",
                    "desc": "Фото, Картинки"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "Pron "
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "Pron - Pron-Фильмы"
                },
                {
                    "id": 86,
                    "cat": "XXX",
                    "desc": "Pron - Pron-Фильмы (азиатские)"
                },
                {
                    "id": 53,
                    "cat": "XXX",
                    "desc": "Pron - Pron-Ролики"
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "Pron - Pron-Би"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "Pron - Pron-Лесбо"
                },
                {
                    "id": 18,
                    "cat": "XXX",
                    "desc": "Pron - Pron-Транс"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "Pron - Pron-Гетеро"
                },
                {
                    "id": 59,
                    "cat": "XXX",
                    "desc": "Pron - Pron с переводом"
                },
                {
                    "id": 81,
                    "cat": "XXX",
                    "desc": "Pron - Pron-Мультфильмы, Pron-Аниме"
                },
                {
                    "id": 33,
                    "cat": "XXX/Other",
                    "desc": "Pron - Pron-Разное"
                },
                {
                    "id": 13,
                    "cat": "Other",
                    "desc": "Разное"
                },
                {
                    "id": 95,
                    "cat": "Other/Misc",
                    "desc": "Разное - Клипы, Трейлеры, Рекламма"
                },
                {
                    "id": 48,
                    "cat": "Other/Misc",
                    "desc": "Разное - Фильмы, мультфильмы"
                },
                {
                    "id": 57,
                    "cat": "Other/Misc",
                    "desc": "Разное - Сериалы"
                },
                {
                    "id": 54,
                    "cat": "Other/Misc",
                    "desc": "Разное - Картинки"
                },
                {
                    "id": 55,
                    "cat": "Other/Misc",
                    "desc": "Разное - Музыка"
                },
                {
                    "id": 94,
                    "cat": "Other/Misc",
                    "desc": "Разное - Аудиокниги"
                },
                {
                    "id": 47,
                    "cat": "Other/Misc",
                    "desc": "Разное - Книги"
                },
                {
                    "id": 46,
                    "cat": "Other/Misc",
                    "desc": "Разное - Игры"
                },
                {
                    "id": 45,
                    "cat": "Other/Misc",
                    "desc": "Разное - Программы"
                },
                {
                    "id": 14,
                    "cat": "Other",
                    "desc": "Тестовый форум"
                },
                {
                    "id": 32,
                    "cat": "Other",
                    "desc": "Мусорка"
                }
            ],
            "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": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "login": {
            "path": "forum/login.php",
            "method": "form",
            "form": "div.mrg_16 > table > tbody",
            "captcha": {
                "type": "image",
                "selector": "img[src^=\"includes/usercp_confirm.php?\"]",
                "input": "login_code"
            },
            "inputs": {
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "autologin": 1
            },
            "error": [
                {
                    "selector": "h4.warnColor1"
                }
            ],
            "test": {
                "path": "forum/index.php",
                "selector": "a[href=\"./login.php?logout=1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "forum/tracker.php"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "prev_allw": 1,
                "prev_a": 0,
                "prev_vote": 0,
                "prev_gold": 0,
                "prev_silver": 0,
                "prev_dla": 0,
                "prev_dlc": 0,
                "prev_dld": 0,
                "prev_dlw": 0,
                "prev_my": 0,
                "prev_new": 0,
                "prev_sd": 0,
                "prev_da": 1,
                "prev_dc": 0,
                "prev_df": 1,
                "prev_ds": 0,
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "dc": 0,
                "df": 1,
                "da": 1,
                "ds": 0,
                "tm": -1,
                "sns": -1,
                "nm": "{{ .Keywords }}",
                "allw": 1,
                "gold": "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "сезон $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bE0*(\\d+)\\b",
                        "сери $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "сезон $1 сери $2"
                    ]
                }
            ],
            "rows": {
                "selector": "tbody[id^=\"tor_\"]:has(a[href^=\"./download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a.gen",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "title": {
                    "selector": "a.genmed, a.seedmed",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a.genmed, a.seedmed",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td.seedmed > b, td.icemed > b",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "X",
                                "0"
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "td.leechmed > b"
                },
                "grabs": {
                    "selector": "td:nth-child(10)"
                },
                "date_time": {
                    "selector": "td:last-child",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{2}:\\d{2})"
                        }
                    ]
                },
                "date_date": {
                    "selector": "td:last-child",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{1,2}-\\w{3,4}-\\d{2})"
                        }
                    ]
                },
                "date": {
                    "text": "{{ .Result.date_time }} {{ .Result.date_date }}",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Янв",
                                "Jan"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Фев",
                                "Feb"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Мар",
                                "Mar"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Апр",
                                "Apr"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Май",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июн",
                                "Jun"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июл",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Авг",
                                "Aug"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Сен",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Окт",
                                "Oct"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ноя",
                                "Nov"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Дек",
                                "Dec"
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "HH:mm d-MMM-yy"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/tor_gold.gif\"]": 0,
                        "img[src=\"images/tor_silver.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.3
                },
                "description": {
                    "selector": "a.genmed, a.seedmed"
                }
            }
        }
    },
    "rastastugan-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "rastastugan-api",
        "name": "Rastastugan (API)",
        "description": "Rastastugan is a NORDIC Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://rastastugan.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4,
                    "cat": "PC",
                    "desc": "App"
                },
                {
                    "id": 5,
                    "cat": "Console",
                    "desc": "Game"
                },
                {
                    "id": 7,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook"
                },
                {
                    "id": 8,
                    "cat": "Books",
                    "desc": "Book"
                },
                {
                    "id": 9,
                    "cat": "Audio/Other",
                    "desc": "Podcast"
                },
                {
                    "id": 10,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 11,
                    "cat": "Other",
                    "desc": "3D Printable"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://rastastugan.org/\" target=\"_blank\">Rastastugan</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "You must log in to the website or the tracker must register activity from your Announce URL once every 90 days or your account will be disabled."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "redstartorrent": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "redstartorrent",
        "replaces": [
            "rstorrent"
        ],
        "name": "Red Star Torrent",
        "description": "Red Star Torrent (RST) is a POLISH Private Torrent Tracker for MOVIES / TV",
        "language": "pl-PL",
        "type": "private",
        "encoding": "ISO-8859-2",
        "links": [
            "http://rstorrent.org.pl/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 34,
                    "cat": "PC/0day",
                    "desc": "0-day"
                },
                {
                    "id": 15,
                    "cat": "Movies/3D",
                    "desc": "3D"
                },
                {
                    "id": 23,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 1,
                    "cat": "PC",
                    "desc": "Aplikacje"
                },
                {
                    "id": 30,
                    "cat": "Books/EBook",
                    "desc": "Ebooki"
                },
                {
                    "id": 20,
                    "cat": "Movies/SD",
                    "desc": "Filmy/DVD-R"
                },
                {
                    "id": 5,
                    "cat": "Movies/HD",
                    "desc": "Filmy/HD"
                },
                {
                    "id": 19,
                    "cat": "Movies/SD",
                    "desc": "Filmy/XviD"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Gry/PC ISO"
                },
                {
                    "id": 28,
                    "cat": "Other",
                    "desc": "GSM/PDA"
                },
                {
                    "id": 29,
                    "cat": "Movies",
                    "desc": "Kids"
                },
                {
                    "id": 40,
                    "cat": "Movies/Foreign",
                    "desc": "Kino Polska"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "Muzyka"
                },
                {
                    "id": 12,
                    "cat": "TV",
                    "desc": "Paczka"
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "Rozne"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "Seriale - Epizody"
                },
                {
                    "id": 3,
                    "cat": "TV",
                    "desc": "Seriale - Sezony"
                },
                {
                    "id": 35,
                    "cat": "TV",
                    "desc": "SHOW"
                },
                {
                    "id": 26,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 36,
                    "cat": "Other",
                    "desc": "Teatr"
                },
                {
                    "id": 27,
                    "cat": "Audio/Video",
                    "desc": "Teledyski"
                },
                {
                    "id": 31,
                    "cat": "TV/Documentary",
                    "desc": "TV Doc"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "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"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"failed\"))"
                },
                {
                    "selector": "td.embedded:has(h2:contains(\"Error\"))"
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href^=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "polish": 0
            },
            "rows": {
                "selector": "table[border=\"1\"][cellpadding=\"5\"] > tbody > tr:has(a[href^=\"/details.php?id=\"])"
            },
            "fields": {
                "title": {
                    "selector": "a[href^=\"/details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "category": {
                    "selector": "a[href^=\"/browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "download": {
                    "selector": "a[href^=\"/download.php/\"]",
                    "attribute": "href"
                },
                "description": {
                    "selector": "img[src=\"/pic/pl.gif\"]",
                    "attribute": "src",
                    "filters": [
                        {
                            "name": "append",
                            "args": "Language: polish\n<br>"
                        },
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description }}"
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss"
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "^(\\d+)"
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "/ (\\d+)"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "td.darmowy": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "reelflix-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "reelflix-api",
        "replaces": [
            "legacyhd",
            "reelflix"
        ],
        "name": "ReelFLiX (API)",
        "description": "ReelFLiX (HD4Free, LegacyHD) is a Private Torrent Tracker for HD MOVIES",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://reelflix.cc/"
        ],
        "legacylinks": [
            "https://legacyhd.org/",
            "https://reelflix.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movie"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://reelflix.cc/\" target=\"_blank\">ReelFlix</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "To avoid your account being disabled, you must login at least once every 90 days OR have a .torrent actively announcing to the tracker. Please be aware! If you are using any form of automation and it has been 90+ days since your last login, and your client stops seeding, your account will be immediately disabled at midnight UTC if you don't login or resume seeding. There is no 90-day grace period if seeding stops; only logging into the site counts. It is always a good idea to periodically login to check the status of your account. After being disabled for inactivity you must make an attempt to recover your account within 90 days (180 days total) or it will be pruned from our system automatically. Pruned accounts CANNOT be enabled and you will have to reapply or find a new invite"
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json",
                        "noResultsMessage": "No Torrents Found"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "downloadvolumefactor": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "uploadvolumefactor": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "minimumratio": {
                    "text": 0.8
                }
            }
        }
    },
    "retromoviesclub-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "retromoviesclub-api",
        "name": "RetroMoviesClub (API)",
        "description": "RetroMoviesClub (RMC) is a Private Torrent Tracker for Classic Movies",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://retro-movies.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://retro-movies.club/\" target=\"_blank\">RetroMoviesClub</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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 that are inactive for extended periods may be shelved or pruned."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "retrotoon": {
        "credentials": {
            "apikey": ""
        },
        "id": "retrotoon",
        "name": "RetroToon",
        "description": "RetroToon is a Private Torrent Tracker for ANIMATED MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.retrotoon.world/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2070,
                    "cat": "Movies",
                    "desc": "Movies/Anime"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 3030,
                    "cat": "Audio",
                    "desc": "Soundtrack"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 5070,
                    "cat": "TV/Anime",
                    "desc": "TV/Anime"
                },
                {
                    "id": 5080,
                    "cat": "TV/Documentary",
                    "desc": "TV/Documentary"
                },
                {
                    "id": 7000,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 7030,
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": 8000,
                    "cat": "XXX",
                    "desc": "Adult"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Retro"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Modern"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Feature"
                },
                {
                    "id": 4,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 5,
                    "cat": "TV/Anime",
                    "desc": "OVA"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "Shorts"
                },
                {
                    "id": 7,
                    "cat": "Movies",
                    "desc": "Indie"
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "Adult"
                },
                {
                    "id": 9,
                    "cat": "TV",
                    "desc": "CGI"
                },
                {
                    "id": 10,
                    "cat": "Other",
                    "desc": "Clay"
                },
                {
                    "id": 11,
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": 12,
                    "cat": "Books/Comics",
                    "desc": "Manga"
                },
                {
                    "id": 13,
                    "cat": "Other",
                    "desc": "Art"
                },
                {
                    "id": 14,
                    "cat": "Audio",
                    "desc": "OST"
                },
                {
                    "id": 15,
                    "cat": "TV/Other",
                    "desc": "Ads"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API Key"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API Key",
                "default": "You can find your API Key by accessing the <a href=\"https://www.retrotoon.world/prowlarr.php\" target=\"_blank\">RetroToon Prowlarr & Torznab integration</a> page and scrolling down to the <b>Your Passkey</b> section. (Passkey is the same as the APIkey)."
            }
        ],
        "login": {
            "path": "torznab.php",
            "method": "get",
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "search",
                "limit": 1
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torznab.php",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "{{ .Query.Type }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "limit": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\W+",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title": {
                    "selector": "title"
                },
                "details": {
                    "selector": "link"
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "[name=size]",
                    "attribute": "value"
                },
                "imdbid": {
                    "selector": "[name=imdbid]",
                    "attribute": "value"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=leechers]",
                    "attribute": "value"
                },
                "grabs": {
                    "selector": "[name=grabs]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "selector": "[name=downloadvolumefactor]",
                    "attribute": "value"
                },
                "uploadvolumefactor": {
                    "selector": "[name=uploadvolumefactor]",
                    "attribute": "value"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "rgfootball": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "rgfootball",
        "name": "RGFootball",
        "description": "RGFootball is a RUSSIAN Sports torrent tracker.",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://rgfootball.net/"
        ],
        "legacylinks": [
            "http://rgfootball.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 224,
                    "cat": "TV/Sport",
                    "desc": " |- VIP January 2025"
                },
                {
                    "id": 225,
                    "cat": "TV/Sport",
                    "desc": " |- VIP February 2025"
                },
                {
                    "id": 402,
                    "cat": "TV/Sport",
                    "desc": " |- VIP March 2025"
                },
                {
                    "id": 403,
                    "cat": "TV/Sport",
                    "desc": " |- VIP April 2025"
                },
                {
                    "id": 408,
                    "cat": "TV/Sport",
                    "desc": " |- VIP May 2025"
                },
                {
                    "id": 409,
                    "cat": "TV/Sport",
                    "desc": " |- VIP June 2025"
                },
                {
                    "id": 436,
                    "cat": "TV/Sport",
                    "desc": " |- VIP July 2025"
                },
                {
                    "id": 438,
                    "cat": "TV/Sport",
                    "desc": " |- VIP August 2025"
                },
                {
                    "id": 448,
                    "cat": "TV/Sport",
                    "desc": " |- VIP September 2025"
                },
                {
                    "id": 449,
                    "cat": "TV/Sport",
                    "desc": " |- VIP October 2025"
                },
                {
                    "id": 450,
                    "cat": "TV/Sport",
                    "desc": " |- VIP November 2025"
                },
                {
                    "id": 451,
                    "cat": "TV/Sport",
                    "desc": " |- VIP December 2025"
                },
                {
                    "id": 235,
                    "cat": "TV/Sport",
                    "desc": " |- VIP January 2024"
                },
                {
                    "id": 247,
                    "cat": "TV/Sport",
                    "desc": " |- VIP February 2024"
                },
                {
                    "id": 250,
                    "cat": "TV/Sport",
                    "desc": " |- VIP March 2024"
                },
                {
                    "id": 252,
                    "cat": "TV/Sport",
                    "desc": " |- VIP April 2024"
                },
                {
                    "id": 273,
                    "cat": "TV/Sport",
                    "desc": " |- VIP May 2024"
                },
                {
                    "id": 275,
                    "cat": "TV/Sport",
                    "desc": " |- VIP June 2024"
                },
                {
                    "id": 375,
                    "cat": "TV/Sport",
                    "desc": " |- VIP July 2024"
                },
                {
                    "id": 378,
                    "cat": "TV/Sport",
                    "desc": " |- VIP August 2024"
                },
                {
                    "id": 382,
                    "cat": "TV/Sport",
                    "desc": " |- VIP September 2024"
                },
                {
                    "id": 384,
                    "cat": "TV/Sport",
                    "desc": " |- VIP October 2024"
                },
                {
                    "id": 385,
                    "cat": "TV/Sport",
                    "desc": " |- VIP November 2024"
                },
                {
                    "id": 386,
                    "cat": "TV/Sport",
                    "desc": " |- VIP December 2024"
                },
                {
                    "id": 464,
                    "cat": "TV/Sport",
                    "desc": "Летние Олимпийские игры / 2024 /..."
                },
                {
                    "id": 440,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Olympics 2024"
                },
                {
                    "id": 486,
                    "cat": "TV/Sport",
                    "desc": " |- Церемонии"
                },
                {
                    "id": 487,
                    "cat": "TV/Sport",
                    "desc": " |- Футбол"
                },
                {
                    "id": 489,
                    "cat": "TV/Sport",
                    "desc": " |- Баскетбол"
                },
                {
                    "id": 491,
                    "cat": "TV/Sport",
                    "desc": " |- Волейбол"
                },
                {
                    "id": 500,
                    "cat": "TV/Sport",
                    "desc": " |- Гандбол"
                },
                {
                    "id": 488,
                    "cat": "TV/Sport",
                    "desc": " |- Теннис"
                },
                {
                    "id": 490,
                    "cat": "TV/Sport",
                    "desc": " |- Бокс"
                },
                {
                    "id": 331,
                    "cat": "TV/Sport",
                    "desc": " |- Лёгкая атлетика"
                },
                {
                    "id": 330,
                    "cat": "TV/Sport",
                    "desc": " |- Тяжёлая атлетика"
                },
                {
                    "id": 329,
                    "cat": "TV/Sport",
                    "desc": " |- Водные виды спорта и гребля"
                },
                {
                    "id": 323,
                    "cat": "TV/Sport",
                    "desc": " |- Велоспорт"
                },
                {
                    "id": 324,
                    "cat": "TV/Sport",
                    "desc": " |- Гимнастика"
                },
                {
                    "id": 327,
                    "cat": "TV/Sport",
                    "desc": " |- Борьба и единоборства"
                },
                {
                    "id": 292,
                    "cat": "TV/Sport",
                    "desc": " |- Другие виды спорта"
                },
                {
                    "id": 304,
                    "cat": "TV/Sport",
                    "desc": " |- Обзорные и тематические..."
                },
                {
                    "id": 431,
                    "cat": "TV/Sport",
                    "desc": " |- Архив - Олимпиады прошлых лет"
                },
                {
                    "id": 465,
                    "cat": "TV/Sport",
                    "desc": "Зимние Олимпийские игры 2022 /..."
                },
                {
                    "id": 473,
                    "cat": "TV/Sport",
                    "desc": " |- Церемонии"
                },
                {
                    "id": 483,
                    "cat": "TV/Sport",
                    "desc": " |- Биатлон"
                },
                {
                    "id": 485,
                    "cat": "TV/Sport",
                    "desc": " |- Фигурное катание"
                },
                {
                    "id": 467,
                    "cat": "TV/Sport",
                    "desc": " |- Лыжный спорт"
                },
                {
                    "id": 474,
                    "cat": "TV/Sport",
                    "desc": " |- Хоккей"
                },
                {
                    "id": 475,
                    "cat": "TV/Sport",
                    "desc": " |- Конькобежный спорт/Шорт-трек"
                },
                {
                    "id": 484,
                    "cat": "TV/Sport",
                    "desc": " |- Бобслей/Санный спорт/Скелетон"
                },
                {
                    "id": 481,
                    "cat": "TV/Sport",
                    "desc": " |- Сноуборд/Фристайл/Кёрлинг"
                },
                {
                    "id": 482,
                    "cat": "TV/Sport",
                    "desc": " |- Обзорные и тематические..."
                },
                {
                    "id": 476,
                    "cat": "TV/Sport",
                    "desc": " |- Архив - Олимпиады прошлых лет"
                },
                {
                    "id": 141,
                    "cat": "TV/Sport",
                    "desc": "2026 FIFA World Cup / Чемпионат мира 2026"
                },
                {
                    "id": 556,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra FIFA WC 2026"
                },
                {
                    "id": 557,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP FIFA WC 2026"
                },
                {
                    "id": 525,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Light FIFA WC 2026"
                },
                {
                    "id": 157,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA WC 2026"
                },
                {
                    "id": 579,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA WC 2026. Qualifiers"
                },
                {
                    "id": 106,
                    "cat": "TV/Sport",
                    "desc": "2025 FIFA Club World Cup / Клубный чемпиона..."
                },
                {
                    "id": 554,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽-Extra 2025 FIFA Club World Cup"
                },
                {
                    "id": 205,
                    "cat": "TV/Sport",
                    "desc": " |- ️VIP-Archive 2025 FIFA Club World Cup"
                },
                {
                    "id": 92,
                    "cat": "TV/Sport",
                    "desc": " |- 2025 FIFA Club World Cup"
                },
                {
                    "id": 163,
                    "cat": "TV/Sport",
                    "desc": "EURO 2024 / Чемпионат Европы 2024"
                },
                {
                    "id": 132,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra 4K EURO 2024"
                },
                {
                    "id": 508,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Archive EURO 2024"
                },
                {
                    "id": 513,
                    "cat": "TV/Sport",
                    "desc": " |- UEFA EURO 2024"
                },
                {
                    "id": 198,
                    "cat": "TV/Sport",
                    "desc": " |- VIP UEFA Euro 2024 qualifying"
                },
                {
                    "id": 195,
                    "cat": "TV/Sport",
                    "desc": " |- UEFA Euro 2024 qualifying"
                },
                {
                    "id": 580,
                    "cat": "TV/Sport",
                    "desc": "2022 FIFA World Cup / Чемпионат мира 2022"
                },
                {
                    "id": 515,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra FIFA SATFEEDS WC 2022"
                },
                {
                    "id": 234,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra FIFA 4K WC 2022"
                },
                {
                    "id": 583,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Archive FIFA WC 2022"
                },
                {
                    "id": 581,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA WC 2022"
                },
                {
                    "id": 582,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA WC 2022. Qualifiers"
                },
                {
                    "id": 432,
                    "cat": "TV/Sport",
                    "desc": "2018 FIFA World Cup / Чемпионат мира 2018"
                },
                {
                    "id": 535,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra FIFA WC 2018 4K"
                },
                {
                    "id": 559,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra FIFA WC 2018 Sat Feed"
                },
                {
                    "id": 574,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra FIFA WC 2018"
                },
                {
                    "id": 185,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA WC 2018"
                },
                {
                    "id": 136,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA WC 2018. Qualifiers"
                },
                {
                    "id": 217,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA WC 2018. Reviews"
                },
                {
                    "id": 458,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Archive FIFA WC 2018 Qualifiers"
                },
                {
                    "id": 578,
                    "cat": "TV/Sport",
                    "desc": "2025-26 UEFA Champions League"
                },
                {
                    "id": 13,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra 4k + Sat Feed UCL"
                },
                {
                    "id": 511,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra UCL 2025-26"
                },
                {
                    "id": 425,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP UCL 2025-26"
                },
                {
                    "id": 416,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light UCL 2025-26"
                },
                {
                    "id": 340,
                    "cat": "TV/Sport",
                    "desc": " |- Qualifying Rounds"
                },
                {
                    "id": 342,
                    "cat": "TV/Sport",
                    "desc": " |- Group stage"
                },
                {
                    "id": 344,
                    "cat": "TV/Sport",
                    "desc": " |- Play-off"
                },
                {
                    "id": 339,
                    "cat": "TV/Sport",
                    "desc": "2025-26 UEFA Europa League"
                },
                {
                    "id": 12,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra UEL 2025-26"
                },
                {
                    "id": 343,
                    "cat": "TV/Sport",
                    "desc": " |- Group stage"
                },
                {
                    "id": 341,
                    "cat": "TV/Sport",
                    "desc": " |- Qualifying Rounds"
                },
                {
                    "id": 345,
                    "cat": "TV/Sport",
                    "desc": " |- Play-off"
                },
                {
                    "id": 315,
                    "cat": "TV/Sport",
                    "desc": "2025-26 UEFA Europa Conference League"
                },
                {
                    "id": 419,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra 2025-26 UEFA ECL"
                },
                {
                    "id": 114,
                    "cat": "TV/Sport",
                    "desc": " |- Qualifying Rounds"
                },
                {
                    "id": 165,
                    "cat": "TV/Sport",
                    "desc": " |- Group stage"
                },
                {
                    "id": 164,
                    "cat": "TV/Sport",
                    "desc": " |- Play-off"
                },
                {
                    "id": 452,
                    "cat": "TV/Sport",
                    "desc": "2024-25 UEFA Champions League"
                },
                {
                    "id": 558,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra 4k + Sat Feed UCL"
                },
                {
                    "id": 346,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra UCL 2024-25"
                },
                {
                    "id": 415,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP UCL 2024-25"
                },
                {
                    "id": 569,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light UCL 2024-25"
                },
                {
                    "id": 158,
                    "cat": "TV/Sport",
                    "desc": " |- Qualifying Rounds"
                },
                {
                    "id": 159,
                    "cat": "TV/Sport",
                    "desc": " |- Group stage"
                },
                {
                    "id": 232,
                    "cat": "TV/Sport",
                    "desc": " |- Play-off"
                },
                {
                    "id": 160,
                    "cat": "TV/Sport",
                    "desc": "2024-25 UEFA Europa League"
                },
                {
                    "id": 347,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra UEL 2024-25"
                },
                {
                    "id": 512,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP UEL 2024-25"
                },
                {
                    "id": 570,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light UEL 2024-25"
                },
                {
                    "id": 161,
                    "cat": "TV/Sport",
                    "desc": " |- Qualifying Rounds"
                },
                {
                    "id": 162,
                    "cat": "TV/Sport",
                    "desc": " |- Group stage"
                },
                {
                    "id": 231,
                    "cat": "TV/Sport",
                    "desc": " |- Play-off"
                },
                {
                    "id": 48,
                    "cat": "TV/Sport",
                    "desc": "2024–25 UEFA Europa Conference League"
                },
                {
                    "id": 521,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra UEFA ECL"
                },
                {
                    "id": 442,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP 2024-25 UEFA ECL"
                },
                {
                    "id": 517,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light 2024-25 UEFA ECL"
                },
                {
                    "id": 405,
                    "cat": "TV/Sport",
                    "desc": " |- Qualifying Rounds"
                },
                {
                    "id": 536,
                    "cat": "TV/Sport",
                    "desc": " |- Group stage"
                },
                {
                    "id": 249,
                    "cat": "TV/Sport",
                    "desc": " |- Play-off"
                },
                {
                    "id": 3,
                    "cat": "TV/Sport",
                    "desc": "Англия/England"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra 4k England"
                },
                {
                    "id": 561,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra EPL Classic"
                },
                {
                    "id": 223,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP England"
                },
                {
                    "id": 553,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light England"
                },
                {
                    "id": 538,
                    "cat": "TV/Sport",
                    "desc": " |- Premier League 2025-26"
                },
                {
                    "id": 412,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups 2025-26"
                },
                {
                    "id": 418,
                    "cat": "TV/Sport",
                    "desc": " |- Championship+ 2025-26"
                },
                {
                    "id": 54,
                    "cat": "TV/Sport",
                    "desc": " |- Premier League 2024-25"
                },
                {
                    "id": 351,
                    "cat": "TV/Sport",
                    "desc": " |- Championship+"
                },
                {
                    "id": 53,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups up to 2026"
                },
                {
                    "id": 55,
                    "cat": "TV/Sport",
                    "desc": " |- Previous years matches"
                },
                {
                    "id": 2,
                    "cat": "TV/Sport",
                    "desc": "Россия/СССР - Russia/USSR"
                },
                {
                    "id": 381,
                    "cat": "TV/Sport",
                    "desc": " |- VIP Russia"
                },
                {
                    "id": 562,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light Russia"
                },
                {
                    "id": 251,
                    "cat": "TV/Sport",
                    "desc": " |- RPL 2025-26"
                },
                {
                    "id": 423,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups 2025-26"
                },
                {
                    "id": 496,
                    "cat": "TV/Sport",
                    "desc": " |- FNL 2025-26"
                },
                {
                    "id": 57,
                    "cat": "TV/Sport",
                    "desc": " |- RPL 2024-25"
                },
                {
                    "id": 56,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups up to 2025"
                },
                {
                    "id": 46,
                    "cat": "TV/Sport",
                    "desc": " |- Previous years matches"
                },
                {
                    "id": 8,
                    "cat": "TV/Sport",
                    "desc": "Украина/Ukraine"
                },
                {
                    "id": 563,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light Ukraine"
                },
                {
                    "id": 410,
                    "cat": "TV/Sport",
                    "desc": " |- UPL 2025-26"
                },
                {
                    "id": 152,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups 2025-26"
                },
                {
                    "id": 72,
                    "cat": "TV/Sport",
                    "desc": " |- UPL 2024-25"
                },
                {
                    "id": 71,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups up to 2026"
                },
                {
                    "id": 348,
                    "cat": "TV/Sport",
                    "desc": " |- Lower leagues"
                },
                {
                    "id": 70,
                    "cat": "TV/Sport",
                    "desc": " |- Previous years matches"
                },
                {
                    "id": 4,
                    "cat": "TV/Sport",
                    "desc": "Испания/Spain"
                },
                {
                    "id": 516,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra 4k + Sat Feed"
                },
                {
                    "id": 173,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra Spain Classic"
                },
                {
                    "id": 506,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra El Clasico"
                },
                {
                    "id": 208,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP Spain"
                },
                {
                    "id": 564,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light Spain"
                },
                {
                    "id": 194,
                    "cat": "TV/Sport",
                    "desc": " |- Primera Division 2025-26"
                },
                {
                    "id": 424,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups 2025-26"
                },
                {
                    "id": 58,
                    "cat": "TV/Sport",
                    "desc": " |- Primera Division 2024-25"
                },
                {
                    "id": 59,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups up to 2025"
                },
                {
                    "id": 353,
                    "cat": "TV/Sport",
                    "desc": " |- Segunda, Segunda B"
                },
                {
                    "id": 60,
                    "cat": "TV/Sport",
                    "desc": " |- Previous years matches"
                },
                {
                    "id": 6,
                    "cat": "TV/Sport",
                    "desc": "Германия/Germany"
                },
                {
                    "id": 555,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra 4k+ Germany"
                },
                {
                    "id": 210,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP Germany"
                },
                {
                    "id": 565,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light Germany"
                },
                {
                    "id": 175,
                    "cat": "TV/Sport",
                    "desc": " |- Bundesliga 2025-26"
                },
                {
                    "id": 352,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups 2025-26"
                },
                {
                    "id": 66,
                    "cat": "TV/Sport",
                    "desc": " |- Bundesliga 2024-25"
                },
                {
                    "id": 355,
                    "cat": "TV/Sport",
                    "desc": " |- 2. Bundesliga"
                },
                {
                    "id": 65,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups up to 2025"
                },
                {
                    "id": 427,
                    "cat": "TV/Sport",
                    "desc": " |- Lower leagues"
                },
                {
                    "id": 64,
                    "cat": "TV/Sport",
                    "desc": " |- Previous years matches"
                },
                {
                    "id": 5,
                    "cat": "TV/Sport",
                    "desc": "Италия/Italy"
                },
                {
                    "id": 529,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra Italy"
                },
                {
                    "id": 209,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP Italy"
                },
                {
                    "id": 566,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light Italy"
                },
                {
                    "id": 174,
                    "cat": "TV/Sport",
                    "desc": " |- Serie A  2025-26"
                },
                {
                    "id": 196,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups 2025-26"
                },
                {
                    "id": 63,
                    "cat": "TV/Sport",
                    "desc": " |- Serie A 2024-25"
                },
                {
                    "id": 354,
                    "cat": "TV/Sport",
                    "desc": " |- Serie B, Lega Pro, Serie D"
                },
                {
                    "id": 62,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups up to 2026"
                },
                {
                    "id": 540,
                    "cat": "TV/Sport",
                    "desc": " |- 1996-97 Juventus Classic"
                },
                {
                    "id": 61,
                    "cat": "TV/Sport",
                    "desc": " |- Previous years matches"
                },
                {
                    "id": 7,
                    "cat": "TV/Sport",
                    "desc": "Франция/France"
                },
                {
                    "id": 184,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra 4k + Sat Feed"
                },
                {
                    "id": 211,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP France"
                },
                {
                    "id": 567,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light France"
                },
                {
                    "id": 69,
                    "cat": "TV/Sport",
                    "desc": " |- Ligue 1 2025-26"
                },
                {
                    "id": 133,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups 2025-26"
                },
                {
                    "id": 176,
                    "cat": "TV/Sport",
                    "desc": " |- Ligue 1 2024-25"
                },
                {
                    "id": 428,
                    "cat": "TV/Sport",
                    "desc": " |- Ligue 2"
                },
                {
                    "id": 68,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups up to 2026"
                },
                {
                    "id": 67,
                    "cat": "TV/Sport",
                    "desc": " |- Previous years matches"
                },
                {
                    "id": 188,
                    "cat": "TV/Sport",
                    "desc": "Нидерланды/Netherlands"
                },
                {
                    "id": 189,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Eredividie"
                },
                {
                    "id": 568,
                    "cat": "TV/Sport",
                    "desc": " |- VIP Netherlands"
                },
                {
                    "id": 356,
                    "cat": "TV/Sport",
                    "desc": " |- Season 2025-26"
                },
                {
                    "id": 190,
                    "cat": "TV/Sport",
                    "desc": " |- National Cups"
                },
                {
                    "id": 191,
                    "cat": "TV/Sport",
                    "desc": " |- Previous years matches"
                },
                {
                    "id": 9,
                    "cat": "TV/Sport",
                    "desc": "Другие национальные чемпионаты..."
                },
                {
                    "id": 233,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Switzerland"
                },
                {
                    "id": 240,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Belgium"
                },
                {
                    "id": 531,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Portugal"
                },
                {
                    "id": 551,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Japan"
                },
                {
                    "id": 214,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Others"
                },
                {
                    "id": 549,
                    "cat": "TV/Sport",
                    "desc": " |- VIP Others"
                },
                {
                    "id": 537,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light All Champs"
                },
                {
                    "id": 573,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Argentina"
                },
                {
                    "id": 394,
                    "cat": "TV/Sport",
                    "desc": " |- Бразилия/Brazil"
                },
                {
                    "id": 441,
                    "cat": "TV/Sport",
                    "desc": " |- Португалия/Portugal"
                },
                {
                    "id": 87,
                    "cat": "TV/Sport",
                    "desc": " |- Европа/Europe"
                },
                {
                    "id": 91,
                    "cat": "TV/Sport",
                    "desc": " |- Южная Америка/South America"
                },
                {
                    "id": 90,
                    "cat": "TV/Sport",
                    "desc": " |- Северная Америка/North America"
                },
                {
                    "id": 89,
                    "cat": "TV/Sport",
                    "desc": " |- Африка/Africa"
                },
                {
                    "id": 88,
                    "cat": "TV/Sport",
                    "desc": " |- Азия/Asia"
                },
                {
                    "id": 179,
                    "cat": "TV/Sport",
                    "desc": " |- Previous years matches"
                },
                {
                    "id": 11,
                    "cat": "TV/Sport",
                    "desc": "Еврокубки/European Cups"
                },
                {
                    "id": 523,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️⚽️⚽️VIP-Ultra Archive UEFA"
                },
                {
                    "id": 514,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra UEFA Classic Finals"
                },
                {
                    "id": 376,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra UEFA Classic"
                },
                {
                    "id": 212,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP UEFA"
                },
                {
                    "id": 421,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light UEFA"
                },
                {
                    "id": 377,
                    "cat": "TV/Sport",
                    "desc": " |- UEFA Super Cup"
                },
                {
                    "id": 74,
                    "cat": "TV/Sport",
                    "desc": " |- UEFA Champions League"
                },
                {
                    "id": 75,
                    "cat": "TV/Sport",
                    "desc": " |- UEFA Europa League"
                },
                {
                    "id": 411,
                    "cat": "TV/Sport",
                    "desc": " |- UEFA Europa Conference League"
                },
                {
                    "id": 434,
                    "cat": "TV/Sport",
                    "desc": " |- UEFA Youth League"
                },
                {
                    "id": 76,
                    "cat": "TV/Sport",
                    "desc": " |- UEFA European Cup"
                },
                {
                    "id": 78,
                    "cat": "TV/Sport",
                    "desc": " |- UEFA Cup"
                },
                {
                    "id": 79,
                    "cat": "TV/Sport",
                    "desc": " |- Cup Winners Cup"
                },
                {
                    "id": 80,
                    "cat": "TV/Sport",
                    "desc": " |- Other Compeitions"
                },
                {
                    "id": 328,
                    "cat": "TV/Sport",
                    "desc": "Лига наций УЕФА / UEFA Nations League"
                },
                {
                    "id": 530,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra UEFA Nations League"
                },
                {
                    "id": 201,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP UEFA Nations League"
                },
                {
                    "id": 572,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light UEFA Nations League"
                },
                {
                    "id": 193,
                    "cat": "TV/Sport",
                    "desc": " |- League A"
                },
                {
                    "id": 544,
                    "cat": "TV/Sport",
                    "desc": " |- League B"
                },
                {
                    "id": 543,
                    "cat": "TV/Sport",
                    "desc": " |- League C"
                },
                {
                    "id": 542,
                    "cat": "TV/Sport",
                    "desc": " |- League D"
                },
                {
                    "id": 117,
                    "cat": "TV/Sport",
                    "desc": " |- Play-off"
                },
                {
                    "id": 15,
                    "cat": "TV/Sport",
                    "desc": "Чемпионаты Мира/FIFA World Cups"
                },
                {
                    "id": 461,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra FIFA WC Classic"
                },
                {
                    "id": 443,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra FIFA World Cup"
                },
                {
                    "id": 456,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA WC 2014. Финальный турнир"
                },
                {
                    "id": 168,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA WC 2014. Отборочный турнир"
                },
                {
                    "id": 495,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA WC 2014. Обзорные передачи"
                },
                {
                    "id": 178,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA WC U20"
                },
                {
                    "id": 153,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA WC U17"
                },
                {
                    "id": 218,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra FIFA WC Old"
                },
                {
                    "id": 14,
                    "cat": "TV/Sport",
                    "desc": "Чемпионаты Европы/UEFA European..."
                },
                {
                    "id": 242,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra EURO Classic"
                },
                {
                    "id": 546,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra EURO 2024 U17 + U19 + U21"
                },
                {
                    "id": 528,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra 4K EURO 2020"
                },
                {
                    "id": 216,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Archive UEFA EURO 2020"
                },
                {
                    "id": 380,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra EURO 2016"
                },
                {
                    "id": 395,
                    "cat": "TV/Sport",
                    "desc": " |- UEFA EURO 2020"
                },
                {
                    "id": 447,
                    "cat": "TV/Sport",
                    "desc": " |- UEFA EURO 2020 qualifying"
                },
                {
                    "id": 552,
                    "cat": "TV/Sport",
                    "desc": " |- EURO 2016. Финальный турнир"
                },
                {
                    "id": 494,
                    "cat": "TV/Sport",
                    "desc": " |- EURO 2016. Отборочный турнир"
                },
                {
                    "id": 350,
                    "cat": "TV/Sport",
                    "desc": " |- EURO 2012. Финальный турнир"
                },
                {
                    "id": 118,
                    "cat": "TV/Sport",
                    "desc": " |- EURO 2012. Отборочный турнир"
                },
                {
                    "id": 200,
                    "cat": "TV/Sport",
                    "desc": " |- EURO U21"
                },
                {
                    "id": 337,
                    "cat": "TV/Sport",
                    "desc": " |- EURO U19"
                },
                {
                    "id": 255,
                    "cat": "TV/Sport",
                    "desc": " |- EURO U17"
                },
                {
                    "id": 426,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra UEFA EURO 2020 qualifying"
                },
                {
                    "id": 414,
                    "cat": "TV/Sport",
                    "desc": "Международные клубные турниры/I..."
                },
                {
                    "id": 533,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Clubs International"
                },
                {
                    "id": 243,
                    "cat": "TV/Sport",
                    "desc": " |- VIP Clubs International"
                },
                {
                    "id": 539,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light Clubs International"
                },
                {
                    "id": 534,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra 2023 CONCACAF Gold Cup"
                },
                {
                    "id": 401,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra Copa Libertadores 2025"
                },
                {
                    "id": 526,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra Copa Sudamericana 2025"
                },
                {
                    "id": 399,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra CAF Competitions"
                },
                {
                    "id": 550,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra AFC Competitions"
                },
                {
                    "id": 524,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra CONCACAF Competitions"
                },
                {
                    "id": 463,
                    "cat": "TV/Sport",
                    "desc": " |- 2025 Copa Libertadores"
                },
                {
                    "id": 433,
                    "cat": "TV/Sport",
                    "desc": " |- 2025 Copa Sudamericana"
                },
                {
                    "id": 457,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA Club World Cup / FIFA Intercontinental Cup"
                },
                {
                    "id": 472,
                    "cat": "TV/Sport",
                    "desc": " |- CONCACAF Competitions"
                },
                {
                    "id": 241,
                    "cat": "TV/Sport",
                    "desc": " |- Copa Libertadores"
                },
                {
                    "id": 367,
                    "cat": "TV/Sport",
                    "desc": " |- Copa Sudamericana"
                },
                {
                    "id": 390,
                    "cat": "TV/Sport",
                    "desc": " |- AFC Club Competitions"
                },
                {
                    "id": 417,
                    "cat": "TV/Sport",
                    "desc": " |- CAF Competitions"
                },
                {
                    "id": 10,
                    "cat": "TV/Sport",
                    "desc": "Международные турниры/National Team..."
                },
                {
                    "id": 466,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra International"
                },
                {
                    "id": 213,
                    "cat": "TV/Sport",
                    "desc": " |- VIP International"
                },
                {
                    "id": 527,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra 2024 Copa America"
                },
                {
                    "id": 560,
                    "cat": "TV/Sport",
                    "desc": " |- VIP 2024 Copa America"
                },
                {
                    "id": 202,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light 2024 Copa America"
                },
                {
                    "id": 575,
                    "cat": "TV/Sport",
                    "desc": " |- 2024 Copa America"
                },
                {
                    "id": 532,
                    "cat": "TV/Sport",
                    "desc": " |- 2023 Africa Cup of Nations"
                },
                {
                    "id": 422,
                    "cat": "TV/Sport",
                    "desc": " |- 2023 AFC Asian Cup"
                },
                {
                    "id": 155,
                    "cat": "TV/Sport",
                    "desc": " |- Copa America"
                },
                {
                    "id": 435,
                    "cat": "TV/Sport",
                    "desc": " |- CONCACAF Competitions"
                },
                {
                    "id": 406,
                    "cat": "TV/Sport",
                    "desc": " |- FIFA Confederations Cups"
                },
                {
                    "id": 239,
                    "cat": "TV/Sport",
                    "desc": " |- Africa Cup of Nations"
                },
                {
                    "id": 507,
                    "cat": "TV/Sport",
                    "desc": " |- AFC Asian Cups"
                },
                {
                    "id": 393,
                    "cat": "TV/Sport",
                    "desc": " |- Sudamericano"
                },
                {
                    "id": 462,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra 2023 Africa Cup of Nations"
                },
                {
                    "id": 16,
                    "cat": "TV/Sport",
                    "desc": "Товарищеские турниры и матчи/Frie..."
                },
                {
                    "id": 387,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽️VIP-Extra Friendlies"
                },
                {
                    "id": 219,
                    "cat": "TV/Sport",
                    "desc": " |- VIP  Friendlies"
                },
                {
                    "id": 571,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light Friendlies"
                },
                {
                    "id": 18,
                    "cat": "TV/Sport",
                    "desc": "Мини-футбол/Футзал"
                },
                {
                    "id": 19,
                    "cat": "TV/Sport",
                    "desc": "Пляжный футбол"
                },
                {
                    "id": 499,
                    "cat": "TV/Sport",
                    "desc": "Женский футбол"
                },
                {
                    "id": 17,
                    "cat": "TV/Sport",
                    "desc": "Обзорные и аналитические..."
                },
                {
                    "id": 37,
                    "cat": "TV/Sport",
                    "desc": "Футбольное видео, прочее о..."
                },
                {
                    "id": 199,
                    "cat": "TV/Sport",
                    "desc": " |- Видео для мобильных устройств"
                },
                {
                    "id": 86,
                    "cat": "TV/Sport",
                    "desc": " |- Футбольная графика"
                },
                {
                    "id": 43,
                    "cat": "TV/Sport",
                    "desc": "Аудиопередачи /Футбольное..."
                },
                {
                    "id": 23,
                    "cat": "TV/Sport",
                    "desc": "Авто/мотоспорт"
                },
                {
                    "id": 131,
                    "cat": "TV/Sport",
                    "desc": " |- Formula 1. Season 2025"
                },
                {
                    "id": 492,
                    "cat": "TV/Sport",
                    "desc": " |- Formula 1. Season 2024"
                },
                {
                    "id": 400,
                    "cat": "TV/Sport",
                    "desc": " |- Formula 1. Seasons until 2023"
                },
                {
                    "id": 21,
                    "cat": "TV/Sport",
                    "desc": "Хоккей"
                },
                {
                    "id": 501,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra ЧМ 2024 U-18 / IIHF WС 2024 U-18"
                },
                {
                    "id": 420,
                    "cat": "TV/Sport",
                    "desc": " |- ЧМ 2024 /  IIHF WС 2024"
                },
                {
                    "id": 207,
                    "cat": "TV/Sport",
                    "desc": " |- КХЛ 2024/25"
                },
                {
                    "id": 391,
                    "cat": "TV/Sport",
                    "desc": " |- NHL 2024/25"
                },
                {
                    "id": 445,
                    "cat": "TV/Sport",
                    "desc": " |- NHL 2024/24"
                },
                {
                    "id": 444,
                    "cat": "TV/Sport",
                    "desc": " |- КХЛ 2023/24"
                },
                {
                    "id": 151,
                    "cat": "TV/Sport",
                    "desc": " |- NHL до 2024"
                },
                {
                    "id": 47,
                    "cat": "TV/Sport",
                    "desc": " |- КХЛ до 2024"
                },
                {
                    "id": 460,
                    "cat": "TV/Sport",
                    "desc": " |- World Championships until 2024"
                },
                {
                    "id": 206,
                    "cat": "TV/Sport",
                    "desc": " |- European club championships"
                },
                {
                    "id": 222,
                    "cat": "TV/Sport",
                    "desc": " |- Euro Hockey Tour"
                },
                {
                    "id": 49,
                    "cat": "TV/Sport",
                    "desc": " |- International tournaments"
                },
                {
                    "id": 468,
                    "cat": "TV/Sport",
                    "desc": " |- СССР - Канада"
                },
                {
                    "id": 20,
                    "cat": "TV/Sport",
                    "desc": "Баскетбол"
                },
                {
                    "id": 50,
                    "cat": "TV/Sport",
                    "desc": " |- NBA 2023-24"
                },
                {
                    "id": 453,
                    "cat": "TV/Sport",
                    "desc": " |- NCAA"
                },
                {
                    "id": 204,
                    "cat": "TV/Sport",
                    "desc": " |- WNBA"
                },
                {
                    "id": 150,
                    "cat": "TV/Sport",
                    "desc": " |- NBA до 2023"
                },
                {
                    "id": 51,
                    "cat": "TV/Sport",
                    "desc": " |- European club basketball"
                },
                {
                    "id": 197,
                    "cat": "TV/Sport",
                    "desc": " |- World Championships. Men"
                },
                {
                    "id": 379,
                    "cat": "TV/Sport",
                    "desc": " |- World Championships. Women"
                },
                {
                    "id": 446,
                    "cat": "TV/Sport",
                    "desc": " |- European Championships"
                },
                {
                    "id": 171,
                    "cat": "TV/Sport",
                    "desc": " |- International tournaments"
                },
                {
                    "id": 203,
                    "cat": "TV/Sport",
                    "desc": " |- Women's basketball"
                },
                {
                    "id": 22,
                    "cat": "TV/Sport",
                    "desc": "Теннис"
                },
                {
                    "id": 274,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Tennis"
                },
                {
                    "id": 227,
                    "cat": "TV/Sport",
                    "desc": " |- Australian Open 2025"
                },
                {
                    "id": 248,
                    "cat": "TV/Sport",
                    "desc": " |- Roland Garros 2025"
                },
                {
                    "id": 388,
                    "cat": "TV/Sport",
                    "desc": " |- Wimbledon 2025"
                },
                {
                    "id": 459,
                    "cat": "TV/Sport",
                    "desc": " |- US Open 2024"
                },
                {
                    "id": 505,
                    "cat": "TV/Sport",
                    "desc": " |- ATP 1000 WT Masters 2023"
                },
                {
                    "id": 502,
                    "cat": "TV/Sport",
                    "desc": " |- ATP 250/500 World Tour 2023"
                },
                {
                    "id": 504,
                    "cat": "TV/Sport",
                    "desc": " |- WTA Tour 2023"
                },
                {
                    "id": 503,
                    "cat": "TV/Sport",
                    "desc": " |- Team Season 2023"
                },
                {
                    "id": 128,
                    "cat": "TV/Sport",
                    "desc": " |- Grand Slam Tournaments up to 2024"
                },
                {
                    "id": 127,
                    "cat": "TV/Sport",
                    "desc": " |- ATP WT Masters 1000 up to 2022"
                },
                {
                    "id": 125,
                    "cat": "TV/Sport",
                    "desc": " |- ATP World Tour up to 2022"
                },
                {
                    "id": 126,
                    "cat": "TV/Sport",
                    "desc": " |- WTA Tour up to 2022"
                },
                {
                    "id": 130,
                    "cat": "TV/Sport",
                    "desc": " |- Team Season up to 2022"
                },
                {
                    "id": 129,
                    "cat": "TV/Sport",
                    "desc": " |- Matches of previous years"
                },
                {
                    "id": 44,
                    "cat": "TV/Sport",
                    "desc": "Биатлон"
                },
                {
                    "id": 498,
                    "cat": "TV/Sport",
                    "desc": " |- Season 2023"
                },
                {
                    "id": 455,
                    "cat": "TV/Sport",
                    "desc": " |- Seasons until 2022"
                },
                {
                    "id": 82,
                    "cat": "TV/Sport",
                    "desc": "Гандбол"
                },
                {
                    "id": 548,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Handball"
                },
                {
                    "id": 469,
                    "cat": "TV/Sport",
                    "desc": " |- WC's and EURO's. Men"
                },
                {
                    "id": 547,
                    "cat": "TV/Sport",
                    "desc": " |- WC's and EURO's. Women"
                },
                {
                    "id": 397,
                    "cat": "TV/Sport",
                    "desc": " |- European club handball"
                },
                {
                    "id": 398,
                    "cat": "TV/Sport",
                    "desc": " |- International tournaments"
                },
                {
                    "id": 38,
                    "cat": "TV/Sport",
                    "desc": "Волейбол"
                },
                {
                    "id": 261,
                    "cat": "TV/Sport",
                    "desc": " |- Лига наций"
                },
                {
                    "id": 262,
                    "cat": "TV/Sport",
                    "desc": " |- Клубный волейбол"
                },
                {
                    "id": 170,
                    "cat": "TV/Sport",
                    "desc": " |- Международные турниры"
                },
                {
                    "id": 169,
                    "cat": "TV/Sport",
                    "desc": " |- Пляжный волейбол"
                },
                {
                    "id": 25,
                    "cat": "TV/Sport",
                    "desc": "Боевые единоборства"
                },
                {
                    "id": 98,
                    "cat": "TV/Sport",
                    "desc": " |- Бокс"
                },
                {
                    "id": 101,
                    "cat": "TV/Sport",
                    "desc": " |- Рестлинг"
                },
                {
                    "id": 100,
                    "cat": "TV/Sport",
                    "desc": " |- Mixed Martial Arts"
                },
                {
                    "id": 99,
                    "cat": "TV/Sport",
                    "desc": " |- Ultimate Fighting Championship"
                },
                {
                    "id": 97,
                    "cat": "TV/Sport",
                    "desc": " |- Боевые искусства"
                },
                {
                    "id": 137,
                    "cat": "TV/Sport",
                    "desc": "Легкая атлетика"
                },
                {
                    "id": 139,
                    "cat": "TV/Sport",
                    "desc": "Тяжелая атлетика"
                },
                {
                    "id": 122,
                    "cat": "TV/Sport",
                    "desc": "Бильярд"
                },
                {
                    "id": 123,
                    "cat": "TV/Sport",
                    "desc": " |- Снукер"
                },
                {
                    "id": 140,
                    "cat": "TV/Sport",
                    "desc": "Велоспорт"
                },
                {
                    "id": 24,
                    "cat": "TV/Sport",
                    "desc": "Зимние виды спорта"
                },
                {
                    "id": 142,
                    "cat": "TV/Sport",
                    "desc": " |- Фигурное катание"
                },
                {
                    "id": 105,
                    "cat": "TV/Sport",
                    "desc": " |- Лыжи"
                },
                {
                    "id": 104,
                    "cat": "TV/Sport",
                    "desc": " |- Горные лыжи"
                },
                {
                    "id": 149,
                    "cat": "TV/Sport",
                    "desc": " |- Фристайл и сноуборд"
                },
                {
                    "id": 103,
                    "cat": "TV/Sport",
                    "desc": " |- Прыжки с трамплина"
                },
                {
                    "id": 148,
                    "cat": "TV/Sport",
                    "desc": " |- Кёрлинг"
                },
                {
                    "id": 96,
                    "cat": "TV/Sport",
                    "desc": " |- Всемирные зимние Универсиады"
                },
                {
                    "id": 192,
                    "cat": "TV/Sport",
                    "desc": "Летние виды спорта"
                },
                {
                    "id": 143,
                    "cat": "TV/Sport",
                    "desc": " |- Бадминтон"
                },
                {
                    "id": 144,
                    "cat": "TV/Sport",
                    "desc": " |- Настольный теннис"
                },
                {
                    "id": 147,
                    "cat": "TV/Sport",
                    "desc": " |- Гольф"
                },
                {
                    "id": 439,
                    "cat": "TV/Sport",
                    "desc": " |- Всемирные летние Универсиады"
                },
                {
                    "id": 138,
                    "cat": "TV/Sport",
                    "desc": "Водные виды спорта"
                },
                {
                    "id": 121,
                    "cat": "TV/Sport",
                    "desc": "Бейсбол"
                },
                {
                    "id": 145,
                    "cat": "TV/Sport",
                    "desc": "Американский футбол"
                },
                {
                    "id": 541,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra American football"
                },
                {
                    "id": 26,
                    "cat": "TV/Sport",
                    "desc": "Другие виды спорта"
                },
                {
                    "id": 146,
                    "cat": "TV/Sport",
                    "desc": " |- Регби"
                },
                {
                    "id": 95,
                    "cat": "TV/Sport",
                    "desc": "Информационно-аналитические..."
                },
                {
                    "id": 180,
                    "cat": "TV/Sport",
                    "desc": "Разное о спорте"
                },
                {
                    "id": 182,
                    "cat": "TV/Sport",
                    "desc": " |- Спортивная литература"
                },
                {
                    "id": 181,
                    "cat": "TV/Sport",
                    "desc": " |- Спортивное видео"
                },
                {
                    "id": 183,
                    "cat": "TV/Sport",
                    "desc": " |- Обучающее видео"
                },
                {
                    "id": 276,
                    "cat": "TV/Sport",
                    "desc": "Football / Soccer"
                },
                {
                    "id": 277,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Football"
                },
                {
                    "id": 359,
                    "cat": "TV/Sport",
                    "desc": " |- Men"
                },
                {
                    "id": 360,
                    "cat": "TV/Sport",
                    "desc": " |- Women"
                },
                {
                    "id": 301,
                    "cat": "TV/Sport",
                    "desc": "Basketball / 3x3 basketball"
                },
                {
                    "id": 522,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Basketball"
                },
                {
                    "id": 362,
                    "cat": "TV/Sport",
                    "desc": " |- Men"
                },
                {
                    "id": 361,
                    "cat": "TV/Sport",
                    "desc": " |- Women"
                },
                {
                    "id": 308,
                    "cat": "TV/Sport",
                    "desc": "Handball"
                },
                {
                    "id": 245,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Handball"
                },
                {
                    "id": 366,
                    "cat": "TV/Sport",
                    "desc": " |- Men"
                },
                {
                    "id": 365,
                    "cat": "TV/Sport",
                    "desc": " |- Women"
                },
                {
                    "id": 305,
                    "cat": "TV/Sport",
                    "desc": "Volleyball"
                },
                {
                    "id": 368,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Volleyball"
                },
                {
                    "id": 364,
                    "cat": "TV/Sport",
                    "desc": " |- Men"
                },
                {
                    "id": 363,
                    "cat": "TV/Sport",
                    "desc": " |- Women"
                },
                {
                    "id": 306,
                    "cat": "TV/Sport",
                    "desc": " |- Beach volleyball"
                },
                {
                    "id": 325,
                    "cat": "TV/Sport",
                    "desc": "Tennis"
                },
                {
                    "id": 520,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Tennis"
                },
                {
                    "id": 326,
                    "cat": "TV/Sport",
                    "desc": " |- Table tennis"
                },
                {
                    "id": 316,
                    "cat": "TV/Sport",
                    "desc": "Athletics"
                },
                {
                    "id": 291,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Athletics"
                },
                {
                    "id": 285,
                    "cat": "TV/Sport",
                    "desc": " |- Men"
                },
                {
                    "id": 286,
                    "cat": "TV/Sport",
                    "desc": " |- Women"
                },
                {
                    "id": 318,
                    "cat": "TV/Sport",
                    "desc": "Weightlifting"
                },
                {
                    "id": 298,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Weightlifting"
                },
                {
                    "id": 288,
                    "cat": "TV/Sport",
                    "desc": " |- Men"
                },
                {
                    "id": 289,
                    "cat": "TV/Sport",
                    "desc": " |- Women"
                },
                {
                    "id": 278,
                    "cat": "TV/Sport",
                    "desc": "Aquatics"
                },
                {
                    "id": 290,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Aquatics"
                },
                {
                    "id": 280,
                    "cat": "TV/Sport",
                    "desc": " |- Swimming"
                },
                {
                    "id": 281,
                    "cat": "TV/Sport",
                    "desc": " |- Diving"
                },
                {
                    "id": 282,
                    "cat": "TV/Sport",
                    "desc": " |- Artistic swimming"
                },
                {
                    "id": 279,
                    "cat": "TV/Sport",
                    "desc": " |- Water polo"
                },
                {
                    "id": 284,
                    "cat": "TV/Sport",
                    "desc": " |- Canoeing - Rowing - Sailing - Surfing"
                },
                {
                    "id": 303,
                    "cat": "TV/Sport",
                    "desc": "Boxing / Wrestling / Judo / Karate / Taekwondo"
                },
                {
                    "id": 518,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra"
                },
                {
                    "id": 310,
                    "cat": "TV/Sport",
                    "desc": "Gymnastics"
                },
                {
                    "id": 312,
                    "cat": "TV/Sport",
                    "desc": " |- Artistic - Спортивная"
                },
                {
                    "id": 311,
                    "cat": "TV/Sport",
                    "desc": " |- Rhythmic - Художественная"
                },
                {
                    "id": 313,
                    "cat": "TV/Sport",
                    "desc": " |- Trampoline - Прыжки на батуте"
                },
                {
                    "id": 294,
                    "cat": "TV/Sport",
                    "desc": "Cycling"
                },
                {
                    "id": 519,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Cycling"
                },
                {
                    "id": 296,
                    "cat": "TV/Sport",
                    "desc": " |- Track cycling"
                },
                {
                    "id": 297,
                    "cat": "TV/Sport",
                    "desc": " |- Road cycling"
                },
                {
                    "id": 299,
                    "cat": "TV/Sport",
                    "desc": " |- Mountain biking - BMX freestyle - racing"
                },
                {
                    "id": 287,
                    "cat": "TV/Sport",
                    "desc": "Конный спорт / Equestrian / Dressage /..."
                },
                {
                    "id": 322,
                    "cat": "TV/Sport",
                    "desc": "Archery / Fencing / Shooting"
                },
                {
                    "id": 254,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra"
                },
                {
                    "id": 333,
                    "cat": "TV/Sport",
                    "desc": "Other sports"
                },
                {
                    "id": 371,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Field hockey"
                },
                {
                    "id": 335,
                    "cat": "TV/Sport",
                    "desc": " |- Field hockey"
                },
                {
                    "id": 358,
                    "cat": "TV/Sport",
                    "desc": " |- Badminton"
                },
                {
                    "id": 320,
                    "cat": "TV/Sport",
                    "desc": " |- Rugby sevens"
                },
                {
                    "id": 283,
                    "cat": "TV/Sport",
                    "desc": " |- Baseball - Softball"
                },
                {
                    "id": 319,
                    "cat": "TV/Sport",
                    "desc": " |- Modern pentathlon - Triathlon"
                },
                {
                    "id": 336,
                    "cat": "TV/Sport",
                    "desc": " |- Golf - Skateboarding - Sport climbing"
                },
                {
                    "id": 349,
                    "cat": "TV/Sport",
                    "desc": "Обзорные передачи / Reviews"
                },
                {
                    "id": 166,
                    "cat": "TV/Sport",
                    "desc": "Игры для PC (раздачи)"
                },
                {
                    "id": 229,
                    "cat": "TV/Sport",
                    "desc": "Тестовый форум"
                },
                {
                    "id": 497,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Light UEFA EURO 2024"
                },
                {
                    "id": 383,
                    "cat": "TV/Sport",
                    "desc": " |- 2023 FIFA U20 World Cup"
                },
                {
                    "id": 509,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra 2019 FIFA U-17 World Cup"
                },
                {
                    "id": 230,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Copa America 2021"
                },
                {
                    "id": 510,
                    "cat": "TV/Sport",
                    "desc": " |- VIP 2019 FIFA U-17 World Cup"
                },
                {
                    "id": 429,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Real Madrid 2020-21"
                },
                {
                    "id": 369,
                    "cat": "TV/Sport",
                    "desc": " |- VIP-Extra Sat Feed France"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "book-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": "ignorevip",
                "type": "checkbox",
                "label": "Ignore VIP torrents",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"./login.php\"]",
            "inputs": {
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "autologin": 1,
                "redirect": "index.php",
                "login": "Вход"
            },
            "selectorinputs": {
                "cookie_test": {
                    "selector": "input[name=\"cookie_test\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "h4.warnColor1"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"./login.php?logout=1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker.php"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "prev_allw": 1,
                "prev_a": 0,
                "prev_not_checked": 0,
                "prev_closed": 0,
                "prev_d": 0,
                "prev_not_perfect": 0,
                "prev_part_perfect": 0,
                "prev_fishily": 0,
                "prev_copy": 0,
                "prev_dla": 0,
                "prev_dlc": 0,
                "prev_dld": 0,
                "prev_dlw": 0,
                "prev_my": 0,
                "prev_new": 0,
                "prev_sd": 0,
                "prev_da": 1,
                "prev_dc": 0,
                "prev_df": 1,
                "prev_ds": 0,
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "tm": -1,
                "nm": "{{ .Keywords }}"
            },
            "headers": {
                "User-Agent": [
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203"
                ]
            },
            "rows": {
                "selector": "tr[id^=\"tor_\"]:has(a[href^=\"./download.php?id=\"]){{ if .Config.ignorevip }}:not(:has(a.gen:contains(\"VIP\"))){{ else }}{{ end }}{{ if .Config.freeleech }}:has(img[src=\"images/tor_gold.gif\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a.gen",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "title": {
                    "selector": "a.tLink"
                },
                "details": {
                    "selector": "a.tLink",
                    "attribute": "href"
                },
                "description": {
                    "selector": "a.gen"
                },
                "download": {
                    "selector": "a[href^=\"./download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(6) > u"
                },
                "seeders": {
                    "selector": "td.seedmed > b"
                },
                "leechers": {
                    "selector": "td.leechmed > b"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "date": {
                    "selector": "td:last-child > u"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/tor_gold.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "rintor": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "rintor",
        "name": "RinTor",
        "description": "RinTor is a Semi-Private Tracker for 3X",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://rintor.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 71,
                    "cat": "XXX",
                    "desc": "Фильмы UHD | 4K UHD (2160p) Movies"
                },
                {
                    "id": 26,
                    "cat": "XXX",
                    "desc": "HD порнофильмы | HD Porn Movies"
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "Гонзо Фильмы | Gonzo &  All Sex"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "Лесбо Фильмы | Lesbo Movies"
                },
                {
                    "id": 23,
                    "cat": "XXX",
                    "desc": "Этнические фильмы | Ethnic Movies"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "Фильмы с сюжетом | Feature"
                },
                {
                    "id": 64,
                    "cat": "XXX",
                    "desc": "Эротические фильмы | Erotic Films"
                },
                {
                    "id": 25,
                    "cat": "XXX",
                    "desc": "Классика | Classic Porn"
                },
                {
                    "id": 65,
                    "cat": "XXX",
                    "desc": "Инцест и Табу (Инсценировка) | Incest and Taboo..."
                },
                {
                    "id": 28,
                    "cat": "XXX",
                    "desc": "Сайтрипы HD | SiteRip's HD Video"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "Сайтрипы UHD | 4K UHD (2160p) Porn Video"
                },
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "Сайтрипы | SiteRip's"
                },
                {
                    "id": 31,
                    "cat": "XXX",
                    "desc": "Сцены из фильмов | Movie Scenes"
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "Порноролики Разное | Various Clips"
                },
                {
                    "id": 66,
                    "cat": "XXX",
                    "desc": "Лесбо Порноролики | Lesbo Vids"
                },
                {
                    "id": 67,
                    "cat": "XXX",
                    "desc": "Порно Кастинг  | Porno Casting"
                },
                {
                    "id": 35,
                    "cat": "XXX",
                    "desc": "Японское порно | Japan Porn"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "Русские порнофильмы | Russian Porn Films"
                },
                {
                    "id": 37,
                    "cat": "XXX",
                    "desc": "Русские Порноролики Разное | Russian Clips (various)"
                },
                {
                    "id": 38,
                    "cat": "XXX",
                    "desc": "Русское любительское порно видео | Russian Amateur Porn..."
                },
                {
                    "id": 40,
                    "cat": "XXX",
                    "desc": "Эротические студии Фото | Erotic Picture Gallery"
                },
                {
                    "id": 42,
                    "cat": "XXX",
                    "desc": "Любительское фото | Amateur Picture"
                },
                {
                    "id": 44,
                    "cat": "XXX",
                    "desc": "Подборки сетов | Picture Sets"
                },
                {
                    "id": 45,
                    "cat": "XXX",
                    "desc": "Нетрадиционное порно фото"
                },
                {
                    "id": 46,
                    "cat": "XXX",
                    "desc": "Комиксы и рисунки, Журналы | Magazines &  Comix"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "Бисексуалы | Bisexual"
                },
                {
                    "id": 48,
                    "cat": "XXX",
                    "desc": "Транссексуалы | Shemale Transsexual"
                },
                {
                    "id": 49,
                    "cat": "XXX",
                    "desc": "БДСМ | BDSM"
                },
                {
                    "id": 50,
                    "cat": "XXX",
                    "desc": "Женское доминирование и страпон | Femdom &  Strapon"
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "Подглядывание | Voyeur"
                },
                {
                    "id": 52,
                    "cat": "XXX",
                    "desc": "Фистинг и дилдо | Fisting &  Dildo"
                },
                {
                    "id": 53,
                    "cat": "XXX",
                    "desc": "Беременные | Pregnant Preggo"
                },
                {
                    "id": 54,
                    "cat": "XXX",
                    "desc": "Буккаке | Bukkake"
                },
                {
                    "id": 55,
                    "cat": "XXX",
                    "desc": "Мочеиспускание | Peeing"
                },
                {
                    "id": 56,
                    "cat": "XXX",
                    "desc": "Фетиш | Fetish"
                },
                {
                    "id": 58,
                    "cat": "XXX",
                    "desc": "Хентай"
                },
                {
                    "id": 59,
                    "cat": "XXX",
                    "desc": "Игры"
                },
                {
                    "id": 60,
                    "cat": "XXX",
                    "desc": "Порно Мультики"
                },
                {
                    "id": 61,
                    "cat": "XXX",
                    "desc": "Полнометражные гей-фильмы | Full Length Gay Movies"
                },
                {
                    "id": 62,
                    "cat": "XXX",
                    "desc": "Ролики, SiteRip'ы и сцены из гей-фильмов | Gay Clips..."
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "post",
            "inputs": {
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "autologin": 1,
                "login": "Вход"
            },
            "error": [
                {
                    "selector": "table.error"
                }
            ],
            "test": {
                "path": "tracker.php",
                "selector": "a[href=\"./login.php?logout=1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker.php",
                    "method": "post"
                }
            ],
            "inputs": {
                "prev_allw": 1,
                "prev_a": 0,
                "prev_dla": 0,
                "prev_dlc": 0,
                "prev_dld": 0,
                "prev_dlw": 0,
                "prev_my": 0,
                "prev_new": 0,
                "prev_sd": 0,
                "prev_da": 1,
                "prev_dc": 0,
                "prev_df": 1,
                "prev_ds": 0,
                "prev_tor_type": 0,
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "dc": 0,
                "df": 1,
                "da": 1,
                "ds": 0,
                "tm": -1,
                "sns": -1,
                "srg": -1,
                "nm": "{{ .Keywords }}",
                "pn": "",
                "allw": 1,
                "$raw": "{{ if .Categories }}{{ range .Categories }}&f[]={{.}}{{end}}{{ else }}&f[]=-1{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(\\w+)",
                        "+$1"
                    ]
                }
            ],
            "rows": {
                "selector": "tr[id^=\"tor_\"]:has(span.tor-approved)",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"tracker.php?f=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "title": {
                    "selector": "td a.tLink"
                },
                "details": {
                    "selector": "td a.tLink",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./dl.php?id=\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(6) u"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "seeders": {
                    "selector": "td.seedmed"
                },
                "leechers": {
                    "selector": "td.leechmed"
                },
                "date": {
                    "selector": "td:nth-child(10) u"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "rintornet": {
        "id": "rintornet",
        "name": "RinTor.NeT",
        "description": "RinTor.NeT is a RUSSIAN Public tracker for 3X",
        "language": "ru-RU",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.rintor.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "Фильмы 2160 4K | Movies 2160p 4K"
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "Сайтрипы 2160 4K | Porn Video 2160p 4K"
                },
                {
                    "id": 1,
                    "cat": "XXX",
                    "desc": "Фильмы HD | Movies HD"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Фильмы SD | Movies SD"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "Сайтрип HD | SiteRip HD"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "Сайтрип SD | SiteRip SD"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "Любительское видео | Amateur Video"
                },
                {
                    "id": 24,
                    "cat": "XXX",
                    "desc": "Инцест (Инсценировка) | Incest (Simulation)"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "Лесбиянки | Lesbians"
                },
                {
                    "id": 26,
                    "cat": "XXX",
                    "desc": "Порно Кастинг | Porno Casting"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "Японское (Без Цензуры) | Japanese Porn (Uncen)"
                },
                {
                    "id": 23,
                    "cat": "XXX",
                    "desc": "Ретро Порно, Классика | Retro Porn, Classic"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "Женское Доминирование, Страпон | Femdom, StrapOn"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "БДСМ, Фистинг, Дилдо | BDSM, Fisting, Dildo"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "Беременные | Pregnant"
                },
                {
                    "id": 28,
                    "cat": "XXX",
                    "desc": "Буккаке | Bukkake"
                },
                {
                    "id": 25,
                    "cat": "XXX",
                    "desc": "Мочеиспускание | Peeing"
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "Транссексуалы | Shemale Transsexual"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "Подборки сетов | Picture Sets Packs"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Порно Мультфильмы | Porno Cartoons"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "Порно Игры | Porn Games"
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "Гей и Бисекс Порно | Gay and Bisex Porn"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "do": "search",
                "subaction": "search",
                "story": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "titleonly": 3,
                "sortby": "date",
                "resorder": "desc",
                "showposts": 0,
                "$raw": "{{ range .Categories }}catlist[]={{.}}&{{end}}"
            },
            "rows": {
                "selector": "div.entry:has(div.entry__title)"
            },
            "fields": {
                "categorydesc": {
                    "selector": "div.entry__info > span > a"
                },
                "title": {
                    "selector": "div.entry__title > h3 > a"
                },
                "details": {
                    "selector": "div.entry__title > h3 > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "div.entry__title > h3 > a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div.entry_content a.entry__content-image img",
                    "attribute": "src"
                },
                "date_day": {
                    "selector": "span.entry__date:contains(\"Вчера\"), span.entry__date:contains(\"Сегодня\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Вчера",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Сегодня",
                                "Today"
                            ]
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "span.entry__date:contains(\"-\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "d-MM-yyyy, HH:mm zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "size": {
                    "text": "1 GB"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "riperam": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "riperam",
        "name": "RiperAM",
        "description": "RiperAM is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / TV",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://riperam.org/"
        ],
        "legacylinks": [
            "http://riperam.org/",
            "https://riper.online/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 238,
                    "cat": "Movies",
                    "desc": "Новинки кино (2024-2025). Новые фильмы скачать бесплатно"
                },
                {
                    "id": 425,
                    "cat": "Movies/HD",
                    "desc": "DVDRip / DVD-5/DVD-9"
                },
                {
                    "id": 50,
                    "cat": "Movies/HD",
                    "desc": "DVDRip"
                },
                {
                    "id": 52,
                    "cat": "Movies/HD",
                    "desc": "DVD-5/DVD-9"
                },
                {
                    "id": 424,
                    "cat": "Movies/HD",
                    "desc": "BDRip / HDRip / BD / HD / Blu - ray / Ultra HD (4K)"
                },
                {
                    "id": 51,
                    "cat": "Movies/HD",
                    "desc": "BDRip/HDRip"
                },
                {
                    "id": 371,
                    "cat": "Movies/HD",
                    "desc": "BD / HD"
                },
                {
                    "id": 251,
                    "cat": "Movies/BluRay",
                    "desc": "Blu-ray"
                },
                {
                    "id": 1404,
                    "cat": "Movies/UHD",
                    "desc": "Ultra HD (4K)"
                },
                {
                    "id": 349,
                    "cat": "Movies",
                    "desc": "Видео для мобильных устройств"
                },
                {
                    "id": 350,
                    "cat": "Movies",
                    "desc": "Видео (iPhone, iPod Touch)"
                },
                {
                    "id": 351,
                    "cat": "Movies",
                    "desc": "HD Видео (Apple TV, iPad)"
                },
                {
                    "id": 352,
                    "cat": "Movies",
                    "desc": "Видео для смартфонов и КПК"
                },
                {
                    "id": 1497,
                    "cat": "Movies",
                    "desc": "Новинки кино (2025). Новые фильмы скачать бесплатно"
                },
                {
                    "id": 239,
                    "cat": "Movies",
                    "desc": "Фильмы, мультфильмы"
                },
                {
                    "id": 420,
                    "cat": "Movies",
                    "desc": "Зарубежные фильмы"
                },
                {
                    "id": 12,
                    "cat": "Movies",
                    "desc": "Зарубежные фильмы до 2000го года..."
                },
                {
                    "id": 13,
                    "cat": "Movies",
                    "desc": "Зарубежные фильмы после 2000го года..."
                },
                {
                    "id": 1476,
                    "cat": "Movies",
                    "desc": "Зарубежные фильмы Blu-Ray"
                },
                {
                    "id": 1475,
                    "cat": "Movies",
                    "desc": "Зарубежные фильмы 4К"
                },
                {
                    "id": 423,
                    "cat": "TV/Anime",
                    "desc": "Мультфильмы"
                },
                {
                    "id": 16,
                    "cat": "TV/Anime",
                    "desc": "Зарубежные мультфильмы"
                },
                {
                    "id": 17,
                    "cat": "TV/Anime",
                    "desc": "Советские мультфильмы"
                },
                {
                    "id": 18,
                    "cat": "TV/Anime",
                    "desc": "Российские мультфильмы"
                },
                {
                    "id": 15,
                    "cat": "TV/Anime",
                    "desc": "Российские фильмы"
                },
                {
                    "id": 14,
                    "cat": "TV/Anime",
                    "desc": "Советские фильмы"
                },
                {
                    "id": 240,
                    "cat": "TV",
                    "desc": "Сериалы, мультсериалы"
                },
                {
                    "id": 19,
                    "cat": "TV",
                    "desc": "Зарубежные сериалы"
                },
                {
                    "id": 216,
                    "cat": "TV",
                    "desc": "!!! Полные завершенные сезоны !!!"
                },
                {
                    "id": 118,
                    "cat": "TV",
                    "desc": "H2O - Просто добавь воды (3й сезон! Озвучка RiperAM!)"
                },
                {
                    "id": 153,
                    "cat": "TV",
                    "desc": "Split. Тайна крови"
                },
                {
                    "id": 363,
                    "cat": "TV",
                    "desc": "Адские кошки / Hellcats"
                },
                {
                    "id": 1055,
                    "cat": "TV",
                    "desc": "Виолетта / Violetta"
                },
                {
                    "id": 632,
                    "cat": "TV",
                    "desc": "Вспышка-любовь / Popland!"
                },
                {
                    "id": 183,
                    "cat": "TV",
                    "desc": "Грань"
                },
                {
                    "id": 178,
                    "cat": "TV",
                    "desc": "Гимнастки"
                },
                {
                    "id": 364,
                    "cat": "TV",
                    "desc": "Дайте Санни шанс / Sonny With A Chance"
                },
                {
                    "id": 319,
                    "cat": "TV",
                    "desc": "Два короля / Pair of Kings"
                },
                {
                    "id": 267,
                    "cat": "TV",
                    "desc": "Держись, Чарли / Good Luck"
                },
                {
                    "id": 1166,
                    "cat": "TV",
                    "desc": "Мушкетеры / The Musketeers"
                },
                {
                    "id": 365,
                    "cat": "TV",
                    "desc": "Никита / Nikita"
                },
                {
                    "id": 353,
                    "cat": "TV",
                    "desc": "Обитель Анубиса / House of Anubis"
                },
                {
                    "id": 710,
                    "cat": "TV",
                    "desc": "Проспект Бразилии / Avenida Brasil"
                },
                {
                    "id": 266,
                    "cat": "TV",
                    "desc": "Сверхъестественное / Supernatural"
                },
                {
                    "id": 268,
                    "cat": "TV",
                    "desc": "Следствие по телу / Body of Proof"
                },
                {
                    "id": 160,
                    "cat": "TV",
                    "desc": "Теория большого взрыва"
                },
                {
                    "id": 20,
                    "cat": "TV",
                    "desc": "Русские сериалы"
                },
                {
                    "id": 210,
                    "cat": "TV",
                    "desc": "!!! Полные завершенные сериалы !!!"
                },
                {
                    "id": 969,
                    "cat": "TV",
                    "desc": "13"
                },
                {
                    "id": 707,
                    "cat": "TV",
                    "desc": "Агент"
                },
                {
                    "id": 1028,
                    "cat": "TV",
                    "desc": "Белые волки"
                },
                {
                    "id": 736,
                    "cat": "TV",
                    "desc": "Бомбила. Продолжение"
                },
                {
                    "id": 550,
                    "cat": "TV",
                    "desc": "Брат за брата"
                },
                {
                    "id": 601,
                    "cat": "TV",
                    "desc": "Братаны"
                },
                {
                    "id": 979,
                    "cat": "TV",
                    "desc": "В Москве всегда солнечно"
                },
                {
                    "id": 790,
                    "cat": "TV",
                    "desc": "Горюнов"
                },
                {
                    "id": 791,
                    "cat": "TV",
                    "desc": "Груз (Фельдъегеря)"
                },
                {
                    "id": 803,
                    "cat": "TV",
                    "desc": "Двойная жизнь"
                },
                {
                    "id": 994,
                    "cat": "TV",
                    "desc": "Дворняжка Ляля / Красотка Ляля / Ляля. Возвращение"
                },
                {
                    "id": 735,
                    "cat": "TV",
                    "desc": "Дело врачей"
                },
                {
                    "id": 992,
                    "cat": "TV",
                    "desc": "Дело для двоих"
                },
                {
                    "id": 771,
                    "cat": "TV",
                    "desc": "Департамент"
                },
                {
                    "id": 964,
                    "cat": "TV",
                    "desc": "Дом с лилиями"
                },
                {
                    "id": 746,
                    "cat": "TV",
                    "desc": "Домработница"
                },
                {
                    "id": 976,
                    "cat": "TV",
                    "desc": "До свидания, мальчики"
                },
                {
                    "id": 719,
                    "cat": "TV",
                    "desc": "ЗАГС"
                },
                {
                    "id": 1006,
                    "cat": "TV",
                    "desc": "Женщины на грани"
                },
                {
                    "id": 768,
                    "cat": "TV",
                    "desc": "Земский доктор - Возвращение"
                },
                {
                    "id": 984,
                    "cat": "TV",
                    "desc": "Земский доктор. Любовь вопреки"
                },
                {
                    "id": 732,
                    "cat": "TV",
                    "desc": "Икорный барон"
                },
                {
                    "id": 983,
                    "cat": "TV",
                    "desc": "Королева игры"
                },
                {
                    "id": 774,
                    "cat": "TV",
                    "desc": "Кулинар-2"
                },
                {
                    "id": 989,
                    "cat": "TV",
                    "desc": "Курортная полиция"
                },
                {
                    "id": 961,
                    "cat": "TV",
                    "desc": "Личное дело"
                },
                {
                    "id": 639,
                    "cat": "TV",
                    "desc": "Ловушка"
                },
                {
                    "id": 1013,
                    "cat": "TV",
                    "desc": "Лучшие враги"
                },
                {
                    "id": 131,
                    "cat": "TV",
                    "desc": "Майор полиции"
                },
                {
                    "id": 727,
                    "cat": "TV",
                    "desc": "Маяковский - Два дня"
                },
                {
                    "id": 1058,
                    "cat": "TV",
                    "desc": "Между двух огней"
                },
                {
                    "id": 641,
                    "cat": "TV",
                    "desc": "Мент в законе-7"
                },
                {
                    "id": 644,
                    "cat": "TV",
                    "desc": "Метод Лавровой-2"
                },
                {
                    "id": 779,
                    "cat": "TV",
                    "desc": "Неzлоб"
                },
                {
                    "id": 372,
                    "cat": "TV",
                    "desc": "Неравный брак"
                },
                {
                    "id": 957,
                    "cat": "TV",
                    "desc": "Неформат"
                },
                {
                    "id": 766,
                    "cat": "TV",
                    "desc": "ОСА"
                },
                {
                    "id": 991,
                    "cat": "TV",
                    "desc": "Отмена всех ограничений"
                },
                {
                    "id": 653,
                    "cat": "TV",
                    "desc": "Патруль. Васильевский остров"
                },
                {
                    "id": 962,
                    "cat": "TV",
                    "desc": "Под прицелом"
                },
                {
                    "id": 683,
                    "cat": "TV",
                    "desc": "Поцелуй"
                },
                {
                    "id": 708,
                    "cat": "TV",
                    "desc": "Поцелуйте невесту"
                },
                {
                    "id": 1026,
                    "cat": "TV",
                    "desc": "Профессионал"
                },
                {
                    "id": 787,
                    "cat": "TV",
                    "desc": "Пропавшие без вести"
                },
                {
                    "id": 773,
                    "cat": "TV",
                    "desc": "Пыльная работа"
                },
                {
                    "id": 799,
                    "cat": "TV",
                    "desc": "Ржавчина"
                },
                {
                    "id": 794,
                    "cat": "TV",
                    "desc": "Сашка"
                },
                {
                    "id": 756,
                    "cat": "TV",
                    "desc": "Семейные обстоятельства"
                },
                {
                    "id": 706,
                    "cat": "TV",
                    "desc": "Семин. Возмездие"
                },
                {
                    "id": 966,
                    "cat": "TV",
                    "desc": "Скорая помощь"
                },
                {
                    "id": 960,
                    "cat": "TV",
                    "desc": "Следователь Протасов"
                },
                {
                    "id": 714,
                    "cat": "TV",
                    "desc": "Стервы"
                },
                {
                    "id": 755,
                    "cat": "TV",
                    "desc": "Студия 17"
                },
                {
                    "id": 1039,
                    "cat": "TV",
                    "desc": "Тайны следствия"
                },
                {
                    "id": 360,
                    "cat": "TV",
                    "desc": "Такси"
                },
                {
                    "id": 981,
                    "cat": "TV",
                    "desc": "Темный мир: Равновесие"
                },
                {
                    "id": 1046,
                    "cat": "TV",
                    "desc": "Тест на беременность"
                },
                {
                    "id": 977,
                    "cat": "TV",
                    "desc": "Тихая охота"
                },
                {
                    "id": 681,
                    "cat": "TV",
                    "desc": "Топтуны"
                },
                {
                    "id": 675,
                    "cat": "TV",
                    "desc": "Торговый центр"
                },
                {
                    "id": 988,
                    "cat": "TV",
                    "desc": "Три звезды"
                },
                {
                    "id": 1033,
                    "cat": "TV",
                    "desc": "Чужой"
                },
                {
                    "id": 690,
                    "cat": "TV",
                    "desc": "Чужой район"
                },
                {
                    "id": 1030,
                    "cat": "TV",
                    "desc": "Чужой среди своих"
                },
                {
                    "id": 804,
                    "cat": "TV",
                    "desc": "Шаман"
                },
                {
                    "id": 780,
                    "cat": "TV",
                    "desc": "Шерлок Холмс"
                },
                {
                    "id": 805,
                    "cat": "TV",
                    "desc": "Этаж"
                },
                {
                    "id": 743,
                    "cat": "TV",
                    "desc": "Ясмин"
                },
                {
                    "id": 973,
                    "cat": "TV",
                    "desc": "Умник"
                },
                {
                    "id": 733,
                    "cat": "TV",
                    "desc": "Хмуров"
                },
                {
                    "id": 505,
                    "cat": "TV",
                    "desc": "Хозяйка моей судьбы"
                },
                {
                    "id": 1004,
                    "cat": "TV",
                    "desc": "Анжелика"
                },
                {
                    "id": 1047,
                    "cat": "TV",
                    "desc": "Бессмертник"
                },
                {
                    "id": 1074,
                    "cat": "TV",
                    "desc": "Без свидетелей"
                },
                {
                    "id": 692,
                    "cat": "TV",
                    "desc": "Верное средство"
                },
                {
                    "id": 1038,
                    "cat": "TV",
                    "desc": "Верни мою любовь"
                },
                {
                    "id": 711,
                    "cat": "TV",
                    "desc": "Береговая охрана"
                },
                {
                    "id": 1052,
                    "cat": "TV",
                    "desc": "Граница времени"
                },
                {
                    "id": 1061,
                    "cat": "TV",
                    "desc": "Второй шанс"
                },
                {
                    "id": 1042,
                    "cat": "TV",
                    "desc": "Гречанка"
                },
                {
                    "id": 1108,
                    "cat": "TV",
                    "desc": "Высокие ставки"
                },
                {
                    "id": 748,
                    "cat": "TV",
                    "desc": "Дельта"
                },
                {
                    "id": 501,
                    "cat": "TV",
                    "desc": "Дикий - 4"
                },
                {
                    "id": 980,
                    "cat": "TV",
                    "desc": "Дознаватель"
                },
                {
                    "id": 1002,
                    "cat": "TV",
                    "desc": "Долгий путь домой"
                },
                {
                    "id": 958,
                    "cat": "TV",
                    "desc": "Дружба народов"
                },
                {
                    "id": 798,
                    "cat": "TV",
                    "desc": "Зайцев+1"
                },
                {
                    "id": 1102,
                    "cat": "TV",
                    "desc": "Запретная любовь"
                },
                {
                    "id": 1083,
                    "cat": "TV",
                    "desc": "Код Константина"
                },
                {
                    "id": 1092,
                    "cat": "TV",
                    "desc": "Измены"
                },
                {
                    "id": 565,
                    "cat": "TV",
                    "desc": "Кодекс чести"
                },
                {
                    "id": 797,
                    "cat": "TV",
                    "desc": "Корабль"
                },
                {
                    "id": 1070,
                    "cat": "TV",
                    "desc": "Инспектор Купер"
                },
                {
                    "id": 640,
                    "cat": "TV",
                    "desc": "Легавый"
                },
                {
                    "id": 1048,
                    "cat": "TV",
                    "desc": "Луна"
                },
                {
                    "id": 1060,
                    "cat": "TV",
                    "desc": "Ленинград 46"
                },
                {
                    "id": 684,
                    "cat": "TV",
                    "desc": "Лесник"
                },
                {
                    "id": 1057,
                    "cat": "TV",
                    "desc": "Между нами, девочками"
                },
                {
                    "id": 654,
                    "cat": "TV",
                    "desc": "Морские дьяволы. Смерч"
                },
                {
                    "id": 1089,
                    "cat": "TV",
                    "desc": "Неподкупный"
                },
                {
                    "id": 1095,
                    "cat": "TV",
                    "desc": "Окрылённые"
                },
                {
                    "id": 1016,
                    "cat": "TV",
                    "desc": "Отец Матвей"
                },
                {
                    "id": 687,
                    "cat": "TV",
                    "desc": "Особый случай"
                },
                {
                    "id": 1054,
                    "cat": "TV",
                    "desc": "Папа на вырост"
                },
                {
                    "id": 1094,
                    "cat": "TV",
                    "desc": "Непридуманная жизнь"
                },
                {
                    "id": 986,
                    "cat": "TV",
                    "desc": "Пляж"
                },
                {
                    "id": 750,
                    "cat": "TV",
                    "desc": "Последний из Магикян"
                },
                {
                    "id": 1043,
                    "cat": "TV",
                    "desc": "Последний янычар"
                },
                {
                    "id": 997,
                    "cat": "TV",
                    "desc": "Практика"
                },
                {
                    "id": 1031,
                    "cat": "TV",
                    "desc": "Хроники ломбарда"
                },
                {
                    "id": 1063,
                    "cat": "TV",
                    "desc": "Цветок папоротника"
                },
                {
                    "id": 990,
                    "cat": "TV",
                    "desc": "Человек - приманка"
                },
                {
                    "id": 1044,
                    "cat": "TV",
                    "desc": "Свет и тень маяка"
                },
                {
                    "id": 1082,
                    "cat": "TV",
                    "desc": "Следователи"
                },
                {
                    "id": 995,
                    "cat": "TV",
                    "desc": "Слепая"
                },
                {
                    "id": 699,
                    "cat": "TV",
                    "desc": "Солдаты 17 (Солдаты. Снова в строю)"
                },
                {
                    "id": 1025,
                    "cat": "TV",
                    "desc": "Улыбка пересмешника"
                },
                {
                    "id": 1024,
                    "cat": "TV",
                    "desc": "Литейный"
                },
                {
                    "id": 1023,
                    "cat": "TV",
                    "desc": "Раскаяние"
                },
                {
                    "id": 1076,
                    "cat": "TV",
                    "desc": "Родители"
                },
                {
                    "id": 972,
                    "cat": "TV",
                    "desc": "Сватьи"
                },
                {
                    "id": 1073,
                    "cat": "TV",
                    "desc": "Чужое гнездо"
                },
                {
                    "id": 1078,
                    "cat": "TV",
                    "desc": "Чтец"
                },
                {
                    "id": 628,
                    "cat": "TV",
                    "desc": "Карпов"
                },
                {
                    "id": 691,
                    "cat": "TV",
                    "desc": "Черные кошки"
                },
                {
                    "id": 1101,
                    "cat": "TV",
                    "desc": "Квест"
                },
                {
                    "id": 1088,
                    "cat": "TV",
                    "desc": "Лондонград"
                },
                {
                    "id": 1072,
                    "cat": "TV",
                    "desc": "Меч"
                },
                {
                    "id": 795,
                    "cat": "TV",
                    "desc": "Пока станица спит"
                },
                {
                    "id": 978,
                    "cat": "TV",
                    "desc": "ППС"
                },
                {
                    "id": 1003,
                    "cat": "TV",
                    "desc": "Сердце звезды"
                },
                {
                    "id": 1194,
                    "cat": "TV",
                    "desc": "Агентство скрытых камер"
                },
                {
                    "id": 1140,
                    "cat": "TV",
                    "desc": "Академия"
                },
                {
                    "id": 1178,
                    "cat": "TV",
                    "desc": "Беглые родственники"
                },
                {
                    "id": 1161,
                    "cat": "TV",
                    "desc": "Бедные люди"
                },
                {
                    "id": 1099,
                    "cat": "TV",
                    "desc": "Ботаны"
                },
                {
                    "id": 1136,
                    "cat": "TV",
                    "desc": "Бородач"
                },
                {
                    "id": 1184,
                    "cat": "TV",
                    "desc": "Вижу - знаю"
                },
                {
                    "id": 1127,
                    "cat": "TV",
                    "desc": "Владимирская, 15"
                },
                {
                    "id": 1181,
                    "cat": "TV",
                    "desc": "Вышибала"
                },
                {
                    "id": 1165,
                    "cat": "TV",
                    "desc": "Гастролеры (Беглецы)"
                },
                {
                    "id": 1150,
                    "cat": "TV",
                    "desc": "Гражданин Никто"
                },
                {
                    "id": 509,
                    "cat": "TV",
                    "desc": "Два отца и два сына"
                },
                {
                    "id": 656,
                    "cat": "TV",
                    "desc": "Деффчонки"
                },
                {
                    "id": 1128,
                    "cat": "TV",
                    "desc": "Другой майор Соколов"
                },
                {
                    "id": 1192,
                    "cat": "TV",
                    "desc": "Жемчуга"
                },
                {
                    "id": 1170,
                    "cat": "TV",
                    "desc": "Законы улиц"
                },
                {
                    "id": 1183,
                    "cat": "TV",
                    "desc": "Игра. Реванш"
                },
                {
                    "id": 1117,
                    "cat": "TV",
                    "desc": "Иные"
                },
                {
                    "id": 1228,
                    "cat": "TV",
                    "desc": "Казаки"
                },
                {
                    "id": 1107,
                    "cat": "TV",
                    "desc": "Как я стал русским"
                },
                {
                    "id": 1077,
                    "cat": "TV",
                    "desc": "Клан Ювелиров"
                },
                {
                    "id": 1118,
                    "cat": "TV",
                    "desc": "Команда"
                },
                {
                    "id": 1132,
                    "cat": "TV",
                    "desc": "Кости"
                },
                {
                    "id": 354,
                    "cat": "TV",
                    "desc": "Кухня"
                },
                {
                    "id": 1040,
                    "cat": "TV",
                    "desc": "Мажор"
                },
                {
                    "id": 1104,
                    "cat": "TV",
                    "desc": "Метод"
                },
                {
                    "id": 1189,
                    "cat": "TV",
                    "desc": "Москва. Центральный округ"
                },
                {
                    "id": 1135,
                    "cat": "TV",
                    "desc": "На глубине"
                },
                {
                    "id": 1151,
                    "cat": "TV",
                    "desc": "Напарницы"
                },
                {
                    "id": 1131,
                    "cat": "TV",
                    "desc": "Не зарекайся"
                },
                {
                    "id": 1160,
                    "cat": "TV",
                    "desc": "Невский"
                },
                {
                    "id": 1224,
                    "cat": "TV",
                    "desc": "Нити судьбы"
                },
                {
                    "id": 1112,
                    "cat": "TV",
                    "desc": "Озабоченные или любовь зла"
                },
                {
                    "id": 1080,
                    "cat": "TV",
                    "desc": "Отдел 44"
                },
                {
                    "id": 761,
                    "cat": "TV",
                    "desc": "Пасечник"
                },
                {
                    "id": 1103,
                    "cat": "TV",
                    "desc": "Патруль Самооборона"
                },
                {
                    "id": 1157,
                    "cat": "TV",
                    "desc": "Перевозчик"
                },
                {
                    "id": 1081,
                    "cat": "TV",
                    "desc": "Пес"
                },
                {
                    "id": 1110,
                    "cat": "TV",
                    "desc": "Последний мент"
                },
                {
                    "id": 1163,
                    "cat": "TV",
                    "desc": "Последний москаль. Судный день"
                },
                {
                    "id": 1126,
                    "cat": "TV",
                    "desc": "Прокуроры"
                },
                {
                    "id": 1179,
                    "cat": "TV",
                    "desc": "Пушкин"
                },
                {
                    "id": 671,
                    "cat": "TV",
                    "desc": "Пятая стража"
                },
                {
                    "id": 1019,
                    "cat": "TV",
                    "desc": "Пятницкий. Глава четвертая"
                },
                {
                    "id": 1115,
                    "cat": "TV",
                    "desc": "Ради любви я все смогу / Вечная любовь"
                },
                {
                    "id": 788,
                    "cat": "TV",
                    "desc": "Розыск"
                },
                {
                    "id": 359,
                    "cat": "TV",
                    "desc": "Светофор"
                },
                {
                    "id": 1098,
                    "cat": "TV",
                    "desc": "Семейный бизнес"
                },
                {
                    "id": 1162,
                    "cat": "TV",
                    "desc": "Следователь Тихонов"
                },
                {
                    "id": 1138,
                    "cat": "TV",
                    "desc": "Солнце в подарок"
                },
                {
                    "id": 1180,
                    "cat": "TV",
                    "desc": "Степные волки"
                },
                {
                    "id": 1133,
                    "cat": "TV",
                    "desc": "Сын моего отца"
                },
                {
                    "id": 1049,
                    "cat": "TV",
                    "desc": "Такая работа"
                },
                {
                    "id": 1185,
                    "cat": "TV",
                    "desc": "Центральная больница"
                },
                {
                    "id": 1141,
                    "cat": "TV",
                    "desc": "Человек без прошлого"
                },
                {
                    "id": 1223,
                    "cat": "TV",
                    "desc": "Чёрная кошка"
                },
                {
                    "id": 1190,
                    "cat": "TV",
                    "desc": "Шаман. Новая угроза"
                },
                {
                    "id": 1191,
                    "cat": "TV",
                    "desc": "Я работаю в суде"
                },
                {
                    "id": 1235,
                    "cat": "TV",
                    "desc": "Василиса"
                },
                {
                    "id": 1154,
                    "cat": "TV",
                    "desc": "Вечный отпуск"
                },
                {
                    "id": 1231,
                    "cat": "TV",
                    "desc": "Вы все меня бесите"
                },
                {
                    "id": 152,
                    "cat": "TV",
                    "desc": "Интерны"
                },
                {
                    "id": 1156,
                    "cat": "TV",
                    "desc": "Крыша мира"
                },
                {
                    "id": 1233,
                    "cat": "TV",
                    "desc": "Райское место"
                },
                {
                    "id": 1302,
                    "cat": "TV",
                    "desc": "Фамильные ценности"
                },
                {
                    "id": 1059,
                    "cat": "TV",
                    "desc": "Это любовь"
                },
                {
                    "id": 1280,
                    "cat": "TV",
                    "desc": "Адаптация"
                },
                {
                    "id": 48,
                    "cat": "TV",
                    "desc": "Воронины"
                },
                {
                    "id": 1186,
                    "cat": "TV",
                    "desc": "Кризис нежного возраста"
                },
                {
                    "id": 1281,
                    "cat": "TV",
                    "desc": "Куба"
                },
                {
                    "id": 1278,
                    "cat": "TV",
                    "desc": "Майор и магия"
                },
                {
                    "id": 1125,
                    "cat": "TV",
                    "desc": "Мамочки"
                },
                {
                    "id": 1155,
                    "cat": "TV",
                    "desc": "Мент в законе"
                },
                {
                    "id": 1015,
                    "cat": "TV",
                    "desc": "Ментовские войны"
                },
                {
                    "id": 1276,
                    "cat": "TV",
                    "desc": "Один против всех"
                },
                {
                    "id": 1193,
                    "cat": "TV",
                    "desc": "Ольга"
                },
                {
                    "id": 1227,
                    "cat": "TV",
                    "desc": "Отель Элеон"
                },
                {
                    "id": 551,
                    "cat": "TV",
                    "desc": "Паутина"
                },
                {
                    "id": 1159,
                    "cat": "TV",
                    "desc": "Подкидыши"
                },
                {
                    "id": 225,
                    "cat": "TV",
                    "desc": "Реальные пацаны"
                },
                {
                    "id": 680,
                    "cat": "TV",
                    "desc": "СашаТаня"
                },
                {
                    "id": 1301,
                    "cat": "TV",
                    "desc": "Свидетели"
                },
                {
                    "id": 630,
                    "cat": "TV",
                    "desc": "Склифосовский (Склиф)"
                },
                {
                    "id": 226,
                    "cat": "TV",
                    "desc": "След"
                },
                {
                    "id": 1232,
                    "cat": "TV",
                    "desc": "Стройка"
                },
                {
                    "id": 1045,
                    "cat": "TV",
                    "desc": "Улицы разбитых фонарей"
                },
                {
                    "id": 445,
                    "cat": "TV",
                    "desc": "Универ. Новая общага."
                },
                {
                    "id": 1285,
                    "cat": "TV",
                    "desc": "Учитель в законе. Схватка"
                },
                {
                    "id": 970,
                    "cat": "TV",
                    "desc": "Физрук"
                },
                {
                    "id": 1299,
                    "cat": "TV",
                    "desc": "Филфак"
                },
                {
                    "id": 1062,
                    "cat": "TV",
                    "desc": "ЧОП"
                },
                {
                    "id": 778,
                    "cat": "TV",
                    "desc": "Шеф. Игра на повышение / Шеф-4"
                },
                {
                    "id": 21,
                    "cat": "TV",
                    "desc": "Зарубежные мультсериалы"
                },
                {
                    "id": 185,
                    "cat": "TV",
                    "desc": "WINX CLUB - Школа волшебниц"
                },
                {
                    "id": 463,
                    "cat": "TV",
                    "desc": "Волшебные ПопПикси / PopPixie"
                },
                {
                    "id": 633,
                    "cat": "TV",
                    "desc": "Winx Club 5й сезон - За гранью Беливикса"
                },
                {
                    "id": 772,
                    "cat": "TV",
                    "desc": "Winx Club 6й сезон - Загадка Легендариума"
                },
                {
                    "id": 1093,
                    "cat": "TV",
                    "desc": "Winx Club 7й сезон - Высшая сила животных"
                },
                {
                    "id": 606,
                    "cat": "TV",
                    "desc": "Друзья ангелов"
                },
                {
                    "id": 1129,
                    "cat": "TV",
                    "desc": "ЛедиБаг и Супер кот / Miraculous Ladybug"
                },
                {
                    "id": 789,
                    "cat": "TV",
                    "desc": "Тотали Спайс! / Totally Spies!"
                },
                {
                    "id": 162,
                    "cat": "TV",
                    "desc": "Футурама"
                },
                {
                    "id": 151,
                    "cat": "TV",
                    "desc": "Хантик - Искатели секретов (Озвучка РиперАМ!)"
                },
                {
                    "id": 22,
                    "cat": "TV",
                    "desc": "Русские мультсериалы"
                },
                {
                    "id": 1401,
                    "cat": "TV",
                    "desc": "Маша и Медведь"
                },
                {
                    "id": 198,
                    "cat": "TV",
                    "desc": "Архив Сериалов, Мультсериалов"
                },
                {
                    "id": 232,
                    "cat": "TV/Anime",
                    "desc": "Аниме"
                },
                {
                    "id": 245,
                    "cat": "TV/Anime",
                    "desc": "Полнометражные Аниме"
                },
                {
                    "id": 246,
                    "cat": "TV/Anime",
                    "desc": "Аниме Сериалы"
                },
                {
                    "id": 592,
                    "cat": "TV/Anime",
                    "desc": "High School DxD / Демоны старшей школы"
                },
                {
                    "id": 594,
                    "cat": "TV/Anime",
                    "desc": "Корона Грешника / Guilty Crown"
                },
                {
                    "id": 591,
                    "cat": "TV/Anime",
                    "desc": "Zero no Tsukaima TV-1 / Подручный бездарной Луизы ТВ-1"
                },
                {
                    "id": 595,
                    "cat": "TV/Anime",
                    "desc": "Zero no Tsukaima: Futatsuki no Kishi TV-2 / Подручный бездарной Луизы: Рыцарь Двух Лун ТВ-2"
                },
                {
                    "id": 596,
                    "cat": "TV/Anime",
                    "desc": "Zero no Tsukaima Princess no Rondo TV-3 / Подручный бездарной Луизы: Рондо Принцессы ТВ-3"
                },
                {
                    "id": 597,
                    "cat": "TV/Anime",
                    "desc": "Zero no Tsukaima F TV-4 / Подручный бездарной Луизы Финал ТВ-4"
                },
                {
                    "id": 242,
                    "cat": "TV",
                    "desc": "Без перевода"
                },
                {
                    "id": 241,
                    "cat": "TV",
                    "desc": "ТВ-Шоу, документальные, спорт"
                },
                {
                    "id": 23,
                    "cat": "TV",
                    "desc": "ТВ-Шоу и развлекательные передачи"
                },
                {
                    "id": 1075,
                    "cat": "TV",
                    "desc": "Архив ТВ-Шоу"
                },
                {
                    "id": 491,
                    "cat": "TV",
                    "desc": "Yesterday Live"
                },
                {
                    "id": 516,
                    "cat": "TV",
                    "desc": "X-Фактор"
                },
                {
                    "id": 478,
                    "cat": "TV",
                    "desc": "Без башни"
                },
                {
                    "id": 540,
                    "cat": "TV",
                    "desc": "Болеро"
                },
                {
                    "id": 1010,
                    "cat": "TV",
                    "desc": "Большие гонки"
                },
                {
                    "id": 538,
                    "cat": "TV",
                    "desc": "Бункер News"
                },
                {
                    "id": 561,
                    "cat": "TV",
                    "desc": "В черной-черной комнате"
                },
                {
                    "id": 713,
                    "cat": "TV",
                    "desc": "Вышка"
                },
                {
                    "id": 191,
                    "cat": "TV",
                    "desc": "Голые и смешные"
                },
                {
                    "id": 527,
                    "cat": "TV",
                    "desc": "Готовим с Алексеем Зиминым"
                },
                {
                    "id": 460,
                    "cat": "TV",
                    "desc": "Грязные деньги"
                },
                {
                    "id": 659,
                    "cat": "TV",
                    "desc": "Два с половиной повара"
                },
                {
                    "id": 255,
                    "cat": "TV",
                    "desc": "Девчата"
                },
                {
                    "id": 634,
                    "cat": "TV",
                    "desc": "Дешево и сердито"
                },
                {
                    "id": 574,
                    "cat": "TV",
                    "desc": "Дневники шоугелз"
                },
                {
                    "id": 764,
                    "cat": "TV",
                    "desc": "ДНК"
                },
                {
                    "id": 637,
                    "cat": "TV",
                    "desc": "Доброго здоровьица"
                },
                {
                    "id": 658,
                    "cat": "TV",
                    "desc": "Дурнушек.net"
                },
                {
                    "id": 209,
                    "cat": "TV",
                    "desc": "Ешь и худей"
                },
                {
                    "id": 800,
                    "cat": "TV",
                    "desc": "Женское счастье"
                },
                {
                    "id": 475,
                    "cat": "TV",
                    "desc": "Женская Лига"
                },
                {
                    "id": 740,
                    "cat": "TV",
                    "desc": "Звезданутые"
                },
                {
                    "id": 741,
                    "cat": "TV",
                    "desc": "Здравствуйте, я ваша Пятница"
                },
                {
                    "id": 737,
                    "cat": "TV",
                    "desc": "Из песни слов не выкинешь"
                },
                {
                    "id": 587,
                    "cat": "TV",
                    "desc": "Индустрия кино"
                },
                {
                    "id": 718,
                    "cat": "TV",
                    "desc": "Истина где-то рядом"
                },
                {
                    "id": 1011,
                    "cat": "TV",
                    "desc": "История Российской кухни"
                },
                {
                    "id": 456,
                    "cat": "TV",
                    "desc": "Каникулы в Мексике"
                },
                {
                    "id": 682,
                    "cat": "TV",
                    "desc": "Караоке киллер"
                },
                {
                    "id": 996,
                    "cat": "TV",
                    "desc": "Когда мы дома"
                },
                {
                    "id": 785,
                    "cat": "TV",
                    "desc": "Куб - Новый сезон"
                },
                {
                    "id": 668,
                    "cat": "TV",
                    "desc": "Кулинарный поединок"
                },
                {
                    "id": 752,
                    "cat": "TV",
                    "desc": "Луч Света"
                },
                {
                    "id": 533,
                    "cat": "TV",
                    "desc": "Люди ХЭ"
                },
                {
                    "id": 447,
                    "cat": "TV",
                    "desc": "Мама в законе"
                },
                {
                    "id": 529,
                    "cat": "TV",
                    "desc": "Минута для победы с М. Авериным"
                },
                {
                    "id": 793,
                    "cat": "TV",
                    "desc": "Мировой повар"
                },
                {
                    "id": 586,
                    "cat": "TV",
                    "desc": "Минута славы"
                },
                {
                    "id": 472,
                    "cat": "TV",
                    "desc": "Мульт Личности"
                },
                {
                    "id": 1009,
                    "cat": "TV",
                    "desc": "Наш выход"
                },
                {
                    "id": 511,
                    "cat": "TV",
                    "desc": "Нонна, давай"
                },
                {
                    "id": 531,
                    "cat": "TV",
                    "desc": "НТВшники"
                },
                {
                    "id": 754,
                    "cat": "TV",
                    "desc": "Остров"
                },
                {
                    "id": 715,
                    "cat": "TV",
                    "desc": "Пародайс"
                },
                {
                    "id": 559,
                    "cat": "TV",
                    "desc": "Первый класс"
                },
                {
                    "id": 636,
                    "cat": "TV",
                    "desc": "Погоня"
                },
                {
                    "id": 679,
                    "cat": "TV",
                    "desc": "Пока еще не поздно"
                },
                {
                    "id": 545,
                    "cat": "TV",
                    "desc": "Понять. Простить"
                },
                {
                    "id": 537,
                    "cat": "TV",
                    "desc": "Последнее слово"
                },
                {
                    "id": 792,
                    "cat": "TV",
                    "desc": "Правила моей кухни"
                },
                {
                    "id": 547,
                    "cat": "TV",
                    "desc": "Право на защиту"
                },
                {
                    "id": 731,
                    "cat": "TV",
                    "desc": "Про декор"
                },
                {
                    "id": 536,
                    "cat": "TV",
                    "desc": "Самый умный"
                },
                {
                    "id": 742,
                    "cat": "TV",
                    "desc": "Свидание со звездой"
                },
                {
                    "id": 544,
                    "cat": "TV",
                    "desc": "Свобода и справедливость"
                },
                {
                    "id": 963,
                    "cat": "TV",
                    "desc": "Свободное время"
                },
                {
                    "id": 575,
                    "cat": "TV",
                    "desc": "Снимите это немедленно!"
                },
                {
                    "id": 489,
                    "cat": "TV",
                    "desc": "Специальное задание"
                },
                {
                    "id": 495,
                    "cat": "TV",
                    "desc": "Спокойной ночи, малыши!"
                },
                {
                    "id": 689,
                    "cat": "TV",
                    "desc": "Страна в Shope"
                },
                {
                    "id": 492,
                    "cat": "TV",
                    "desc": "СуперИнтуиция"
                },
                {
                    "id": 535,
                    "cat": "TV",
                    "desc": "Съешьте это немедленно!"
                },
                {
                    "id": 1005,
                    "cat": "TV",
                    "desc": "Тотальная распродажа"
                },
                {
                    "id": 521,
                    "cat": "TV",
                    "desc": "Украина чудес"
                },
                {
                    "id": 698,
                    "cat": "TV",
                    "desc": "Устами младенца"
                },
                {
                    "id": 451,
                    "cat": "TV",
                    "desc": "Улетное видео по русски"
                },
                {
                    "id": 697,
                    "cat": "TV",
                    "desc": "ХБ"
                },
                {
                    "id": 497,
                    "cat": "TV",
                    "desc": "Ху из ху"
                },
                {
                    "id": 494,
                    "cat": "TV",
                    "desc": "Школа злословия"
                },
                {
                    "id": 448,
                    "cat": "TV",
                    "desc": "Что делать?"
                },
                {
                    "id": 366,
                    "cat": "TV",
                    "desc": "6 кадров"
                },
                {
                    "id": 1032,
                    "cat": "TV",
                    "desc": "Автошкола 2: Девчонки рулят"
                },
                {
                    "id": 471,
                    "cat": "TV",
                    "desc": "Большая Разница"
                },
                {
                    "id": 744,
                    "cat": "TV",
                    "desc": "В наше время"
                },
                {
                    "id": 1056,
                    "cat": "TV",
                    "desc": "Все будет хорошо"
                },
                {
                    "id": 344,
                    "cat": "TV",
                    "desc": "Галилео"
                },
                {
                    "id": 477,
                    "cat": "TV",
                    "desc": "Даешь молодежь"
                },
                {
                    "id": 514,
                    "cat": "TV",
                    "desc": "Ералаш"
                },
                {
                    "id": 446,
                    "cat": "TV",
                    "desc": "+100500"
                },
                {
                    "id": 1164,
                    "cat": "TV",
                    "desc": "Битва риелторов"
                },
                {
                    "id": 693,
                    "cat": "TV",
                    "desc": "Comedy Баттл. Без границ"
                },
                {
                    "id": 1071,
                    "cat": "TV",
                    "desc": "Взвешенные люди"
                },
                {
                    "id": 229,
                    "cat": "TV",
                    "desc": "Comedy Баттл. Отбор, турнир"
                },
                {
                    "id": 1096,
                    "cat": "TV",
                    "desc": "Время Г"
                },
                {
                    "id": 522,
                    "cat": "TV",
                    "desc": "Модный приговор"
                },
                {
                    "id": 971,
                    "cat": "TV",
                    "desc": "Не спать!"
                },
                {
                    "id": 1137,
                    "cat": "TV",
                    "desc": "Новая звезда"
                },
                {
                    "id": 1142,
                    "cat": "TV",
                    "desc": "Таблетка"
                },
                {
                    "id": 677,
                    "cat": "TV",
                    "desc": "Холостяк"
                },
                {
                    "id": 1034,
                    "cat": "TV",
                    "desc": "Чисто News"
                },
                {
                    "id": 763,
                    "cat": "TV",
                    "desc": "Я худею"
                },
                {
                    "id": 1087,
                    "cat": "TV",
                    "desc": "Дикие игры"
                },
                {
                    "id": 649,
                    "cat": "TV",
                    "desc": "Тайны Чапман"
                },
                {
                    "id": 452,
                    "cat": "TV",
                    "desc": "Хочу знать"
                },
                {
                    "id": 1121,
                    "cat": "TV",
                    "desc": "Хроники московского быта"
                },
                {
                    "id": 647,
                    "cat": "TV",
                    "desc": "Чистосердечное признание"
                },
                {
                    "id": 643,
                    "cat": "TV",
                    "desc": "Кинематограф"
                },
                {
                    "id": 532,
                    "cat": "TV",
                    "desc": "Кино в деталях"
                },
                {
                    "id": 614,
                    "cat": "TV",
                    "desc": "Мистические истории"
                },
                {
                    "id": 801,
                    "cat": "TV",
                    "desc": "Пища богов"
                },
                {
                    "id": 974,
                    "cat": "TV",
                    "desc": "Политика"
                },
                {
                    "id": 670,
                    "cat": "TV",
                    "desc": "Репортерские истории"
                },
                {
                    "id": 252,
                    "cat": "TV",
                    "desc": "Среда обитания"
                },
                {
                    "id": 89,
                    "cat": "TV",
                    "desc": "Игровое видео/Фильм о фильме"
                },
                {
                    "id": 65,
                    "cat": "TV",
                    "desc": "Вторая мировая война"
                },
                {
                    "id": 190,
                    "cat": "TV",
                    "desc": "Давай поженимся"
                },
                {
                    "id": 530,
                    "cat": "TV",
                    "desc": "Жди меня"
                },
                {
                    "id": 1086,
                    "cat": "TV",
                    "desc": "На самом деле"
                },
                {
                    "id": 526,
                    "cat": "TV",
                    "desc": "Вечерний квартал"
                },
                {
                    "id": 605,
                    "cat": "TV",
                    "desc": "Вечерний Ургант"
                },
                {
                    "id": 1124,
                    "cat": "TV",
                    "desc": "Где логика?"
                },
                {
                    "id": 480,
                    "cat": "TV",
                    "desc": "Камеди Woman"
                },
                {
                    "id": 459,
                    "cat": "TV",
                    "desc": "Говорим и показываем"
                },
                {
                    "id": 479,
                    "cat": "TV",
                    "desc": "Comedy Club - Камеди Клаб"
                },
                {
                    "id": 33,
                    "cat": "TV",
                    "desc": "ДОМ 2"
                },
                {
                    "id": 270,
                    "cat": "TV",
                    "desc": "Архив Дом-2"
                },
                {
                    "id": 1484,
                    "cat": "TV",
                    "desc": "ДНК"
                },
                {
                    "id": 1483,
                    "cat": "TV",
                    "desc": "За гранью"
                },
                {
                    "id": 1469,
                    "cat": "TV",
                    "desc": "Звезды сошлись"
                },
                {
                    "id": 696,
                    "cat": "TV",
                    "desc": "Квартирный вопрос"
                },
                {
                    "id": 1468,
                    "cat": "TV",
                    "desc": "Квартирник НТВ у Маргулиса"
                },
                {
                    "id": 469,
                    "cat": "TV",
                    "desc": "КВН - Клуб Веселых и Находчивых"
                },
                {
                    "id": 541,
                    "cat": "TV",
                    "desc": "Кто хочет стать миллионером"
                },
                {
                    "id": 189,
                    "cat": "TV",
                    "desc": "Контрольная закупка"
                },
                {
                    "id": 1284,
                    "cat": "TV",
                    "desc": "Лига смеха"
                },
                {
                    "id": 775,
                    "cat": "TV",
                    "desc": "МастерШеф"
                },
                {
                    "id": 1291,
                    "cat": "TV",
                    "desc": "Международная пилорама"
                },
                {
                    "id": 1018,
                    "cat": "TV",
                    "desc": "Мужское - женское"
                },
                {
                    "id": 769,
                    "cat": "TV",
                    "desc": "Наедине со всеми"
                },
                {
                    "id": 1123,
                    "cat": "TV",
                    "desc": "НашПотребНадзор"
                },
                {
                    "id": 1017,
                    "cat": "TV",
                    "desc": "Однажды в России"
                },
                {
                    "id": 1309,
                    "cat": "TV",
                    "desc": "Пацанки"
                },
                {
                    "id": 765,
                    "cat": "TV",
                    "desc": "Перезагрузка"
                },
                {
                    "id": 493,
                    "cat": "TV",
                    "desc": "Поле чудес"
                },
                {
                    "id": 730,
                    "cat": "TV",
                    "desc": "Поедем, поедим"
                },
                {
                    "id": 1146,
                    "cat": "TV",
                    "desc": "Когда все дома"
                },
                {
                    "id": 1196,
                    "cat": "TV",
                    "desc": "Проводник"
                },
                {
                    "id": 588,
                    "cat": "TV",
                    "desc": "Прямой эфир"
                },
                {
                    "id": 348,
                    "cat": "TV",
                    "desc": "Пусть говорят"
                },
                {
                    "id": 1158,
                    "cat": "TV",
                    "desc": "Ревизорро"
                },
                {
                    "id": 490,
                    "cat": "TV",
                    "desc": "Сам себе режиссёр"
                },
                {
                    "id": 457,
                    "cat": "TV",
                    "desc": "Своя игра"
                },
                {
                    "id": 520,
                    "cat": "TV",
                    "desc": "Смак"
                },
                {
                    "id": 1106,
                    "cat": "TV",
                    "desc": "Соль"
                },
                {
                    "id": 975,
                    "cat": "TV",
                    "desc": "STAND UP"
                },
                {
                    "id": 496,
                    "cat": "TV",
                    "desc": "Сто к одному"
                },
                {
                    "id": 786,
                    "cat": "TV",
                    "desc": "Сегодня вечером"
                },
                {
                    "id": 967,
                    "cat": "TV",
                    "desc": "Comedy Баттл. Последний сезон"
                },
                {
                    "id": 1287,
                    "cat": "TV",
                    "desc": "Секрет на миллион"
                },
                {
                    "id": 1021,
                    "cat": "TV",
                    "desc": "Танцы"
                },
                {
                    "id": 1286,
                    "cat": "TV",
                    "desc": "Ты супер!"
                },
                {
                    "id": 470,
                    "cat": "TV",
                    "desc": "Уральские пельмени"
                },
                {
                    "id": 1290,
                    "cat": "TV",
                    "desc": "Устами младенца"
                },
                {
                    "id": 1147,
                    "cat": "TV",
                    "desc": "Фазенда"
                },
                {
                    "id": 188,
                    "cat": "TV",
                    "desc": "Центральное телевидение"
                },
                {
                    "id": 543,
                    "cat": "TV",
                    "desc": "Что? Где? Когда?"
                },
                {
                    "id": 738,
                    "cat": "TV",
                    "desc": "Школа ремонта"
                },
                {
                    "id": 59,
                    "cat": "TV",
                    "desc": "Э К С Т Р А С Е Н С Ы"
                },
                {
                    "id": 281,
                    "cat": "TV",
                    "desc": "Удиви меня"
                },
                {
                    "id": 1035,
                    "cat": "TV",
                    "desc": "Черно-белое"
                },
                {
                    "id": 280,
                    "cat": "TV",
                    "desc": "Экстрасенсы против ученых"
                },
                {
                    "id": 279,
                    "cat": "TV",
                    "desc": "Битва экстрасенсов"
                },
                {
                    "id": 1461,
                    "cat": "TV/Documentary",
                    "desc": "Невероятно интересные истории"
                },
                {
                    "id": 1477,
                    "cat": "TV/Documentary",
                    "desc": "Последний герой"
                },
                {
                    "id": 1478,
                    "cat": "TV/Documentary",
                    "desc": "Бородина против Бузовой"
                },
                {
                    "id": 1488,
                    "cat": "TV/Documentary",
                    "desc": "Док-ток"
                },
                {
                    "id": 1493,
                    "cat": "TV/Documentary",
                    "desc": "'Рожденные в СССР' Ностальгия"
                },
                {
                    "id": 24,
                    "cat": "TV/Documentary",
                    "desc": "Документальные передачи"
                },
                {
                    "id": 1460,
                    "cat": "TV/Documentary",
                    "desc": "Специальный репортаж (ТК Звезда)"
                },
                {
                    "id": 728,
                    "cat": "TV/Documentary",
                    "desc": "Чудо техники с Сергеем Малозёмовым"
                },
                {
                    "id": 69,
                    "cat": "TV/Documentary",
                    "desc": "Авто"
                },
                {
                    "id": 669,
                    "cat": "TV/Documentary",
                    "desc": "Главная дорога"
                },
                {
                    "id": 704,
                    "cat": "TV/Documentary",
                    "desc": "Первая передача"
                },
                {
                    "id": 1111,
                    "cat": "TV/Documentary",
                    "desc": "Без обмана"
                },
                {
                    "id": 88,
                    "cat": "TV/Documentary",
                    "desc": "Биографии. Личности и кумиры"
                },
                {
                    "id": 68,
                    "cat": "TV/Documentary",
                    "desc": "Военное дело"
                },
                {
                    "id": 729,
                    "cat": "TV/Documentary",
                    "desc": "Дачный ответ"
                },
                {
                    "id": 1152,
                    "cat": "TV/Documentary",
                    "desc": "Живая еда"
                },
                {
                    "id": 194,
                    "cat": "TV/Documentary",
                    "desc": "Discovery / NatGeo / BBC / Viasat"
                },
                {
                    "id": 1307,
                    "cat": "TV/Documentary",
                    "desc": "Загадки человечества"
                },
                {
                    "id": 701,
                    "cat": "TV/Documentary",
                    "desc": "Идеальный ремонт"
                },
                {
                    "id": 63,
                    "cat": "TV/Documentary",
                    "desc": "Криминал"
                },
                {
                    "id": 1481,
                    "cat": "TV/Documentary",
                    "desc": "Закон и порядок"
                },
                {
                    "id": 796,
                    "cat": "TV/Documentary",
                    "desc": "Место происшествия. О главном"
                },
                {
                    "id": 1470,
                    "cat": "TV/Documentary",
                    "desc": "По следу монстра"
                },
                {
                    "id": 1085,
                    "cat": "TV/Documentary",
                    "desc": "Следствие ведут..."
                },
                {
                    "id": 652,
                    "cat": "TV/Documentary",
                    "desc": "Следствие вели..."
                },
                {
                    "id": 498,
                    "cat": "TV/Documentary",
                    "desc": "Чрезвычайное происшествие"
                },
                {
                    "id": 1120,
                    "cat": "TV/Documentary",
                    "desc": "Линия защиты"
                },
                {
                    "id": 1145,
                    "cat": "TV/Documentary",
                    "desc": "Непутевые заметки с Дмитрием Крыловым"
                },
                {
                    "id": 1067,
                    "cat": "TV/Documentary",
                    "desc": "Обложка"
                },
                {
                    "id": 1288,
                    "cat": "TV/Documentary",
                    "desc": "Однажды"
                },
                {
                    "id": 1119,
                    "cat": "TV/Documentary",
                    "desc": "Осторожно, мошенники!"
                },
                {
                    "id": 1149,
                    "cat": "TV/Documentary",
                    "desc": "Открытие Китая"
                },
                {
                    "id": 739,
                    "cat": "TV/Documentary",
                    "desc": "Очная ставка"
                },
                {
                    "id": 965,
                    "cat": "TV/Documentary",
                    "desc": "Познер. Интервью с..."
                },
                {
                    "id": 650,
                    "cat": "TV/Documentary",
                    "desc": "Русские сенсации"
                },
                {
                    "id": 1122,
                    "cat": "TV/Documentary",
                    "desc": "Русский вопрос"
                },
                {
                    "id": 1198,
                    "cat": "TV/Documentary",
                    "desc": "Самые шокирующие гипотезы"
                },
                {
                    "id": 802,
                    "cat": "TV/Documentary",
                    "desc": "Территория заблуждений с Игорем Прокопенко"
                },
                {
                    "id": 1479,
                    "cat": "TV/Documentary",
                    "desc": "Как устроен мир с Тимофеем Баженовым"
                },
                {
                    "id": 323,
                    "cat": "TV/Documentary",
                    "desc": "Информационно-аналитические и общественно-политические передачи"
                },
                {
                    "id": 1195,
                    "cat": "TV/Documentary",
                    "desc": "60 минут"
                },
                {
                    "id": 1041,
                    "cat": "TV/Documentary",
                    "desc": "Вести"
                },
                {
                    "id": 672,
                    "cat": "TV/Documentary",
                    "desc": "Вести в субботу с Сергеем Брилевым"
                },
                {
                    "id": 655,
                    "cat": "TV/Documentary",
                    "desc": "Вести недели"
                },
                {
                    "id": 1007,
                    "cat": "TV/Documentary",
                    "desc": "Время покажет"
                },
                {
                    "id": 673,
                    "cat": "TV/Documentary",
                    "desc": "Воскресное время - Первый канал"
                },
                {
                    "id": 759,
                    "cat": "TV/Documentary",
                    "desc": "В центре событий с Анной Прохоровой"
                },
                {
                    "id": 999,
                    "cat": "TV/Documentary",
                    "desc": "Добров в эфире"
                },
                {
                    "id": 758,
                    "cat": "TV/Documentary",
                    "desc": "Известия. Главное"
                },
                {
                    "id": 1230,
                    "cat": "TV/Documentary",
                    "desc": "Итоги недели"
                },
                {
                    "id": 1400,
                    "cat": "TV/Documentary",
                    "desc": "Итоги недели с Сергеем Михеевым"
                },
                {
                    "id": 1402,
                    "cat": "TV/Documentary",
                    "desc": "Кто против?"
                },
                {
                    "id": 1148,
                    "cat": "TV/Documentary",
                    "desc": "Место встречи"
                },
                {
                    "id": 648,
                    "cat": "TV/Documentary",
                    "desc": "Момент истины"
                },
                {
                    "id": 1279,
                    "cat": "TV/Documentary",
                    "desc": "Первая студия"
                },
                {
                    "id": 327,
                    "cat": "TV/Documentary",
                    "desc": "Поединок с Владимиром Соловьевым"
                },
                {
                    "id": 324,
                    "cat": "TV/Documentary",
                    "desc": "Постскриптум с Алексеем Пушковым"
                },
                {
                    "id": 705,
                    "cat": "TV/Documentary",
                    "desc": "Право голоса"
                },
                {
                    "id": 1029,
                    "cat": "TV/Documentary",
                    "desc": "Право знать!"
                },
                {
                    "id": 1153,
                    "cat": "TV/Documentary",
                    "desc": "Процесс"
                },
                {
                    "id": 1405,
                    "cat": "TV/Documentary",
                    "desc": "Своя правда"
                },
                {
                    "id": 337,
                    "cat": "TV/Documentary",
                    "desc": "Ты не поверишь!"
                },
                {
                    "id": 330,
                    "cat": "TV/Documentary",
                    "desc": "Человек и закон"
                },
                {
                    "id": 25,
                    "cat": "TV/Sport",
                    "desc": "Спортивные передачи"
                },
                {
                    "id": 127,
                    "cat": "TV/Sport",
                    "desc": "ХХII Зимние Олимпийские Игры в Сочи"
                },
                {
                    "id": 616,
                    "cat": "TV/Sport",
                    "desc": "Фигурное катание"
                },
                {
                    "id": 201,
                    "cat": "TV/Sport",
                    "desc": "Бокс, боевые единоборства , рестлинг"
                },
                {
                    "id": 146,
                    "cat": "TV/Sport",
                    "desc": "Гонки"
                },
                {
                    "id": 145,
                    "cat": "TV/Sport",
                    "desc": "Футбол"
                },
                {
                    "id": 985,
                    "cat": "TV/Sport",
                    "desc": "Футбол. Чемпионат мира 2014 (Бразилия)"
                },
                {
                    "id": 661,
                    "cat": "TV/Sport",
                    "desc": "Футбол.ru"
                },
                {
                    "id": 211,
                    "cat": "TV/Sport",
                    "desc": "Хоккей"
                },
                {
                    "id": 192,
                    "cat": "TV/Sport",
                    "desc": "ЧМ-2010"
                },
                {
                    "id": 622,
                    "cat": "TV/Sport",
                    "desc": "XXIV Зимние Олимпийские игры 2022"
                },
                {
                    "id": 346,
                    "cat": "TV/Sport",
                    "desc": "Театр"
                },
                {
                    "id": 199,
                    "cat": "TV/Sport",
                    "desc": "Архив ТВ-Шоу, документальные, спорт"
                },
                {
                    "id": 577,
                    "cat": "TV/Sport",
                    "desc": "Адская кухня - 2 (Россия)"
                },
                {
                    "id": 674,
                    "cat": "TV/Sport",
                    "desc": "Большие танцы"
                },
                {
                    "id": 579,
                    "cat": "TV/Sport",
                    "desc": "Две звезды"
                },
                {
                    "id": 576,
                    "cat": "TV/Sport",
                    "desc": "Смотреть всем!"
                },
                {
                    "id": 694,
                    "cat": "TV/Sport",
                    "desc": "Фитнес"
                },
                {
                    "id": 589,
                    "cat": "TV/Sport",
                    "desc": "Достояние республики. Новый сезон 2011!"
                },
                {
                    "id": 585,
                    "cat": "TV/Sport",
                    "desc": "Городок"
                },
                {
                    "id": 584,
                    "cat": "TV/Sport",
                    "desc": "Адская кухня"
                },
                {
                    "id": 269,
                    "cat": "TV/Sport",
                    "desc": "Одна за всех"
                },
                {
                    "id": 515,
                    "cat": "TV/Sport",
                    "desc": "Стыдно, когда видно!"
                },
                {
                    "id": 468,
                    "cat": "TV/Sport",
                    "desc": "Прожекторперисхилтон"
                },
                {
                    "id": 762,
                    "cat": "TV/Sport",
                    "desc": "Хит"
                },
                {
                    "id": 767,
                    "cat": "TV/Sport",
                    "desc": "Шурочка"
                },
                {
                    "id": 1113,
                    "cat": "TV/Sport",
                    "desc": "Акценты недели"
                },
                {
                    "id": 333,
                    "cat": "TV/Sport",
                    "desc": "Брачное чтиво"
                },
                {
                    "id": 1097,
                    "cat": "TV/Sport",
                    "desc": "В теме"
                },
                {
                    "id": 1064,
                    "cat": "TV/Sport",
                    "desc": "Время в 21:00"
                },
                {
                    "id": 332,
                    "cat": "TV/Sport",
                    "desc": "ЖКХ"
                },
                {
                    "id": 660,
                    "cat": "TV/Sport",
                    "desc": "Михаил Жванецкий. Дежурный по стране"
                },
                {
                    "id": 998,
                    "cat": "TV/Sport",
                    "desc": "Итоги дня"
                },
                {
                    "id": 331,
                    "cat": "TV/Sport",
                    "desc": "Неделя с Марианной Максимовской"
                },
                {
                    "id": 335,
                    "cat": "TV/Sport",
                    "desc": "Операция «Должник»"
                },
                {
                    "id": 1134,
                    "cat": "TV/Sport",
                    "desc": "Открытая студия"
                },
                {
                    "id": 1143,
                    "cat": "TV/Sport",
                    "desc": "Поздняков. Интервью с ..."
                },
                {
                    "id": 336,
                    "cat": "TV/Sport",
                    "desc": "Секретные территории"
                },
                {
                    "id": 702,
                    "cat": "TV/Sport",
                    "desc": "Собчак живьём"
                },
                {
                    "id": 328,
                    "cat": "TV/Sport",
                    "desc": "Специальный корреспондент"
                },
                {
                    "id": 1053,
                    "cat": "TV/Sport",
                    "desc": "Список Норкина"
                },
                {
                    "id": 1022,
                    "cat": "TV/Sport",
                    "desc": "Структура Момента"
                },
                {
                    "id": 325,
                    "cat": "TV/Sport",
                    "desc": "Судите сами"
                },
                {
                    "id": 326,
                    "cat": "TV/Sport",
                    "desc": "Честный понедельник"
                },
                {
                    "id": 329,
                    "cat": "TV/Sport",
                    "desc": "Сегодня. Итоговая программа"
                },
                {
                    "id": 1100,
                    "cat": "TV/Sport",
                    "desc": "Пропаганда"
                },
                {
                    "id": 1084,
                    "cat": "TV/Sport",
                    "desc": "'Точка' с Максимом Шевченко"
                },
                {
                    "id": 334,
                    "cat": "TV/Sport",
                    "desc": "День космических историй"
                },
                {
                    "id": 1091,
                    "cat": "TV/Sport",
                    "desc": "50 оттенков. Белова"
                },
                {
                    "id": 298,
                    "cat": "Console",
                    "desc": "Игры"
                },
                {
                    "id": 1202,
                    "cat": "Console",
                    "desc": "Горячие RePack'и"
                },
                {
                    "id": 302,
                    "cat": "Console",
                    "desc": "Горячие Новинки"
                },
                {
                    "id": 1225,
                    "cat": "Console",
                    "desc": "Denuvo"
                },
                {
                    "id": 300,
                    "cat": "Console",
                    "desc": "Игры для PC"
                },
                {
                    "id": 312,
                    "cat": "Console",
                    "desc": "Action"
                },
                {
                    "id": 807,
                    "cat": "Console",
                    "desc": "Action FPS (1st Person)"
                },
                {
                    "id": 808,
                    "cat": "Console",
                    "desc": "Action TPS (3rd Person)"
                },
                {
                    "id": 665,
                    "cat": "Console",
                    "desc": "Антологии"
                },
                {
                    "id": 309,
                    "cat": "Console",
                    "desc": "Стратегии"
                },
                {
                    "id": 810,
                    "cat": "Console",
                    "desc": "RTS (стратегии в реальном времени)"
                },
                {
                    "id": 809,
                    "cat": "Console",
                    "desc": "TBS (пошаговые стратегии)"
                },
                {
                    "id": 811,
                    "cat": "Console",
                    "desc": "Экономические стратегии"
                },
                {
                    "id": 938,
                    "cat": "Console",
                    "desc": "Военные стратегии"
                },
                {
                    "id": 338,
                    "cat": "Console",
                    "desc": "RPG"
                },
                {
                    "id": 1203,
                    "cat": "Console",
                    "desc": "MMORPG"
                },
                {
                    "id": 305,
                    "cat": "Console",
                    "desc": "Аркады"
                },
                {
                    "id": 717,
                    "cat": "Console",
                    "desc": "Симуляторы"
                },
                {
                    "id": 1204,
                    "cat": "Console",
                    "desc": "Авиасимуляторы"
                },
                {
                    "id": 1205,
                    "cat": "Console",
                    "desc": "Гоночные симуляторы"
                },
                {
                    "id": 1206,
                    "cat": "Console",
                    "desc": "Спортивные симуляторы"
                },
                {
                    "id": 311,
                    "cat": "Console",
                    "desc": "Приключения, Квесты, Логические"
                },
                {
                    "id": 1207,
                    "cat": "Console",
                    "desc": "Старые игры"
                },
                {
                    "id": 307,
                    "cat": "Console",
                    "desc": "Детские обучающие игры"
                },
                {
                    "id": 812,
                    "cat": "Console",
                    "desc": "Онлайновые игры"
                },
                {
                    "id": 1215,
                    "cat": "Console",
                    "desc": "Эротические игры"
                },
                {
                    "id": 303,
                    "cat": "Console",
                    "desc": "Мини-игры"
                },
                {
                    "id": 1208,
                    "cat": "Console",
                    "desc": "Demo, Alpha, Beta версии"
                },
                {
                    "id": 313,
                    "cat": "Console",
                    "desc": "Прочее"
                },
                {
                    "id": 864,
                    "cat": "Console",
                    "desc": "Дополнения к играм"
                },
                {
                    "id": 1209,
                    "cat": "Console",
                    "desc": "NoCD/NoDVD"
                },
                {
                    "id": 1210,
                    "cat": "Console",
                    "desc": "Русификаторы"
                },
                {
                    "id": 1211,
                    "cat": "Console",
                    "desc": "Игровое видео"
                },
                {
                    "id": 1212,
                    "cat": "Console",
                    "desc": "Патчи"
                },
                {
                    "id": 1213,
                    "cat": "Console",
                    "desc": "Софт для игр на PC"
                },
                {
                    "id": 1214,
                    "cat": "Console",
                    "desc": "Прочее"
                },
                {
                    "id": 1415,
                    "cat": "Console",
                    "desc": "VR"
                },
                {
                    "id": 1489,
                    "cat": "Console",
                    "desc": "S.T.A.L.K.E.R"
                },
                {
                    "id": 382,
                    "cat": "PC",
                    "desc": "Программное обеспечение"
                },
                {
                    "id": 1237,
                    "cat": "PC",
                    "desc": "Операционные системы"
                },
                {
                    "id": 1486,
                    "cat": "PC",
                    "desc": "Windows 11"
                },
                {
                    "id": 1238,
                    "cat": "PC",
                    "desc": "Windows 10"
                },
                {
                    "id": 1239,
                    "cat": "PC",
                    "desc": "Windows 8, 8.1"
                },
                {
                    "id": 1240,
                    "cat": "PC",
                    "desc": "Windows 7"
                },
                {
                    "id": 1243,
                    "cat": "PC",
                    "desc": "Windows VISTA"
                },
                {
                    "id": 1241,
                    "cat": "PC",
                    "desc": "Windows XP"
                },
                {
                    "id": 1275,
                    "cat": "PC",
                    "desc": "Linux, Unix, Mac и другие ОС"
                },
                {
                    "id": 1242,
                    "cat": "PC",
                    "desc": "Разное (Microsoft Windows OS)"
                },
                {
                    "id": 391,
                    "cat": "PC",
                    "desc": "Системные программы"
                },
                {
                    "id": 405,
                    "cat": "PC",
                    "desc": "Драйвера и сопутствующий софт"
                },
                {
                    "id": 1254,
                    "cat": "PC",
                    "desc": "Архиваторы и файловые менеджеры"
                },
                {
                    "id": 1255,
                    "cat": "PC",
                    "desc": "Программы для настройки и оптимизации ОС"
                },
                {
                    "id": 724,
                    "cat": "PC",
                    "desc": "Защита, Антивирусы и Файерволы"
                },
                {
                    "id": 406,
                    "cat": "PC",
                    "desc": "Сборники программ, WPI"
                },
                {
                    "id": 407,
                    "cat": "PC",
                    "desc": "Работа с жёстким диском"
                },
                {
                    "id": 1245,
                    "cat": "PC",
                    "desc": "Резервирование и восстановление данных"
                },
                {
                    "id": 1247,
                    "cat": "PC",
                    "desc": "Работа с носителями информации"
                },
                {
                    "id": 1248,
                    "cat": "PC",
                    "desc": "Обслуживание и диагностика компьютера"
                },
                {
                    "id": 1249,
                    "cat": "PC",
                    "desc": "ПО для Интернета и сетей"
                },
                {
                    "id": 1251,
                    "cat": "PC",
                    "desc": "Изменение интерфейса и скринсейверы ОС Windows"
                },
                {
                    "id": 408,
                    "cat": "PC",
                    "desc": "Разное (Системные программы)"
                },
                {
                    "id": 399,
                    "cat": "PC",
                    "desc": "Программы для работы с мультимедиа и 3D"
                },
                {
                    "id": 400,
                    "cat": "PC",
                    "desc": "Графические редакторы, 3D моделирование"
                },
                {
                    "id": 401,
                    "cat": "PC",
                    "desc": "Редакторы видео"
                },
                {
                    "id": 402,
                    "cat": "PC",
                    "desc": "Видео- Аудио- конверторы"
                },
                {
                    "id": 404,
                    "cat": "PC",
                    "desc": "Видео- Аудио- проигрыватели"
                },
                {
                    "id": 1270,
                    "cat": "PC",
                    "desc": "Работа со звуком"
                },
                {
                    "id": 1271,
                    "cat": "PC",
                    "desc": "Аудио- Видео Кодеки"
                },
                {
                    "id": 403,
                    "cat": "PC",
                    "desc": "Разное (Программы для работы с мультимедиа и 3D)"
                },
                {
                    "id": 1244,
                    "cat": "PC",
                    "desc": "Системы для бизнеса, офиса, научной и проектной работы"
                },
                {
                    "id": 1261,
                    "cat": "PC",
                    "desc": "ГИС, Системы навигации и карты"
                },
                {
                    "id": 1256,
                    "cat": "PC",
                    "desc": "Системы для научной работы"
                },
                {
                    "id": 1257,
                    "cat": "PC",
                    "desc": "Офисные системы"
                },
                {
                    "id": 1263,
                    "cat": "PC",
                    "desc": "Веб-разработка и Программирование"
                },
                {
                    "id": 1258,
                    "cat": "PC",
                    "desc": "Системы для бизнеса"
                },
                {
                    "id": 1259,
                    "cat": "PC",
                    "desc": "Работа с PDF и DjVu"
                },
                {
                    "id": 1262,
                    "cat": "PC",
                    "desc": "Словари, переводчики"
                },
                {
                    "id": 1260,
                    "cat": "PC",
                    "desc": "САПР, Софт для архитекторов и строителей"
                },
                {
                    "id": 1393,
                    "cat": "PC",
                    "desc": "Разное"
                },
                {
                    "id": 726,
                    "cat": "Other",
                    "desc": "Разное"
                },
                {
                    "id": 1273,
                    "cat": "Other",
                    "desc": "Обои для рабочего стола"
                },
                {
                    "id": 1390,
                    "cat": "Other",
                    "desc": "Аватары, Иконки, Смайлы"
                },
                {
                    "id": 1391,
                    "cat": "Other",
                    "desc": "Растровые и Векторные Клипарты"
                },
                {
                    "id": 1272,
                    "cat": "Other",
                    "desc": "Photoshop (Уроки) и Видеокурсы"
                },
                {
                    "id": 1392,
                    "cat": "Other",
                    "desc": "Заготовки, виньетки, рамки"
                },
                {
                    "id": 1408,
                    "cat": "PC/Mobile-Other",
                    "desc": "Мобильные устройства"
                },
                {
                    "id": 1409,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 1411,
                    "cat": "PC/Mobile-Android",
                    "desc": "18+ -Android"
                },
                {
                    "id": 1418,
                    "cat": "PC/Mobile-Android",
                    "desc": "TV|Видео|IPTV - Android"
                },
                {
                    "id": 1419,
                    "cat": "PC/Mobile-Android",
                    "desc": "Утилиты|Система - Android"
                },
                {
                    "id": 1420,
                    "cat": "PC/Mobile-Android",
                    "desc": "Видеоплееры|Аудиоплееры - Android"
                },
                {
                    "id": 1421,
                    "cat": "PC/Mobile-Android",
                    "desc": "VPN|Интернет - Android"
                },
                {
                    "id": 1422,
                    "cat": "PC/Mobile-Android",
                    "desc": "Соцсети|Мессенджеры - Android"
                },
                {
                    "id": 1423,
                    "cat": "PC/Mobile-Android",
                    "desc": "Авто|Карты - Android"
                },
                {
                    "id": 1424,
                    "cat": "PC/Mobile-Android",
                    "desc": "Редакторы|Фоторедакторы - Android"
                },
                {
                    "id": 1480,
                    "cat": "PC/Mobile-Android",
                    "desc": "Игры - Android"
                },
                {
                    "id": 243,
                    "cat": "Audio",
                    "desc": "Музыка"
                },
                {
                    "id": 26,
                    "cat": "Audio",
                    "desc": "Правила раздела 'Музыка'"
                },
                {
                    "id": 96,
                    "cat": "Audio",
                    "desc": "HD Видео"
                },
                {
                    "id": 70,
                    "cat": "Audio",
                    "desc": "Pop"
                },
                {
                    "id": 97,
                    "cat": "Audio",
                    "desc": "Видеоклипы / Концерты"
                },
                {
                    "id": 72,
                    "cat": "Audio",
                    "desc": "Retro/Bandstand"
                },
                {
                    "id": 1358,
                    "cat": "Audio/Lossless",
                    "desc": "Retro/Bandstand - lossless"
                },
                {
                    "id": 1359,
                    "cat": "Audio/MP3",
                    "desc": "Retro/Bandstand - MP3"
                },
                {
                    "id": 71,
                    "cat": "Audio",
                    "desc": "Disco"
                },
                {
                    "id": 1356,
                    "cat": "Audio/Lossless",
                    "desc": "Disco - lossless"
                },
                {
                    "id": 1357,
                    "cat": "Audio/MP3",
                    "desc": "Disco - MP3"
                },
                {
                    "id": 1354,
                    "cat": "Audio/Lossless",
                    "desc": "Pop - lossless"
                },
                {
                    "id": 1355,
                    "cat": "Audio/MP3",
                    "desc": "Pop - MP3"
                },
                {
                    "id": 73,
                    "cat": "Audio",
                    "desc": "Rock"
                },
                {
                    "id": 98,
                    "cat": "Audio",
                    "desc": "Видеоклипы / Концерты"
                },
                {
                    "id": 1360,
                    "cat": "Audio/Lossless",
                    "desc": "Rock - lossless"
                },
                {
                    "id": 1361,
                    "cat": "Audio/MP3",
                    "desc": "Rock - MP3"
                },
                {
                    "id": 74,
                    "cat": "Audio",
                    "desc": "Alternative"
                },
                {
                    "id": 99,
                    "cat": "Audio",
                    "desc": "Видеоклипы / Концерты"
                },
                {
                    "id": 1362,
                    "cat": "Audio/Lossless",
                    "desc": "Alternative - lossless"
                },
                {
                    "id": 1363,
                    "cat": "Audio/MP3",
                    "desc": "Alternative - MP3"
                },
                {
                    "id": 75,
                    "cat": "Audio",
                    "desc": "Metal"
                },
                {
                    "id": 100,
                    "cat": "Audio",
                    "desc": "Видеоклипы / Концерты"
                },
                {
                    "id": 1364,
                    "cat": "Audio/MP3",
                    "desc": "Metal - MP3"
                },
                {
                    "id": 1365,
                    "cat": "Audio/Lossless",
                    "desc": "Metal - lossless"
                },
                {
                    "id": 76,
                    "cat": "Audio",
                    "desc": "Rap, Hip-Hop, R'n'B"
                },
                {
                    "id": 101,
                    "cat": "Audio",
                    "desc": "Видеоклипы / Концерты"
                },
                {
                    "id": 78,
                    "cat": "Audio",
                    "desc": "Зарубежный"
                },
                {
                    "id": 1368,
                    "cat": "Audio/Lossless",
                    "desc": "Зарубежный - lossless"
                },
                {
                    "id": 1369,
                    "cat": "Audio/MP3",
                    "desc": "Зарубежный - MP3"
                },
                {
                    "id": 77,
                    "cat": "Audio",
                    "desc": "Отечественный"
                },
                {
                    "id": 1370,
                    "cat": "Audio/Lossless",
                    "desc": "Отечественный - lossless"
                },
                {
                    "id": 1371,
                    "cat": "Audio/MP3",
                    "desc": "Отечественный - MP3"
                },
                {
                    "id": 1366,
                    "cat": "Audio/Lossless",
                    "desc": "Rap, Hip-Hop, R'n'B - lossless"
                },
                {
                    "id": 1367,
                    "cat": "Audio/MP3",
                    "desc": "Rap, Hip-Hop, R'n'B - MP3"
                },
                {
                    "id": 85,
                    "cat": "Audio",
                    "desc": "Jazz, Blues"
                },
                {
                    "id": 1380,
                    "cat": "Audio/Lossless",
                    "desc": "Jazz, Blues - lossless"
                },
                {
                    "id": 1381,
                    "cat": "Audio/MP3",
                    "desc": "Jazz, Blues - MP3"
                },
                {
                    "id": 82,
                    "cat": "Audio",
                    "desc": "Chanson, Bard"
                },
                {
                    "id": 1386,
                    "cat": "Audio/Lossless",
                    "desc": "Chanson, Bard - lossless"
                },
                {
                    "id": 1387,
                    "cat": "Audio/MP3",
                    "desc": "Chanson, Bard - MP3"
                },
                {
                    "id": 86,
                    "cat": "Audio",
                    "desc": "Classical"
                },
                {
                    "id": 1378,
                    "cat": "Audio/Lossless",
                    "desc": "Classical - lossless"
                },
                {
                    "id": 1379,
                    "cat": "Audio/MP3",
                    "desc": "Classical - MP3"
                },
                {
                    "id": 79,
                    "cat": "Audio",
                    "desc": "Electronic"
                },
                {
                    "id": 102,
                    "cat": "Audio",
                    "desc": "Видеоклипы / Концерты"
                },
                {
                    "id": 1372,
                    "cat": "Audio",
                    "desc": "Electronic - lossless"
                },
                {
                    "id": 1373,
                    "cat": "Audio/MP3",
                    "desc": "Electronic - MP3"
                },
                {
                    "id": 80,
                    "cat": "Audio",
                    "desc": "Other genres"
                },
                {
                    "id": 103,
                    "cat": "Audio",
                    "desc": "Видеоклипы / Концерты"
                },
                {
                    "id": 87,
                    "cat": "Audio",
                    "desc": "Военная песня"
                },
                {
                    "id": 1376,
                    "cat": "Audio/Lossless",
                    "desc": "Военная песня - lossless"
                },
                {
                    "id": 1377,
                    "cat": "Audio/MP3",
                    "desc": "Военная песня - MP3"
                },
                {
                    "id": 84,
                    "cat": "Audio",
                    "desc": "Reggae, Ska, Dub"
                },
                {
                    "id": 1382,
                    "cat": "Audio/Lossless",
                    "desc": "Reggae, Ska, Dub - lossless"
                },
                {
                    "id": 1383,
                    "cat": "Audio/MP3",
                    "desc": "Reggae, Ska, Dub - MP3"
                },
                {
                    "id": 83,
                    "cat": "Audio",
                    "desc": "Funk, Soul, Country"
                },
                {
                    "id": 1384,
                    "cat": "Audio/Lossless",
                    "desc": "Funk, Soul, Country - lossless"
                },
                {
                    "id": 1385,
                    "cat": "Audio/MP3",
                    "desc": "Funk, Soul, Country - MP3"
                },
                {
                    "id": 81,
                    "cat": "Audio",
                    "desc": "Folk, Ethnic, New Age, Meditative, Punk"
                },
                {
                    "id": 1388,
                    "cat": "Audio/Lossless",
                    "desc": "Folk, Ethnic, New Age, Meditative, Punk - lossless"
                },
                {
                    "id": 1389,
                    "cat": "Audio/MP3",
                    "desc": "Folk, Ethnic, New Age, Meditative, Punk - MP3"
                },
                {
                    "id": 1374,
                    "cat": "Audio/Lossless",
                    "desc": "Other genres - lossless"
                },
                {
                    "id": 1375,
                    "cat": "Audio/MP3",
                    "desc": "Other genres - MP3"
                },
                {
                    "id": 663,
                    "cat": "Books",
                    "desc": "Книги (Аудиокниги) и журналы"
                },
                {
                    "id": 1036,
                    "cat": "Books",
                    "desc": "Книги"
                },
                {
                    "id": 1324,
                    "cat": "Books",
                    "desc": "Новинки"
                },
                {
                    "id": 1331,
                    "cat": "Books",
                    "desc": "Детские книги"
                },
                {
                    "id": 1325,
                    "cat": "Books",
                    "desc": "Боевики/Детективы/Триллеры"
                },
                {
                    "id": 1334,
                    "cat": "Books",
                    "desc": "Военная литература"
                },
                {
                    "id": 1326,
                    "cat": "Books",
                    "desc": "Приключения"
                },
                {
                    "id": 1332,
                    "cat": "Books",
                    "desc": "Комедийные произведения, юмор, сатира"
                },
                {
                    "id": 1328,
                    "cat": "Books",
                    "desc": "Отечественная фантастика / фэнтези / мистика / ужасы"
                },
                {
                    "id": 1329,
                    "cat": "Books",
                    "desc": "Зарубежная фантастика / фэнтези / мистика / ужасы"
                },
                {
                    "id": 1330,
                    "cat": "Books",
                    "desc": "Классическая литература и современная проза"
                },
                {
                    "id": 1462,
                    "cat": "Books",
                    "desc": "Научно-популярная литература"
                },
                {
                    "id": 1471,
                    "cat": "Books",
                    "desc": "Кулинария"
                },
                {
                    "id": 1333,
                    "cat": "Books",
                    "desc": "Разное"
                },
                {
                    "id": 1485,
                    "cat": "Books",
                    "desc": "Медицина"
                },
                {
                    "id": 1494,
                    "cat": "Books",
                    "desc": "Манга / Комиксы"
                },
                {
                    "id": 1312,
                    "cat": "Books",
                    "desc": "Аудиокниги"
                },
                {
                    "id": 1398,
                    "cat": "Books",
                    "desc": "Приключения"
                },
                {
                    "id": 1396,
                    "cat": "Books",
                    "desc": "Детектив"
                },
                {
                    "id": 1397,
                    "cat": "Books",
                    "desc": "Боевик / Триллер"
                },
                {
                    "id": 1313,
                    "cat": "Books",
                    "desc": "История"
                },
                {
                    "id": 1315,
                    "cat": "Books",
                    "desc": "Юмор"
                },
                {
                    "id": 1316,
                    "cat": "Books",
                    "desc": "Религия"
                },
                {
                    "id": 1399,
                    "cat": "Books",
                    "desc": "Ужасы / Мистика"
                },
                {
                    "id": 1318,
                    "cat": "Books",
                    "desc": "Фантастика / фэнтези"
                },
                {
                    "id": 1319,
                    "cat": "Books",
                    "desc": "Классика"
                },
                {
                    "id": 1320,
                    "cat": "Books",
                    "desc": "Поэзия"
                },
                {
                    "id": 1321,
                    "cat": "Books",
                    "desc": "Психология"
                },
                {
                    "id": 1317,
                    "cat": "Books",
                    "desc": "Детская литература"
                },
                {
                    "id": 1322,
                    "cat": "Books",
                    "desc": "Художественная литература"
                },
                {
                    "id": 1474,
                    "cat": "Books",
                    "desc": "Нон-фикшн"
                },
                {
                    "id": 1323,
                    "cat": "Books",
                    "desc": "Прочая литература"
                },
                {
                    "id": 1037,
                    "cat": "Books",
                    "desc": "Журналы"
                },
                {
                    "id": 1335,
                    "cat": "Books",
                    "desc": "Авто-мото журналы"
                },
                {
                    "id": 1336,
                    "cat": "Books",
                    "desc": "Строительство и дизайн"
                },
                {
                    "id": 1337,
                    "cat": "Books",
                    "desc": "Политика и бизнес"
                },
                {
                    "id": 1338,
                    "cat": "Books",
                    "desc": "Женские журналы"
                },
                {
                    "id": 1339,
                    "cat": "Books",
                    "desc": "Медицина и ЗОЖ"
                },
                {
                    "id": 1340,
                    "cat": "Books",
                    "desc": "Аудио-видео журналы"
                },
                {
                    "id": 1341,
                    "cat": "Books",
                    "desc": "Компьютерные журналы"
                },
                {
                    "id": 1342,
                    "cat": "Books",
                    "desc": "Кулинария"
                },
                {
                    "id": 1343,
                    "cat": "Books",
                    "desc": "Сад, огород, дача"
                },
                {
                    "id": 1344,
                    "cat": "Books",
                    "desc": "Мужские журналы"
                },
                {
                    "id": 1345,
                    "cat": "Books",
                    "desc": "Научно-популярные журналы"
                },
                {
                    "id": 1346,
                    "cat": "Books",
                    "desc": "Домоводство / Своими руками"
                },
                {
                    "id": 1347,
                    "cat": "Books",
                    "desc": "Эротические журналы"
                },
                {
                    "id": 1348,
                    "cat": "Books",
                    "desc": "Комиксы"
                },
                {
                    "id": 1349,
                    "cat": "Books",
                    "desc": "Детские журналы"
                },
                {
                    "id": 1351,
                    "cat": "Books",
                    "desc": "Военные журналы"
                },
                {
                    "id": 1350,
                    "cat": "Books",
                    "desc": "Хобби (Разное)"
                },
                {
                    "id": 1292,
                    "cat": "Other",
                    "desc": "Шаблоны оформления раздач"
                },
                {
                    "id": 1310,
                    "cat": "Other",
                    "desc": "Шаблон RePack от xatab"
                },
                {
                    "id": 1298,
                    "cat": "Other",
                    "desc": "Шаблон оформления VickNet"
                },
                {
                    "id": 1300,
                    "cat": "Other",
                    "desc": "Шаблон стандартного оформления"
                },
                {
                    "id": 1353,
                    "cat": "Other",
                    "desc": "Стандартное оформление"
                },
                {
                    "id": 1406,
                    "cat": "Other",
                    "desc": "Шаблон RG Games"
                },
                {
                    "id": 1707,
                    "cat": "Other",
                    "desc": "Шаблоны BBCode таблиц"
                }
            ],
            "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": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "t",
                "options": {
                    "t": "created",
                    "ts": "seeders",
                    "sz": "size",
                    "i": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "d",
                "options": {
                    "d": "desc",
                    "a": "asc"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "ucp.php?mode=login",
            "method": "form",
            "form": "form#login",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "autologin": true
            },
            "error": [
                {
                    "selector": "fieldset:has(div.error)"
                }
            ],
            "test": {
                "path": "/",
                "selector": ":has(a[href*=\"/ucp.php?mode=logout&sid=\"])"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "search.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}&fid[]={{.}}{{end}}",
                "tracker_search": "torrent",
                "keywords": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "terms": "all",
                "fp": 0,
                "sc": 1,
                "sf": "titleonly",
                "sr": "topics",
                "sk": "{{ .Config.sort }}",
                "sd": "{{ .Config.type }}",
                "st": 0,
                "ch": 300,
                "t": 0
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "li.row:has(a[href^=\"./download/file.php?id=\"])"
            },
            "fields": {
                "category_optional": {
                    "selector": "a[href*=\"/viewtopic.php?f=\"]",
                    "optional": true,
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}726{{ end }}"
                },
                "title": {
                    "selector": "a.topictitle",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:[CС]ери[ияй]|Эпизод|Выпуски?)[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?)\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?)\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:[CС]ери[ияй]|Эпизод|Выпуски?)[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:[CС]ери[ияй]|Эпизод|Выпуски?)[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:[CС]ери[ияй]|Эпизод|Выпуски?)\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:[CС]ери[ияй]|Эпизод|Выпуски?)[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:[CС]ери[ияй]|Эпизод|Выпуски?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bКураж-Бамбей\\b",
                                "kurazh"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bКубик в Кубе\\b",
                                "Kubik"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bКравец\\b",
                                "Kravec"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bПифагор\\b",
                                "Pifagor"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bНевафильм\\b",
                                "Nevafilm"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bЛицензия\\b",
                                "Lic"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bселезень\\b",
                                "selezen"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)",
                                "$2 $1"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a.topictitle",
                    "attribute": "href"
                },
                "description": {
                    "selector": "dt a:last-of-type"
                },
                "download": {
                    "selector": "a[href^=\"./download/file.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "dt",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Размер: (.+?),"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ТБ",
                                "TB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ГБ",
                                "GB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "МБ",
                                "MB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "КБ",
                                "KB"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "dd.posts span.seed"
                },
                "leechers": {
                    "selector": "dd.posts span.leech"
                },
                "grabs": {
                    "selector": "dd.views span.complet",
                    "optional": true
                },
                "date": {
                    "selector": "dt",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{2} \\D{3} \\d{4}, \\d{2}:\\d{2})"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "янв",
                                "Jan"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "фев",
                                "Feb"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "мар",
                                "Mar"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "апр",
                                "Apr"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "май",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июн",
                                "Jun"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "июл",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "авг",
                                "Aug"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "сен",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "окт",
                                "Oct"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ноя",
                                "Nov"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "дек",
                                "Dec"
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd MMM yyyy, HH:mm"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "rockethd": {
        "credentials": {
            "apikey": ""
        },
        "id": "rockethd",
        "name": "RocketHD (API)",
        "description": "RocketHD is a GERMAN Private Torrent Tracker for MOVIES / TV",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://rocket-hd.cc/"
        ],
        "legacylinks": [
            "https://r0k3t.li/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://rocket-hd.cc/\" target=\"_blank\">RocketHD</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "tmdbidonly",
                "type": "checkbox",
                "label": "Disable IMDB and TVDB ID search (only support TMDB ID) to potentially improve Sonarr and Radarr results",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "If it has been 60 days since your last login, your account will be inactive. After another 30 days without logging in, your account will be Disabled!"
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ if .Config.tmdbidonly }}{{ else }}{{ .Query.IMDBIDShort }}{{ end }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ if .Config.tmdbidonly }}{{ else }}{{ .Query.TVDBID }}{{ end }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "romanianmetaltorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "romanianmetaltorrents",
        "replaces": [
            "metaliplayro"
        ],
        "name": "Romanian Metal Torrents",
        "description": "Romanian Metal Torrents (RMT) is a Private Torrent Tracker dedicated to METAL MUSIC. This definition is for the English site.",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://metal.iplay.ro/"
        ],
        "legacylinks": [
            "https://metal.stream.bike/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 86,
                    "cat": "Audio/Video",
                    "desc": "BluRay video"
                },
                {
                    "id": 84,
                    "cat": "Audio/Video",
                    "desc": "HD video"
                },
                {
                    "id": 20,
                    "cat": "Audio/Video",
                    "desc": "MusicDVD"
                },
                {
                    "id": 36,
                    "cat": "Audio/Video",
                    "desc": "SD video"
                },
                {
                    "id": 63,
                    "cat": "Audio",
                    "desc": "Discography/Album Pack"
                },
                {
                    "id": 65,
                    "cat": "Audio",
                    "desc": "E-Learning"
                },
                {
                    "id": 51,
                    "cat": "Audio",
                    "desc": "Alternative"
                },
                {
                    "id": 46,
                    "cat": "Audio",
                    "desc": "Avant/Experimental"
                },
                {
                    "id": 38,
                    "cat": "Audio",
                    "desc": "Black Metal"
                },
                {
                    "id": 45,
                    "cat": "Audio",
                    "desc": "Darkwave/Ambient"
                },
                {
                    "id": 39,
                    "cat": "Audio",
                    "desc": "Death Metal"
                },
                {
                    "id": 64,
                    "cat": "Audio",
                    "desc": "Doom/Sludge"
                },
                {
                    "id": 40,
                    "cat": "Audio",
                    "desc": "Gothic Metal"
                },
                {
                    "id": 71,
                    "cat": "Audio",
                    "desc": "Grindcore"
                },
                {
                    "id": 85,
                    "cat": "Audio",
                    "desc": "Groove"
                },
                {
                    "id": 74,
                    "cat": "Audio",
                    "desc": "Hard Rock"
                },
                {
                    "id": 41,
                    "cat": "Audio",
                    "desc": "Heavy Metal"
                },
                {
                    "id": 43,
                    "cat": "Audio",
                    "desc": "Industrial/Goth"
                },
                {
                    "id": 73,
                    "cat": "Audio",
                    "desc": "Melodic Death"
                },
                {
                    "id": 75,
                    "cat": "Audio",
                    "desc": "Power Metal"
                },
                {
                    "id": 53,
                    "cat": "Audio",
                    "desc": "Progressive Metal"
                },
                {
                    "id": 44,
                    "cat": "Audio",
                    "desc": "Punk"
                },
                {
                    "id": 2,
                    "cat": "Audio",
                    "desc": "Rock"
                },
                {
                    "id": 42,
                    "cat": "Audio",
                    "desc": "Thrash Metal"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "Viking/Folk "
                },
                {
                    "id": 69,
                    "cat": "Audio",
                    "desc": "[RMT Pack]"
                },
                {
                    "id": 54,
                    "cat": "Audio",
                    "desc": "[V A/Compilation]"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-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": "_",
                "options": {
                    "_": "created",
                    "7": "seeders",
                    "5": "size"
                }
            },
            {
                "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": "In order to keep your account here we advise you to access this site as often as possible. If you don't access it for 60 days, your account will be deleted. Please note that torrent traffic is not considered site activity - you have to sign in !"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img",
                "input": "vImageCodP"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": ":root:contains(\"Wrong Code!\")",
                    "message": {
                        "text": "The security code is incorrect."
                    }
                },
                {
                    "selector": "table.main:contains(\"Login failed!\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "before": {
                "path": "login.php",
                "method": "post",
                "inputs": {
                    "username": "{{ .Config.username }}",
                    "password": "{{ .Config.password }}"
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "tlt": 50,
                "incldead": "{{ if .Config.freeleech }}6{{ else }}2{{ end }}",
                "sort": "{{ re_replace .Config.sort \"_\" \"\" }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.torrents_table tbody tr:has(a[href^=\"download2.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download2.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "download2.php?id=",
                                "download.php/"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "/{{ .Result.title }}.torrent"
                        }
                    ]
                },
                "poster": {
                    "selector": "td:nth-child(2) a",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "img src=(.+?) >"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "./pic/noposter.jpg",
                                ""
                            ]
                        }
                    ]
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "artist": {
                    "selector": "span.bandpropaganda a font",
                    "optional": true
                },
                "description": {
                    "selector": "span.bandpropaganda",
                    "remove": "font"
                },
                "seeders": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+) seeders"
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+) leechers"
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+) times"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"pic/freedownload.gif\"]": 0,
                        "img[src$=\"pic/half.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"pic/sticky2.gif\"]": 1.5,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "rousi-pro": {
        "credentials": {
            "apikey": "",
            "passkey": ""
        },
        "id": "rousi-pro",
        "name": "Rousi.pro",
        "description": "Rousi.pro is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://rousi.pro/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "movie",
                    "cat": "Movies",
                    "desc": "电影"
                },
                {
                    "id": "tv",
                    "cat": "TV",
                    "desc": "电视剧"
                },
                {
                    "id": "documentary",
                    "cat": "TV/Documentary",
                    "desc": "纪录片"
                },
                {
                    "id": "animation",
                    "cat": "TV/Anime",
                    "desc": "动漫"
                },
                {
                    "id": "music",
                    "cat": "Audio",
                    "desc": "音乐"
                },
                {
                    "id": "variety",
                    "cat": "TV",
                    "desc": "综艺"
                },
                {
                    "id": "sports",
                    "cat": "TV/Sport",
                    "desc": "体育"
                },
                {
                    "id": "software",
                    "cat": "PC",
                    "desc": "软件"
                },
                {
                    "id": "ebook",
                    "cat": "Books",
                    "desc": "电子书"
                },
                {
                    "id": "9kg",
                    "cat": "XXX",
                    "desc": "9KG"
                },
                {
                    "id": "other",
                    "cat": "Other",
                    "desc": "其它"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API key"
            },
            {
                "name": "info_apikey",
                "type": "info",
                "label": "About your API key",
                "default": "<ol><li>Login to this tracker with your browser</li><li>Open the <b>DevTools</b> panel by pressing <b>F12</b></li><li>Select the <b>Network</b> tab</li><li>Click on the <b>Fetch/XHR</b> button (Chrome Browser) or <b>XHR</b> button (FireFox)</li><li>Perform any search on the web site</li><li>Click on the first <i>search?query=</i> entry</li><li>Select the <b>Headers</b> tab on the Right panel</li><li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the API key from the <b>Authorization</b> string <i>(everything after 'Authorization: Bearer ')</i> and <b>Paste</b> here.</li></ol>"
            },
            {
                "name": "passkey",
                "type": "text",
                "label": "Passkey"
            },
            {
                "name": "info_passkey",
                "type": "info",
                "label": "About your Passkey",
                "default": "You can find the Passkey on your <a href=\"https://rousi.pro/account?tab=passkey\" target=\"_blank\">Passkey settings</a> page."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "size": "size"
                }
            },
            {
                "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": "Account retention rules (Inactive Accounts):<ol><li>Not logged in for more than 30 days: Send email reminders</li><li>Not logged in for more than 60 days: 5000 Mana points are deducted daily</li><li>After the mana value is deducted to 0: the account is banned</li><li>If the user expects to be unable to log in for a period of time, they can pay in advance 150,000 mana to protect account for 60 days</li></ol>"
            }
        ],
        "login": {
            "path": "api/torrent/latest",
            "method": "get"
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrent/search",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "query": "{{ .Keywords }}",
                "search_field": "title",
                "sort": "{{ .Config.sort }}+{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[\\.\\s]",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "data.torrents"
            },
            "fields": {
                "_id": {
                    "selector": "uuid"
                },
                "title": {
                    "selector": "title"
                },
                "category": {
                    "selector": "type"
                },
                "details": {
                    "text": "{{ .Config.sitelink }}torrent/{{ .Result._id }}"
                },
                "download": {
                    "text": "{{ .Config.sitelink }}api/torrent/{{ .Result._id }}/download/{{ .Config.passkey }}"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "poster"
                },
                "imdbid": {
                    "selector": "attributes.imdb_id"
                },
                "tmdbid": {
                    "selector": "attributes.tmdb_id"
                },
                "doubanid": {
                    "selector": "attributes.douban_id"
                },
                "description": {
                    "selector": "subtitle"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "downloads"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "genre": {
                    "selector": "genre"
                },
                "downloadvolumefactor": {
                    "selector": "promotion.down_multiplier",
                    "optional": true,
                    "default": 1
                },
                "uploadvolumefactor": {
                    "selector": "promotion.up_multiplier",
                    "optional": true,
                    "default": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "rudub": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "rudub",
        "replaces": [
            "baibako"
        ],
        "name": "RUDUB",
        "description": "RUDUB (ex-BaibaKoTV) is a RUSSIAN Semi-Private Torrent Tracker for TV",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "windows-1251",
        "followredirect": true,
        "links": [
            "https://r4.rudub.world/"
        ],
        "legacylinks": [
            "http://dec13.rudub.bet/",
            "https://dec13.rudub.bet/",
            "http://dec14.rudub.bet/",
            "https://dec14.rudub.bet/",
            "http://dec15.rudub.bet/",
            "https://dec15.rudub.bet/",
            "http://dec16.rudub.bet/",
            "https://dec16.rudub.bet/",
            "http://dec17.rudub.bet/",
            "https://dec17.rudub.bet/",
            "http://dec18.rudub.bet/",
            "https://dec18.rudub.bet/",
            "http://dec19.rudub.bet/",
            "https://dec19.rudub.bet/",
            "http://dec20.rudub.bet/",
            "https://dec20.rudub.bet/",
            "http://dec21.rudub.bet/",
            "https://dec21.rudub.bet/",
            "http://dec22.rudub.bet/",
            "https://dec22.rudub.bet/",
            "http://dec23.rudub.bet/",
            "https://dec23.rudub.bet/",
            "http://dec24.rudub.bet/",
            "https://dec24.rudub.bet/",
            "http://dec25.rudub.bet/",
            "https://dec25.rudub.bet/",
            "http://dec26.rudub.bet/",
            "https://dec26.rudub.bet/",
            "https://r2.rudub.world/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV",
                    "desc": "TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.login2"
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}0{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "div.card__torlist__browse_2"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "BD720p",
                                "BD 720p"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "HD720p",
                                "HD 720p"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "HDR720p",
                                "HDR 720p"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "BD1080p",
                                "BD 1080p"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "HD1080p",
                                "HD 1080p"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "HDR1080p",
                                "HDR 1080p"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " (Золото)",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^\\((.+?)\\s?\\)",
                                "$1 "
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "li[title=\"Дата\"]",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "files": {
                    "selector": "li[title=\"Файлов\"]"
                },
                "size": {
                    "selector": "li[title=\"Размер\"]"
                },
                "seeders": {
                    "selector": "li[title=\"Активность\"]",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)\\s+\\d+"
                        }
                    ]
                },
                "leechers": {
                    "selector": "li[title=\"Активность\"]",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\d+\\s+(\\d+)"
                        }
                    ]
                },
                "grabs": {
                    "selector": "li[title=\"Завершено\"]"
                },
                "downloadvolumefactor": {
                    "case": {
                        "a[href^=\"details.php?id=\"]:contains(\"(Золото)\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.3
                },
                "description": {
                    "selector": "a[href^=\"details.php?id=\"]"
                }
            }
        }
    },
    "runtheframes-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "runtheframes-api",
        "name": "RunTheFrames (API)",
        "description": "RunTheFrames is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://runtheframes.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 4,
                    "cat": "TV/Documentary",
                    "desc": "Dokumentationen"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 6,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 7,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 8,
                    "cat": "Audio/Other",
                    "desc": "Podcast"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://runtheframes.xyz/\" target=\"_blank\">RunTheFrames</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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 no activity (login/traffic) for more than 90 days may be automatically pruned."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "rustorka": {
        "credentials": {
            "cookie": ""
        },
        "id": "rustorka",
        "name": "Rustorka",
        "description": "Rustorka is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://rustorka.com/"
        ],
        "legacylinks": [
            "http://rustorka.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1398,
                    "cat": "PC/Games",
                    "desc": "Горячие Новинки"
                },
                {
                    "id": 1399,
                    "cat": "PC/Games",
                    "desc": " |- Горячие RePack'и"
                },
                {
                    "id": 393,
                    "cat": "PC/Games",
                    "desc": "Demo, Alpha, Beta версии"
                },
                {
                    "id": 824,
                    "cat": "PC/Games",
                    "desc": "Steam / Origin Rip's от нашей R.G. GameWorks"
                },
                {
                    "id": 837,
                    "cat": "PC/Games",
                    "desc": " |- Аркады"
                },
                {
                    "id": 836,
                    "cat": "PC/Games",
                    "desc": " |- Приключения и квесты"
                },
                {
                    "id": 835,
                    "cat": "PC/Games",
                    "desc": " |- TBS (пошаговые стратегии)"
                },
                {
                    "id": 834,
                    "cat": "PC/Games",
                    "desc": " |- RTS (стратегии в реальном времени)"
                },
                {
                    "id": 833,
                    "cat": "PC/Games",
                    "desc": " |- Экономические стратегии"
                },
                {
                    "id": 832,
                    "cat": "PC/Games",
                    "desc": " |- Спортивные симуляторы"
                },
                {
                    "id": 831,
                    "cat": "PC/Games",
                    "desc": " |- Авиа/Космические симуляторы"
                },
                {
                    "id": 830,
                    "cat": "PC/Games",
                    "desc": " |- Гоночные симуляторы"
                },
                {
                    "id": 839,
                    "cat": "PC/Games",
                    "desc": " |- Прочие симуляторы"
                },
                {
                    "id": 829,
                    "cat": "PC/Games",
                    "desc": " |- FPS (1st Person)"
                },
                {
                    "id": 828,
                    "cat": "PC/Games",
                    "desc": " |- TPS (3rd Person)"
                },
                {
                    "id": 1948,
                    "cat": "PC/Games",
                    "desc": " |- Horror"
                },
                {
                    "id": 1949,
                    "cat": "PC/Games",
                    "desc": " |- Stealth"
                },
                {
                    "id": 827,
                    "cat": "PC/Games",
                    "desc": " |- RPG"
                },
                {
                    "id": 838,
                    "cat": "PC/Games",
                    "desc": " |- Онлайновые игры"
                },
                {
                    "id": 826,
                    "cat": "PC/Games",
                    "desc": " |- Гонки"
                },
                {
                    "id": 825,
                    "cat": "PC/Games",
                    "desc": " |- Мини игры"
                },
                {
                    "id": 1267,
                    "cat": "PC/Games",
                    "desc": "Steam-Rip's"
                },
                {
                    "id": 1283,
                    "cat": "PC/Games",
                    "desc": " |- Аркады"
                },
                {
                    "id": 1282,
                    "cat": "PC/Games",
                    "desc": " |- Приключения и квесты"
                },
                {
                    "id": 1281,
                    "cat": "PC/Games",
                    "desc": " |- TBS (пошаговые стратегии)"
                },
                {
                    "id": 1280,
                    "cat": "PC/Games",
                    "desc": " |- RTS (стратегии в реальном времени)"
                },
                {
                    "id": 1279,
                    "cat": "PC/Games",
                    "desc": " |- Экономические стратегии"
                },
                {
                    "id": 1278,
                    "cat": "PC/Games",
                    "desc": " |- Спортивные симуляторы"
                },
                {
                    "id": 1277,
                    "cat": "PC/Games",
                    "desc": " |- Авиа/Космические симуляторы"
                },
                {
                    "id": 1276,
                    "cat": "PC/Games",
                    "desc": " |- Гоночные симуляторы"
                },
                {
                    "id": 1275,
                    "cat": "PC/Games",
                    "desc": " |- Прочие симуляторы"
                },
                {
                    "id": 1273,
                    "cat": "PC/Games",
                    "desc": " |- FPS (1st Person)"
                },
                {
                    "id": 1272,
                    "cat": "PC/Games",
                    "desc": " |- TPS (3rd Person)"
                },
                {
                    "id": 1950,
                    "cat": "PC/Games",
                    "desc": " |- Horror"
                },
                {
                    "id": 1951,
                    "cat": "PC/Games",
                    "desc": " |- Stealth"
                },
                {
                    "id": 1271,
                    "cat": "PC/Games",
                    "desc": " |- RPG"
                },
                {
                    "id": 1270,
                    "cat": "PC/Games",
                    "desc": " |- Онлайновые игры"
                },
                {
                    "id": 1269,
                    "cat": "PC/Games",
                    "desc": " |- Гонки"
                },
                {
                    "id": 1268,
                    "cat": "PC/Games",
                    "desc": " |- Мини игры"
                },
                {
                    "id": 1274,
                    "cat": "PC/Games",
                    "desc": " |- Детские игры"
                },
                {
                    "id": 1318,
                    "cat": "PC/Games",
                    "desc": "Origin-Rip's"
                },
                {
                    "id": 1334,
                    "cat": "PC/Games",
                    "desc": " |- Аркады"
                },
                {
                    "id": 1333,
                    "cat": "PC/Games",
                    "desc": " |- Приключения и квесты"
                },
                {
                    "id": 1332,
                    "cat": "PC/Games",
                    "desc": " |- TBS (пошаговые стратегии)"
                },
                {
                    "id": 1331,
                    "cat": "PC/Games",
                    "desc": " |- RTS (стратегии в реальном времени)"
                },
                {
                    "id": 1330,
                    "cat": "PC/Games",
                    "desc": " |- Экономические стратегии"
                },
                {
                    "id": 1329,
                    "cat": "PC/Games",
                    "desc": " |- Спортивные симуляторы"
                },
                {
                    "id": 1328,
                    "cat": "PC/Games",
                    "desc": " |- Авиа/Космические симуляторы"
                },
                {
                    "id": 1327,
                    "cat": "PC/Games",
                    "desc": " |- Гоночные симуляторы"
                },
                {
                    "id": 1326,
                    "cat": "PC/Games",
                    "desc": " |- Прочие симуляторы"
                },
                {
                    "id": 1325,
                    "cat": "PC/Games",
                    "desc": " |- FPS (1st Person)"
                },
                {
                    "id": 1324,
                    "cat": "PC/Games",
                    "desc": " |- TPS (3rd Person)"
                },
                {
                    "id": 1952,
                    "cat": "PC/Games",
                    "desc": " |- Horror"
                },
                {
                    "id": 1953,
                    "cat": "PC/Games",
                    "desc": " |- Stealth"
                },
                {
                    "id": 1323,
                    "cat": "PC/Games",
                    "desc": " |- RPG"
                },
                {
                    "id": 1322,
                    "cat": "PC/Games",
                    "desc": " |- Онлайновые игры"
                },
                {
                    "id": 1321,
                    "cat": "PC/Games",
                    "desc": " |- Гонки"
                },
                {
                    "id": 1320,
                    "cat": "PC/Games",
                    "desc": " |- Мини игры"
                },
                {
                    "id": 1319,
                    "cat": "PC/Games",
                    "desc": " |- Детские игры"
                },
                {
                    "id": 2003,
                    "cat": "PC/Games",
                    "desc": "Релизы от R.G. GOGFAN (Windows)"
                },
                {
                    "id": 2006,
                    "cat": "PC/Games",
                    "desc": " |- Информация по разделу"
                },
                {
                    "id": 2007,
                    "cat": "PC/Games",
                    "desc": " |- Горячие новинки"
                },
                {
                    "id": 2008,
                    "cat": "PC/Games",
                    "desc": " |- Ранний доступ"
                },
                {
                    "id": 2009,
                    "cat": "PC/Games",
                    "desc": " |- Action"
                },
                {
                    "id": 2019,
                    "cat": "PC/Games",
                    "desc": " |- RPG"
                },
                {
                    "id": 2018,
                    "cat": "PC/Games",
                    "desc": " |- Аркады"
                },
                {
                    "id": 2017,
                    "cat": "PC/Games",
                    "desc": " |- Квесты и приключения"
                },
                {
                    "id": 2016,
                    "cat": "PC/Games",
                    "desc": " |- Стратегии"
                },
                {
                    "id": 2015,
                    "cat": "PC/Games",
                    "desc": " |- Симуляторы"
                },
                {
                    "id": 2012,
                    "cat": "PC/Games",
                    "desc": " |- Дополнительные материалы"
                },
                {
                    "id": 1984,
                    "cat": "PC/Games",
                    "desc": "Релизы с GOG.com (игры без защиты)"
                },
                {
                    "id": 1985,
                    "cat": "PC/Games",
                    "desc": " |- Action"
                },
                {
                    "id": 1986,
                    "cat": "PC/Games",
                    "desc": " |- Fighting"
                },
                {
                    "id": 1987,
                    "cat": "PC/Games",
                    "desc": " |- RPG"
                },
                {
                    "id": 1988,
                    "cat": "PC/Games",
                    "desc": " |- Аркады"
                },
                {
                    "id": 1989,
                    "cat": "PC/Games",
                    "desc": " |- Квесты и приключения"
                },
                {
                    "id": 1990,
                    "cat": "PC/Games",
                    "desc": " |- Стратегии"
                },
                {
                    "id": 1991,
                    "cat": "PC/Games",
                    "desc": " |- Симуляторы"
                },
                {
                    "id": 1992,
                    "cat": "PC/Games",
                    "desc": " |- Гонки"
                },
                {
                    "id": 1993,
                    "cat": "PC/Games",
                    "desc": " |- Update"
                },
                {
                    "id": 1994,
                    "cat": "PC/Games",
                    "desc": " |- DLC"
                },
                {
                    "id": 1995,
                    "cat": "PC/Games",
                    "desc": " |- Demo, Alpha, Beta"
                },
                {
                    "id": 1015,
                    "cat": "PC/Games",
                    "desc": "Антологии"
                },
                {
                    "id": 1030,
                    "cat": "PC/Games",
                    "desc": " |- Аркады"
                },
                {
                    "id": 1029,
                    "cat": "PC/Games",
                    "desc": " |- Приключения и квесты"
                },
                {
                    "id": 1028,
                    "cat": "PC/Games",
                    "desc": " |- TBS (пошаговые стратегии)"
                },
                {
                    "id": 1027,
                    "cat": "PC/Games",
                    "desc": " |- RTS (стратегии в реальном времени)"
                },
                {
                    "id": 1026,
                    "cat": "PC/Games",
                    "desc": " |- Экономические стратегии"
                },
                {
                    "id": 1025,
                    "cat": "PC/Games",
                    "desc": " |- Спортивные симуляторы"
                },
                {
                    "id": 1024,
                    "cat": "PC/Games",
                    "desc": " |- Авиа/Космические симуляторы"
                },
                {
                    "id": 1023,
                    "cat": "PC/Games",
                    "desc": " |- Гоночные симуляторы"
                },
                {
                    "id": 1022,
                    "cat": "PC/Games",
                    "desc": " |- Прочие симуляторы"
                },
                {
                    "id": 1021,
                    "cat": "PC/Games",
                    "desc": " |- FPS (1st Person)"
                },
                {
                    "id": 1020,
                    "cat": "PC/Games",
                    "desc": " |- TPS (3rd Person)"
                },
                {
                    "id": 1954,
                    "cat": "PC/Games",
                    "desc": " |- Horror"
                },
                {
                    "id": 1955,
                    "cat": "PC/Games",
                    "desc": " |- Stealth"
                },
                {
                    "id": 1019,
                    "cat": "PC/Games",
                    "desc": " |- RPG"
                },
                {
                    "id": 1018,
                    "cat": "PC/Games",
                    "desc": " |- Онлайновые игры"
                },
                {
                    "id": 1017,
                    "cat": "PC/Games",
                    "desc": " |- Гонки"
                },
                {
                    "id": 1016,
                    "cat": "PC/Games",
                    "desc": " |- Мини игры"
                },
                {
                    "id": 1149,
                    "cat": "PC/Games",
                    "desc": " |- Детские игры"
                },
                {
                    "id": 73,
                    "cat": "PC/Games",
                    "desc": "Аркады"
                },
                {
                    "id": 74,
                    "cat": "PC/Games",
                    "desc": "Приключения и квесты"
                },
                {
                    "id": 75,
                    "cat": "PC/Games",
                    "desc": "Стратегии"
                },
                {
                    "id": 77,
                    "cat": "PC/Games",
                    "desc": " |- TBS (пошаговые стратегии)"
                },
                {
                    "id": 76,
                    "cat": "PC/Games",
                    "desc": " |- RTS (стратегии в реальном времени)"
                },
                {
                    "id": 78,
                    "cat": "PC/Games",
                    "desc": " |- Экономические стратегии"
                },
                {
                    "id": 80,
                    "cat": "PC/Games",
                    "desc": "Симуляторы"
                },
                {
                    "id": 81,
                    "cat": "PC/Games",
                    "desc": " |- Спортивные симуляторы"
                },
                {
                    "id": 82,
                    "cat": "PC/Games",
                    "desc": " |- Авиа/Космические симуляторы"
                },
                {
                    "id": 83,
                    "cat": "PC/Games",
                    "desc": " |- Гоночные симуляторы"
                },
                {
                    "id": 840,
                    "cat": "PC/Games",
                    "desc": " |- Прочие симуляторы"
                },
                {
                    "id": 84,
                    "cat": "PC/Games",
                    "desc": "Action"
                },
                {
                    "id": 85,
                    "cat": "PC/Games",
                    "desc": " |- FPS (1st Person)"
                },
                {
                    "id": 86,
                    "cat": "PC/Games",
                    "desc": " |- TPS (3rd Person)"
                },
                {
                    "id": 1946,
                    "cat": "PC/Games",
                    "desc": " |- Horror"
                },
                {
                    "id": 1947,
                    "cat": "PC/Games",
                    "desc": " |- Stealth"
                },
                {
                    "id": 1788,
                    "cat": "PC/Games",
                    "desc": " |- S.T.A.L.K.E.R."
                },
                {
                    "id": 87,
                    "cat": "PC/Games",
                    "desc": "RPG"
                },
                {
                    "id": 92,
                    "cat": "PC/Games",
                    "desc": "Гонки"
                },
                {
                    "id": 89,
                    "cat": "PC/Games",
                    "desc": "Онлайновые игры"
                },
                {
                    "id": 90,
                    "cat": "PC/Games",
                    "desc": " |- MMORPG"
                },
                {
                    "id": 791,
                    "cat": "PC/Games",
                    "desc": " |- Lineage II"
                },
                {
                    "id": 792,
                    "cat": "PC/Games",
                    "desc": " |- World of Warcraft"
                },
                {
                    "id": 793,
                    "cat": "PC/Games",
                    "desc": " |- FPS / TPS (1st / 3rd Person)"
                },
                {
                    "id": 1143,
                    "cat": "PC/Games",
                    "desc": " |- Counter-Strike"
                },
                {
                    "id": 794,
                    "cat": "PC/Games",
                    "desc": " |- Action с элементами RPG"
                },
                {
                    "id": 1260,
                    "cat": "PC/Games",
                    "desc": " |- Патчи и Апдейты"
                },
                {
                    "id": 91,
                    "cat": "PC/Games",
                    "desc": "Детские игры"
                },
                {
                    "id": 636,
                    "cat": "PC/Games",
                    "desc": "Мини игры"
                },
                {
                    "id": 93,
                    "cat": "PC/Games",
                    "desc": "Старые игры для PC"
                },
                {
                    "id": 795,
                    "cat": "PC/Games",
                    "desc": " |- Симуляторы (Старые игры)"
                },
                {
                    "id": 94,
                    "cat": "PC/Games",
                    "desc": " |- Аркады (Старые игры)"
                },
                {
                    "id": 95,
                    "cat": "PC/Games",
                    "desc": " |- Приключения и квесты (Старые игры)"
                },
                {
                    "id": 96,
                    "cat": "PC/Games",
                    "desc": " |- Стратегии (Старые игры)"
                },
                {
                    "id": 97,
                    "cat": "PC/Games",
                    "desc": " |- Action (Старые игры)"
                },
                {
                    "id": 98,
                    "cat": "PC/Games",
                    "desc": " |- RPG (Старые игры)"
                },
                {
                    "id": 2004,
                    "cat": "PC/Games",
                    "desc": "Релизы от R.G. GOGFAN (macOS)"
                },
                {
                    "id": 2033,
                    "cat": "PC/Games",
                    "desc": " |- Информация по разделу"
                },
                {
                    "id": 2032,
                    "cat": "PC/Games",
                    "desc": " |- Горячие новинки"
                },
                {
                    "id": 2031,
                    "cat": "PC/Games",
                    "desc": " |- Ранний доступ"
                },
                {
                    "id": 2030,
                    "cat": "PC/Games",
                    "desc": " |- Action"
                },
                {
                    "id": 2028,
                    "cat": "PC/Games",
                    "desc": " |- RPG"
                },
                {
                    "id": 2027,
                    "cat": "PC/Games",
                    "desc": " |- Аркады"
                },
                {
                    "id": 2026,
                    "cat": "PC/Games",
                    "desc": " |- Квесты и приключения"
                },
                {
                    "id": 2025,
                    "cat": "PC/Games",
                    "desc": " |- Стратегии"
                },
                {
                    "id": 2024,
                    "cat": "PC/Games",
                    "desc": " |- Симуляторы"
                },
                {
                    "id": 2005,
                    "cat": "PC/Games",
                    "desc": "Релизы от R.G. GOGFAN (Linux)"
                },
                {
                    "id": 2047,
                    "cat": "PC/Games",
                    "desc": " |- Информация по разделу"
                },
                {
                    "id": 2046,
                    "cat": "PC/Games",
                    "desc": " |- Горячие новинки"
                },
                {
                    "id": 2045,
                    "cat": "PC/Games",
                    "desc": " |- Ранний доступ"
                },
                {
                    "id": 2044,
                    "cat": "PC/Games",
                    "desc": " |- Action"
                },
                {
                    "id": 2042,
                    "cat": "PC/Games",
                    "desc": " |- RPG"
                },
                {
                    "id": 2041,
                    "cat": "PC/Games",
                    "desc": " |- Аркады"
                },
                {
                    "id": 2040,
                    "cat": "PC/Games",
                    "desc": " |- Квесты и приключения"
                },
                {
                    "id": 2039,
                    "cat": "PC/Games",
                    "desc": " |- Стратегии"
                },
                {
                    "id": 2038,
                    "cat": "PC/Games",
                    "desc": " |- Симуляторы"
                },
                {
                    "id": 99,
                    "cat": "PC/Games",
                    "desc": "Игры для других ОС"
                },
                {
                    "id": 100,
                    "cat": "PC/Games",
                    "desc": " |- Игры для Mac OS (Macintosh)"
                },
                {
                    "id": 101,
                    "cat": "PC/Games",
                    "desc": " |- Игры для Linux и Unix-подобных (*nix) OS"
                },
                {
                    "id": 102,
                    "cat": "PC/Games",
                    "desc": "Прочее"
                },
                {
                    "id": 107,
                    "cat": "PC/Games",
                    "desc": " |- Патчи"
                },
                {
                    "id": 103,
                    "cat": "PC/Games",
                    "desc": " |- Дополнения к играм"
                },
                {
                    "id": 1090,
                    "cat": "PC/Games",
                    "desc": " |- Мап-Паки к играм"
                },
                {
                    "id": 104,
                    "cat": "PC/Games",
                    "desc": " |- Русификаторы"
                },
                {
                    "id": 1091,
                    "cat": "PC/Games",
                    "desc": " |- Бонусные диски / Комплекты предзаказов"
                },
                {
                    "id": 106,
                    "cat": "PC/Games",
                    "desc": " |- Игровые журналы"
                },
                {
                    "id": 108,
                    "cat": "PC/Games",
                    "desc": "Игровое видео"
                },
                {
                    "id": 109,
                    "cat": "PC/Games",
                    "desc": " |- Трейлеры/Геймплей видео"
                },
                {
                    "id": 110,
                    "cat": "PC/Games",
                    "desc": " |- Видео прохождения игр"
                },
                {
                    "id": 760,
                    "cat": "PC/Games",
                    "desc": " |- Lineage II Movies"
                },
                {
                    "id": 2001,
                    "cat": "PC/Games",
                    "desc": "VR"
                },
                {
                    "id": 1999,
                    "cat": "PC/Games",
                    "desc": "Скрытый"
                },
                {
                    "id": 295,
                    "cat": "Console",
                    "desc": "XBox"
                },
                {
                    "id": 578,
                    "cat": "Console",
                    "desc": " |- XBox360 | Демоверсии"
                },
                {
                    "id": 1412,
                    "cat": "Console",
                    "desc": " |- XBox360 | Игры"
                },
                {
                    "id": 1413,
                    "cat": "Console",
                    "desc": " |- XBox360 | Kinect Игры"
                },
                {
                    "id": 1032,
                    "cat": "Console",
                    "desc": " |- XBox360 | JTAG"
                },
                {
                    "id": 1087,
                    "cat": "Console",
                    "desc": " |- Xbox360 | Live"
                },
                {
                    "id": 776,
                    "cat": "Console",
                    "desc": " |- XBox360 | Программы / Прошивки"
                },
                {
                    "id": 296,
                    "cat": "Console",
                    "desc": " |- XBox | Игры"
                },
                {
                    "id": 298,
                    "cat": "Console",
                    "desc": "PlayStation"
                },
                {
                    "id": 1998,
                    "cat": "Console",
                    "desc": " |- Playstation 4 | Игры"
                },
                {
                    "id": 1354,
                    "cat": "Console",
                    "desc": " |- Playstation 3 | Демоверсии"
                },
                {
                    "id": 1897,
                    "cat": "Console",
                    "desc": " |- Playstation 3 | Игры"
                },
                {
                    "id": 1138,
                    "cat": "Console",
                    "desc": " |- Playstation 3 | Move Игры"
                },
                {
                    "id": 1262,
                    "cat": "Console",
                    "desc": " |- Playstation 3 | PSN Игры"
                },
                {
                    "id": 1099,
                    "cat": "Console",
                    "desc": " |- Playstation 3 | Разное"
                },
                {
                    "id": 1353,
                    "cat": "Console",
                    "desc": " |- Playstation 3 | Программы / Прошивки"
                },
                {
                    "id": 301,
                    "cat": "Console",
                    "desc": " |- PSP | Игры"
                },
                {
                    "id": 300,
                    "cat": "Console",
                    "desc": " |- PSP | Программы / Прошивки"
                },
                {
                    "id": 620,
                    "cat": "Console",
                    "desc": " |- PSX-PSP"
                },
                {
                    "id": 619,
                    "cat": "Console",
                    "desc": " |- Homebrew игры"
                },
                {
                    "id": 451,
                    "cat": "Console",
                    "desc": " |- PlayStation One | Игры"
                },
                {
                    "id": 299,
                    "cat": "Console",
                    "desc": " |- PlayStation 2 | Игры"
                },
                {
                    "id": 302,
                    "cat": "Console",
                    "desc": "Nintendo"
                },
                {
                    "id": 2002,
                    "cat": "Console",
                    "desc": " |- Switch | Игры"
                },
                {
                    "id": 305,
                    "cat": "Console",
                    "desc": " |- Nintendo DS | Игры"
                },
                {
                    "id": 1285,
                    "cat": "Console",
                    "desc": " |- Nintendo 3DS | Игры"
                },
                {
                    "id": 464,
                    "cat": "Console",
                    "desc": " |- GameCube | Игры"
                },
                {
                    "id": 303,
                    "cat": "Console",
                    "desc": " |- Wii | Игры"
                },
                {
                    "id": 306,
                    "cat": "Console",
                    "desc": "Sega"
                },
                {
                    "id": 307,
                    "cat": "Console",
                    "desc": " |- Dreamcast | Игры"
                },
                {
                    "id": 308,
                    "cat": "Console",
                    "desc": "Старые игры для Консолей"
                },
                {
                    "id": 1401,
                    "cat": "Movies",
                    "desc": "Новинки кинопроката 2020 (фильмы / мультфильмы)"
                },
                {
                    "id": 1411,
                    "cat": "Movies",
                    "desc": " |- CamRip"
                },
                {
                    "id": 1410,
                    "cat": "Movies",
                    "desc": " |- TeleSync"
                },
                {
                    "id": 1408,
                    "cat": "Movies",
                    "desc": " |- SatRip"
                },
                {
                    "id": 1407,
                    "cat": "Movies",
                    "desc": " |- DVDScreener"
                },
                {
                    "id": 1406,
                    "cat": "Movies",
                    "desc": " |- WEBRip / HDTVRip"
                },
                {
                    "id": 1974,
                    "cat": "Movies",
                    "desc": " |- WEB-DL / WEB-DLRip"
                },
                {
                    "id": 1405,
                    "cat": "Movies",
                    "desc": " |- DVDRip / DVD"
                },
                {
                    "id": 1403,
                    "cat": "Movies",
                    "desc": " |- HDRip"
                },
                {
                    "id": 1817,
                    "cat": "Movies",
                    "desc": " |- HDRip / BDRip-AVC"
                },
                {
                    "id": 1402,
                    "cat": "Movies",
                    "desc": " |- BDRip / Full HD (720p / 1080p / Ultra HD (4K))"
                },
                {
                    "id": 1786,
                    "cat": "Movies",
                    "desc": " |- Blu-Ray / BDRemux"
                },
                {
                    "id": 1982,
                    "cat": "Movies",
                    "desc": " |- HEVC"
                },
                {
                    "id": 1826,
                    "cat": "Movies",
                    "desc": " |- 3D"
                },
                {
                    "id": 1983,
                    "cat": "Movies",
                    "desc": " |- На иностранном языке"
                },
                {
                    "id": 1116,
                    "cat": "Movies",
                    "desc": "3D Видео / фильмы / мультфильмы"
                },
                {
                    "id": 1133,
                    "cat": "Movies",
                    "desc": " |- Боевик"
                },
                {
                    "id": 1132,
                    "cat": "Movies",
                    "desc": " |- Фэнтези"
                },
                {
                    "id": 1131,
                    "cat": "Movies",
                    "desc": " |- Фантастика"
                },
                {
                    "id": 1130,
                    "cat": "Movies",
                    "desc": " |- Детский / Семейный"
                },
                {
                    "id": 1129,
                    "cat": "Movies",
                    "desc": " |- Триллер"
                },
                {
                    "id": 1128,
                    "cat": "Movies",
                    "desc": " |- Приключения / Исторический"
                },
                {
                    "id": 1127,
                    "cat": "Movies",
                    "desc": " |- Драма"
                },
                {
                    "id": 1126,
                    "cat": "Movies",
                    "desc": " |- Классика советского кино"
                },
                {
                    "id": 1125,
                    "cat": "Movies",
                    "desc": " |- Классика мирового кинематографа"
                },
                {
                    "id": 1124,
                    "cat": "Movies",
                    "desc": " |- Детектив"
                },
                {
                    "id": 1123,
                    "cat": "Movies",
                    "desc": " |- Мистика"
                },
                {
                    "id": 1122,
                    "cat": "Movies",
                    "desc": " |- Мелодрама"
                },
                {
                    "id": 1121,
                    "cat": "Movies",
                    "desc": " |- Вестерн"
                },
                {
                    "id": 1120,
                    "cat": "Movies",
                    "desc": " |- Ужасы"
                },
                {
                    "id": 1118,
                    "cat": "Movies",
                    "desc": " |- Комедия"
                },
                {
                    "id": 1117,
                    "cat": "Movies",
                    "desc": " |- Арт-хаус / Авторское кино"
                },
                {
                    "id": 1976,
                    "cat": "Movies",
                    "desc": " |- Мультфильмы"
                },
                {
                    "id": 1809,
                    "cat": "Movies",
                    "desc": " |- Ролики / Музыкальное видео / Трейлеры к фильмам"
                },
                {
                    "id": 579,
                    "cat": "Movies",
                    "desc": "Зарубежное кино (HD / Blu-Ray / HDRip / BDRip 720p/1080p/Ult.."
                },
                {
                    "id": 1822,
                    "cat": "Movies",
                    "desc": " |- 60fps"
                },
                {
                    "id": 597,
                    "cat": "Movies",
                    "desc": " |- Боевик"
                },
                {
                    "id": 596,
                    "cat": "Movies",
                    "desc": " |- Фэнтези"
                },
                {
                    "id": 595,
                    "cat": "Movies",
                    "desc": " |- Фантастика"
                },
                {
                    "id": 594,
                    "cat": "Movies",
                    "desc": " |- Детский / Семейный"
                },
                {
                    "id": 593,
                    "cat": "Movies",
                    "desc": " |- Триллер"
                },
                {
                    "id": 592,
                    "cat": "Movies",
                    "desc": " |- Приключения / Исторический"
                },
                {
                    "id": 591,
                    "cat": "Movies",
                    "desc": " |- Драма"
                },
                {
                    "id": 589,
                    "cat": "Movies",
                    "desc": " |- Классика мирового кинематографа"
                },
                {
                    "id": 588,
                    "cat": "Movies",
                    "desc": " |- Детектив"
                },
                {
                    "id": 587,
                    "cat": "Movies",
                    "desc": " |- Мистика"
                },
                {
                    "id": 586,
                    "cat": "Movies",
                    "desc": " |- Мелодрама"
                },
                {
                    "id": 585,
                    "cat": "Movies",
                    "desc": " |- Вестерн"
                },
                {
                    "id": 584,
                    "cat": "Movies",
                    "desc": " |- Ужасы"
                },
                {
                    "id": 582,
                    "cat": "Movies",
                    "desc": " |- Комедия"
                },
                {
                    "id": 581,
                    "cat": "Movies",
                    "desc": " |- Арт-хаус / Авторское кино"
                },
                {
                    "id": 1978,
                    "cat": "Movies",
                    "desc": " |- Театр"
                },
                {
                    "id": 18,
                    "cat": "Movies",
                    "desc": "Зарубежное кино (DVD / DVDRip / WEB-DLRip / HDRip / HDRip-AV.."
                },
                {
                    "id": 20,
                    "cat": "Movies",
                    "desc": " |- DVD 4.7 GB / 8.5 GB"
                },
                {
                    "id": 21,
                    "cat": "Movies",
                    "desc": " |- Боевик"
                },
                {
                    "id": 22,
                    "cat": "Movies",
                    "desc": " |- Фэнтези"
                },
                {
                    "id": 23,
                    "cat": "Movies",
                    "desc": " |- Фантастика"
                },
                {
                    "id": 24,
                    "cat": "Movies",
                    "desc": " |- Детский / Семейный"
                },
                {
                    "id": 25,
                    "cat": "Movies",
                    "desc": " |- Триллер"
                },
                {
                    "id": 26,
                    "cat": "Movies",
                    "desc": " |- Приключения / Исторический"
                },
                {
                    "id": 27,
                    "cat": "Movies",
                    "desc": " |- Драма"
                },
                {
                    "id": 29,
                    "cat": "Movies",
                    "desc": " |- Классика мирового кинематографа"
                },
                {
                    "id": 30,
                    "cat": "Movies",
                    "desc": " |- Детектив"
                },
                {
                    "id": 31,
                    "cat": "Movies",
                    "desc": " |- Мистика"
                },
                {
                    "id": 32,
                    "cat": "Movies",
                    "desc": " |- Мелодрама"
                },
                {
                    "id": 33,
                    "cat": "Movies",
                    "desc": " |- Вестерн"
                },
                {
                    "id": 1397,
                    "cat": "Movies",
                    "desc": " |- Ужасы"
                },
                {
                    "id": 36,
                    "cat": "Movies",
                    "desc": " |- Комедия"
                },
                {
                    "id": 790,
                    "cat": "Movies",
                    "desc": " |- Индийское кино"
                },
                {
                    "id": 37,
                    "cat": "Movies",
                    "desc": " |- Арт-хаус / Авторское кино"
                },
                {
                    "id": 1977,
                    "cat": "Movies",
                    "desc": " |- Театр"
                },
                {
                    "id": 580,
                    "cat": "Movies",
                    "desc": "Российское кино"
                },
                {
                    "id": 616,
                    "cat": "Movies",
                    "desc": " |- DVD 4.7 GB / 8.5 GB"
                },
                {
                    "id": 614,
                    "cat": "Movies",
                    "desc": " |- Боевик"
                },
                {
                    "id": 613,
                    "cat": "Movies",
                    "desc": " |- Фэнтези"
                },
                {
                    "id": 612,
                    "cat": "Movies",
                    "desc": " |- Фантастика"
                },
                {
                    "id": 611,
                    "cat": "Movies",
                    "desc": " |- Детский / Семейный"
                },
                {
                    "id": 610,
                    "cat": "Movies",
                    "desc": " |- Триллер"
                },
                {
                    "id": 609,
                    "cat": "Movies",
                    "desc": " |- Приключения / Исторический"
                },
                {
                    "id": 608,
                    "cat": "Movies",
                    "desc": " |- Драма"
                },
                {
                    "id": 607,
                    "cat": "Movies",
                    "desc": " |- Классика советского кино"
                },
                {
                    "id": 606,
                    "cat": "Movies",
                    "desc": " |- Детектив"
                },
                {
                    "id": 605,
                    "cat": "Movies",
                    "desc": " |- Мистика"
                },
                {
                    "id": 604,
                    "cat": "Movies",
                    "desc": " |- Мелодрама"
                },
                {
                    "id": 603,
                    "cat": "Movies",
                    "desc": " |- Вестерн"
                },
                {
                    "id": 602,
                    "cat": "Movies",
                    "desc": " |- Ужасы"
                },
                {
                    "id": 600,
                    "cat": "Movies",
                    "desc": " |- Комедия"
                },
                {
                    "id": 599,
                    "cat": "Movies",
                    "desc": " |- Арт-хаус / Авторское кино"
                },
                {
                    "id": 1979,
                    "cat": "Movies",
                    "desc": " |- Театр"
                },
                {
                    "id": 44,
                    "cat": "Movies",
                    "desc": "Мультфильмы"
                },
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": " |- 60fps"
                },
                {
                    "id": 48,
                    "cat": "Movies",
                    "desc": " |- Мультфильмы HD"
                },
                {
                    "id": 854,
                    "cat": "Movies",
                    "desc": " |- Короткометражные мультфильмы"
                },
                {
                    "id": 50,
                    "cat": "Movies",
                    "desc": " |- Зарубежные полнометражные мультфильмы"
                },
                {
                    "id": 49,
                    "cat": "Movies",
                    "desc": " |- Отечественные полнометражные мультфильмы"
                },
                {
                    "id": 1980,
                    "cat": "Movies",
                    "desc": " |- Классика"
                },
                {
                    "id": 452,
                    "cat": "Movies",
                    "desc": "Дилогии / Трилогии / Квадралогии"
                },
                {
                    "id": 1831,
                    "cat": "Movies",
                    "desc": " |- DVDRip / HDRip / BDRip / AVC"
                },
                {
                    "id": 1830,
                    "cat": "Movies",
                    "desc": " |- BDRip 720"
                },
                {
                    "id": 1829,
                    "cat": "Movies",
                    "desc": " |- BDRip 1080 / BDRemux"
                },
                {
                    "id": 1828,
                    "cat": "Movies",
                    "desc": " |- BluRay"
                },
                {
                    "id": 1827,
                    "cat": "Movies",
                    "desc": " |- Фильмографии"
                },
                {
                    "id": 1825,
                    "cat": "Movies",
                    "desc": "Фильмы для iOS / Android / КПК"
                },
                {
                    "id": 1958,
                    "cat": "Movies",
                    "desc": "Фильмы"
                },
                {
                    "id": 1959,
                    "cat": "Movies",
                    "desc": "Сериалы"
                },
                {
                    "id": 1862,
                    "cat": "TV",
                    "desc": "Новинки (сериалы / мультсериалы)"
                },
                {
                    "id": 1867,
                    "cat": "TV",
                    "desc": " |- SatRip"
                },
                {
                    "id": 1866,
                    "cat": "TV",
                    "desc": " |- WEB DLRip / WEB DLRip-AVC"
                },
                {
                    "id": 1865,
                    "cat": "TV",
                    "desc": " |- HDTVRip / HDTVRip-AVC"
                },
                {
                    "id": 1864,
                    "cat": "TV",
                    "desc": " |- WEB DL / HDTV 720"
                },
                {
                    "id": 1863,
                    "cat": "TV",
                    "desc": " |- WEB DL / HDTV 1080"
                },
                {
                    "id": 2059,
                    "cat": "TV",
                    "desc": " |- WEB DL / HDTV 2160p"
                },
                {
                    "id": 1855,
                    "cat": "TV",
                    "desc": "Американские"
                },
                {
                    "id": 1861,
                    "cat": "TV",
                    "desc": " |- DVDRip"
                },
                {
                    "id": 1860,
                    "cat": "TV",
                    "desc": " |- SatRip"
                },
                {
                    "id": 1859,
                    "cat": "TV",
                    "desc": " |- WEB DLRip / WEB DLRip-AVC"
                },
                {
                    "id": 1858,
                    "cat": "TV",
                    "desc": " |- HDTVRip / HDRip / AVC"
                },
                {
                    "id": 1857,
                    "cat": "TV",
                    "desc": " |- WEB DL / HD / BDRip 720"
                },
                {
                    "id": 1856,
                    "cat": "TV",
                    "desc": " |- WEB DL / HD / BDRip 1080"
                },
                {
                    "id": 2055,
                    "cat": "TV",
                    "desc": " |- WEB DL / HDTV 2160p"
                },
                {
                    "id": 1848,
                    "cat": "TV",
                    "desc": "Европейские / Другие"
                },
                {
                    "id": 1854,
                    "cat": "TV",
                    "desc": " |- DVDRip"
                },
                {
                    "id": 1853,
                    "cat": "TV",
                    "desc": " |- SatRip"
                },
                {
                    "id": 1852,
                    "cat": "TV",
                    "desc": " |- WEB DLRip / WEB DLRip-AVC"
                },
                {
                    "id": 1851,
                    "cat": "TV",
                    "desc": " |- HDTVRip / HDRip / AVC"
                },
                {
                    "id": 1850,
                    "cat": "TV",
                    "desc": " |- WEB DL / HD / BDRip 720"
                },
                {
                    "id": 1849,
                    "cat": "TV",
                    "desc": " |- WEB DL / HD / BDRip 1080"
                },
                {
                    "id": 2056,
                    "cat": "TV",
                    "desc": " |- WEB DL / HDTV 2160p"
                },
                {
                    "id": 1841,
                    "cat": "TV",
                    "desc": "Российские"
                },
                {
                    "id": 1847,
                    "cat": "TV",
                    "desc": " |- DVDRip"
                },
                {
                    "id": 1846,
                    "cat": "TV",
                    "desc": " |- SatRip"
                },
                {
                    "id": 1845,
                    "cat": "TV",
                    "desc": " |- WEB DLRip / WEB DLRip-AVC"
                },
                {
                    "id": 1844,
                    "cat": "TV",
                    "desc": " |- HDTVRip / HDRip / AVC"
                },
                {
                    "id": 1843,
                    "cat": "TV",
                    "desc": " |- WEB DL / HD / BDRip 720"
                },
                {
                    "id": 1842,
                    "cat": "TV",
                    "desc": " |- WEB DL / HD / BDRip 1080"
                },
                {
                    "id": 2057,
                    "cat": "TV",
                    "desc": " |- WEB DL / HDTV 2160p"
                },
                {
                    "id": 1871,
                    "cat": "TV",
                    "desc": "Мультсериалы"
                },
                {
                    "id": 1877,
                    "cat": "TV",
                    "desc": " |- DVDRip"
                },
                {
                    "id": 1876,
                    "cat": "TV",
                    "desc": " |- SatRip"
                },
                {
                    "id": 1875,
                    "cat": "TV",
                    "desc": " |- WEB DLRip / WEB DLRip-AVC"
                },
                {
                    "id": 1874,
                    "cat": "TV",
                    "desc": " |- HDTVRip / HDRip / AVC"
                },
                {
                    "id": 1873,
                    "cat": "TV",
                    "desc": " |- WEB DL / HD / BDRip 720"
                },
                {
                    "id": 1872,
                    "cat": "TV",
                    "desc": " |- WEB DL / HD / BDRip 1080"
                },
                {
                    "id": 2058,
                    "cat": "TV",
                    "desc": " |- WEB DL / HDTV 2160p"
                },
                {
                    "id": 1879,
                    "cat": "TV/Anime",
                    "desc": "Аниме"
                },
                {
                    "id": 1883,
                    "cat": "TV/Anime",
                    "desc": " |- Новинки"
                },
                {
                    "id": 1882,
                    "cat": "TV/Anime",
                    "desc": " |- Дорамы"
                },
                {
                    "id": 1881,
                    "cat": "TV/Anime",
                    "desc": " |- Манга"
                },
                {
                    "id": 1880,
                    "cat": "TV/Anime",
                    "desc": " |- AMV"
                },
                {
                    "id": 1890,
                    "cat": "TV/Anime",
                    "desc": "Основной раздел"
                },
                {
                    "id": 1893,
                    "cat": "TV/Anime",
                    "desc": " |- HDTVRip / HDTV 720 / 1080"
                },
                {
                    "id": 1892,
                    "cat": "TV/Anime",
                    "desc": " |- DVD / DVDRip"
                },
                {
                    "id": 1891,
                    "cat": "TV/Anime",
                    "desc": " |- BDRip / HDRip / AVC"
                },
                {
                    "id": 653,
                    "cat": "TV/Anime",
                    "desc": " |- TVRip / VHSRip / Другие"
                },
                {
                    "id": 314,
                    "cat": "TV/Anime",
                    "desc": " |- PSP"
                },
                {
                    "id": 659,
                    "cat": "TV/Anime",
                    "desc": "OST"
                },
                {
                    "id": 661,
                    "cat": "TV/Anime",
                    "desc": " |- mp3"
                },
                {
                    "id": 660,
                    "cat": "TV/Anime",
                    "desc": " |- lossless"
                },
                {
                    "id": 662,
                    "cat": "TV/Anime",
                    "desc": "Обои на рабочий стол/картинки/арты"
                },
                {
                    "id": 642,
                    "cat": "TV/Anime",
                    "desc": "Флудилка"
                },
                {
                    "id": 1918,
                    "cat": "TV/Documentary",
                    "desc": "Документальные фильмы и передачи"
                },
                {
                    "id": 1943,
                    "cat": "TV/Documentary",
                    "desc": " |- 3D Фильмы, HD (720р / 1080р)"
                },
                {
                    "id": 1942,
                    "cat": "TV/Documentary",
                    "desc": " |- Авиация"
                },
                {
                    "id": 1941,
                    "cat": "TV/Documentary",
                    "desc": " |- Космос"
                },
                {
                    "id": 1940,
                    "cat": "TV/Documentary",
                    "desc": " |- Криминалистика"
                },
                {
                    "id": 1939,
                    "cat": "TV/Documentary",
                    "desc": " |- Вторая мировая война"
                },
                {
                    "id": 1938,
                    "cat": "TV/Documentary",
                    "desc": " |- Военное дело"
                },
                {
                    "id": 1937,
                    "cat": "TV/Documentary",
                    "desc": " |- Медицина и здоровье"
                },
                {
                    "id": 1936,
                    "cat": "TV/Documentary",
                    "desc": " |- Путешествия и туризм"
                },
                {
                    "id": 1935,
                    "cat": "TV/Documentary",
                    "desc": " |- История / Мировая культура / Религия"
                },
                {
                    "id": 1934,
                    "cat": "TV/Documentary",
                    "desc": " |- Растительный и животный мир"
                },
                {
                    "id": 1933,
                    "cat": "TV/Documentary",
                    "desc": " |- Личности и кумиры"
                },
                {
                    "id": 1932,
                    "cat": "TV/Documentary",
                    "desc": " |- Научно-популярные и познавательные фильмы"
                },
                {
                    "id": 1931,
                    "cat": "TV/Documentary",
                    "desc": " |- BBC / Discovery / National Geographic"
                },
                {
                    "id": 1930,
                    "cat": "TV/Documentary",
                    "desc": " |- Информационно-аналитические и политические передачи"
                },
                {
                    "id": 1919,
                    "cat": "TV/Documentary",
                    "desc": "Развлекательные передачи, шоу и юмор"
                },
                {
                    "id": 1929,
                    "cat": "TV/Documentary",
                    "desc": " |- Юмористические программы и шоу"
                },
                {
                    "id": 1928,
                    "cat": "TV/Documentary",
                    "desc": " |- КВН"
                },
                {
                    "id": 1927,
                    "cat": "TV/Documentary",
                    "desc": " |- Уральские пельмени"
                },
                {
                    "id": 1925,
                    "cat": "TV/Documentary",
                    "desc": " |- Авторские передачи"
                },
                {
                    "id": 1920,
                    "cat": "TV/Documentary",
                    "desc": "Спорт"
                },
                {
                    "id": 1924,
                    "cat": "TV/Documentary",
                    "desc": " |- Футбол"
                },
                {
                    "id": 1923,
                    "cat": "TV/Documentary",
                    "desc": " |- Хоккей"
                },
                {
                    "id": 1922,
                    "cat": "TV/Documentary",
                    "desc": " |- Формула 1"
                },
                {
                    "id": 1921,
                    "cat": "TV/Documentary",
                    "desc": " |- Другие виды спорта"
                },
                {
                    "id": 240,
                    "cat": "Other",
                    "desc": "Обучающие видеокурсы и уроки"
                },
                {
                    "id": 246,
                    "cat": "Other",
                    "desc": " |- Здоровье и медицина"
                },
                {
                    "id": 241,
                    "cat": "Other",
                    "desc": " |- Психология и саморазвитие"
                },
                {
                    "id": 245,
                    "cat": "Other",
                    "desc": " |- Восточные оздоровительные практики"
                },
                {
                    "id": 855,
                    "cat": "Other",
                    "desc": " |- Спорт, фитнес"
                },
                {
                    "id": 1944,
                    "cat": "Other",
                    "desc": " |- Боевые искусства"
                },
                {
                    "id": 244,
                    "cat": "Other",
                    "desc": " |- Игра на гитаре"
                },
                {
                    "id": 243,
                    "cat": "Other",
                    "desc": " |- Бизнес, экономика и финансы"
                },
                {
                    "id": 242,
                    "cat": "Other",
                    "desc": " |- Учебные видео для детей и родителей"
                },
                {
                    "id": 1812,
                    "cat": "Other",
                    "desc": " |- Строительство и ремонт, сделай сам"
                },
                {
                    "id": 1813,
                    "cat": "Other",
                    "desc": " |- Кулинария"
                },
                {
                    "id": 1814,
                    "cat": "Other",
                    "desc": " |- Фотография, работа с фото"
                },
                {
                    "id": 1815,
                    "cat": "Other",
                    "desc": " |- Прочие видеокурсы и уроки"
                },
                {
                    "id": 247,
                    "cat": "Other",
                    "desc": "Компьютерные видеокурсы и уроки"
                },
                {
                    "id": 253,
                    "cat": "Other",
                    "desc": " |- Компьютерные сети и безопасность"
                },
                {
                    "id": 252,
                    "cat": "Other",
                    "desc": " |- ОС и серверные программы Microsoft"
                },
                {
                    "id": 251,
                    "cat": "Other",
                    "desc": " |- 2D-графика"
                },
                {
                    "id": 250,
                    "cat": "Other",
                    "desc": " |- 3D-графика, моделирование"
                },
                {
                    "id": 1810,
                    "cat": "Other",
                    "desc": " |- Веб-дизайн, программирование"
                },
                {
                    "id": 249,
                    "cat": "Other",
                    "desc": " |- Программирование"
                },
                {
                    "id": 248,
                    "cat": "Other",
                    "desc": " |- Работа с видео"
                },
                {
                    "id": 1811,
                    "cat": "Other",
                    "desc": " |- Прочие компьютерные видеокурсы и уроки"
                },
                {
                    "id": 324,
                    "cat": "Other",
                    "desc": "Обучение иностранным языкам"
                },
                {
                    "id": 329,
                    "cat": "Other",
                    "desc": " |- Аудиокниги на иностранных языках"
                },
                {
                    "id": 1289,
                    "cat": "Other",
                    "desc": " |- Художественная литература на иностранных языках"
                },
                {
                    "id": 328,
                    "cat": "Other",
                    "desc": " |- Английский язык"
                },
                {
                    "id": 327,
                    "cat": "Other",
                    "desc": " |- Немецкий язык"
                },
                {
                    "id": 326,
                    "cat": "Other",
                    "desc": " |- Французский язык"
                },
                {
                    "id": 325,
                    "cat": "Other",
                    "desc": " |- Испанский язык"
                },
                {
                    "id": 1288,
                    "cat": "Other",
                    "desc": " |- Японский язык"
                },
                {
                    "id": 471,
                    "cat": "Audio",
                    "desc": "Зарубежный Рок, Панк, Альтернатива"
                },
                {
                    "id": 769,
                    "cat": "Audio",
                    "desc": " |- Pop-Rock &Soft Rock (mp3)"
                },
                {
                    "id": 1160,
                    "cat": "Audio",
                    "desc": " |- Gothic Rock &Dark Folk"
                },
                {
                    "id": 767,
                    "cat": "Audio",
                    "desc": " |- Classic Rock &Hard Rock (mp3)"
                },
                {
                    "id": 473,
                    "cat": "Audio",
                    "desc": " |- Punk, Hardcore / Reggae, SKA, Dub"
                },
                {
                    "id": 474,
                    "cat": "Audio",
                    "desc": " |- Indie / Post-Punk / Britpop / Post-Rock"
                },
                {
                    "id": 475,
                    "cat": "Audio",
                    "desc": " |- Alternative &Nu-Metal"
                },
                {
                    "id": 1159,
                    "cat": "Audio",
                    "desc": " |- Progressive &Art-Rock"
                },
                {
                    "id": 728,
                    "cat": "Audio",
                    "desc": " |- Emocore &Post-hardcore"
                },
                {
                    "id": 476,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 478,
                    "cat": "Audio",
                    "desc": "Зарубежный метал"
                },
                {
                    "id": 479,
                    "cat": "Audio",
                    "desc": " |- Avant-garde, Experimetal Metal, Progressive"
                },
                {
                    "id": 480,
                    "cat": "Audio",
                    "desc": " |- Black Metal"
                },
                {
                    "id": 770,
                    "cat": "Audio",
                    "desc": " |- Symphonic Metal"
                },
                {
                    "id": 481,
                    "cat": "Audio",
                    "desc": " |- Folk, Pagan, Viking"
                },
                {
                    "id": 482,
                    "cat": "Audio",
                    "desc": " |- Doom, Sludge, Stoner"
                },
                {
                    "id": 483,
                    "cat": "Audio",
                    "desc": " |- Gothic, Industrial Metal"
                },
                {
                    "id": 484,
                    "cat": "Audio",
                    "desc": " |- Grind, Brutal Death"
                },
                {
                    "id": 485,
                    "cat": "Audio",
                    "desc": " |- Death Metal"
                },
                {
                    "id": 486,
                    "cat": "Audio",
                    "desc": " |- Heavy, Power Metal"
                },
                {
                    "id": 487,
                    "cat": "Audio",
                    "desc": " |- Metalcore, Deathcore, Mathcore"
                },
                {
                    "id": 488,
                    "cat": "Audio",
                    "desc": " |- Thrash, Speed, Groove"
                },
                {
                    "id": 489,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 490,
                    "cat": "Audio",
                    "desc": "Отечественный Рок, Панк, Метал, Альтернатива"
                },
                {
                    "id": 491,
                    "cat": "Audio",
                    "desc": " |- Рок, Панк, Альтернатива"
                },
                {
                    "id": 492,
                    "cat": "Audio",
                    "desc": " |- Метал"
                },
                {
                    "id": 494,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 495,
                    "cat": "Audio",
                    "desc": "Рэп, Хип - Хоп, R'n'B"
                },
                {
                    "id": 507,
                    "cat": "Audio",
                    "desc": " |- R'n'B"
                },
                {
                    "id": 506,
                    "cat": "Audio",
                    "desc": " |- Отечественный Rap / Hip-hop"
                },
                {
                    "id": 505,
                    "cat": "Audio",
                    "desc": " |- Иностранный Rap / Hip-hop"
                },
                {
                    "id": 496,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 669,
                    "cat": "Audio",
                    "desc": "Электронная музыка"
                },
                {
                    "id": 789,
                    "cat": "Audio",
                    "desc": " |- Chiptune"
                },
                {
                    "id": 702,
                    "cat": "Audio",
                    "desc": " |- Trance"
                },
                {
                    "id": 700,
                    "cat": "Audio",
                    "desc": " |- Goa Trance, Psy-Trance"
                },
                {
                    "id": 699,
                    "cat": "Audio",
                    "desc": " |- PsyChill, Ambient Dub"
                },
                {
                    "id": 697,
                    "cat": "Audio",
                    "desc": " |- House"
                },
                {
                    "id": 696,
                    "cat": "Audio",
                    "desc": " |- Techno"
                },
                {
                    "id": 694,
                    "cat": "Audio",
                    "desc": " |- Hardcore, Hardstyle, Jumpstyle"
                },
                {
                    "id": 692,
                    "cat": "Audio",
                    "desc": " |- Drum &Bass"
                },
                {
                    "id": 691,
                    "cat": "Audio",
                    "desc": " |- Jungle"
                },
                {
                    "id": 690,
                    "cat": "Audio",
                    "desc": " |- Breakbeat"
                },
                {
                    "id": 689,
                    "cat": "Audio",
                    "desc": " |- Dubstep"
                },
                {
                    "id": 688,
                    "cat": "Audio",
                    "desc": " |- IDM"
                },
                {
                    "id": 687,
                    "cat": "Audio",
                    "desc": " |- Chillout, Lounge, Downtempo"
                },
                {
                    "id": 684,
                    "cat": "Audio",
                    "desc": " |- Trip-Hop"
                },
                {
                    "id": 683,
                    "cat": "Audio",
                    "desc": " |- Nu Jazz, Acid Jazz, Future Jazz"
                },
                {
                    "id": 1031,
                    "cat": "Audio",
                    "desc": " |- Electronic, Dance, Club"
                },
                {
                    "id": 679,
                    "cat": "Audio",
                    "desc": " |- Traditional Electronic"
                },
                {
                    "id": 1158,
                    "cat": "Audio",
                    "desc": " |- Radioshow, Podcast, Liveset, Mixes"
                },
                {
                    "id": 678,
                    "cat": "Audio",
                    "desc": " |- Ambient"
                },
                {
                    "id": 677,
                    "cat": "Audio",
                    "desc": " |- Experimental"
                },
                {
                    "id": 674,
                    "cat": "Audio",
                    "desc": " |- EBM, Dark Electro, Aggrotech"
                },
                {
                    "id": 671,
                    "cat": "Audio",
                    "desc": " |- Synthpop, New Wave, SpaceSynth"
                },
                {
                    "id": 788,
                    "cat": "Audio",
                    "desc": " |- Uplifting Trance"
                },
                {
                    "id": 704,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 508,
                    "cat": "Audio",
                    "desc": "Классика и Инструментал"
                },
                {
                    "id": 511,
                    "cat": "Audio",
                    "desc": " |- Инструменталы"
                },
                {
                    "id": 510,
                    "cat": "Audio",
                    "desc": " |- Классика"
                },
                {
                    "id": 509,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 512,
                    "cat": "Audio",
                    "desc": "Джаз и Блюз"
                },
                {
                    "id": 708,
                    "cat": "Audio",
                    "desc": " |- Отечественный Джаз"
                },
                {
                    "id": 709,
                    "cat": "Audio",
                    "desc": " |- Отечественный Блюз"
                },
                {
                    "id": 710,
                    "cat": "Audio",
                    "desc": " |- Зарубежный Джаз"
                },
                {
                    "id": 711,
                    "cat": "Audio",
                    "desc": " |- Зарубежный Блюз"
                },
                {
                    "id": 513,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 516,
                    "cat": "Audio",
                    "desc": "Поп музыка"
                },
                {
                    "id": 1265,
                    "cat": "Audio",
                    "desc": " |- Зарубежная Поп музыка"
                },
                {
                    "id": 518,
                    "cat": "Audio",
                    "desc": " |- Отечественная Поп музыка"
                },
                {
                    "id": 738,
                    "cat": "Audio",
                    "desc": " |- EuroDance(mp3)"
                },
                {
                    "id": 517,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 519,
                    "cat": "Audio",
                    "desc": "Шансон / Авторская песня"
                },
                {
                    "id": 522,
                    "cat": "Audio",
                    "desc": " |- Шансон"
                },
                {
                    "id": 521,
                    "cat": "Audio",
                    "desc": " |- Авторская песня"
                },
                {
                    "id": 520,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 730,
                    "cat": "Audio",
                    "desc": "Восточно-азиатская музыка"
                },
                {
                    "id": 735,
                    "cat": "Audio",
                    "desc": " |- Рок"
                },
                {
                    "id": 734,
                    "cat": "Audio",
                    "desc": " |- Метал"
                },
                {
                    "id": 733,
                    "cat": "Audio",
                    "desc": " |- Рэп, Хип - Хоп, R'n'B"
                },
                {
                    "id": 732,
                    "cat": "Audio",
                    "desc": " |- Поп музыка"
                },
                {
                    "id": 731,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 523,
                    "cat": "Audio",
                    "desc": "Музыка других жанров"
                },
                {
                    "id": 716,
                    "cat": "Audio",
                    "desc": " |- Отечественная музыка других жанров"
                },
                {
                    "id": 714,
                    "cat": "Audio",
                    "desc": " |- Зарубежная музыка других жанров"
                },
                {
                    "id": 715,
                    "cat": "Audio",
                    "desc": " |- Советская эстрада, Ретро"
                },
                {
                    "id": 1148,
                    "cat": "Audio",
                    "desc": " |- Неофициальные и внежанровые сборники"
                },
                {
                    "id": 713,
                    "cat": "Audio",
                    "desc": " |- Православные песнопения"
                },
                {
                    "id": 712,
                    "cat": "Audio",
                    "desc": " |- Сборники песен для детей"
                },
                {
                    "id": 524,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 525,
                    "cat": "Audio",
                    "desc": "Саундтреки и OST"
                },
                {
                    "id": 529,
                    "cat": "Audio",
                    "desc": " |- Саундтреки к фильмам"
                },
                {
                    "id": 528,
                    "cat": "Audio",
                    "desc": " |- Саундтреки к играм"
                },
                {
                    "id": 526,
                    "cat": "Audio",
                    "desc": "NewAge &Meditative"
                },
                {
                    "id": 527,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 668,
                    "cat": "Audio",
                    "desc": "Industrial"
                },
                {
                    "id": 530,
                    "cat": "Audio",
                    "desc": "Lossless музыка (без потери качества)"
                },
                {
                    "id": 542,
                    "cat": "Audio",
                    "desc": " |- Зарубежный Рок, Панк, Метал, Альтернатива (lossless)"
                },
                {
                    "id": 541,
                    "cat": "Audio",
                    "desc": " |- Отечественный Рок, Панк, Метал, Альтернатива (lossless)"
                },
                {
                    "id": 540,
                    "cat": "Audio",
                    "desc": " |- Рэп, Хип - Хоп, R'n'B (lossless)"
                },
                {
                    "id": 539,
                    "cat": "Audio",
                    "desc": " |- Электронная музыка (lossless)"
                },
                {
                    "id": 538,
                    "cat": "Audio",
                    "desc": " |- Зарубежная поп музыка (lossless)"
                },
                {
                    "id": 763,
                    "cat": "Audio",
                    "desc": " |- Отечественная поп музыка(lossless)"
                },
                {
                    "id": 739,
                    "cat": "Audio",
                    "desc": " |- EuroDance (lossless)"
                },
                {
                    "id": 537,
                    "cat": "Audio",
                    "desc": " |- Классика и Инструментал (lossless)"
                },
                {
                    "id": 705,
                    "cat": "Audio",
                    "desc": " |- Джаз и Блюз (lossless)"
                },
                {
                    "id": 536,
                    "cat": "Audio",
                    "desc": " |- Шансон / Авторская песня (lossless)"
                },
                {
                    "id": 535,
                    "cat": "Audio",
                    "desc": " |- NewAge &Meditative (lossless)"
                },
                {
                    "id": 740,
                    "cat": "Audio",
                    "desc": " |- Саундтреки к играм (lossless)"
                },
                {
                    "id": 741,
                    "cat": "Audio",
                    "desc": " |- Саундтреки к фильмам (lossless)"
                },
                {
                    "id": 533,
                    "cat": "Audio",
                    "desc": " |- DVD-Audio и многоканальный звук"
                },
                {
                    "id": 532,
                    "cat": "Audio",
                    "desc": " |- Оцифровка аналоговых носителей"
                },
                {
                    "id": 543,
                    "cat": "Audio",
                    "desc": "Видео концерты и документальные фильмы о музыке"
                },
                {
                    "id": 548,
                    "cat": "Audio",
                    "desc": " |- Концерты (Зарубежный Rock, Metal, Punk, Alternative)"
                },
                {
                    "id": 547,
                    "cat": "Audio",
                    "desc": " |- Концерты (Отечественный Рок, Метал, Панк, Альтернатива)"
                },
                {
                    "id": 546,
                    "cat": "Audio",
                    "desc": " |- Концерты (Pop)"
                },
                {
                    "id": 545,
                    "cat": "Audio",
                    "desc": " |- Концерты (Rap/R'n'B)"
                },
                {
                    "id": 544,
                    "cat": "Audio",
                    "desc": " |- Концерты (Other)"
                },
                {
                    "id": 549,
                    "cat": "Audio",
                    "desc": "Музыкальное DVD и HD видео"
                },
                {
                    "id": 551,
                    "cat": "Audio",
                    "desc": " |- Концерты"
                },
                {
                    "id": 550,
                    "cat": "Audio",
                    "desc": " |- Клипы"
                },
                {
                    "id": 553,
                    "cat": "Audio",
                    "desc": "Караоке"
                },
                {
                    "id": 1450,
                    "cat": "Books",
                    "desc": "Художественная литература"
                },
                {
                    "id": 1209,
                    "cat": "Books",
                    "desc": " |- Новинки"
                },
                {
                    "id": 1215,
                    "cat": "Books",
                    "desc": " |- Боевики/Детективы/Триллеры"
                },
                {
                    "id": 1218,
                    "cat": "Books",
                    "desc": " |- Приключения"
                },
                {
                    "id": 1219,
                    "cat": "Books",
                    "desc": " |- Романы"
                },
                {
                    "id": 1212,
                    "cat": "Books",
                    "desc": " |- Отечественная фантастика / фэнтези / мистика / ужасы"
                },
                {
                    "id": 1211,
                    "cat": "Books",
                    "desc": " |- Зарубежная фантастика / фэнтези / мистика / ужасы"
                },
                {
                    "id": 1210,
                    "cat": "Books",
                    "desc": " |- Классическая литература и современная проза"
                },
                {
                    "id": 334,
                    "cat": "Books",
                    "desc": " |- Детские книги и журналы"
                },
                {
                    "id": 1316,
                    "cat": "Books",
                    "desc": " |- Комедийные произведения, юмор, сатира"
                },
                {
                    "id": 338,
                    "cat": "Books",
                    "desc": " |- Разное"
                },
                {
                    "id": 1449,
                    "cat": "Books",
                    "desc": "Военная литература"
                },
                {
                    "id": 1223,
                    "cat": "Books",
                    "desc": " |- Военная история"
                },
                {
                    "id": 1451,
                    "cat": "Books",
                    "desc": " |- Военная техника"
                },
                {
                    "id": 1452,
                    "cat": "Books",
                    "desc": " |- Стрелковое оружие"
                },
                {
                    "id": 1453,
                    "cat": "Books",
                    "desc": " |- Холодное оружие"
                },
                {
                    "id": 1454,
                    "cat": "Books",
                    "desc": " |- Боевые искусства"
                },
                {
                    "id": 1781,
                    "cat": "Books",
                    "desc": " |- Энциклопедии, справочники"
                },
                {
                    "id": 1448,
                    "cat": "Books",
                    "desc": "Журналы"
                },
                {
                    "id": 337,
                    "cat": "Books",
                    "desc": " |- Авто-мото журналы"
                },
                {
                    "id": 1455,
                    "cat": "Books",
                    "desc": " |- Строительство и дизайн"
                },
                {
                    "id": 1456,
                    "cat": "Books",
                    "desc": " |- Политика и бизнес"
                },
                {
                    "id": 1457,
                    "cat": "Books",
                    "desc": " |- Женские журналы"
                },
                {
                    "id": 1774,
                    "cat": "Books",
                    "desc": " |- Медицина и ЗОЖ"
                },
                {
                    "id": 1773,
                    "cat": "Books",
                    "desc": " |- Аудио-видео журналы"
                },
                {
                    "id": 1458,
                    "cat": "Books",
                    "desc": " |- Компьютерные журналы"
                },
                {
                    "id": 1459,
                    "cat": "Books",
                    "desc": " |- Кулинария"
                },
                {
                    "id": 1772,
                    "cat": "Books",
                    "desc": " |- Сад, огород, дача"
                },
                {
                    "id": 1460,
                    "cat": "Books",
                    "desc": " |- Мужские журналы"
                },
                {
                    "id": 1461,
                    "cat": "Books",
                    "desc": " |- Научно-популярные журналы"
                },
                {
                    "id": 1776,
                    "cat": "Books",
                    "desc": " |- Домоводство / Своими руками"
                },
                {
                    "id": 1462,
                    "cat": "Books",
                    "desc": " |- Эротические журналы"
                },
                {
                    "id": 1463,
                    "cat": "Books",
                    "desc": " |- Комиксы"
                },
                {
                    "id": 1775,
                    "cat": "Books",
                    "desc": " |- Хобби (Разное)"
                },
                {
                    "id": 1447,
                    "cat": "Books",
                    "desc": "Компьютерная литература"
                },
                {
                    "id": 1464,
                    "cat": "Books",
                    "desc": " |- Информатика"
                },
                {
                    "id": 1465,
                    "cat": "Books",
                    "desc": " |- Веб-дизайн"
                },
                {
                    "id": 1466,
                    "cat": "Books",
                    "desc": " |- Базы данных"
                },
                {
                    "id": 1467,
                    "cat": "Books",
                    "desc": " |- Интернет, сети"
                },
                {
                    "id": 1468,
                    "cat": "Books",
                    "desc": " |- Программирование и алгоритмы"
                },
                {
                    "id": 1469,
                    "cat": "Books",
                    "desc": " |- Графика, обработка видео"
                },
                {
                    "id": 1470,
                    "cat": "Books",
                    "desc": " |- Операционные системы"
                },
                {
                    "id": 1471,
                    "cat": "Books",
                    "desc": " |- Информационная безопасность"
                },
                {
                    "id": 1472,
                    "cat": "Books",
                    "desc": " |- Литература по компьютерным играм"
                },
                {
                    "id": 1473,
                    "cat": "Books",
                    "desc": " |- Разное"
                },
                {
                    "id": 1782,
                    "cat": "Books",
                    "desc": " |- Энциклопедии, справочники"
                },
                {
                    "id": 1446,
                    "cat": "Books",
                    "desc": "Авто/мото литература"
                },
                {
                    "id": 1783,
                    "cat": "Books",
                    "desc": " |- Энциклопедии, справочники"
                },
                {
                    "id": 1445,
                    "cat": "Books",
                    "desc": "Научно-образовательная и справочная литература"
                },
                {
                    "id": 1780,
                    "cat": "Books",
                    "desc": " |- Авиация / Космонавтика"
                },
                {
                    "id": 1437,
                    "cat": "Books",
                    "desc": " |- Гуманитарные науки"
                },
                {
                    "id": 341,
                    "cat": "Books",
                    "desc": " |- Точные и естественные науки"
                },
                {
                    "id": 1474,
                    "cat": "Books",
                    "desc": " |- Техническая литература"
                },
                {
                    "id": 1221,
                    "cat": "Books",
                    "desc": " |- В помощь школьникам и студентам"
                },
                {
                    "id": 1475,
                    "cat": "Books",
                    "desc": " |- Обучение иностранным языкам"
                },
                {
                    "id": 815,
                    "cat": "Books",
                    "desc": " |- Психология"
                },
                {
                    "id": 1476,
                    "cat": "Books",
                    "desc": " |- Юридическая литература и право"
                },
                {
                    "id": 1477,
                    "cat": "Books",
                    "desc": " |- Энциклопедии, словари, справочники"
                },
                {
                    "id": 1478,
                    "cat": "Books",
                    "desc": " |- Нормативные документы и законодательные акты"
                },
                {
                    "id": 1444,
                    "cat": "Books",
                    "desc": "Медицина, здоровье, спорт"
                },
                {
                    "id": 1479,
                    "cat": "Books",
                    "desc": " |- Справочники, энциклопедии"
                },
                {
                    "id": 1480,
                    "cat": "Books",
                    "desc": " |- Сексология"
                },
                {
                    "id": 1481,
                    "cat": "Books",
                    "desc": " |- Разное"
                },
                {
                    "id": 1443,
                    "cat": "Books",
                    "desc": "Увлечения и хобби"
                },
                {
                    "id": 761,
                    "cat": "Books",
                    "desc": " |- Охота и Рыбалка"
                },
                {
                    "id": 1357,
                    "cat": "Books",
                    "desc": " |- Сад, огород"
                },
                {
                    "id": 1224,
                    "cat": "Books",
                    "desc": " |- Кулинария"
                },
                {
                    "id": 817,
                    "cat": "Books",
                    "desc": " |- Строительство, ремонт, интерьер"
                },
                {
                    "id": 1482,
                    "cat": "Books",
                    "desc": " |- Декоративно-прикладное искусство"
                },
                {
                    "id": 1483,
                    "cat": "Books",
                    "desc": " |- Сделай сам"
                },
                {
                    "id": 1484,
                    "cat": "Books",
                    "desc": " |- Фотоискусство"
                },
                {
                    "id": 1485,
                    "cat": "Books",
                    "desc": " |- Прочие хобби"
                },
                {
                    "id": 1784,
                    "cat": "Books",
                    "desc": " |- Энциклопедии, справочники"
                },
                {
                    "id": 1442,
                    "cat": "Books",
                    "desc": "История, политология, публицистика"
                },
                {
                    "id": 1486,
                    "cat": "Books",
                    "desc": " |- Античная литература. Мифы, легенды"
                },
                {
                    "id": 1487,
                    "cat": "Books",
                    "desc": " |- Биография и мемуары"
                },
                {
                    "id": 1488,
                    "cat": "Books",
                    "desc": " |- Прочее"
                },
                {
                    "id": 1785,
                    "cat": "Books",
                    "desc": " |- Энциклопедии, справочники"
                },
                {
                    "id": 1441,
                    "cat": "Books",
                    "desc": "Библиотеки и мультимедийные издания"
                },
                {
                    "id": 1489,
                    "cat": "Books",
                    "desc": " |- Коллекции книг, собрания сочинений"
                },
                {
                    "id": 1490,
                    "cat": "Books",
                    "desc": " |- Мультимедийные и интерактивные издания"
                },
                {
                    "id": 1440,
                    "cat": "Books",
                    "desc": "Ноты и Теория музыки"
                },
                {
                    "id": 348,
                    "cat": "Books",
                    "desc": " |- Ноты"
                },
                {
                    "id": 343,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги"
                },
                {
                    "id": 820,
                    "cat": "Audio/Audiobook",
                    "desc": " |- История"
                },
                {
                    "id": 819,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Юмор"
                },
                {
                    "id": 818,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Религия"
                },
                {
                    "id": 346,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Детская литература"
                },
                {
                    "id": 345,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Фантастика"
                },
                {
                    "id": 1142,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Классика"
                },
                {
                    "id": 1438,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Поэзия"
                },
                {
                    "id": 821,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Психология"
                },
                {
                    "id": 344,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Художественная литература"
                },
                {
                    "id": 1908,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Прочая литература"
                },
                {
                    "id": 1140,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиоспектакли"
                },
                {
                    "id": 1173,
                    "cat": "PC/Mobile-Other",
                    "desc": "F.A.Q. по разделу / Прочее"
                },
                {
                    "id": 1166,
                    "cat": "PC/Mobile-Other",
                    "desc": "Windows Phone"
                },
                {
                    "id": 1176,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Игры"
                },
                {
                    "id": 1175,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Программы"
                },
                {
                    "id": 1174,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Прошивки"
                },
                {
                    "id": 1202,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Разное"
                },
                {
                    "id": 1167,
                    "cat": "PC/Mobile-Other",
                    "desc": "Android"
                },
                {
                    "id": 1179,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Игры"
                },
                {
                    "id": 1178,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Программы"
                },
                {
                    "id": 1177,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Прошивки"
                },
                {
                    "id": 1203,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Разное"
                },
                {
                    "id": 1168,
                    "cat": "PC/Mobile-Other",
                    "desc": "iOS"
                },
                {
                    "id": 1182,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Игры"
                },
                {
                    "id": 1181,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Программы"
                },
                {
                    "id": 1180,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Прошивки"
                },
                {
                    "id": 1205,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Разное"
                },
                {
                    "id": 1170,
                    "cat": "PC/Mobile-Other",
                    "desc": "Другие ОС"
                },
                {
                    "id": 1188,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Игры"
                },
                {
                    "id": 1187,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Программы"
                },
                {
                    "id": 1186,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Прошивки"
                },
                {
                    "id": 1206,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Разное"
                },
                {
                    "id": 1172,
                    "cat": "PC/Mobile-Other",
                    "desc": "Программы для PC"
                },
                {
                    "id": 349,
                    "cat": "PC",
                    "desc": "Mac OS. Программное обеспечение под них"
                },
                {
                    "id": 352,
                    "cat": "PC",
                    "desc": " |- Mac OS (для Apple Macintosh)"
                },
                {
                    "id": 351,
                    "cat": "PC",
                    "desc": " |- Mac OS (для РС-Hackintosh)"
                },
                {
                    "id": 350,
                    "cat": "PC",
                    "desc": " |- Системные программы для Mac OS"
                },
                {
                    "id": 353,
                    "cat": "PC",
                    "desc": "Unix, Unix-подобные (*nix) и другие OS. Программное обеспече.."
                },
                {
                    "id": 356,
                    "cat": "PC",
                    "desc": " |- Операционные системы (Unix и Unix-подобные)"
                },
                {
                    "id": 355,
                    "cat": "PC",
                    "desc": " |- Программное обеспечение для Unix и Unix-подобных OS"
                },
                {
                    "id": 354,
                    "cat": "PC",
                    "desc": " |- Другие OS и программное обеспечение под них"
                },
                {
                    "id": 1427,
                    "cat": "PC",
                    "desc": "Microsoft Windows OS"
                },
                {
                    "id": 1433,
                    "cat": "PC",
                    "desc": " |- Настольные OS, выпущенные до 2001 года (Microsoft Windows OS.."
                },
                {
                    "id": 1432,
                    "cat": "PC",
                    "desc": " |- Windows XP"
                },
                {
                    "id": 1431,
                    "cat": "PC",
                    "desc": " |- Windows Vista"
                },
                {
                    "id": 1430,
                    "cat": "PC",
                    "desc": " |- Windows 7"
                },
                {
                    "id": 1429,
                    "cat": "PC",
                    "desc": " |- Windows 8"
                },
                {
                    "id": 1906,
                    "cat": "PC",
                    "desc": " |- Windows 10"
                },
                {
                    "id": 2054,
                    "cat": "PC",
                    "desc": " |- Windows 11"
                },
                {
                    "id": 1428,
                    "cat": "PC",
                    "desc": " |- Серверные (Microsoft Windows OS)"
                },
                {
                    "id": 1910,
                    "cat": "PC",
                    "desc": " |- Мультисборки Windows OS"
                },
                {
                    "id": 363,
                    "cat": "PC",
                    "desc": "Системные программы"
                },
                {
                    "id": 367,
                    "cat": "PC",
                    "desc": " |- Настройка и обслуживание. Диагностика"
                },
                {
                    "id": 366,
                    "cat": "PC",
                    "desc": " |- Архиваторы и файловые менеджеры"
                },
                {
                    "id": 365,
                    "cat": "PC",
                    "desc": " |- Работа с носителями информации"
                },
                {
                    "id": 460,
                    "cat": "PC",
                    "desc": " |- Драйвера"
                },
                {
                    "id": 364,
                    "cat": "PC",
                    "desc": " |- Антивирусы, Файерволы и защита информации"
                },
                {
                    "id": 1070,
                    "cat": "PC",
                    "desc": " |- Разное"
                },
                {
                    "id": 368,
                    "cat": "PC",
                    "desc": "Пользовательские программы"
                },
                {
                    "id": 371,
                    "cat": "PC",
                    "desc": " |- Системы для офиса, бизнеса и научной работы"
                },
                {
                    "id": 370,
                    "cat": "PC",
                    "desc": " |- Аудио- и видео-, CD- проигрыватели и каталогизаторы"
                },
                {
                    "id": 369,
                    "cat": "PC",
                    "desc": " |- Обучающие программы, справочники, энциклопедии"
                },
                {
                    "id": 1071,
                    "cat": "PC",
                    "desc": " |- Программы для Интернет и сетей"
                },
                {
                    "id": 1072,
                    "cat": "PC",
                    "desc": " |- Программы для изменения интерфейса Windows"
                },
                {
                    "id": 1073,
                    "cat": "PC",
                    "desc": " |- Разное"
                },
                {
                    "id": 372,
                    "cat": "PC",
                    "desc": "Веб-разработка и Программирование"
                },
                {
                    "id": 376,
                    "cat": "PC",
                    "desc": " |- Текстовые редакторы с подсветкой"
                },
                {
                    "id": 375,
                    "cat": "PC",
                    "desc": " |- Среды программирования, компиляторы и вспомогательные програ.."
                },
                {
                    "id": 374,
                    "cat": "PC",
                    "desc": " |- Компоненты для сред программирования"
                },
                {
                    "id": 373,
                    "cat": "PC",
                    "desc": " |- Системы управления базами данных (СУБД)"
                },
                {
                    "id": 762,
                    "cat": "PC",
                    "desc": " |- Веб-скрипты"
                },
                {
                    "id": 377,
                    "cat": "PC",
                    "desc": "Создание и редактирование мультимедиа и 3D контента"
                },
                {
                    "id": 381,
                    "cat": "PC",
                    "desc": " |- Программные комплекты"
                },
                {
                    "id": 380,
                    "cat": "PC",
                    "desc": " |- Графические редакторы"
                },
                {
                    "id": 379,
                    "cat": "PC",
                    "desc": " |- Редакторы видео"
                },
                {
                    "id": 378,
                    "cat": "PC",
                    "desc": " |- Работа со звуком"
                },
                {
                    "id": 1074,
                    "cat": "PC",
                    "desc": " |- Конвертеры"
                },
                {
                    "id": 1075,
                    "cat": "PC",
                    "desc": " |- Разное"
                },
                {
                    "id": 1911,
                    "cat": "PC",
                    "desc": "Прочее ПО"
                },
                {
                    "id": 1916,
                    "cat": "PC",
                    "desc": " |- WPI"
                },
                {
                    "id": 1915,
                    "cat": "PC",
                    "desc": " |- САПР"
                },
                {
                    "id": 1914,
                    "cat": "PC",
                    "desc": " |- ГИС"
                },
                {
                    "id": 1913,
                    "cat": "PC",
                    "desc": " |- LiveCD/DVD/Flash/USB"
                },
                {
                    "id": 385,
                    "cat": "PC",
                    "desc": " |- 3D графика"
                },
                {
                    "id": 1912,
                    "cat": "PC",
                    "desc": " |- Прочее"
                },
                {
                    "id": 1375,
                    "cat": "Other",
                    "desc": "Обои"
                },
                {
                    "id": 1377,
                    "cat": "Other",
                    "desc": "Иконки"
                },
                {
                    "id": 1376,
                    "cat": "Other",
                    "desc": "Аватары"
                },
                {
                    "id": 387,
                    "cat": "Other",
                    "desc": "Растровые и Векторные Клипарты"
                },
                {
                    "id": 386,
                    "cat": "Other",
                    "desc": "Заготовки, виньетки, рамки"
                },
                {
                    "id": 388,
                    "cat": "Other",
                    "desc": "Разное"
                },
                {
                    "id": 1297,
                    "cat": "Other",
                    "desc": "Архив"
                },
                {
                    "id": 1299,
                    "cat": "Other",
                    "desc": " |- Архив фильмов | мультфильмов"
                },
                {
                    "id": 1300,
                    "cat": "Other",
                    "desc": " |- Архив сериалов | мультсериалов"
                },
                {
                    "id": 1302,
                    "cat": "Other",
                    "desc": " |- Архив Anime"
                },
                {
                    "id": 1303,
                    "cat": "Other",
                    "desc": " |- Архив музыки"
                },
                {
                    "id": 1304,
                    "cat": "Other",
                    "desc": " |- Архив игр для PC"
                },
                {
                    "id": 1305,
                    "cat": "Other",
                    "desc": " |- Архив игр для консолей"
                },
                {
                    "id": 1306,
                    "cat": "Other",
                    "desc": " |- Архив для мобильных устройств"
                },
                {
                    "id": 1307,
                    "cat": "Other",
                    "desc": " |- Архив для программного обеспечения"
                },
                {
                    "id": 1308,
                    "cat": "Other",
                    "desc": " |- Архив (для раздач других категорий)"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "forum/index.php",
                "selector": "a[href=\"./login.php?logout=1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "forum/tracker.php"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "prev_allw": 0,
                "prev_a": 0,
                "prev_dla": 0,
                "prev_dlc": 0,
                "prev_dld": 0,
                "prev_dlw": 0,
                "prev_my": 0,
                "prev_new": 0,
                "prev_sd": 0,
                "prev_da": 1,
                "prev_dc": 0,
                "prev_df": 1,
                "prev_ds": 0,
                "prev_snotd": 0,
                "prev_not_checked": 0,
                "prev_closed": 0,
                "prev_d": 0,
                "prev_not_perfect": 0,
                "prev_part_perfect": 0,
                "prev_fishily": 0,
                "prev_copy": 0,
                "prev_temp": 0,
                "prev_pogl": 0,
                "prev_mod": 0,
                "prev_gold": 0,
                "prev_silver": 0,
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "dc": 0,
                "df": 1,
                "da": 1,
                "ds": 0,
                "tm": -1,
                "sns": -1,
                "srg": -1,
                "nm": "{{ .Keywords }}",
                "allw": 0,
                "gold": "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "diacritics",
                    "args": "replace"
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "сезон $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bE0*(\\d+)\\b",
                        "сери $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "сезон $1 сери $2"
                    ]
                }
            ],
            "headers": {
                "Cookie": [
                    "godbayadblock=godbayadblock"
                ],
                "User-Agent": [
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203"
                ]
            },
            "rows": {
                "selector": "tr[id^=\"tor_\"]:has(a[href^=\"./download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"tracker.php?f=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"./viewtopic.php?t=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"./viewtopic.php?t=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(7) > u"
                },
                "seeders": {
                    "selector": "td.seedmed > b"
                },
                "leechers": {
                    "selector": "td.leechmed > b"
                },
                "grabs": {
                    "selector": "td:nth-child(10)"
                },
                "date": {
                    "selector": "td:last-child > u"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/tor_gold.gif\"]": 0,
                        "img[src=\"images/tor_silver.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "a[href^=\"./viewtopic.php?t=\"]"
                }
            }
        }
    },
    "rutor": {
        "id": "rutor",
        "name": "RuTor",
        "description": "RuTor is a RUSSIAN Public site for MOVIES / TV / GENERAL",
        "language": "ru-RU",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://rutor.info/",
            "https://rutor.is/",
            "http://6tor.org/"
        ],
        "legacylinks": [
            "https://rutor.uk-unblock.xyz/",
            "https://rutor.ind-unblock.xyz/",
            "https://rutor.unblocked.bar/",
            "https://rutor.proxyportal.pw/",
            "https://rutor.uk-unblock.pro/",
            "https://rutor.root.yt/",
            "https://rutor.unblocked.rest/",
            "https://rutor.unblocked.monster/",
            "https://rutor.mrunblock.bond/",
            "https://rutor.nocensor.cloud/",
            "http://new-rutor.org/",
            "http://rutor.info/",
            "http://rutor.is/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site (Applies only to Search with Keywords)",
                "default": 0,
                "options": {
                    "0": "created desc",
                    "1": "created asc",
                    "2": "seeders desc",
                    "3": "seeders asc",
                    "6": "size desc",
                    "7": "size asc",
                    "8": "title desc",
                    "9": "title asc"
                }
            },
            {
                "name": "info_category_8000",
                "type": "info_category_8000"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "{{ if .Query.IMDBID }}search/0/0/010/{{ .Config.sort }}/{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if .Keywords }}search/0/0/100/{{ .Config.sort }}/{{ .Keywords }}/{{ else }}{{ end }}{{ if or .Keywords .Query.IMDBID }}{{ else }}/{{ end }}"
                }
            ],
            "rows": {
                "selector": "tr:has(td:has(a[href^=\"magnet:?xt=\"]))"
            },
            "fields": {
                "category": {
                    "text": 3
                },
                "title": {
                    "selector": "td:nth-of-type(2) a[href^=\"/torrent/\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:[CС]ери[ияй]|Эпизод|Выпуски?)[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?)\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?)\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\d+(?:-\\d+)?)[хx](\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:[CС]ери[ияй]|Эпизод|Выпуски?)[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:[CС]ери[ияй]|Эпизод|Выпуски?)[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:[CС]ери[ияй]|Эпизод|Выпуски?)\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:[CС]ери[ияй]|Эпизод|Выпуски?)[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:[CС]ери[ияй]|Эпизод|Выпуски?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bFiles-х\\b",
                                "Files-x"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\s\\|\\sот\\s([\\w\\p{P}\\p{S}]+)$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\|\\s(\\w{4,})$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\sот\\s([\\w\\p{P}\\p{S}]+)$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\|\\s(\\w{4,})$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "td:nth-of-type(2) a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.downgif",
                    "attribute": "href"
                },
                "infohash": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "date": {
                    "selector": "td:nth-of-type(1)",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\s]+",
                                " "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Янв",
                                "Jan"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Фев",
                                "Feb"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Мар",
                                "Mar"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Апр",
                                "Apr"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Май",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июн",
                                "Jun"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июл",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Авг",
                                "Aug"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Сен",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Окт",
                                "Oct"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ноя",
                                "Nov"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Дек",
                                "Dec"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " 00:00:00 +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd MMM yy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "optional": true,
                    "selector": "td:contains(\\00a0TB), td:contains(\\00a0GB), td:contains(\\00a0MB), td:contains(\\00a0kB), td:contains(\\00a0B)"
                },
                "seeders": {
                    "selector": "td span.green"
                },
                "leechers": {
                    "selector": "td span.red"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "td:nth-of-type(2) a[href^=\"/torrent/\"]"
                }
            }
        }
    },
    "samaritano": {
        "credentials": {
            "apikey": ""
        },
        "id": "samaritano",
        "name": "SAMARITANO (API)",
        "description": "SAMARITANO is a BRAZILIAN Private tracker for MOVIES / TV / GENERAL",
        "language": "pt-BR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://samaritano.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Filmes"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Séries"
                },
                {
                    "id": 3,
                    "cat": "TV/Anime",
                    "desc": "Animes"
                },
                {
                    "id": 4,
                    "cat": "Other",
                    "desc": "Cursos"
                },
                {
                    "id": 5,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 6,
                    "cat": "Books/EBook",
                    "desc": "Livros"
                },
                {
                    "id": 7,
                    "cat": "Books/Comics",
                    "desc": "HQs e Mangas"
                },
                {
                    "id": 8,
                    "cat": "Audio/Audiobook",
                    "desc": "AudioBooks"
                },
                {
                    "id": 9,
                    "cat": "PC",
                    "desc": "Programas"
                },
                {
                    "id": 11,
                    "cat": "Other",
                    "desc": "Diversos"
                },
                {
                    "id": 10,
                    "cat": "Other",
                    "desc": "Materiais de Apoio"
                },
                {
                    "id": 12,
                    "cat": "Audio",
                    "desc": "Músicas"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://samaritano.cc/\" target=\"_blank\">SAMARITANO</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Your account will be considered inactive if you have not logged in to the site for more than 90 days. After 30 days of inactivity (i.e. 30 days without logging in), your account will be removed from the tracker. Please note: The groups that suffer from inactivity are: User and Leech."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Cinema TV)",
                                "Cinema_TV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Ficção científica)",
                                "Ficção_científica"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "sbpt": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "sbpt",
        "name": "SBPT",
        "description": "SBPT is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://sbpt.link/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影(Movies)"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐(HQ Audio)"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他(Misc)"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育(Sport)"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "音乐短片(MV)Music Video"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺(TV Shows)"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧(TVSeries)"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动画/Animation)"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片/Documentary)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the SBPT Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User or above will be retained forever</li><li> Elite User or abovee will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 365 consecutive days</li><li>Users with no traffic (i.e. upload/download data is 0) will be deleted if they do not log in for 60 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 18000
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "scenerush": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "scenerush",
        "name": "SceneRush",
        "description": "SceneRush is a PORTUGUESE Private Torrent Tracker for 0DAY / GENERAL",
        "language": "pt-PT",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.scene-rush.pt/",
            "https://www.scene-rush.com/"
        ],
        "legacylinks": [
            "http://www.scene-rush.pt/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 15,
                    "cat": "Console/PS3",
                    "desc": "JOGO-PS"
                },
                {
                    "id": 11,
                    "cat": "Console/XBox",
                    "desc": "JOGO-XBOX"
                },
                {
                    "id": 5,
                    "cat": "PC/Games",
                    "desc": "JOGO-PC"
                },
                {
                    "id": 33,
                    "cat": "Console/NDS",
                    "desc": "JOGO-ND"
                },
                {
                    "id": 38,
                    "cat": "Movies/Other",
                    "desc": "CAM TS"
                },
                {
                    "id": 23,
                    "cat": "Movies",
                    "desc": "FILME-PACK"
                },
                {
                    "id": 53,
                    "cat": "Movies/SD",
                    "desc": "FILME-SD"
                },
                {
                    "id": 6,
                    "cat": "Movies/HD",
                    "desc": "FILME-HD"
                },
                {
                    "id": 46,
                    "cat": "Movies/UHD",
                    "desc": "FILME-4K"
                },
                {
                    "id": 32,
                    "cat": "Movies/BluRay",
                    "desc": "FILME-BRAY"
                },
                {
                    "id": 3,
                    "cat": "Movies/DVD",
                    "desc": "FILME-DVD"
                },
                {
                    "id": 42,
                    "cat": "Movies/WEB-DL",
                    "desc": "FILME-WEB"
                },
                {
                    "id": 9,
                    "cat": "Audio",
                    "desc": "ALBUNS"
                },
                {
                    "id": 14,
                    "cat": "Audio/Video",
                    "desc": "MUSIC-VID"
                },
                {
                    "id": 1,
                    "cat": "PC",
                    "desc": "APPS"
                },
                {
                    "id": 21,
                    "cat": "PC/Mac",
                    "desc": "MAC"
                },
                {
                    "id": 36,
                    "cat": "PC/Mobile-Android",
                    "desc": "ANDROID"
                },
                {
                    "id": 4,
                    "cat": "TV/SD",
                    "desc": "TV-SD"
                },
                {
                    "id": 17,
                    "cat": "TV/HD",
                    "desc": "TV-HD"
                },
                {
                    "id": 48,
                    "cat": "TV/UHD",
                    "desc": "TV-4K"
                },
                {
                    "id": 47,
                    "cat": "TV/Other",
                    "desc": "TV-PACK"
                },
                {
                    "id": 16,
                    "cat": "TV/Sport",
                    "desc": "WWE"
                },
                {
                    "id": 44,
                    "cat": "TV/Sport",
                    "desc": "SPORTS"
                },
                {
                    "id": 13,
                    "cat": "TV/Documentary",
                    "desc": "DOC"
                },
                {
                    "id": 49,
                    "cat": "TV/Anime",
                    "desc": "ANIME-4K"
                },
                {
                    "id": 20,
                    "cat": "TV/Anime",
                    "desc": "ANIME-DVD"
                },
                {
                    "id": 35,
                    "cat": "TV/Anime",
                    "desc": "ANIME-HD"
                },
                {
                    "id": 50,
                    "cat": "TV/Anime",
                    "desc": "ANIME-PACK"
                },
                {
                    "id": 8,
                    "cat": "TV/Anime",
                    "desc": "ANIME-SD"
                },
                {
                    "id": 51,
                    "cat": "TV/Anime",
                    "desc": "ANIME-WEB"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 43,
                    "cat": "Books/EBook",
                    "desc": "EBOOK"
                },
                {
                    "id": 52,
                    "cat": "Books/Other",
                    "desc": "CURSOS"
                },
                {
                    "id": 31,
                    "cat": "Other",
                    "desc": "OFF"
                },
                {
                    "id": 10,
                    "cat": "Other",
                    "desc": "OUTROS"
                },
                {
                    "id": 39,
                    "cat": "Other",
                    "desc": "GPS"
                }
            ],
            "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": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "h2:contains(\"Falhou\")",
                    "message": {
                        "selector": "table tr td.text"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "blah": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[cellpadding='5'][width='96%'] > tbody > tr:has(a[href*=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "td:first-of-type",
                    "case": {
                        "div.cat-filme-4k": 46,
                        "div.cat-albuns": 9,
                        "div.cat-android": 36,
                        "div.cat-anime-sd": 8,
                        "div.cat-anime-dvd": 20,
                        "div.cat-anime-hd": 35,
                        "div.cat-anime-pack": 50,
                        "div.cat-anime-web": 51,
                        "div.cat-anime-4k": 49,
                        "div.cat-apps": 1,
                        "div.cat-cam-ts": 38,
                        "div.cat-cursos": 52,
                        "div.cat-doc": 13,
                        "div.cat-e-book": 43,
                        "div.cat-filme-bray": 32,
                        "div.cat-filme-dvd": 3,
                        "div.cat-filme-hd": 6,
                        "div.cat-filme-pack": 23,
                        "div.cat-filme-sd": 53,
                        "div.cat-filme-web": 42,
                        "div.cat-gps": 39,
                        "div.cat-jogo-nd": 33,
                        "div.cat-jogo-pc": 5,
                        "div.cat-jogo-ps": 15,
                        "div.cat-jogo-xbox": 11,
                        "div.cat-mac": 21,
                        "div.cat-music-video": 14,
                        "div.cat-off": 31,
                        "div.cat-other": 10,
                        "div.cat-sports": 44,
                        "div.cat-tv-4k": 48,
                        "div.cat-tv-hd": 17,
                        "div.cat-tv-pack": 47,
                        "div.cat-tv-sd": 4,
                        "div.cat-wwe": 16,
                        "div.cat-xxx": 7
                    }
                },
                "_audiopt": {
                    "selector": "i.fg-audiopt",
                    "attribute": "title",
                    "optional": true
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ if .Result._audiopt }} Portuguese PT-PT{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "script",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\"(.+?)\""
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(8)"
                },
                "grabs": {
                    "selector": "td:nth-child(10)"
                },
                "seeders": {
                    "selector": "td:nth-child(11)"
                },
                "leechers": {
                    "selector": "td:nth-child(12)"
                },
                "date": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\d{4}-\\d{2}-\\d{2})(\\d{2}:\\d{2}:\\d{2})",
                                "$1 $2"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "i.fg-gold": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.5
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "scenetime-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "scenetime-api",
        "name": "SceneTime (API)",
        "description": "SceneTime is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.scenetime.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1000,
                    "cat": "Console",
                    "desc": "Console"
                },
                {
                    "id": 100015,
                    "cat": "Console/Other",
                    "desc": "Games Dreamcast"
                },
                {
                    "id": 100055,
                    "cat": "Console/NDS",
                    "desc": "Games Nintendo"
                },
                {
                    "id": 100012,
                    "cat": "Console/PS4",
                    "desc": "Games PS"
                },
                {
                    "id": 100051,
                    "cat": "Console/Wii",
                    "desc": "Games Wii"
                },
                {
                    "id": 100048,
                    "cat": "Console/XBox",
                    "desc": "Games XBOX"
                },
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 100047,
                    "cat": "Movies",
                    "desc": "Movie Packs"
                },
                {
                    "id": 100064,
                    "cat": "Movies/3D",
                    "desc": "Movies 3D"
                },
                {
                    "id": 100082,
                    "cat": "Movies/Other",
                    "desc": "Movies CAM/TS"
                },
                {
                    "id": 100059,
                    "cat": "Movies/HD",
                    "desc": "Movies HD"
                },
                {
                    "id": 100057,
                    "cat": "Movies/SD",
                    "desc": "Movies SD"
                },
                {
                    "id": 100016,
                    "cat": "Movies/UHD",
                    "desc": "Movies UHD"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 100004,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 100116,
                    "cat": "Audio",
                    "desc": "Music Packs"
                },
                {
                    "id": 4000,
                    "cat": "PC",
                    "desc": "PC"
                },
                {
                    "id": 100006,
                    "cat": "PC/Games",
                    "desc": "Games PC-ISO"
                },
                {
                    "id": 100053,
                    "cat": "PC/0day",
                    "desc": "Apps"
                },
                {
                    "id": 100052,
                    "cat": "PC/Mac",
                    "desc": "Mac/Linux"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 100001,
                    "cat": "TV/Anime",
                    "desc": "TV ANIME"
                },
                {
                    "id": 100009,
                    "cat": "TV/HD",
                    "desc": "TV HD"
                },
                {
                    "id": 100043,
                    "cat": "TV",
                    "desc": "TV Packs"
                },
                {
                    "id": 100077,
                    "cat": "TV/SD",
                    "desc": "TV SD"
                },
                {
                    "id": 100002,
                    "cat": "TV/UHD",
                    "desc": "TV UHD"
                },
                {
                    "id": 6000,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 100010,
                    "cat": "XXX",
                    "desc": "Movies Adult"
                },
                {
                    "id": 7000,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 100007,
                    "cat": "Books",
                    "desc": "Books and Magazines"
                },
                {
                    "id": 100065,
                    "cat": "Books/Comics",
                    "desc": "Comic Books"
                },
                {
                    "id": 8000,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 100024,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile Apps"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API Key"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "You can find your API Key by accessing the <a href=\"https://scenetime.com/rss.php\" target=\"_blank\">SceneTime RSS</a> page, scrolling down to the <b>Torznab API</b> section, and copying the <b>API Key</b>."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Unused accounts (accounts with no activity) and inactive unparked accounts may be deleted."
            }
        ],
        "login": {
            "path": "rss.php?apikey={{ .Config.apikey }}&view=html",
            "method": "get"
        },
        "search": {
            "paths": [
                {
                    "path": "rss.php",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "{{ if or .Query.Season .Query.Ep }}tvsearch{{ else }}search{{ end }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "imdbid": "{{ .Query.IMDBID }}",
                "limit": 100,
                "downloadvolumefactor": "{{ if .Config.freeleech }}0{{ else }}{{ end }}"
            },
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title": {
                    "selector": "title"
                },
                "details": {
                    "selector": "link"
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "imdbid": {
                    "selector": "[name=imdbid]",
                    "attribute": "value"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=leechers]",
                    "attribute": "value"
                },
                "grabs": {
                    "selector": "[name=grabs]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "selector": "[name=downloadvolumefactor]",
                    "attribute": "value"
                },
                "uploadvolumefactor": {
                    "selector": "[name=uploadvolumefactor]",
                    "attribute": "value"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "seedcore-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "seedcore-api",
        "replaces": [
            "rotorrent-api"
        ],
        "name": "SeedCore (API)",
        "description": "SeedCore (ROT) is a ROMANIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ro-RO",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://seedcore.net/"
        ],
        "legacylinks": [
            "https://rotorrent.info/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 6,
                    "cat": "Other",
                    "desc": "Video"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://seedcore.net/\" target=\"_blank\">SeedCore</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "seedfile": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "seedfile",
        "name": "SeedFile",
        "description": "SeedFile (SF) is a ROMANIAN Private Torrent Tracker for 0DAY / GENERAL",
        "language": "ro-RO",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://seedfile.io/"
        ],
        "legacylinks": [
            "https://www.seedfile.io/",
            "https://www.seedfile.ro/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Books/Mags",
                    "desc": "Cărți/Reviste"
                },
                {
                    "id": 2,
                    "cat": "Other",
                    "desc": "Desene SD"
                },
                {
                    "id": 3,
                    "cat": "Other",
                    "desc": "Diverse n/a"
                },
                {
                    "id": 5,
                    "cat": "Movies/BluRay",
                    "desc": "Filme Blu-Ray"
                },
                {
                    "id": 6,
                    "cat": "Movies/DVD",
                    "desc": "Filme DVD"
                },
                {
                    "id": 7,
                    "cat": "Movies/DVD",
                    "desc": "Filme DVD-RO"
                },
                {
                    "id": 8,
                    "cat": "Movies/HD",
                    "desc": "Filme HD"
                },
                {
                    "id": 9,
                    "cat": "Movies/HD",
                    "desc": "Filme HD-RO"
                },
                {
                    "id": 10,
                    "cat": "Movies/SD",
                    "desc": "Filme SD"
                },
                {
                    "id": 11,
                    "cat": "Movies/SD",
                    "desc": "Filme SD-RO"
                },
                {
                    "id": 12,
                    "cat": "Other",
                    "desc": "Imagini"
                },
                {
                    "id": 13,
                    "cat": "Console",
                    "desc": "Jocuri Console"
                },
                {
                    "id": 14,
                    "cat": "PC/Games",
                    "desc": "Jocuri PC"
                },
                {
                    "id": 15,
                    "cat": "Audio",
                    "desc": "Muzică"
                },
                {
                    "id": 16,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile"
                },
                {
                    "id": 17,
                    "cat": "PC",
                    "desc": "Programe"
                },
                {
                    "id": 18,
                    "cat": "TV/HD",
                    "desc": "Seriale HD"
                },
                {
                    "id": 19,
                    "cat": "TV/HD",
                    "desc": "Seriale HD-RO"
                },
                {
                    "id": 20,
                    "cat": "TV/SD",
                    "desc": "Seriale TV"
                },
                {
                    "id": 21,
                    "cat": "TV/SD",
                    "desc": "Seriale TV-RO"
                },
                {
                    "id": 22,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 23,
                    "cat": "Audio/Video",
                    "desc": "Video Clip"
                },
                {
                    "id": 24,
                    "cat": "XXX",
                    "desc": "Adult 18+"
                },
                {
                    "id": 36,
                    "cat": "Movies/3D",
                    "desc": "Video 3D"
                },
                {
                    "id": 37,
                    "cat": "Movies/UHD",
                    "desc": "Filme 4K"
                },
                {
                    "id": 38,
                    "cat": "Movies/UHD",
                    "desc": "Filme 4K RO"
                },
                {
                    "id": 40,
                    "cat": "Movies/BluRay",
                    "desc": "Filme Blu-Ray RO"
                },
                {
                    "id": 41,
                    "cat": "TV/UHD",
                    "desc": "Seriale 4K"
                }
            ],
            "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": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Typically, (unparked) accounts are deleted after one year from last access. With account parking, the maximum period of inactivity is 2 years, after which the account will be deleted."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.recover-error2"
                }
            ],
            "test": {
                "path": "home",
                "selector": "a[href^=\"/logout.php?id=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
            },
            "rows": {
                "selector": "div.tt-row"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/torrents.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/download/\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "data-poster"
                },
                "files": {
                    "selector": "div.tt-files"
                },
                "date": {
                    "selector": "div.tt-date",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "HH:mm:ssyyyy-MM-dd zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "div.tt-size"
                },
                "grabs": {
                    "selector": "div.tt-compl"
                },
                "seeders": {
                    "selector": "div.tt-seed"
                },
                "leechers": {
                    "selector": "div.tt-leech"
                },
                "genre": {
                    "selector": "span.tb-genre"
                },
                "description": {
                    "case": {
                        "span.tt-mod-ok": "Verified: {{ .Result.genre }}",
                        "*": "Unverified: {{ .Result.genre }}"
                    }
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.tb-fl": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "seedpool-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "seedpool-api",
        "name": "seedpool (API)",
        "description": "seedpool is a Private Torrent Tracker for 0-DAY MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://seedpool.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV Show"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 6,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 6,
                    "cat": "Movies/Other",
                    "desc": "Anime"
                },
                {
                    "id": 8,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 9,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook"
                },
                {
                    "id": 7,
                    "cat": "Books/EBook",
                    "desc": "E-Book"
                },
                {
                    "id": 12,
                    "cat": "Other",
                    "desc": "Hobby"
                },
                {
                    "id": 16,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 3,
                    "cat": "Console",
                    "desc": "Game"
                },
                {
                    "id": 3,
                    "cat": "PC/Games",
                    "desc": "Game"
                },
                {
                    "id": 21,
                    "cat": "PC",
                    "desc": "Music Production"
                },
                {
                    "id": 21,
                    "cat": "Audio/Other",
                    "desc": "Music Production"
                },
                {
                    "id": 21,
                    "cat": "Other",
                    "desc": "Music Production"
                },
                {
                    "id": 11,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 13,
                    "cat": "TV",
                    "desc": "Deprecated - BoxSet"
                },
                {
                    "id": 14,
                    "cat": "PC/Games",
                    "desc": "Deprecated - Game"
                },
                {
                    "id": 15,
                    "cat": "Other",
                    "desc": "Deprecated - Education"
                },
                {
                    "id": 10,
                    "cat": "Movies/UHD",
                    "desc": "Deprecated - 4K Movie"
                },
                {
                    "id": 17,
                    "cat": "PC/0day",
                    "desc": "Deprecated - Linux"
                },
                {
                    "id": 18,
                    "cat": "PC/Mac",
                    "desc": "Deprecated - macOS"
                },
                {
                    "id": 19,
                    "cat": "Console",
                    "desc": "Deprecated - Consoles"
                },
                {
                    "id": 20,
                    "cat": "TV/Foreign",
                    "desc": "Deprecated - JPTV"
                },
                {
                    "id": 4,
                    "cat": "Console/Other",
                    "desc": "Deprecated - NSW Game"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://seedpool.org/\" target=\"_blank\">seedpool</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "tmdbidonly",
                "type": "checkbox",
                "label": "Disable IMDB and TVDB ID search (only support TMDB ID) to potentially improve Sonarr and Radarr results",
                "default": true
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ if .Config.tmdbidonly }}{{ else }}{{ .Query.IMDBIDShort }}{{ end }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ if .Config.tmdbidonly }}{{ else }}{{ .Query.TVDBID }}{{ end }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 864000
                }
            }
        }
    },
    "selezen": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "selezen",
        "name": "seleZen",
        "description": "seleZen is a RUSSIAN Semi-Private Torrent Tracker for MOVIES",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://use.selezen.club/",
            "https://www.selezen.club/",
            "https://open.selezen.org/",
            "https://www.selezen.top/",
            "https://open.selezen.top/"
        ],
        "legacylinks": [
            "https://www.selezen.site/",
            "https://mel.selezen.net/",
            "https://s1.selezen.site/",
            "https://www.selezen.net/",
            "https://selezen.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 0,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 40,
                    "cat": "Movies/BluRay",
                    "desc": "Blu-Ray"
                },
                {
                    "id": 78,
                    "cat": "Other",
                    "desc": "RePack от селезень"
                },
                {
                    "id": 45,
                    "cat": "Movies/HD",
                    "desc": "WEBRip 720p"
                },
                {
                    "id": 46,
                    "cat": "Movies/HD",
                    "desc": "WEBRip 1080p"
                },
                {
                    "id": 47,
                    "cat": "Movies/UHD",
                    "desc": "WEBRip 2160p"
                },
                {
                    "id": 48,
                    "cat": "Movies/HD",
                    "desc": "WEB-DL 720p"
                },
                {
                    "id": 49,
                    "cat": "Movies/HD",
                    "desc": "WEB-DL 1080p"
                },
                {
                    "id": 50,
                    "cat": "Movies/UHD",
                    "desc": "SDR WEB-DL 2160p"
                },
                {
                    "id": 51,
                    "cat": "Movies/UHD",
                    "desc": "HDR WEB-DL 2160p"
                },
                {
                    "id": 52,
                    "cat": "Movies/HD",
                    "desc": "BDRip 720p"
                },
                {
                    "id": 53,
                    "cat": "Movies/HD",
                    "desc": "BDRip 1080p"
                },
                {
                    "id": 54,
                    "cat": "Movies/UHD",
                    "desc": "SDR BDRip 2160p"
                },
                {
                    "id": 55,
                    "cat": "Movies/UHD",
                    "desc": "HDR BDRip 2160p"
                },
                {
                    "id": 56,
                    "cat": "Movies/HD",
                    "desc": "UHD BDRip 720p"
                },
                {
                    "id": 57,
                    "cat": "Movies/HD",
                    "desc": "UHD BDRip 1080p"
                },
                {
                    "id": 58,
                    "cat": "Movies/HD",
                    "desc": "BDRemux 1080p"
                },
                {
                    "id": 59,
                    "cat": "Movies/UHD",
                    "desc": "SDR BDRemux 2160p"
                },
                {
                    "id": 60,
                    "cat": "Movies/UHD",
                    "desc": "HDR BDRemux 2160p"
                },
                {
                    "id": 61,
                    "cat": "Movies/UHD",
                    "desc": "DV BDRemux 2160p"
                },
                {
                    "id": 62,
                    "cat": "Movies/HD",
                    "desc": "Blu-Ray 1080p"
                },
                {
                    "id": 63,
                    "cat": "Movies/UHD",
                    "desc": "Blu-Ray 2160p"
                },
                {
                    "id": 64,
                    "cat": "Movies/3D",
                    "desc": "3D BDRemux 1080p"
                },
                {
                    "id": 65,
                    "cat": "Movies/3D",
                    "desc": "3D Blu-Ray 1080p"
                },
                {
                    "id": 74,
                    "cat": "Movies/HD",
                    "desc": "WEBRip"
                },
                {
                    "id": 75,
                    "cat": "Movies/HD",
                    "desc": "BDRip"
                },
                {
                    "id": 76,
                    "cat": "Movies/HD",
                    "desc": "WEB-DLRip"
                },
                {
                    "id": 77,
                    "cat": "Movies/HD",
                    "desc": "HDRip"
                },
                {
                    "id": 69,
                    "cat": "Movies",
                    "desc": "WEB-DLRip-AVC"
                },
                {
                    "id": 70,
                    "cat": "Movies",
                    "desc": "HDRip-AVC"
                },
                {
                    "id": 71,
                    "cat": "Movies",
                    "desc": "BDRip-AVC"
                },
                {
                    "id": 72,
                    "cat": "Movies/HD",
                    "desc": "WEB-DLRip 720p"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "date",
                "options": {
                    "date": "created",
                    "title": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "login.html",
            "method": "form",
            "form": "form[role=\"form\"]",
            "inputs": {
                "login_name": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "login_not_save": "",
                "login": "submit"
            },
            "error": [
                {
                    "selector": "div.alert-warning:contains(\"Ошибка авторизации\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href$=\"/index.php?action=logout\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "index.php",
                    "followredirect": true
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}catlist[]={{.}}&{{end}}",
                "do": "search",
                "subaction": "search",
                "showposts": 1,
                "titleonly": "{{ if .Query.IMDBID }}0{{ else }}3{{ end }}",
                "story": "{{ if or .Query.IMDBID .Keywords }}{{ or .Query.IMDBID .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "sortby": "{{ .Config.sort }}",
                "resorder": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.card:has(h4):not(:has(a[href*=\"/news/\"])):has(a:has(span.bx-download))"
            },
            "fields": {
                "category": {
                    "selector": "h4",
                    "case": {
                        "h4:contains(\"WEBRip 720p\")": 45,
                        "h4:contains(\"WEBRip 1080p\")": 46,
                        "h4:contains(\"WEBRip 2160p\")": 47,
                        "h4:contains(\"SDR WEB-DL 2160p\")": 50,
                        "h4:contains(\"HDR WEB-DL 2160p\")": 51,
                        "h4:contains(\"WEB-DL 720p\")": 48,
                        "h4:contains(\"WEB-DL 1080p\")": 49,
                        "h4:contains(\"SDR BDRip 2160p\")": 54,
                        "h4:contains(\"HDR BDRip 2160p\")": 55,
                        "h4:contains(\"UHD BDRip 720p\")": 56,
                        "h4:contains(\"UHD BDRip 1080p\")": 57,
                        "h4:contains(\"SDR BDRemux 2160p\")": 59,
                        "h4:contains(\"HDR BDRemux 2160p\")": 60,
                        "h4:contains(\"DV BDRemux 2160p\")": 61,
                        "h4:contains(\"3D BDRemux 1080p\")": 64,
                        "h4:contains(\"3D Blu-Ray 1080p\")": 65,
                        "h4:contains(\"BDRemux 1080p\")": 58,
                        "h4:contains(\"Blu-Ray 1080p\")": 62,
                        "h4:contains(\"Blu-Ray 2160p\")": 63,
                        "h4:contains(\"BDRip 720p\")": 52,
                        "h4:contains(\"BDRip 1080p\")": 53,
                        "h4:contains(\"WEB-DLRip-AVC\")": 69,
                        "h4:contains(\"HDRip-AVC\")": 70,
                        "h4:contains(\"BDRip-AVC\")": 71,
                        "h4:contains(\"WEB-DLRip 720p\")": 72,
                        "h4:contains(\"WEBRip\")": 74,
                        "h4:contains(\"WEB-DLRip\")": 76,
                        "h4:contains(\"WEB-DL\")": 74,
                        "h4:contains(\"BDRip\")": 75,
                        "h4:contains(\"HDRip\")": 77,
                        "h4:contains(\"Blu-Ray\")": 40,
                        "h4:contains(\"RePack\")": 78,
                        "*": 0
                    }
                },
                "title": {
                    "selector": "h4",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bЛицензия\\b",
                                "Lic"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bселезень\\b",
                                "selezen"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a:has(h4)",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a:has(h4)",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img.card-img",
                    "attribute": "src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "div.cats",
                    "filters": [
                        {
                            "name": "validate",
                            "args": "Аниме, Биографический, Боевик, Вестерн, Военный, Детектив, Документальный, Драма, Исторический, Комедия, Короткометражный, Криминал, Мелодрама, Мистика, Музыкальный, Мультфильм, Приключения, Семейный, Спорт, Триллер, Ужасы, Фантастика, Фэнтези"
                        }
                    ]
                },
                "description": {
                    "selector": "p.card-text",
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ if .Result.genre }}</br>{{ .Result.genre }}{{ else }}{{ end }}"
                        }
                    ]
                },
                "date": {
                    "selector": "a:has(span.bx-calendar)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "d.MM.yyyy HH:mm zzz"
                        }
                    ]
                },
                "seeders": {
                    "selector": "a:has(i.bx-chevrons-up)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                " ",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "a:has(i.bx-chevrons-up)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                " ",
                                1
                            ]
                        }
                    ]
                },
                "grabs": {
                    "selector": "a:has(i.bx-chevrons-up)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                " ",
                                -1
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "a:has(span.bx-download)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "sewerpt": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "sewerpt",
        "name": "SewerPT",
        "description": "SewerPT (下水道) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://sewerpt.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影 / Movies"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧 / TV Series"
                },
                {
                    "id": 403,
                    "cat": "TV/Documentary",
                    "desc": "综艺 / TV Shows"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片 / Documentaries"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫 / Animations"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐 / Music"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他 / Misc"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the SewerPT Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Ultimate User and above will be retained forever</li><li>Veteran Users and above will not be deleted after parking (in the control panel)</li><li>Users with a parked account will be banned if they do not log in for 400 consecutive days</li><li>Users who do not log in for 30 consecutive days will be banned</li><li>Newly registered users with no traffic within 7 days, will be banned.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                },
                {
                    "selector": "td.embedded:has(:contains(\"两步验证\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }} {{ else }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }} {{ else }}{{ end }}{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if or .Query.IMDBID .Query.DoubanID }}1{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_free2up": 2,
                        "img.pro_50pctdown2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "case": {
                        "img[title=\"H&R\"]": 1,
                        "*": 0.4
                    }
                },
                "minimumseedtime": {
                    "case": {
                        "img[title=\"H&R\"]": 259200,
                        "*": 86400
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, font, img, span"
                }
            }
        }
    },
    "sextorrent-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "sextorrent-api",
        "name": "SexTorrent (API)",
        "description": "SexTorrent is a Private Torrent Tracker for 3X / MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://sextorrent.myds.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 4,
                    "cat": "XXX",
                    "desc": "Hardcore"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "Anal"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "Asian"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "BDSM"
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "Big.Tits"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "Busty"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "Creampie"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "Fetish"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Mature"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "Amateur"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Old and Young"
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "Milf"
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "Oral"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "Orgy GangBang"
                },
                {
                    "id": 18,
                    "cat": "XXX",
                    "desc": "Lesbian"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "Teen"
                },
                {
                    "id": 20,
                    "cat": "XXX/x264",
                    "desc": "HD High.Definition"
                },
                {
                    "id": 21,
                    "cat": "XXX/Other",
                    "desc": "Cartoon Hentai"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "Interracial"
                },
                {
                    "id": 23,
                    "cat": "XXX",
                    "desc": "Masturbate"
                },
                {
                    "id": 24,
                    "cat": "XXX/Other",
                    "desc": "Music.Video"
                },
                {
                    "id": 25,
                    "cat": "XXX",
                    "desc": "POV"
                },
                {
                    "id": 26,
                    "cat": "XXX",
                    "desc": "Shemale TS Trans.Sex"
                },
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "Straight"
                },
                {
                    "id": 28,
                    "cat": "XXX/Pack",
                    "desc": "Mega.PACK"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "VR - Porn"
                },
                {
                    "id": 30,
                    "cat": "XXX/ImageSet",
                    "desc": "Pictures XXX"
                },
                {
                    "id": 31,
                    "cat": "XXX",
                    "desc": "SiteRip"
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "Foreign"
                },
                {
                    "id": 33,
                    "cat": "XXX",
                    "desc": "Latina"
                },
                {
                    "id": 34,
                    "cat": "Console",
                    "desc": "Games All type"
                },
                {
                    "id": 35,
                    "cat": "Books/Mags",
                    "desc": "Magazines (Press.)"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "Feature"
                },
                {
                    "id": 37,
                    "cat": "XXX",
                    "desc": "Big-Ass"
                },
                {
                    "id": 38,
                    "cat": "XXX/Other",
                    "desc": "Other (all.mixt.)"
                },
                {
                    "id": 39,
                    "cat": "XXX",
                    "desc": "CumShot"
                },
                {
                    "id": 40,
                    "cat": "XXX",
                    "desc": "Black"
                },
                {
                    "id": 41,
                    "cat": "XXX",
                    "desc": "Piss"
                },
                {
                    "id": 42,
                    "cat": "XXX",
                    "desc": "Homemade"
                },
                {
                    "id": 43,
                    "cat": "XXX",
                    "desc": "Pregnant"
                },
                {
                    "id": 44,
                    "cat": "XXX",
                    "desc": "GAY"
                },
                {
                    "id": 45,
                    "cat": "XXX",
                    "desc": "Classic"
                },
                {
                    "id": 46,
                    "cat": "XXX",
                    "desc": "Threesome"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "Unsorted XXX Videos"
                },
                {
                    "id": 48,
                    "cat": "XXX",
                    "desc": "OnlyFans .com"
                },
                {
                    "id": 49,
                    "cat": "Other",
                    "desc": "Uncategorized Videos"
                },
                {
                    "id": 50,
                    "cat": "PC/Mobile-Other",
                    "desc": "Software for Mobiles"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://sextorrent.myds.me/\" target=\"_blank\">SexTorrent</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Inactive Account mean No trafic Up/Down, these will be wiped very fast."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "sexypics": {
        "id": "sexypics",
        "name": "Sexy-Pics",
        "description": "Sexy-Pics is a Public Magnet Links site for 3X MP4",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "followredirect": true,
        "requestDelay": 2,
        "links": [
            "https://www.sexy-pics.us/"
        ],
        "caps": {
            "categories": {
                "XXX": "XXX"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "age",
                "options": {
                    "age": "created",
                    "se": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "search": {
            "headers": {
                "Accept": [
                    "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
                ]
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        " ",
                        "-"
                    ]
                },
                {
                    "name": "tolower"
                }
            ],
            "paths": [
                {
                    "path": "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{ else }}browse/all/{{ end }}{{ .Config.sort }}/{{ .Config.type }}/"
                },
                {
                    "path": "{{ if .Keywords }}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{ else }}browse/all/{{ end }}{{ .Config.sort }}/{{ .Config.type }}/2/"
                }
            ],
            "rows": {
                "selector": "tr:has(td.m)"
            },
            "fields": {
                "category": {
                    "text": "XXX"
                },
                "title": {
                    "selector": "td.n a",
                    "attribute": "title"
                },
                "details": {
                    "selector": "td.n a",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "td.m a",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(3)",
                    "filters": [
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(5)"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td.s"
                },
                "leechers": {
                    "selector": "td.l"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "shadowbit": {
        "credentials": {
            "apikey": ""
        },
        "id": "shadowbit",
        "name": "Shadowbit",
        "description": "Shadowbit is a ratioless ROMANIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ro-RO",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://shadowbit.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1000,
                    "cat": "Console",
                    "desc": "Console"
                },
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2010,
                    "cat": "Movies/Foreign",
                    "desc": "Movies/Foreign"
                },
                {
                    "id": 2030,
                    "cat": "Movies/SD",
                    "desc": "Movies/SD"
                },
                {
                    "id": 2040,
                    "cat": "Movies/HD",
                    "desc": "Movies/HD"
                },
                {
                    "id": 2045,
                    "cat": "Movies/UHD",
                    "desc": "Movies/UHD"
                },
                {
                    "id": 2050,
                    "cat": "Movies/BluRay",
                    "desc": "Movies/BluRay"
                },
                {
                    "id": 2060,
                    "cat": "Movies/3D",
                    "desc": "Movies/3D"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 3020,
                    "cat": "Audio/Video",
                    "desc": "Audio/Video"
                },
                {
                    "id": 3040,
                    "cat": "Audio/Lossless",
                    "desc": "Audio/Lossless"
                },
                {
                    "id": 4000,
                    "cat": "PC",
                    "desc": "PC"
                },
                {
                    "id": 4040,
                    "cat": "PC/Mobile-Other",
                    "desc": "PC/Mobile-Other"
                },
                {
                    "id": 4050,
                    "cat": "PC/Games",
                    "desc": "PC/Games"
                },
                {
                    "id": 4060,
                    "cat": "PC/ISO",
                    "desc": "PC/Linux"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 5020,
                    "cat": "TV/Foreign",
                    "desc": "TV/Foreign"
                },
                {
                    "id": 5030,
                    "cat": "TV/SD",
                    "desc": "TV/SD"
                },
                {
                    "id": 5040,
                    "cat": "TV/HD",
                    "desc": "TV/HD"
                },
                {
                    "id": 5045,
                    "cat": "TV/UHD",
                    "desc": "TV/UHD"
                },
                {
                    "id": 5070,
                    "cat": "TV/Anime",
                    "desc": "TV/Anime"
                },
                {
                    "id": 6000,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 7000,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 7020,
                    "cat": "Books/EBook",
                    "desc": "Books/EBook"
                },
                {
                    "id": 8000,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q",
                    "year"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API Key"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API Key",
                "default": "You can find your API Key by accessing the <a href=\"https://shadowbit.cc/user_settings.php\" target=\"_blank\">Shadowbit Settings</a> page and copying your <b>Passkey</b>."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts will be pruned after 6 months. Use the parking feature if you need extended absence (up to 2 years)."
            }
        ],
        "login": {
            "path": "api/torznab",
            "method": "get",
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "caps"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "api/torznab",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "{{ if .Query.Year }}movie{{ else }}{{ end }}{{ if or .Query.Season .Query.Ep }}tvsearch{{ else }}{{ end }}{{ if or .Query.Year .Query.Season .Query.Ep }}{{ else }}search{{ end }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "year": "{{ .Query.Year }}",
                "limit": 100
            },
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title": {
                    "selector": "title"
                },
                "details": {
                    "text": "{{ .Config.sitelink }}"
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "infohash": {
                    "selector": "[name=infohash]",
                    "attribute": "value",
                    "optional": true
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "[name=size]",
                    "attribute": "value"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=peers]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "shakaw": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "shakaw",
        "name": "ShaKaw",
        "description": "ShaKaw is a BRAZILIAN Private Torrent Tracker for ANIME",
        "language": "pt-BR",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://tracker.shakaw.com.br/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 0,
                    "cat": "TV/Anime",
                    "desc": "Selecione"
                },
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Completo"
                },
                {
                    "id": 2,
                    "cat": "TV/Anime",
                    "desc": "Série"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Filme"
                },
                {
                    "id": 4,
                    "cat": "TV/Anime",
                    "desc": "OVA"
                },
                {
                    "id": 5,
                    "cat": "Books",
                    "desc": "Manga"
                },
                {
                    "id": 6,
                    "cat": "TV/Anime",
                    "desc": "Especial"
                },
                {
                    "id": 7,
                    "cat": "TV/Anime",
                    "desc": "Promo"
                },
                {
                    "id": 8,
                    "cat": "TV",
                    "desc": "Tokusatsu"
                },
                {
                    "id": 9,
                    "cat": "TV",
                    "desc": "Live Action"
                },
                {
                    "id": 12,
                    "cat": "TV",
                    "desc": "Dorama"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-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
            }
        ],
        "login": {
            "method": "form",
            "path": "entrar.php",
            "submitpath": "pagina_inicial.php?acao=login",
            "form": "form[action=\"pagina_inicial.php?acao=login\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"Carregando captcha...\"]",
                "input": "captcha"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "h1#h1_aviso",
                    "message": {
                        "selector": "div#div_aviso > p"
                    }
                }
            ],
            "test": {
                "path": "pagina_inicial.php",
                "selector": "a[href=\"sair.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "palavra_chave": "{{ .Keywords }}",
                "situacao": "{{ if .Config.freeleech }}golden{{ else }}selecione{{ end }}"
            },
            "rows": {
                "selector": "table#tabela_torrents > tbody > tr"
            },
            "fields": {
                "category": {
                    "selector": "div.div_categoria_torrent > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "categoria_id"
                        }
                    ]
                },
                "title": {
                    "selector": "a.link_torrent, a.link_golden_torrent"
                },
                "details": {
                    "selector": "a.link_torrent, a.link_golden_torrent",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.link_download",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "trim"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "h",
                                ":"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^(.{5})",
                                "$1 "
                            ]
                        },
                        {
                            "name": "append",
                            "args": " -03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "HH:mm dd/MM/yyyy zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td[title=\"Tamanho\"]"
                },
                "files": {
                    "selector": "td[title=\"Quantidade de Arquivos\"] > a"
                },
                "grabs": {
                    "selector": "td[title=\"Quantos Completaram\"]"
                },
                "seeders": {
                    "selector": "td[title=\"Quantidade de Seeders\"] > a"
                },
                "leechers": {
                    "selector": "td[title=\"Quantidade de Leechers\"] > a"
                },
                "genre": {
                    "selector": "div.tags_da_linha_da_tabela",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[(.+?)\\]"
                        }
                    ]
                },
                "description": {
                    "selector": "td:nth-child(10)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.icone_golden_torrent": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.6
                }
            }
        }
    },
    "shanaproject": {
        "id": "shanaproject",
        "name": "Shana Project",
        "description": "Shana Project is a Public torrent site for ANIME",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.shanaproject.com/"
        ],
        "settings": [
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "date",
                "options": {
                    "date": "created",
                    "ep": "episode",
                    "fsize": "size",
                    "title": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "Descending",
                "options": {
                    "Descending": "desc",
                    "Ascending": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Searching",
                "default": "This site only supports searching for Titles. Do not add a season or episode number, or a quality to your query."
            }
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "Anime",
                    "cat": "TV/Anime",
                    "desc": "Anime"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "search": {
            "paths": [
                {
                    "path": "search/"
                }
            ],
            "inputs": {
                "title": "{{ .Keywords }}",
                "subber": "",
                "sort": "{{ .Config.sort }}",
                "dir": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)(?:\\s?[SE]?\\d{1,4}){1,2}$",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "div.grid_12 > div[id^=\"rel\"]"
            },
            "fields": {
                "category": {
                    "text": "Anime"
                },
                "title": {
                    "selector": "div.release_leftover > div.release_text_contents",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(\\[.*\\]) (.*)",
                                "$2 $1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(.mkv)",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/download/\"]",
                    "attribute": "href"
                },
                "date_full": {
                    "selector": "div.release_20:contains(\".m.\"):contains(\":\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                ".",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Sept",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "July",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "June",
                                "Jun"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "April",
                                "Apr"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "March",
                                "Mar"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM d, yyyy, h:mm tt zzz"
                        }
                    ]
                },
                "date_abbr": {
                    "selector": "div.release_20:contains(\".m.\"):not(:contains(\":\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                ".",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Sept",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "July",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "June",
                                "Jun"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "April",
                                "Apr"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "March",
                                "Mar"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM d, yyyy, h tt zzz"
                        }
                    ]
                },
                "date_noon": {
                    "selector": "div.release_20:contains(\", noon\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                ".",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Sept",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "July",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "June",
                                "Jun"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "April",
                                "Apr"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "March",
                                "Mar"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                " noon",
                                " 12 pm"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM d, yyyy, h tt zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_full .Result.date_abbr .Result.date_noon }}{{ or .Result.date_full .Result.date_abbr .Result.date_noon }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "div.release_size"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "shareisland-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "shareisland-api",
        "name": "Shareisland (API)",
        "description": "Shareisland is a ITALIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "it-IT",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://shareisland.org/"
        ],
        "legacylinks": [
            "http://shareisland.org/",
            "http://www.shareisland.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 28,
                    "cat": "Movies",
                    "desc": "Foreign Movie"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Serie TV"
                },
                {
                    "id": 15,
                    "cat": "Books/EBook",
                    "desc": "Ebook"
                },
                {
                    "id": 26,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Book"
                },
                {
                    "id": 17,
                    "cat": "Books/Mags",
                    "desc": "Riviste e Giornali"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 7,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 23,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 24,
                    "cat": "TV/Sport",
                    "desc": "Eventi Sportivi"
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "Misc"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://shareisland.org/\" target=\"_blank\">Shareisland</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "After 60 days of no activity, your account will be automatically deleted."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\b([SE]\\d{1,4}){1,2}\\b",
                        ""
                    ]
                },
                {
                    "name": "diacritics",
                    "args": "replace"
                },
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[!\"#$%&'()*+,\\/:;<=>?@\\^`{|}~]",
                                " "
                            ]
                        },
                        {
                            "name": "diacritics",
                            "args": "replace"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[ ]{2,}",
                                " "
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bS(\\d+)\\sE(\\d+)\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d{2})x(\\d+)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1})x(\\d+)",
                                "S0$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStagion[ei]\\s?(\\d{1})\\b|\\bSeason'?s?\\s?(\\d{1})\\b",
                                "S0$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStagion[ei]\\s?(\\d{2,})\\b|\\bSeason'?s?\\s?(\\d{2,})\\b",
                                "S$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:[\\/\\|]?Episodio\\s?(\\d+)|Puntata\\s?(\\d+))",
                                "E$1$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:Puntate\\s*)(\\d+)\\s?(\\d+)",
                                "E0$1-0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Serie completa|Completat?a?|in pausa)",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(televisione film)",
                                "televisione_film"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 518400
                }
            }
        }
    },
    "showrss-yml": {
        "id": "showrss-yml",
        "name": "showRSS",
        "description": "showRSS is a service that allows you to keep track of your favorite TV shows",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://showrss.info/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/SD"
                },
                {
                    "id": 2,
                    "cat": "TV/HD"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [],
        "search": {
            "paths": [
                {
                    "path": "/other/all.rss",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "rows": {
                "selector": "rss > channel > item",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "raw_title",
                    "case": {
                        ":contains(\"720p\")": 2,
                        ":contains(\"1080p\")": 2,
                        "*": 1
                    }
                },
                "title": {
                    "selector": "raw_title"
                },
                "details": {
                    "text": "/"
                },
                "date": {
                    "selector": "pubDate"
                },
                "download": {
                    "selector": "link"
                },
                "size": {
                    "text": "512 MB"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "siambit": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "siambit",
        "name": "SiamBIT",
        "description": "SiamBIT is a THAI PAY2DL Private Torrent Tracker for GENERAL",
        "language": "th-TH",
        "type": "private",
        "encoding": "tis-620",
        "requestDelay": 2,
        "links": [
            "https://bearbit.org/"
        ],
        "legacylinks": [
            "https://www.siambit.me/",
            "https://siambit.io/",
            "https://thaibit.net/",
            "https://bearbit.co/",
            "https://bearbit.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Other",
                    "desc": "@พระมหากษัตริย์ (@King)",
                    "default": true
                },
                {
                    "id": 75,
                    "cat": "PC/0day",
                    "desc": "OS วินโดว์/ออฟฟิศ (OS Windows/Office)",
                    "default": true
                },
                {
                    "id": 10,
                    "cat": "TV/Anime",
                    "desc": "การ์ตูน/อนิเมชั่น (Cartoons/Animation)",
                    "default": true
                },
                {
                    "id": 9,
                    "cat": "TV/Sport",
                    "desc": "กีฬา/ฟุตบอล (Sports/Football)",
                    "default": true
                },
                {
                    "id": 110,
                    "cat": "PC/Games",
                    "desc": "เกมส์มือถือ (Mobile Games)",
                    "default": true
                },
                {
                    "id": 7,
                    "cat": "PC/Games",
                    "desc": "เกมส์ (Games)",
                    "default": true
                },
                {
                    "id": 40,
                    "cat": "Audio/Video",
                    "desc": "คลิป (Clips)",
                    "default": true
                },
                {
                    "id": 16,
                    "cat": "Audio/Video",
                    "desc": "คอนเสิร์ต (Concert)",
                    "default": true
                },
                {
                    "id": 3,
                    "cat": "Audio/Other",
                    "desc": "คาราโอเกะ/MV (Karaoke/MV)",
                    "default": true
                },
                {
                    "id": 70,
                    "cat": "PC",
                    "desc": "ซอฟต์แวร์ AntiVirus/Antispyware (Software AntiVirus/Antispyware)",
                    "default": true
                },
                {
                    "id": 100,
                    "cat": "PC/Mobile-Other",
                    "desc": "ซอฟต์แวร์ มือถือ/ธีม/ริงโทน/mv (Software Mobile/Theme/Ringtone/MV)",
                    "default": true
                },
                {
                    "id": 85,
                    "cat": "PC/Mac",
                    "desc": "ซอฟต์แวร์ แม็ค (Mac Software)",
                    "default": true
                },
                {
                    "id": 105,
                    "cat": "PC",
                    "desc": "ซอฟต์แวร์ ลินุกซ์ (Linux Software)",
                    "default": true
                },
                {
                    "id": 8,
                    "cat": "PC",
                    "desc": "ซอฟต์แวร์ (Software)",
                    "default": true
                },
                {
                    "id": 56,
                    "cat": "Other",
                    "desc": "ดิกชันเนอรี่/แผนที่ (Dictionary/Map)",
                    "default": true
                },
                {
                    "id": 19,
                    "cat": "TV",
                    "desc": "ทอล์คโชว์/ตลก/วิทยุ (Talk Show/Comedy/Radio)",
                    "default": true
                },
                {
                    "id": 20,
                    "cat": "TV",
                    "desc": "ทั่วไป (General)",
                    "default": true
                },
                {
                    "id": 55,
                    "cat": "PC/Mobile-iOS",
                    "desc": "แท็ปเล็ต/iPhone (Tablet/iPhone)",
                    "default": true
                },
                {
                    "id": 21,
                    "cat": "TV",
                    "desc": "ธรรมะ (Dharma)",
                    "default": true
                },
                {
                    "id": 2,
                    "cat": "Audio/MP3",
                    "desc": "เพลง (Music)",
                    "default": true
                },
                {
                    "id": 130,
                    "cat": "Audio/Audiobook",
                    "desc": "เพลงคุณภาพสูง (Lossless) (High Quality Music (Lossless))",
                    "default": true
                },
                {
                    "id": 60,
                    "cat": "Other",
                    "desc": "ฟอนต์/ไอคอน/คลิปอาร์ท/เทมเพลท (Fonts/Icons/Clip Art/Templates)",
                    "default": true
                },
                {
                    "id": 90,
                    "cat": "Movies/UHD",
                    "desc": "ภาพยนตร์ 4K UHD (4K UHD Movies)",
                    "default": true
                },
                {
                    "id": 91,
                    "cat": "Movies/DVD",
                    "desc": "ภาพยนตร์ DVD (DVD Movies)",
                    "default": true
                },
                {
                    "id": 92,
                    "cat": "Movies/HD",
                    "desc": "ภาพยนตร์ Hi-Def (Hi-Def Movies)",
                    "default": true
                },
                {
                    "id": 89,
                    "cat": "Movies/SD",
                    "desc": "ภาพยนตร์ VCD (VCD Movies)",
                    "default": true
                },
                {
                    "id": 93,
                    "cat": "TV",
                    "desc": "แม่และเด็ก@/สื่อเรียนรู้สำหรับเด็ก (Mother and Child@/Learning Materials for Children)",
                    "default": true
                },
                {
                    "id": 4,
                    "cat": "TV",
                    "desc": "รายการทีวี/วาไรตี้/เกมโชว์ (TV Shows/Variety/Game Shows)",
                    "default": true
                },
                {
                    "id": 50,
                    "cat": "Other",
                    "desc": "รูปภาพ (Images)",
                    "default": true
                },
                {
                    "id": 18,
                    "cat": "Other",
                    "desc": "เว็บไซต์ (Website)",
                    "default": true
                },
                {
                    "id": 17,
                    "cat": "TV/Documentary",
                    "desc": "สารคดี (Documentary)",
                    "default": true
                },
                {
                    "id": 11,
                    "cat": "Books/Technical",
                    "desc": "สื่อเรียนรู้/หนังสือ/Ebook (Learning Materials/Books/Ebook)",
                    "default": true
                },
                {
                    "id": 5,
                    "cat": "TV",
                    "desc": "หนังชุด/ซีรีส์ [เกาหลี] (Movies/Series [Korea])",
                    "default": true
                },
                {
                    "id": 54,
                    "cat": "TV",
                    "desc": "หนังชุด/ซีรีส์ [จีน] (Movies/Series [China])",
                    "default": true
                },
                {
                    "id": 51,
                    "cat": "TV",
                    "desc": "หนังชุด/ซีรีส์ [ญี่ปุ่น] (Movies/Series [Japan])",
                    "default": true
                },
                {
                    "id": 52,
                    "cat": "TV",
                    "desc": "หนังชุด/ซีรีส์ [ฝรั่ง] (Movies/Series [Western])",
                    "default": true
                },
                {
                    "id": 57,
                    "cat": "TV",
                    "desc": "หนังชุด/ซีรีส์ [อื่นๆ] (Movies/Series [other])",
                    "default": true
                },
                {
                    "id": 53,
                    "cat": "TV",
                    "desc": "หนังชุด/ซีรีส์/ละคร [ไทย] (Movie Series/Series/Drama [Thai])",
                    "default": true
                },
                {
                    "id": 901,
                    "cat": "XXX",
                    "desc": "XXX-Anime",
                    "default": false
                },
                {
                    "id": 902,
                    "cat": "XXX",
                    "desc": "XXX-Game",
                    "default": false
                },
                {
                    "id": 903,
                    "cat": "XXX",
                    "desc": "XXX-Japan censored",
                    "default": false
                },
                {
                    "id": 904,
                    "cat": "XXX",
                    "desc": "XXX-Japan",
                    "default": false
                },
                {
                    "id": 905,
                    "cat": "XXX",
                    "desc": "XXX-Guava",
                    "default": false
                },
                {
                    "id": 906,
                    "cat": "XXX",
                    "desc": "XXX-Asia censored",
                    "default": false
                },
                {
                    "id": 907,
                    "cat": "XXX",
                    "desc": "XXX-Asia",
                    "default": false
                },
                {
                    "id": 908,
                    "cat": "XXX",
                    "desc": "XXX-Gay",
                    "default": false
                },
                {
                    "id": 910,
                    "cat": "XXX",
                    "desc": "XXX-clip",
                    "default": false
                },
                {
                    "id": 911,
                    "cat": "XXX",
                    "desc": "XXX-pictures",
                    "default": false
                },
                {
                    "id": 912,
                    "cat": "XXX",
                    "desc": "XXX-magazine",
                    "default": false
                }
            ],
            "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": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 15,
                "options": {
                    "15": "created",
                    "8": "seeders",
                    "5": "size",
                    "1": "title desc",
                    "14": "title asc"
                }
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting the error <b>Found no results while trying to browse this tracker</b> then the most likely reason is that you have <b>Important news from the team</b> on the Web Site that must be read before you can proceed to the torrent search page."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Accounts can use the park system for up to 180 days."
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.text"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "before": {
                "path": "ajax.php",
                "method": "get",
                "inputs": {
                    "action": "say_thanks",
                    "id": "{{ .DownloadUri.Query.id }}"
                }
            },
            "selectors": [
                {
                    "selector": "a[href^=\"downloadnew.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "viewno18sbx.php",
                    "categories": [
                        1,
                        75,
                        10,
                        9,
                        110,
                        7,
                        40,
                        16,
                        3,
                        70,
                        100,
                        85,
                        105,
                        8,
                        56,
                        19,
                        20,
                        55,
                        21,
                        2,
                        130,
                        60,
                        90,
                        91,
                        92,
                        89,
                        93,
                        4,
                        50,
                        18,
                        17,
                        11,
                        5,
                        54,
                        51,
                        52,
                        57,
                        53
                    ]
                },
                {
                    "path": "viewbrsb.php",
                    "categories": [
                        901,
                        902,
                        903,
                        904,
                        905,
                        906,
                        907,
                        908,
                        910,
                        911,
                        912
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "searchin": 0,
                "sortby": "{{ .Config.sort }}"
            },
            "rows": {
                "selector": "table[width=\"100%\"][border=1][cellspacing=0][cellpadding=5] > tbody > tr:has(a[href*=\"hashinfo=\"]){{ if .Config.freeleech }}:has(td:nth-child(3):contains(\"100%\")){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\".php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[alt=\"Poster\"]",
                    "attribute": "src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(6)"
                },
                "date": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyyHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(8)"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "seeders": {
                    "selector": "td:nth-child(10)"
                },
                "leechers": {
                    "selector": "td:nth-child(11)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "td:nth-child(4):contains(\"100%\")": 0,
                        "td:nth-child(4):contains(\"95%\")": 0.05,
                        "td:nth-child(4):contains(\"90%\")": 0.1,
                        "td:nth-child(4):contains(\"85%\")": 0.15,
                        "td:nth-child(4):contains(\"80%\")": 0.2,
                        "td:nth-child(4):contains(\"75%\")": 0.25,
                        "td:nth-child(4):contains(\"70%\")": 0.3,
                        "td:nth-child(4):contains(\"65%\")": 0.35,
                        "td:nth-child(4):contains(\"60%\")": 0.4,
                        "td:nth-child(4):contains(\"55%\")": 0.45,
                        "td:nth-child(4):contains(\"50%\")": 0.5,
                        "td:nth-child(4):contains(\"45%\")": 0.55,
                        "td:nth-child(4):contains(\"40%\")": 0.6,
                        "td:nth-child(4):contains(\"35%\")": 0.65,
                        "td:nth-child(4):contains(\"30%\")": 0.7,
                        "td:nth-child(4):contains(\"25%\")": 0.75,
                        "td:nth-child(4):contains(\"20%\")": 0.8,
                        "td:nth-child(4):contains(\"15%\")": 0.85,
                        "td:nth-child(4):contains(\"10%\")": 0.9,
                        "td:nth-child(4):contains(\"5%\")": 0.95,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "td:nth-child(5):contains(\"x2\")": 2,
                        "td:nth-child(5):contains(\"x3\")": 3,
                        "td:nth-child(5):contains(\"x4\")": 4,
                        "td:nth-child(5):contains(\"x5\")": 5,
                        "td:nth-child(5):contains(\"x6\")": 6,
                        "td:nth-child(5):contains(\"x7\")": 7,
                        "td:nth-child(5):contains(\"x8\")": 8,
                        "td:nth-child(5):contains(\"x9\")": 9,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "siqi": {
        "credentials": {
            "cookie": ""
        },
        "id": "siqi",
        "name": "Siqi",
        "description": "Siqi is a CHINESE Private Tracker for HD image BOOKS and E-BOOKS",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://si-qi.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 411,
                    "cat": "Books/Comics",
                    "desc": "漫画 (Comics)"
                },
                {
                    "id": 417,
                    "cat": "Books/Technical",
                    "desc": "软件 (Software)"
                },
                {
                    "id": 416,
                    "cat": "Books/EBook",
                    "desc": "摄影 (Photography)"
                },
                {
                    "id": 415,
                    "cat": "Books/Technical",
                    "desc": "工具书 (Reference Books)"
                },
                {
                    "id": 414,
                    "cat": "Books/Mags",
                    "desc": "杂志 (Magazines)"
                },
                {
                    "id": 413,
                    "cat": "Other",
                    "desc": "图片集 (Photo Albums)"
                },
                {
                    "id": 412,
                    "cat": "Books/Comics",
                    "desc": "连环画 (Comic Strips)"
                },
                {
                    "id": 418,
                    "cat": "Books/EBook",
                    "desc": "插图书 (Illustrated Books)"
                },
                {
                    "id": 401,
                    "cat": "Books/Technical",
                    "desc": "教学 (Instructional)"
                },
                {
                    "id": 409,
                    "cat": "Books/Other",
                    "desc": "其他 (Others)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "skidrowrepack": {
        "id": "skidrowrepack",
        "name": "SkidrowRepack",
        "description": "SkidrowRepack is a Public Torrent Tracker for GAMES",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://skidrowrepack.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 9,
                    "cat": "PC/Games",
                    "desc": "Action"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Adventure"
                },
                {
                    "id": 21,
                    "cat": "PC/Games",
                    "desc": "Online Games"
                },
                {
                    "id": 11,
                    "cat": "PC/Games",
                    "desc": "Arcade"
                },
                {
                    "id": 12,
                    "cat": "PC/Games",
                    "desc": "Fighting"
                },
                {
                    "id": 13,
                    "cat": "PC/Games",
                    "desc": "Horror"
                },
                {
                    "id": 14,
                    "cat": "PC/Games",
                    "desc": "Logic, Puzzle"
                },
                {
                    "id": 15,
                    "cat": "PC/Games",
                    "desc": "Racing"
                },
                {
                    "id": 16,
                    "cat": "PC/Games",
                    "desc": "RPG"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Shooters"
                },
                {
                    "id": 18,
                    "cat": "PC/Games",
                    "desc": "Simulator"
                },
                {
                    "id": 19,
                    "cat": "PC/Games",
                    "desc": "Sports"
                },
                {
                    "id": 20,
                    "cat": "PC/Games",
                    "desc": "Strategy"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a.dwn-load",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}catlist[]={{.}}&{{end}}",
                "do": "search",
                "subaction": "search",
                "search_start": 0,
                "full_search": 1,
                "result_from": 1,
                "showposts": 1,
                "titleonly": "{{ if .Keywords }}3{{ else }}0{{ end }}",
                "searchdate": 0,
                "story": "{{ if .Keywords }}{{ .Keywords }}{{ else }}game{{ end }}",
                "sortby": "date",
                "resorder": "desc"
            },
            "rows": {
                "selector": "div.mov"
            },
            "fields": {
                "category": {
                    "text": 9
                },
                "title": {
                    "selector": "a.mov-t"
                },
                "details": {
                    "selector": "a.mov-t",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.mov-t",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "size": {
                    "text": "4 GB"
                },
                "date": {
                    "text": "now"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "skipthecommercials-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "skipthecommercials-api",
        "name": "SkipTheCommercials (API)",
        "description": "SkipTheCommercials (STC) is a Private Torrent Tracker for TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://skipthecommercials.xyz/"
        ],
        "legacylinks": [
            "https://skipthecommericals.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV Show"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://skipthecommericals.xyz/\" target=\"_blank\">SkipTheCommercials</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "You must be seeding at least 1 torrent or login once every 90 days to not get pruned. Once pruned, you will get additional 30 days to reactivate your account by logging in."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 345600
                }
            }
        }
    },
    "sktorrent": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "sktorrent",
        "name": "Sk-CzTorrent",
        "description": "Sk-CzTorrent is a CZECH/SLOVAK Semi-Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "cs-CZ",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://sktorrent.eu/"
        ],
        "legacylinks": [
            "http://sktorrent.eu/torrent/",
            "http://sktorrent.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "xXx"
                },
                {
                    "id": 23,
                    "cat": "Books",
                    "desc": "Knihy a Časopisy"
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "Ostatní"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Filmy CZ/SK dabing"
                },
                {
                    "id": 5,
                    "cat": "Movies",
                    "desc": "Filmy Kreslené"
                },
                {
                    "id": 14,
                    "cat": "Movies/Other",
                    "desc": "Filmy Kamera"
                },
                {
                    "id": 15,
                    "cat": "Movies",
                    "desc": "Filmy s titulkama"
                },
                {
                    "id": 20,
                    "cat": "Movies/DVD",
                    "desc": "Filmy DVD"
                },
                {
                    "id": 31,
                    "cat": "Movies",
                    "desc": "Filmy bez titulků"
                },
                {
                    "id": 3,
                    "cat": "Movies/3D",
                    "desc": "Filmy 3D"
                },
                {
                    "id": 19,
                    "cat": "Movies/HD",
                    "desc": "Filmy HD"
                },
                {
                    "id": 28,
                    "cat": "Movies/BluRay",
                    "desc": "Filmy Blu-ray"
                },
                {
                    "id": 29,
                    "cat": "Movies/3D",
                    "desc": "Filmy 3D Blu-ray"
                },
                {
                    "id": 43,
                    "cat": "Movies/UHD",
                    "desc": "Filmy UHD"
                },
                {
                    "id": 18,
                    "cat": "PC/Games",
                    "desc": "Hry na Windows"
                },
                {
                    "id": 30,
                    "cat": "PC/Games",
                    "desc": "Hry na Konzole"
                },
                {
                    "id": 37,
                    "cat": "PC/Games",
                    "desc": "Hry na Linux"
                },
                {
                    "id": 59,
                    "cat": "PC/Games",
                    "desc": "Hry na Mac"
                },
                {
                    "id": 60,
                    "cat": "PC/Games",
                    "desc": "xXx hry (18+)"
                },
                {
                    "id": 63,
                    "cat": "PC/Games",
                    "desc": "VR Hry"
                },
                {
                    "id": 16,
                    "cat": "TV",
                    "desc": "TV Seriál"
                },
                {
                    "id": 17,
                    "cat": "TV/Documentary",
                    "desc": "TV Dokument"
                },
                {
                    "id": 42,
                    "cat": "TV",
                    "desc": "TV Pořad"
                },
                {
                    "id": 44,
                    "cat": "TV/Sport",
                    "desc": "TV Sport"
                },
                {
                    "id": 2,
                    "cat": "Audio",
                    "desc": "Hudba"
                },
                {
                    "id": 22,
                    "cat": "Audio",
                    "desc": "Hudba DJ's Mix"
                },
                {
                    "id": 24,
                    "cat": "Audio",
                    "desc": "Mluvené slovo"
                },
                {
                    "id": 26,
                    "cat": "Audio/Video",
                    "desc": "Hudební videa"
                },
                {
                    "id": 45,
                    "cat": "Audio",
                    "desc": "Soundtrack"
                },
                {
                    "id": 21,
                    "cat": "PC",
                    "desc": "Programy"
                },
                {
                    "id": 27,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil, PDA"
                },
                {
                    "id": 58,
                    "cat": "Other",
                    "desc": "Neschválené"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "genre"
                ],
                "movie-search": [
                    "q",
                    "genre"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            }
        ],
        "login": {
            "path": "torrent/login.php",
            "method": "form",
            "form": "form[action^=\"login.php?returnto=index.php\"]",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "font:contains(\"Incorrect\")"
                }
            ],
            "test": {
                "path": "torrent/index.php",
                "selector": "a[href^=\"usercp.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrent/torrents.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "category": "{{ range .Categories }}{{.}};{{end}}",
                "active": 0,
                "zaner": "{{ .Query.Genre }}"
            },
            "keywordsfilters": [
                {
                    "name": "diacritics",
                    "args": "replace"
                }
            ],
            "rows": {
                "selector": "table.lista > tbody > tr > td > table.lista > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrents.php?category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^VA\\s*\\|",
                                "VA -"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^.*? \\/\\s*|^.*? \\|\\s*",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\|\\s*\\d+\\% CSFD\\.cz\\/|\\s*=*\\s*CSFD\\s*\\d+\\%|\\s*CSFD\\s*=*\\s*\\d+\\%|\\s*CSFD",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\d{1})\\s*\\.*\\s*az*\\s*(\\d{2,})\\s*\\.*\\s(?i)serie\\.*",
                                "S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\d{1})\\s*\\.*\\s*az*\\s*(\\d{1})\\s*\\.*\\s(?i)serie\\.*",
                                "S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)serie\\s*(\\d{1})\\s*\\.*\\s*az*\\s*(\\d{2,})\\s*\\.*",
                                "S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)serie\\s*(\\d{1})\\s*\\.*\\s*az*\\s*(\\d{1})\\s*\\.*",
                                "S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)season\\,*\\s*(\\d{1})\\,\\s*\\d{1}\\,\\s*(\\d{2,})",
                                "S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)season\\,*\\s*(\\d{1})\\,\\s*\\d{1}\\,\\s*(\\d{1})",
                                "S0$1-S0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)season\\s*(\\d{1})\\s*\\.*\\-*\\,*\\+*\\s*(\\d{2,})\\s*\\.*",
                                "S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)season\\s*(\\d{1})\\s*\\.*\\-*\\,*\\+*\\s*(\\d{1})\\s*\\.*",
                                "S0$1-S0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^GRID\\:*\\s(?i)season",
                                "GRID Seasson"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)season\\s*(\\d{2,})\\.*",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)season\\s*(\\d{1})\\.*",
                                "S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "GRID Seasson",
                                "GRID Season"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\sPES\\s(\\d{4})\\s(?i)season",
                                " PES $1 Seasson"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{2,})\\.*\\s*(?i)season\\)*",
                                " S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\s*\\.*\\-*\\,*\\+*\\s*(\\d{2,})\\.*\\s(?i)season\\)*",
                                " S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\s*\\.*\\-*\\,*\\+*\\s*(\\d{1})\\.*\\s(?i)season\\)*",
                                " S0$1-S0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\.*\\s*(?i)season\\)*",
                                " S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                " PES (\\d{4}) Seasson",
                                " PES $1 Season"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\,\\s*\\d{1}\\,\\s*(\\d{2,})\\,*\\s*(?i)serie\\)*",
                                " S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\,\\s*\\d{1}\\,\\s*(\\d{1})\\,*\\s*(?i)serie\\)*",
                                " S0$1-S0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{2,})\\.*\\s*(?i)serie\\)*",
                                " S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\s*\\.*\\-*\\,*\\+*\\s*(\\d{2,})\\.*\\s(?i)serie\\)*",
                                " S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\s*\\.*\\-*\\,*\\+*\\s*(\\d{1})\\.*\\s(?i)serie\\)*",
                                " S0$1-S0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\.*\\s*(?i)serie\\)*",
                                " S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\,\\s*\\d{1}\\,\\s*(\\d{2,})\\,*\\s*(?i)seria\\)*",
                                " S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\,\\s*\\d{1}\\,\\s*(\\d{1})\\,*\\s*(?i)seria\\)*",
                                " S0$1-S0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\d{2,}\\.*\\s*(?i)seria\\s\\((?i)s(\\d{2,})",
                                " (S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\s*\\.*\\-*\\,*\\+*\\s*(\\d{2,})\\.*\\s(?i)seria\\)*",
                                " S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\s*\\.*\\-*\\,*\\+*\\s*(\\d{1})\\.*\\s(?i)seria\\)*",
                                " S0$1-S0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{2,})\\.*\\s*(?i)seria\\)*",
                                " S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\(*(\\d{1})\\.*\\s*(?i)seria\\)*",
                                " S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\d{1}\\.*\\s*(?i)seria\\s*\\((?i)s(\\d{1})",
                                " (S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\d{2,})\\.*\\s*(?i)serii\\)*",
                                "S01-S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\d{1})\\.*\\s*(?i)serii\\)*",
                                "S01-S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)pouze (\\d{1})\\-(\\d{2,})",
                                "pouze S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)pouze (\\d{1})\\-(\\d{1})",
                                "pouze S0$1-S0$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)komplet (\\d{1})\\-(\\d{2,})",
                                "komplet S0$1-S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)komplet (\\d{1})\\-(\\d{1})",
                                "komplet S0$1-S0$2"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"#\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.+?) width"
                        },
                        {
                            "name": "prepend",
                            "args": "https:"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(3)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Velkost (.+?) \\|"
                        }
                    ]
                },
                "date": {
                    "selector": "td:nth-child(3)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Pridany (\\d{2}/\\d{2}/\\d{4} o \\d{2}:\\d{2})"
                        },
                        {
                            "name": "replace",
                            "args": [
                                " o ",
                                " "
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy HH:mm zzz"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "genre": {
                    "selector": "td:nth-child(3)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "\n",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "\t",
                                " "
                            ]
                        },
                        {
                            "name": "validate",
                            "args": "Akcni, Animovany, Dobrodruzny, Dokumentarny, Drama, Eroticky, Experimentalni, Fantasy, Historicky, Horor, Hudebni, Katastroficky, Komedie, Kratkometrazni, Krimi, Loutkovy, Muzikal, Mysteriozni, Pohadka, Povidkovy, Psychologicky, Publicisticky, Reality-TV, Road-Movie, Rodinny, Romanticky, Sci-Fi, Soutezni, Sportovni, Talk-show, Telenovela, Thriller, Valecny, Western, Zivotopisny"
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.51
                }
            }
        }
    },
    "sktorrent-org": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "sktorrent-org",
        "name": "SkTorrent.org",
        "description": "SkTorrent.org is a Semi-Private torrent site for MOVIES / TV/ GENERAL",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://sktorrent.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 18,
                    "cat": "PC/0day",
                    "desc": "Application - PC"
                },
                {
                    "id": 19,
                    "cat": "PC/Mac",
                    "desc": "Application - Mac"
                },
                {
                    "id": 21,
                    "cat": "PC/Mobile-Other",
                    "desc": "Application - Other"
                },
                {
                    "id": 47,
                    "cat": "PC/Mobile-Android",
                    "desc": "Application - Android"
                },
                {
                    "id": 61,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio - Audio books"
                },
                {
                    "id": 60,
                    "cat": "Audio",
                    "desc": "Audio - Music"
                },
                {
                    "id": 63,
                    "cat": "Audio/Lossless",
                    "desc": "Audio - Flac"
                },
                {
                    "id": 64,
                    "cat": "Audio/Other",
                    "desc": "Audio - Other"
                },
                {
                    "id": 9,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries - Other"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Games - PC"
                },
                {
                    "id": 11,
                    "cat": "Console/PS3",
                    "desc": "Games - PSX"
                },
                {
                    "id": 13,
                    "cat": "Console/XBox 360",
                    "desc": "Games - Xbox360"
                },
                {
                    "id": 66,
                    "cat": "Console/Other",
                    "desc": "Games - Other"
                },
                {
                    "id": 65,
                    "cat": "Console/Other",
                    "desc": "Games - Android"
                },
                {
                    "id": 1,
                    "cat": "Movies/DVD",
                    "desc": "Movies - DVD"
                },
                {
                    "id": 2,
                    "cat": "Movies/SD",
                    "desc": "Movies - Divx/Xvid"
                },
                {
                    "id": 42,
                    "cat": "Movies/HD",
                    "desc": "Movies - HD"
                },
                {
                    "id": 4,
                    "cat": "Movies/Other",
                    "desc": "Movies - Other"
                },
                {
                    "id": 49,
                    "cat": "Movies/3D",
                    "desc": "Movies - 3D"
                },
                {
                    "id": 48,
                    "cat": "Movies/BluRay",
                    "desc": "Movies - Blu-ray"
                },
                {
                    "id": 70,
                    "cat": "Movies/UHD",
                    "desc": "Movies - 4K"
                },
                {
                    "id": 22,
                    "cat": "Audio/MP3",
                    "desc": "Music - MP3"
                },
                {
                    "id": 24,
                    "cat": "Audio/Video",
                    "desc": "Music - DVD"
                },
                {
                    "id": 27,
                    "cat": "Audio/Other",
                    "desc": "Music - Other"
                },
                {
                    "id": 35,
                    "cat": "Audio",
                    "desc": "Music - Album"
                },
                {
                    "id": 36,
                    "cat": "Books/EBook",
                    "desc": "Other - E-books"
                },
                {
                    "id": 53,
                    "cat": "Other",
                    "desc": "Other - Other"
                },
                {
                    "id": 51,
                    "cat": "Books/Mags",
                    "desc": "Other - Magazines"
                },
                {
                    "id": 50,
                    "cat": "Books",
                    "desc": "Other - Books"
                },
                {
                    "id": 56,
                    "cat": "XXX/WMV",
                    "desc": "Porn - Video"
                },
                {
                    "id": 55,
                    "cat": "XXX",
                    "desc": "Porn - Movie"
                },
                {
                    "id": 54,
                    "cat": "XXX/ImageSet",
                    "desc": "Porn - Picture"
                },
                {
                    "id": 68,
                    "cat": "XXX/Other",
                    "desc": "Porn - Other"
                },
                {
                    "id": 69,
                    "cat": "XXX/ImageSet",
                    "desc": "All - All"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "TV - Divx/Xvid"
                },
                {
                    "id": 41,
                    "cat": "TV/HD",
                    "desc": "TV - HD"
                },
                {
                    "id": 59,
                    "cat": "TV/HD",
                    "desc": "TV - Full HD"
                }
            ],
            "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": "id",
                "options": {
                    "id": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "account-login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.myFrame:contains(\"Access Denied\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"account-logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents-search.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "cat": 0,
                "incldead": 1,
                "freeleech": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "inclexternal": 0,
                "lang": 0,
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(\\w+)",
                        "+$1"
                    ]
                }
            ],
            "rows": {
                "selector": "tr.t-row:has(a[href^=\"download.php?id=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "td a[href^=\"torrents.php?cat=\"]",
                    "optional": true,
                    "default": 53,
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "td a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "td a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "slobitgames": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "slobitgames",
        "name": "Slobit Games",
        "description": "Slobit Games is a Private Torrent Tracker for GAMES",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://games.slo-bitcloud.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Games - PC"
                },
                {
                    "id": 11,
                    "cat": "Console/PS3",
                    "desc": "Games - PS2"
                },
                {
                    "id": 12,
                    "cat": "Console/PSP",
                    "desc": "Games - PSP"
                },
                {
                    "id": 43,
                    "cat": "Console/PS3",
                    "desc": "Games - PS3"
                },
                {
                    "id": 13,
                    "cat": "Console/XBox",
                    "desc": "Games - Xbox"
                },
                {
                    "id": 14,
                    "cat": "Console/XBox 360",
                    "desc": "Games - Xbox360"
                },
                {
                    "id": 15,
                    "cat": "Console/PS3",
                    "desc": "Games - PS1"
                },
                {
                    "id": 44,
                    "cat": "Console/Wii",
                    "desc": "Games - Wii"
                },
                {
                    "id": 45,
                    "cat": "Console/NDS",
                    "desc": "Games - DS"
                },
                {
                    "id": 46,
                    "cat": "Console/Other",
                    "desc": "Games - GameCube"
                },
                {
                    "id": 27,
                    "cat": "Other",
                    "desc": "Music - Other"
                },
                {
                    "id": 33,
                    "cat": "PC",
                    "desc": "Other - Emulation"
                },
                {
                    "id": 28,
                    "cat": "Console/PS4",
                    "desc": "PS4 - PS4"
                },
                {
                    "id": 47,
                    "cat": "Console/PS4",
                    "desc": "PS5 - PS"
                }
            ],
            "modes": {
                "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": "id",
                "options": {
                    "id": "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_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting <b>0 results</b> then access the site with your browser and <b>mark as read</b> all PMs."
            }
        ],
        "login": {
            "path": "account-login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.myFrame:contains(\"Access denied\")",
                    "message": {
                        "text": "The specified username or password was incorrect."
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"account-logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents-search.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "cat": 0,
                "incldead": 1,
                "freeleech": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "inclexternal": 0,
                "lang": 0,
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.ttable_headinner > tbody > tr.t-row",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrents.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "date": {
                    "text": "now"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "description": {
                    "selector": "td:nth-child(11)",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "Wait: "
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.badge-free": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "snowpt": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "snowpt",
        "name": "SnowPT",
        "description": "SnowPT (SSPT) is a CHINESE Private Torrent Tracker for ANIME",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://skyeysnow.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[id^=\"loginform_\"]",
            "inputs": {
                "referer": "/",
                "loginfield": "username",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "cookietime": 2592000
            },
            "error": [
                {
                    "selector": "div#messagetext:contains(\"登录失败\") p"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href*=\"action=logout&formhash=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "forum.php"
                }
            ],
            "inputs": {
                "mod": "torrents",
                "cat": 1,
                "search": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"/download.php?id=\"]){{ if .Config.freeleech }}:has(img.sp_4){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title_default": {
                    "selector": "a[href^=\"/forum.php?mod=viewthread&tid=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"/forum.php?mod=viewthread&tid=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"/forum.php?mod=viewthread&tid=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/download.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(3) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(3):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-child(5)"
                },
                "leechers": {
                    "selector": "td:nth-child(6)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.sp_4": 0,
                        "img.sp_2": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "*": 1
                    }
                }
            }
        }
    },
    "sosulki": {
        "id": "sosulki",
        "name": "sosulki",
        "description": "sosulki is a RUSSIAN Public Torrent Tracker for 3X",
        "language": "ru-RU",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://sosulki.bosk.cc/"
        ],
        "legacylinks": [
            "http://sosulki.net/",
            "http://sosulki.com/",
            "https://sosulki.com/",
            "https://sosulki.hlom.ru/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Порно категории"
                },
                {
                    "id": 77,
                    "cat": "XXX",
                    "desc": "Порно фильмы русские"
                },
                {
                    "id": 78,
                    "cat": "XXX",
                    "desc": "Транссексуалы (Transsexual)"
                },
                {
                    "id": 79,
                    "cat": "XXX",
                    "desc": "Бисексуалы (Bisexual)"
                },
                {
                    "id": 80,
                    "cat": "XXX",
                    "desc": "Большие Члены (Big Cocks)"
                },
                {
                    "id": 81,
                    "cat": "XXX",
                    "desc": "Секс Машины (Fucking Machines)"
                },
                {
                    "id": 75,
                    "cat": "XXX",
                    "desc": "Порно фильмы зарубежные"
                },
                {
                    "id": 456,
                    "cat": "XXX",
                    "desc": "Порно фильмы зарубежные"
                },
                {
                    "id": 76,
                    "cat": "XXX",
                    "desc": "Геи (Gay)"
                },
                {
                    "id": 70,
                    "cat": "XXX",
                    "desc": "БДСМ (BDSM)"
                },
                {
                    "id": 67,
                    "cat": "XXX",
                    "desc": "Анал (Anal)"
                },
                {
                    "id": 68,
                    "cat": "XXX",
                    "desc": "Большие попки (Big Ass)"
                },
                {
                    "id": 69,
                    "cat": "XXX",
                    "desc": "Большие сиськи (Big Tits)"
                },
                {
                    "id": 73,
                    "cat": "XXX",
                    "desc": "Групповой секс (Group Sex)"
                },
                {
                    "id": 65,
                    "cat": "XXX",
                    "desc": "Порноролики зарубежные "
                },
                {
                    "id": 66,
                    "cat": "XXX",
                    "desc": "Русское Порно Любительское (Amateur Russian)"
                },
                {
                    "id": 71,
                    "cat": "XXX",
                    "desc": "Лесбиянки (Lesbians)"
                },
                {
                    "id": 74,
                    "cat": "XXX",
                    "desc": "Любительское порно фото (Amateur Picture Gallery)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}?do=search&subaction=search&search_start=0&full_search=1&result_from=1&story={{ .Keywords }}&titleonly=3&catlist[]=0&searchdate=0&resorder=desc{{ else }}lastnews/{{ end }}"
                }
            ],
            "rows": {
                "selector": "tr.fr_viewn_in"
            },
            "fields": {
                "category": {
                    "selector": "img[src^=\"/templates/freewhite/img/\"]",
                    "attribute": "src",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)"
                        }
                    ]
                },
                "title": {
                    "selector": "td.titlelast a",
                    "attribute": "title"
                },
                "details": {
                    "selector": "td.titlelast a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td.titlelast a",
                    "attribute": "href"
                },
                "date": {
                    "selector": "i",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td.frs"
                },
                "seeders": {
                    "selector": "td.frsl_s"
                },
                "leechers": {
                    "selector": "td.frsl_p"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "soulvoice": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "soulvoice",
        "name": "SoulVoice (聆音Club)",
        "description": "SoulVoice (聆音Club) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.soulvoice.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 407,
                    "cat": "Other",
                    "desc": "Study/教学"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies/电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series/电视剧"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries/纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations/动漫"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Show/综艺"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MusicVideo/音乐视频"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio/音乐"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其它 (Other)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the SoulVoice Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran Users users and above will be retained forever</li><li>Elite Users and above will not have their account deleted after parking (in the Control Panel)</li><li>Users with a parked account will be deleted if they do not log in for 180 consecutive days</li><li>Users with a non-parked account will be banned if they do not log in for 60 consecutive days</li><li>Users with no traffic (ie, upload/download data are both 0) will be banned if they do not log in for 7 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-last-of-type(6) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-last-of-type(6):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-last-of-type(5)"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-last-of-type(4)"
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-last-of-type(3)"
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-last-of-type(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 259200
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "speedmasterhd": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "speedmasterhd",
        "name": "Speedmaster HD",
        "description": "Speedmaster HD is a GERMAN Time based Torrent Tracker for MOVIES / TV",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://speedmaster-hd.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 131,
                    "cat": "Movies/HD",
                    "desc": "Movies 1080p"
                },
                {
                    "id": 133,
                    "cat": "Movies/HD",
                    "desc": "Movie Pack 1080p"
                },
                {
                    "id": 29,
                    "cat": "TV/HD",
                    "desc": "Serien 1080p"
                },
                {
                    "id": 17,
                    "cat": "TV/Documentary",
                    "desc": "Doku 1080p"
                },
                {
                    "id": 18,
                    "cat": "XXX",
                    "desc": "XXX 1080p"
                },
                {
                    "id": 95,
                    "cat": "TV/HD",
                    "desc": "Serien Packs 1080p"
                },
                {
                    "id": 138,
                    "cat": "Movies/HD",
                    "desc": "x265 1080p"
                },
                {
                    "id": 60,
                    "cat": "Movies/HD",
                    "desc": "Movies 720p"
                },
                {
                    "id": 132,
                    "cat": "Movies/HD",
                    "desc": "Movie Pack 720p"
                },
                {
                    "id": 30,
                    "cat": "TV/HD",
                    "desc": "Serien 720p"
                },
                {
                    "id": 21,
                    "cat": "TV/Documentary",
                    "desc": "Doku 720p"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "XXX 720p"
                },
                {
                    "id": 96,
                    "cat": "TV/HD",
                    "desc": "Serien Packs 720p"
                },
                {
                    "id": 139,
                    "cat": "Movies/HD",
                    "desc": "x265 720p"
                },
                {
                    "id": 129,
                    "cat": "Movies/UHD",
                    "desc": "Remux 4K/2k"
                },
                {
                    "id": 130,
                    "cat": "Movies/UHD",
                    "desc": "Untouched 4K/2k"
                },
                {
                    "id": 134,
                    "cat": "Movies/UHD",
                    "desc": "UHD/2160p 4K/2k"
                },
                {
                    "id": 120,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K/2k"
                },
                {
                    "id": 121,
                    "cat": "TV/UHD",
                    "desc": "Serien 4K/2k"
                },
                {
                    "id": 122,
                    "cat": "TV/Documentary",
                    "desc": "Doku 4K/2k"
                },
                {
                    "id": 123,
                    "cat": "XXX",
                    "desc": "XXX 4K/2k"
                },
                {
                    "id": 90,
                    "cat": "Movies/3D",
                    "desc": "Untouched 3D"
                },
                {
                    "id": 87,
                    "cat": "Movies/3D",
                    "desc": "1080p 3D"
                },
                {
                    "id": 92,
                    "cat": "Movies/3D",
                    "desc": "720p 3D"
                },
                {
                    "id": 118,
                    "cat": "TV/Documentary",
                    "desc": "Doku 3D"
                },
                {
                    "id": 97,
                    "cat": "XXX",
                    "desc": "XXX 3D"
                },
                {
                    "id": 135,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio A-Book/FLAC"
                },
                {
                    "id": 136,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio A-Book/MP3"
                },
                {
                    "id": 33,
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless"
                },
                {
                    "id": 124,
                    "cat": "Audio/MP3",
                    "desc": "Audio Lossy"
                },
                {
                    "id": 125,
                    "cat": "Audio",
                    "desc": "Audio Tonspur"
                },
                {
                    "id": 42,
                    "cat": "Audio/Video",
                    "desc": "MusikVideo Untouched"
                },
                {
                    "id": 101,
                    "cat": "Audio/Video",
                    "desc": "MusikVideo Remux"
                },
                {
                    "id": 43,
                    "cat": "Audio/Video",
                    "desc": "MusikVideo 1080p"
                },
                {
                    "id": 44,
                    "cat": "Audio/Video",
                    "desc": "MusikVideo 720p"
                },
                {
                    "id": 51,
                    "cat": "Movies",
                    "desc": "Movies Untouched"
                },
                {
                    "id": 100,
                    "cat": "TV",
                    "desc": "Serien Untouched"
                },
                {
                    "id": 99,
                    "cat": "TV/Documentary",
                    "desc": "Doku Untouched"
                },
                {
                    "id": 102,
                    "cat": "XXX",
                    "desc": "XXX Untouched"
                },
                {
                    "id": 12,
                    "cat": "Movies",
                    "desc": "Movies Remux"
                },
                {
                    "id": 126,
                    "cat": "TV",
                    "desc": "Serien Remux"
                },
                {
                    "id": 11,
                    "cat": "TV/Documentary",
                    "desc": "Doku Remux"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "XXX Remux"
                },
                {
                    "id": 49,
                    "cat": "Other",
                    "desc": "Sonstiges RarFix"
                },
                {
                    "id": 93,
                    "cat": "Other",
                    "desc": "Sonstiges HD-Pics"
                },
                {
                    "id": 94,
                    "cat": "Other",
                    "desc": "Sonstiges HD-XXX Pics"
                },
                {
                    "id": 98,
                    "cat": "Other",
                    "desc": "Sonstiges to sort"
                },
                {
                    "id": 103,
                    "cat": "Books/EBook",
                    "desc": "E-Book Mixed"
                }
            ],
            "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": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"login.php\"]",
            "cookies": [
                "JAVA=OK"
            ],
            "inputs": {
                "input[id=\"username\"]": "{{ .Config.username }}",
                "input[id=\"password\"]": "{{ .Config.password }}",
                "input[name=\"loginkeeping\"]": "loginkeeping",
                "input[name=\"loginnow\"]": true
            },
            "selectors": true,
            "selectorinputs": {
                "uufl": {
                    "selector": "input[name=\"uufl\"]",
                    "attribute": "value"
                },
                "uupf": {
                    "selector": "input[name=\"uupf\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "div[style^=\"color: #EC0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "selection.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "blah": "0",
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.content_wrap > div.selection_wrap:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"selection.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download_ssl.php?torrent=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div[id^=\"details-\"] div div img",
                    "attribute": "src",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "cloud-data/standard_cover/ebook_t.png",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "cloud-data/standard_cover/doku_t.png",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "cloud-data/standard_cover/serie_t.png",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "cloud-data/standard_cover/music_t.png",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "cloud-data/standard_cover/no_pic_t.png",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "cloud-data/standard_cover/xxx_t.png",
                                ""
                            ]
                        }
                    ]
                },
                "description": {
                    "selector": "div[class^=\"flag_pic_\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "'(.+?)'"
                        }
                    ]
                },
                "size": {
                    "selector": "div.selection_unter_ad"
                },
                "grabs": {
                    "selector": "div.selection_unter_ae"
                },
                "seeders": {
                    "selector": "div.selection_unter_aa"
                },
                "leechers": {
                    "selector": "div.selection_unter_aaa"
                },
                "date_day": {
                    "selector": "div.selection_unter_ab:contains(\"Heute\"), div.selection_unter_ab:contains(\"Gestern\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Heute ",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Gestern ",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.selection_unter_ab:not(:contains(\"Heute\")):not(:contains(\"Gestern\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "um ",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 288000
                }
            }
        }
    },
    "spiritofrevolution": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "spiritofrevolution",
        "name": "Spirit of Revolution",
        "description": "Spirit of Revolution is a GERMAN Time based Torrent Tracker for 0DAY",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://sor-next.org/"
        ],
        "legacylinks": [
            "https://sor-next.tk/",
            "https://sor-next.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 30,
                    "cat": "Movies/SD",
                    "desc": "Filme SD"
                },
                {
                    "id": 134,
                    "cat": "Movies/HD",
                    "desc": "Filme HD"
                },
                {
                    "id": 138,
                    "cat": "Movies/BluRay",
                    "desc": "Filme BluRay"
                },
                {
                    "id": 137,
                    "cat": "Movies",
                    "desc": "Filme Remux"
                },
                {
                    "id": 160,
                    "cat": "Movies/UHD",
                    "desc": "Filme 4K/UHD"
                },
                {
                    "id": 186,
                    "cat": "Movies/Foreign",
                    "desc": "Filme Englisch-SD-HD"
                },
                {
                    "id": 143,
                    "cat": "Movies/3D",
                    "desc": "Filme 3D"
                },
                {
                    "id": 133,
                    "cat": "Movies/DVD",
                    "desc": "Filme DVD"
                },
                {
                    "id": 182,
                    "cat": "Movies/SD",
                    "desc": "Filme Pack/SD"
                },
                {
                    "id": 183,
                    "cat": "Movies/HD",
                    "desc": "Filme Pack/HD"
                },
                {
                    "id": 174,
                    "cat": "TV/Anime",
                    "desc": "Filme Anime"
                },
                {
                    "id": 140,
                    "cat": "TV/SD",
                    "desc": "Serien SD"
                },
                {
                    "id": 135,
                    "cat": "TV/HD",
                    "desc": "Serien HD"
                },
                {
                    "id": 192,
                    "cat": "TV/UHD",
                    "desc": "Serien UHD"
                },
                {
                    "id": 136,
                    "cat": "TV/SD",
                    "desc": "Serien Pack/SD"
                },
                {
                    "id": 180,
                    "cat": "TV/HD",
                    "desc": "Serien Pack/HD"
                },
                {
                    "id": 184,
                    "cat": "TV/UHD",
                    "desc": "Serien Pack/UHD"
                },
                {
                    "id": 179,
                    "cat": "TV/Anime",
                    "desc": "Serien Anime"
                },
                {
                    "id": 128,
                    "cat": "Audio/MP3",
                    "desc": "Audio MP3/AAC"
                },
                {
                    "id": 169,
                    "cat": "Audio",
                    "desc": "Audio Pack"
                },
                {
                    "id": 129,
                    "cat": "Audio/Lossless",
                    "desc": "Audio FLAC"
                },
                {
                    "id": 175,
                    "cat": "Audio/Video",
                    "desc": "Audio Musikvideos"
                },
                {
                    "id": 172,
                    "cat": "Audio",
                    "desc": "Audio Charts"
                },
                {
                    "id": 154,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Hoerbuch"
                },
                {
                    "id": 29,
                    "cat": "PC/Games",
                    "desc": "Games PC"
                },
                {
                    "id": 13,
                    "cat": "Console",
                    "desc": "Games Konsole"
                },
                {
                    "id": 150,
                    "cat": "Console/Other",
                    "desc": "Games Android"
                },
                {
                    "id": 49,
                    "cat": "PC/0day",
                    "desc": "APPZ Windows"
                },
                {
                    "id": 130,
                    "cat": "PC/Mac",
                    "desc": "APPZ Mac/Linux"
                },
                {
                    "id": 153,
                    "cat": "PC/Mobile-Android",
                    "desc": "APPZ Android"
                },
                {
                    "id": 132,
                    "cat": "Books",
                    "desc": "E-Book Epub"
                },
                {
                    "id": 131,
                    "cat": "Books",
                    "desc": "E-Book PDF"
                },
                {
                    "id": 173,
                    "cat": "TV/Documentary",
                    "desc": "Dokus Packs"
                },
                {
                    "id": 147,
                    "cat": "TV/Documentary",
                    "desc": "Dokus SD / HD"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "XXX Filme"
                },
                {
                    "id": 176,
                    "cat": "XXX",
                    "desc": "XXX Packs"
                },
                {
                    "id": 185,
                    "cat": "XXX",
                    "desc": "XXX PDF/Epub"
                },
                {
                    "id": 156,
                    "cat": "TV/Sport",
                    "desc": "Sport SD / HD"
                },
                {
                    "id": 177,
                    "cat": "Other",
                    "desc": "Sonstiges Alles andere"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "haustuer.php",
            "method": "form",
            "form": "form[action=\"haustuer.php\"]",
            "cookies": [
                "JAVA=OK"
            ],
            "inputs": {
                "input[id=\"username\"]": "{{ .Config.username }}",
                "input[id=\"password\"]": "{{ .Config.password }}",
                "input[name=\"loginkeeping\"]": "loginkeeping",
                "input[name=\"loginnow\"]": true
            },
            "selectors": true,
            "selectorinputs": {
                "uufl": {
                    "selector": "input[name=\"uufl\"]",
                    "attribute": "value"
                },
                "uupf": {
                    "selector": "input[name=\"uupf\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "div[style=\"color: #EC0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "selection.php"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}scat[]={{.}}&{{end}}{{ else }}{{ end }}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "blah": "{{ if .Query.IMDBID }}3{{ else }}0{{ end }}",
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.content_wrap > div.selection_wrap:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"selection.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download_ssl.php?torrent=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div[id^=\"details-\"] div div img",
                    "attribute": "src"
                },
                "description": {
                    "selector": "div[class^=\"flag_pic_\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "'(.+?)'"
                        }
                    ]
                },
                "size": {
                    "selector": "div.selection_unter_ad"
                },
                "grabs": {
                    "selector": "div.selection_unter_ae"
                },
                "seeders": {
                    "selector": "div.selection_unter_aa"
                },
                "leechers": {
                    "selector": "div.selection_unter_aaa"
                },
                "date_day": {
                    "selector": "div.selection_unter_ab:contains(\"Heute\"), div.selection_unter_ab:contains(\"Gestern\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Heute ",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Gestern ",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.selection_unter_ab:not(:contains(\"Heute\")):not(:contains(\"Gestern\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "um ",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "sportscora": {
        "credentials": {
            "apikey": ""
        },
        "id": "sportscora",
        "name": "SportsCora (API)",
        "description": "SportsCora is a Private Torrent Tracker for SPORTS",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://sportscora.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movie"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Game"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "Application"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://sportscora.com/\" target=\"_blank\">SportsCora</a> account <i>My Security</i> page and clicking on the <b>API Token</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "_id": {
                    "selector": "..id"
                },
                "categorydesc": {
                    "selector": "category"
                },
                "title": {
                    "selector": "name"
                },
                "details": {
                    "text": "{{ .Config.sitelink }}torrents/{{ .Result._id }}"
                },
                "download": {
                    "selector": "download_link"
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "files": {
                    "selector": "num_file"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "downloadvolumefactor": {
                    "selector": "freeleech",
                    "case": [
                        1,
                        0
                    ]
                },
                "uploadvolumefactor": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "sportscult": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "sportscult",
        "name": "SportsCult",
        "description": "SportsCult is a Private Torrent Tracker for SPORTS",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://sportscult.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 47,
                    "cat": "TV/Sport",
                    "desc": "EPL"
                },
                {
                    "id": 41,
                    "cat": "TV/Sport",
                    "desc": "American Football"
                },
                {
                    "id": 54,
                    "cat": "TV/Sport",
                    "desc": "AutoMotoRacing"
                },
                {
                    "id": 17,
                    "cat": "TV/Sport",
                    "desc": "Athletics"
                },
                {
                    "id": 51,
                    "cat": "TV/Sport",
                    "desc": "Baseball"
                },
                {
                    "id": 34,
                    "cat": "TV/Sport",
                    "desc": "Bodybuilding/Fitness"
                },
                {
                    "id": 50,
                    "cat": "TV/Sport",
                    "desc": "Golf"
                },
                {
                    "id": 29,
                    "cat": "TV/Sport",
                    "desc": "Boxing"
                },
                {
                    "id": 19,
                    "cat": "TV/Sport",
                    "desc": "BrainGames"
                },
                {
                    "id": 36,
                    "cat": "TV/Sport",
                    "desc": "BreakDance"
                },
                {
                    "id": 23,
                    "cat": "TV/Sport",
                    "desc": "Cycling"
                },
                {
                    "id": 31,
                    "cat": "TV/Sport",
                    "desc": "Documentary"
                },
                {
                    "id": 1,
                    "cat": "TV/Sport",
                    "desc": "European Basketball"
                },
                {
                    "id": 37,
                    "cat": "TV/Sport",
                    "desc": "Extreme Sports"
                },
                {
                    "id": 9,
                    "cat": "TV/Sport",
                    "desc": "Fight Sports"
                },
                {
                    "id": 32,
                    "cat": "TV/Sport",
                    "desc": "Formula1"
                },
                {
                    "id": 45,
                    "cat": "TV/Sport",
                    "desc": "GAA (Gaelic)"
                },
                {
                    "id": 22,
                    "cat": "TV/Sport",
                    "desc": "Gymnastics"
                },
                {
                    "id": 59,
                    "cat": "TV/Sport",
                    "desc": "UFL"
                },
                {
                    "id": 39,
                    "cat": "TV/Sport",
                    "desc": "Handball"
                },
                {
                    "id": 2,
                    "cat": "TV/Sport",
                    "desc": "International Basket"
                },
                {
                    "id": 25,
                    "cat": "TV/Sport",
                    "desc": "IceHockey"
                },
                {
                    "id": 4,
                    "cat": "TV/Sport",
                    "desc": "International Soccer"
                },
                {
                    "id": 42,
                    "cat": "TV/Sport",
                    "desc": "KHL"
                },
                {
                    "id": 55,
                    "cat": "TV/Sport",
                    "desc": "MotoGP"
                },
                {
                    "id": 35,
                    "cat": "TV/Sport",
                    "desc": "KickBoxing/Muay Thai"
                },
                {
                    "id": 43,
                    "cat": "TV/Sport",
                    "desc": "La Liga"
                },
                {
                    "id": 15,
                    "cat": "TV/Sport",
                    "desc": "MotorSport"
                },
                {
                    "id": 24,
                    "cat": "TV/Sport",
                    "desc": "MLB/Baseball"
                },
                {
                    "id": 28,
                    "cat": "TV/Sport",
                    "desc": "MMA"
                },
                {
                    "id": 11,
                    "cat": "TV/Sport",
                    "desc": "NBA"
                },
                {
                    "id": 3,
                    "cat": "TV/Sport",
                    "desc": "NCAA Basket/Football"
                },
                {
                    "id": 5,
                    "cat": "TV/Sport",
                    "desc": "NFL"
                },
                {
                    "id": 27,
                    "cat": "TV/Sport",
                    "desc": "NHL"
                },
                {
                    "id": 26,
                    "cat": "TV/Sport",
                    "desc": "Olympic games"
                },
                {
                    "id": 7,
                    "cat": "TV/Sport",
                    "desc": "Rugby"
                },
                {
                    "id": 44,
                    "cat": "TV/Sport",
                    "desc": "Serie A"
                },
                {
                    "id": 38,
                    "cat": "TV/Sport",
                    "desc": "Snooker/Pool"
                },
                {
                    "id": 30,
                    "cat": "TV/Sport",
                    "desc": "Streetball"
                },
                {
                    "id": 18,
                    "cat": "TV/Sport",
                    "desc": "Swimming/Aquatics"
                },
                {
                    "id": 56,
                    "cat": "TV/Sport",
                    "desc": "Ligue1"
                },
                {
                    "id": 46,
                    "cat": "TV/Sport",
                    "desc": "AFL(AustralianFB)"
                },
                {
                    "id": 12,
                    "cat": "TV/Sport",
                    "desc": "Tennis"
                },
                {
                    "id": 20,
                    "cat": "TV/Sport",
                    "desc": "Volleyball"
                },
                {
                    "id": 21,
                    "cat": "TV/Sport",
                    "desc": "Weightlifting"
                },
                {
                    "id": 16,
                    "cat": "TV/Sport",
                    "desc": "WinterSport"
                },
                {
                    "id": 33,
                    "cat": "TV/Sport",
                    "desc": "Wrestling/Grapling"
                },
                {
                    "id": 48,
                    "cat": "TV/Sport",
                    "desc": "Uncategorised"
                },
                {
                    "id": 60,
                    "cat": "TV/Sport",
                    "desc": "Champions League"
                },
                {
                    "id": 61,
                    "cat": "TV/Sport",
                    "desc": "Europa League"
                },
                {
                    "id": 63,
                    "cat": "TV/Sport",
                    "desc": "WNBA"
                },
                {
                    "id": 64,
                    "cat": "TV/Sport",
                    "desc": "NASCAR"
                },
                {
                    "id": 65,
                    "cat": "TV/Sport",
                    "desc": "FIBA 3x3 Basketball"
                },
                {
                    "id": 67,
                    "cat": "TV/Sport",
                    "desc": "Bundesliga"
                },
                {
                    "id": 68,
                    "cat": "TV/Sport",
                    "desc": "MLS"
                },
                {
                    "id": 69,
                    "cat": "TV/Sport",
                    "desc": "EuroLeague Basketbal"
                },
                {
                    "id": 70,
                    "cat": "TV/Sport",
                    "desc": "ELC"
                },
                {
                    "id": 71,
                    "cat": "TV/Sport",
                    "desc": "RhythmicGymnastics"
                },
                {
                    "id": 72,
                    "cat": "TV/Sport",
                    "desc": "BeachVolleyball"
                },
                {
                    "id": 73,
                    "cat": "TV/Sport",
                    "desc": "BeachSoccer"
                },
                {
                    "id": 74,
                    "cat": "TV/Sport",
                    "desc": "Chess"
                },
                {
                    "id": 75,
                    "cat": "TV/Sport",
                    "desc": "Bowling"
                },
                {
                    "id": 76,
                    "cat": "TV/Sport",
                    "desc": "BelgianProLeague"
                },
                {
                    "id": 77,
                    "cat": "TV/Sport",
                    "desc": "Bellator"
                },
                {
                    "id": 78,
                    "cat": "TV/Sport",
                    "desc": "Billard"
                },
                {
                    "id": 79,
                    "cat": "TV/Sport",
                    "desc": "Climbing"
                },
                {
                    "id": 80,
                    "cat": "TV/Sport",
                    "desc": "CrossFit"
                },
                {
                    "id": 81,
                    "cat": "TV/Sport",
                    "desc": "DutchEredivisie"
                },
                {
                    "id": 82,
                    "cat": "TV/Sport",
                    "desc": "IndyCar"
                },
                {
                    "id": 83,
                    "cat": "TV/Sport",
                    "desc": "GLeagueNBA"
                },
                {
                    "id": 84,
                    "cat": "TV/Sport",
                    "desc": "NCAABasketball"
                },
                {
                    "id": 85,
                    "cat": "TV/Sport",
                    "desc": "NCAAFootball"
                },
                {
                    "id": 86,
                    "cat": "TV/Sport",
                    "desc": "Sailing"
                },
                {
                    "id": 87,
                    "cat": "TV/Sport",
                    "desc": "Surfing"
                },
                {
                    "id": 88,
                    "cat": "TV/Sport",
                    "desc": "TableTennis"
                },
                {
                    "id": 89,
                    "cat": "TV/Sport",
                    "desc": "TourDeFrance"
                },
                {
                    "id": 90,
                    "cat": "TV/Sport",
                    "desc": "LaVuelta"
                },
                {
                    "id": 91,
                    "cat": "TV/Sport",
                    "desc": "Girod'Italia"
                },
                {
                    "id": 92,
                    "cat": "TV/Sport",
                    "desc": "UefaConferenceLeague"
                },
                {
                    "id": 93,
                    "cat": "TV/Sport",
                    "desc": "UEFAEuro"
                },
                {
                    "id": 94,
                    "cat": "TV/Sport",
                    "desc": "OlympicGamesParis24"
                },
                {
                    "id": 95,
                    "cat": "TV/Sport",
                    "desc": "WRCRally"
                },
                {
                    "id": 96,
                    "cat": "TV/Sport",
                    "desc": "CPL"
                },
                {
                    "id": 97,
                    "cat": "TV/Sport",
                    "desc": "CFL"
                },
                {
                    "id": 98,
                    "cat": "TV/Sport",
                    "desc": "PrimeiraPortugal"
                },
                {
                    "id": 53,
                    "cat": "TV/Sport",
                    "desc": "Cricket"
                },
                {
                    "id": 99,
                    "cat": "TV/Sport",
                    "desc": "Darts"
                },
                {
                    "id": 100,
                    "cat": "TV/Sport",
                    "desc": "ESport"
                },
                {
                    "id": 6,
                    "cat": "TV/Sport",
                    "desc": "European Soccer"
                },
                {
                    "id": 101,
                    "cat": "TV/Sport",
                    "desc": "EuroCup"
                },
                {
                    "id": 102,
                    "cat": "TV/Sport",
                    "desc": "Ultimate Diskk"
                },
                {
                    "id": 104,
                    "cat": "TV/Sport",
                    "desc": "WinterOlympicGames"
                },
                {
                    "id": 52,
                    "cat": "TV/Sport",
                    "desc": "Field Hockey"
                },
                {
                    "id": 103,
                    "cat": "TV/Sport",
                    "desc": "Basketball Champions"
                },
                {
                    "id": 58,
                    "cat": "TV/Sport",
                    "desc": "UFC"
                },
                {
                    "id": 57,
                    "cat": "TV/Sport",
                    "desc": "NRL"
                }
            ],
            "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": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "index.php?page=login",
            "method": "post",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.lista span:contains(\"Username Incorrect\")"
                },
                {
                    "selector": "td.lista span:contains(\"Password Incorrect\")"
                },
                {
                    "selector": "td.lista span[style=\"color:#FF0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ .Keywords }}",
                "category": "{{ if .Categories }}{{ join .Categories \";\" }}{{ else }}0{{ end }}",
                "active": 0,
                "gold": "{{ if .Config.freeleech }}3{{ else }}0{{ end }}",
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.lista:last-of-type:not(:has(td.block:contains(\"Our Team Recommend\"))) > tbody > tr:has(a[href^=\"index.php?page=torrents&category=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"index.php?page=torrents&category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\b0\\b",
                                "48"
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "( \\| )+",
                                " "
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"index.php?page=torrent-details&id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\+%7C\\+)+",
                                "+"
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"gold/gold.gif\"]": 0,
                        "img[src=\"gold/silver.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.9
                },
                "minimumseedtime": {
                    "text": 129600
                }
            }
        }
    },
    "springsunday": {
        "credentials": {
            "cookie": ""
        },
        "id": "springsunday",
        "name": "SpringSunday",
        "description": "SpringSunday (SSD) is a CHINESE Private Torrent Tracker for HD MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://springsunday.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 501,
                    "cat": "Movies",
                    "desc": "Movies(电影)"
                },
                {
                    "id": 502,
                    "cat": "TV",
                    "desc": "TV Series(剧集)"
                },
                {
                    "id": 503,
                    "cat": "TV/Documentary",
                    "desc": "Docs(纪录)"
                },
                {
                    "id": 505,
                    "cat": "TV",
                    "desc": "TV Shows(综艺)"
                },
                {
                    "id": 506,
                    "cat": "TV/Sport",
                    "desc": "Sports(体育)"
                },
                {
                    "id": 507,
                    "cat": "Audio/Video",
                    "desc": "MV(音乐视频)"
                },
                {
                    "id": 508,
                    "cat": "Audio",
                    "desc": "Music(音乐)"
                },
                {
                    "id": 509,
                    "cat": "Other",
                    "desc": "Others(其他)"
                },
                {
                    "id": 510,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook(有声)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"logout.php?auth=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "pick": 0,
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}5{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href$=\"search_area=4\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href$=\"search_area=5\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-last-child(6) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-last-child(6):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-last-child(5)"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-last-child(4)"
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-last-child(3)"
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-last-child(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.torrent-pro-free": 0,
                        "span.torrent-pro-twoupfree": 0,
                        "span.torrent-pro-halfdown": 0.5,
                        "span.torrent-pro-twouphalfdown": 0.5,
                        "span.torrent-pro-thirtypercent": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.torrent-pro-twouphalfdown": 2,
                        "span.torrent-pro-twoupfree": 2,
                        "span.torrent-pro-twoup": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "div.torrent-smalldescr > span:last-child"
                }
            }
        }
    },
    "sugoimusic": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "sugoimusic",
        "name": "SugoiMusic",
        "description": "SugoiMusic is a Private Torrent Tracker for ASIAN MUSIC / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://sugoimusic.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Audio",
                    "desc": "Album"
                },
                {
                    "id": 2,
                    "cat": "Audio",
                    "desc": "EP"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Single"
                },
                {
                    "id": 4,
                    "cat": "Audio/Video",
                    "desc": "Bluray"
                },
                {
                    "id": 5,
                    "cat": "Audio/Video",
                    "desc": "DVD"
                },
                {
                    "id": 6,
                    "cat": "Audio/Video",
                    "desc": "PV"
                },
                {
                    "id": 7,
                    "cat": "Audio/Video",
                    "desc": "Music Performance"
                },
                {
                    "id": 8,
                    "cat": "Audio/Video",
                    "desc": "TV Music"
                },
                {
                    "id": 9,
                    "cat": "TV",
                    "desc": "TV Variety"
                },
                {
                    "id": 10,
                    "cat": "TV",
                    "desc": "TV Drama"
                },
                {
                    "id": 11,
                    "cat": "Other",
                    "desc": "Pictures"
                },
                {
                    "id": 12,
                    "cat": "Other/Misc",
                    "desc": "Misc"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "year",
                    "genre"
                ],
                "music-search": [
                    "q",
                    "year",
                    "genre"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the SugoiMusic Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "time",
                "options": {
                    "time": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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>Covers per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactivity pruning is enabled. Your currently seeding torrents are not considered, only your page loads. Inactivity pruning is disabled for Merit+ user-classes. When enabled, your account will be automatically disabled if one page load is not made at least once every 120 days."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"login.php\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "twofa": "{{ .Config.2facode }}",
                "login": "Log in"
            },
            "error": [
                {
                    "selector": "span.warning",
                    "message": {
                        "selector": "span[class=\"warning\"]:not(:contains(\"JavaScript\"))"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "searchstr": "{{ .Keywords }}",
                "freetorrent": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "group_results": 0,
                "action": "advanced",
                "year": "{{ .Query.Year }}",
                "taglist": "{{ .Query.Genre }}",
                "order_by": "{{ .Config.sort }}",
                "order_way": "{{ .Config.type }}",
                "searchsubmit": 1
            },
            "rows": {
                "selector": "tr.torrent"
            },
            "fields": {
                "category": {
                    "selector": "div:nth-child(1)",
                    "case": {
                        "div[title=\"Album\"]": 1,
                        "div[title=\"EP\"]": 2,
                        "div[title=\"Single\"]": 3,
                        "div[title=\"Bluray\"]": 4,
                        "div[title=\"DVD\"]": 5,
                        "div[title=\"PV\"]": 6,
                        "div[title=\"Music Performance\"]": 7,
                        "div[title=\"TV Music\"]": 8,
                        "div[title=\"TV Variety\"]": 9,
                        "div[title=\"TV Drama\"]": 10,
                        "div[title=\"Pictures\"]": 11,
                        "div[title=\"Misc\"]": 12
                    }
                },
                "title_artist": {
                    "selector": "div.torrent_artists > a",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " - "
                        }
                    ]
                },
                "title_name": {
                    "selector": "a.torrent_name"
                },
                "title_date": {
                    "selector": "div.group_info.clear",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\[.+?\\])"
                        }
                    ]
                },
                "title": {
                    "text": "{{ .Result.title_artist }}{{ .Result.title_name }} {{ .Result.title_date }}"
                },
                "details": {
                    "selector": "a.torrent_name[href^=\"torrents.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "/static/common/noartwork/nocover.png",
                                ""
                            ]
                        }
                    ]
                },
                "genre": {
                    "selector": "div.tags"
                },
                "description_info": {
                    "selector": "div.torrent_info"
                },
                "description": {
                    "text": "{{ .Result.description_info }}</br>{{ .Result.genre }}"
                },
                "download": {
                    "selector": "span > a[href^=\"torrents.php?action=download&id=\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "optional": true,
                    "selector": "span > a[href^=\"magnet:?dn=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "span.time.tooltip",
                    "filters": [
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "size": {
                    "selector": "td.number_column.nobr"
                },
                "files": {
                    "selector": "td:nth-last-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(2)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(1)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(3)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "div.torrent_info:contains(\"Freeleech\")": 0,
                        "div.torrent_info:contains(\"Neutral Leech\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "div.torrent_info:contains(\"Neutral Leech\")": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.95
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "sukebeinyaasi": {
        "id": "sukebeinyaasi",
        "name": "sukebei.nyaa.si",
        "description": "sukebei.nyaa is a Public torrent site focused on adult Eastern ASIAN media including anime, manga, games and JAV",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://sukebei.nyaa.si/",
            "https://sukebei.nyaa.mom/"
        ],
        "legacylinks": [
            "https://sukebei.nyaa.lol/"
        ],
        "settings": [
            {
                "name": "filter-id",
                "type": "select",
                "label": "Filter",
                "default": 0,
                "options": [
                    "No filter",
                    "No remakes",
                    "Trusted only"
                ]
            },
            {
                "name": "cat-id",
                "type": "select",
                "label": "Category",
                "default": 0,
                "options": {
                    "0": "All categories",
                    "10": "Art",
                    "11": "Art - Anime",
                    "12": "Art - Doujinshi",
                    "13": "Art - Games",
                    "14": "Art - Manga",
                    "15": "Art - Pictures",
                    "20": "Real Life",
                    "21": "Real Life - Photobooks and Pictures",
                    "22": "Real Life - Videos"
                }
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "id",
                "options": {
                    "id": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "Adult Art"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "Adult Anime"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Doujinshi"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "Adult Games"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Adult Manga"
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "Adult Pictures"
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "Adult Real Life"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "Adult Photobooks and Pictures"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "Adult Videos"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "q": "{{ .Keywords }}",
                "f": "{{ .Config.filter-id }}",
                "c": "{{ .Config.cat-id }}",
                "s": "{{ .Config.sort }}",
                "o": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "tr.default,tr.danger,tr.success"
            },
            "fields": {
                "category": {
                    "selector": "td:nth-child(1) a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "=",
                                -1
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "td:nth-child(2) a:last-of-type"
                },
                "details": {
                    "selector": "td:nth-child(2) a:last-of-type",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td:nth-child(3) a[href$=\".torrent\"]",
                    "optional": true,
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "td:nth-child(3) a[href^=\"magnet:?\"]",
                    "optional": true,
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(4)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm zzz"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "sunnypt": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "sunnypt",
        "name": "SunnyPT",
        "description": "SunnyPT is a CHINESE Private Torrent Tracker for MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://sunnypt.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影(Movies)"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧(TVSeries)"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺(TV Shows)"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动画/Animation)"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片/Documentary)"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育(Sport)"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "音乐短片(MV)Music Video"
                },
                {
                    "id": 410,
                    "cat": "Audio",
                    "desc": "音乐(HQ Audio)"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他(Misc)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the SBPT Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User or above will be retained forever</li><li> Elite User or abovee will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users with no traffic (i.e. upload/download data is 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href$=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href*=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "superbits": {
        "credentials": {
            "cookie": ""
        },
        "id": "superbits",
        "name": "Superbits",
        "description": "SuperBits (SBS) is a SWEDISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "sv-SE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://superbits.org/",
            "https://superbits.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies/DVD",
                    "desc": "DVD-R Swesub"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "DVD-R TV"
                },
                {
                    "id": 3,
                    "cat": "Books/EBook",
                    "desc": "eBok"
                },
                {
                    "id": 4,
                    "cat": "Movies/HD",
                    "desc": "Film 1080"
                },
                {
                    "id": 5,
                    "cat": "Movies/3D",
                    "desc": "Film 3D"
                },
                {
                    "id": 6,
                    "cat": "Movies/HD",
                    "desc": "Film 720"
                },
                {
                    "id": 7,
                    "cat": "Movies/BluRay",
                    "desc": "Film Bluray"
                },
                {
                    "id": 24,
                    "cat": "Movies/UHD",
                    "desc": "Film 4K"
                },
                {
                    "id": 8,
                    "cat": "TV",
                    "desc": "Svensk TV"
                },
                {
                    "id": 9,
                    "cat": "Audio/Audiobook",
                    "desc": "Ljudböcker"
                },
                {
                    "id": 10,
                    "cat": "Audio/Video",
                    "desc": "Musikvideos"
                },
                {
                    "id": 11,
                    "cat": "Books/Mags",
                    "desc": "E-tidningar"
                },
                {
                    "id": 12,
                    "cat": "Audio",
                    "desc": "MP3"
                },
                {
                    "id": 13,
                    "cat": "Audio",
                    "desc": "Pod"
                },
                {
                    "id": 14,
                    "cat": "Other",
                    "desc": "Övrigt"
                },
                {
                    "id": 15,
                    "cat": "PC/Games",
                    "desc": "PC-Spel"
                },
                {
                    "id": 16,
                    "cat": "PC/0day",
                    "desc": "Program"
                },
                {
                    "id": 17,
                    "cat": "Console/PS4",
                    "desc": "Playstation"
                },
                {
                    "id": 18,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 19,
                    "cat": "Console/Other",
                    "desc": "Nintendo"
                },
                {
                    "id": 20,
                    "cat": "Console/XBox",
                    "desc": "Xbox"
                },
                {
                    "id": 21,
                    "cat": "Movies/SD",
                    "desc": "Xvid"
                },
                {
                    "id": 25,
                    "cat": "Movies/Foreign",
                    "desc": "Subpacks"
                },
                {
                    "id": 22,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 23,
                    "cat": "Audio/Lossless",
                    "desc": "FLAC"
                },
                {
                    "id": 26,
                    "cat": "TV",
                    "desc": "TV DK"
                },
                {
                    "id": 27,
                    "cat": "TV",
                    "desc": "TV NO"
                },
                {
                    "id": 28,
                    "cat": "TV",
                    "desc": "TV FI"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "p2p_releases_only",
                "type": "checkbox",
                "label": "Search P2P releases only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "d",
                "options": {
                    "d": "created",
                    "up": "seeders",
                    "s": "size",
                    "0": "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": "If you have not logged in, via web browser, for 3 months, the account will be suspended. You can park your account in Settings which means that it will not be deleted for inactivity for at least 1 year."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "api/v1/torrents",
                    "response": {
                        "type": "json",
                        "noResultsMessage": ""
                    }
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}categories[]={{.}}&{{end}}",
                "dkaudio": false,
                "dksub": false,
                "enaudio": false,
                "ensub": false,
                "extendedSearch": false,
                "fiaudio": false,
                "fisub": false,
                "freeleech": "{{ if .Config.freeleech }}true{{ else }}false{{ end }}",
                "index": 0,
                "limit": 100,
                "noaudio": false,
                "nosub": false,
                "order": "{{ .Config.type }}",
                "p2p": "{{ if .Config.p2p_releases_only }}true{{ else }}{{ end }}",
                "page": "search",
                "searchText": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }} {{ else }}{{ end }}{{ .Keywords }}",
                "section": "all",
                "sort": "{{ .Config.sort }}",
                "stereoscopic": false,
                "sweaudio": false,
                "swesub": false,
                "watchview": false
            },
            "rows": {
                "selector": "$"
            },
            "fields": {
                "category": {
                    "selector": "category"
                },
                "title": {
                    "selector": "name"
                },
                "_id": {
                    "selector": "id"
                },
                "details": {
                    "text": "/torrent/{{ .Result._id }}/"
                },
                "download": {
                    "text": "/api/v1/torrents/download/{{ .Result._id }}"
                },
                "imdbid": {
                    "selector": "imdbid2"
                },
                "imdbid_full": {
                    "optional": true,
                    "selector": "imdbid2"
                },
                "poster_normal": {
                    "optional": true,
                    "selector": "customcover"
                },
                "poster_imdb": {
                    "optional": true,
                    "text": "{{ if .Result.imdbid }}/img/imdb/{{ .Result.imdbid_full }}.jpg{{ else }}{{ end }}"
                },
                "poster": {
                    "text": "{{ if .Result.poster_imdb }}{{ .Result.poster_imdb }}{{ else }}{{ .Result.poster_normal }}{{ end }}"
                },
                "date": {
                    "selector": "added",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "files": {
                    "selector": "numfiles"
                },
                "grabs": {
                    "selector": "timesCompleted",
                    "optional": true,
                    "default": 0
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "downloadvolumefactor": {
                    "selector": "frileech",
                    "case": [
                        1,
                        0
                    ]
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1.1
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "title_desc": {
                    "optional": true,
                    "selector": "title"
                },
                "year": {
                    "optional": true,
                    "selector": "year"
                },
                "genre": {
                    "selector": "genres"
                },
                "_tagline_desc": {
                    "optional": true,
                    "selector": "tagline"
                },
                "_cast_desc": {
                    "optional": true,
                    "selector": "cast"
                },
                "_rating_desc": {
                    "optional": true,
                    "selector": "rating",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^0$",
                                ""
                            ]
                        }
                    ]
                },
                "_plot_desc": {
                    "optional": true,
                    "selector": "plot"
                },
                "_section_desc": {
                    "optional": true,
                    "selector": "section"
                },
                "_predate_desc": {
                    "selector": "preDate",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "1970-01-01 01:00:00",
                                ""
                            ]
                        }
                    ]
                },
                "_p2ptag": {
                    "selector": "p2p",
                    "case": [
                        "",
                        "P2P"
                    ]
                },
                "_packtag": {
                    "selector": "pack",
                    "case": [
                        "",
                        "Pack"
                    ]
                },
                "_reqidtag": {
                    "selector": "reqid",
                    "case": {
                        "0": "",
                        "*": "Request"
                    }
                },
                "_sweaudiotag": {
                    "selector": "sweaudio",
                    "case": {
                        "0": "",
                        "*": "Swedish audio"
                    }
                },
                "_swesubtag": {
                    "selector": "swesub",
                    "case": {
                        "0": "",
                        "*": "Swedish subtitles"
                    }
                },
                "_dkaudiotag": {
                    "selector": "dkaudio",
                    "case": {
                        "0": "",
                        "*": "Danish audio"
                    }
                },
                "_dksubtag": {
                    "selector": "dksub",
                    "case": {
                        "0": "",
                        "*": "Danish subtitles"
                    }
                },
                "_enaudiotag": {
                    "selector": "enaudio",
                    "case": {
                        "0": "",
                        "*": "English audio"
                    }
                },
                "_ensubtag": {
                    "selector": "ensub",
                    "case": {
                        "0": "",
                        "*": "English subtitles"
                    }
                },
                "_noaudiotag": {
                    "selector": "noaudio",
                    "case": {
                        "0": "",
                        "*": "Norwegian audio"
                    }
                },
                "_nosubtag": {
                    "selector": "nosub",
                    "case": {
                        "0": "",
                        "*": "Norwegian subtitles"
                    }
                },
                "_tag_desc": {
                    "optional": true,
                    "text": "{{ if .Result._p2ptag }}{{ .Result._p2ptag }}, {{ else }}{{ end }}{{ if .Result._packtag }}{{ .Result._packtag }}, {{ else }}{{ end }}{{ if .Result._reqidtag }}{{ .Result._reqidtag }}, {{ else }}{{ end }}{{ if .Result._sweaudiotag }}{{ .Result._sweaudiotag }}, {{ else }}{{ end }}{{ if .Result._swesubtag }}{{ .Result._swesubtag }}, {{ else }}{{ end }}{{ if .Result._dkaudiotag }}{{ .Result._dkaudiotag }}, {{ else }}{{ end }}{{ if .Result._dksubtag }}{{ .Result._dksubtag }}, {{ else }}{{ end }}{{ if .Result._enaudiotag }}{{ .Result._enaudiotag }}, {{ else }}{{ end }}{{ if .Result._ensubtag }}{{ .Result._ensubtag }}, {{ else }}{{ end }}{{ if .Result._noaudiotag }}{{ .Result._noaudiotag }}, {{ else }}{{ end }}{{ if .Result._nosubtag }}{{ .Result._nosubtag }}{{ else }}{{ end }}",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(.+?), $"
                        }
                    ]
                },
                "description": {
                    "text": "{{ if .Result.title_desc }}Title: {{ .Result.title_desc }}</br>{{ else }}{{ end }}{{ if .Result.year }}Year: {{ .Result.year }}</br>{{ else }}{{ end }}{{ if .Result.genre }}Genres: {{ .Result.genre }}</br>{{ else }}{{ end }}{{ if .Result._tagline_desc }}Tagline: {{ .Result._tagline_desc }}</br>{{ else }}{{ end }}{{ if .Result._cast_desc }}Cast: {{ .Result._cast_desc }}</br>{{ else }}{{ end }}{{ if .Result._rating_desc }}Rating: {{ .Result._rating_desc }}</br>{{ else }}{{ end }}{{ if .Result._plot_desc }}Plot: {{ .Result._plot_desc }}</br>{{ else }}{{ end }}{{ if .Result._tag_desc }}Tags: {{ .Result._tag_desc }}</br>{{ else }}{{ end }}{{ if .Result._predate_desc }}PRE: {{ .Result._predate_desc }}</br>{{ else }}{{ end }}{{ if .Result._section_desc }}Section: {{ .Result._section_desc }}{{ else }}{{ end }}"
                }
            }
        }
    },
    "swarmazon-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "swarmazon-api",
        "name": "Swarmazon (API)",
        "description": "Swarmazon is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://swarmazon.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Television"
                },
                {
                    "id": 3,
                    "cat": "Other",
                    "desc": "Video Courses"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 5,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 6,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 7,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 8,
                    "cat": "Books/EBook",
                    "desc": "E-Books"
                },
                {
                    "id": 9,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Books"
                },
                {
                    "id": 10,
                    "cat": "Books/Comics",
                    "desc": "Comics"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing the <a href=\"https://swarmazon.club/en/view/settings.php?section=token\" target=\"_blank\">Token Setting</a> page."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            }
        ],
        "login": {
            "path": "api/search.php",
            "method": "get",
            "inputs": {
                "api_key": "{{ .Config.apikey }}",
                "limit": 1
            },
            "error": [
                {
                    "selector": ":root:contains(\"Invalid API key\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/search.php",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "api_key": "{{ .Config.apikey }}",
                "filter": "{{ .Keywords }}",
                "media_ref": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}",
                "freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "limit": 100
            },
            "rows": {
                "selector": "data"
            },
            "fields": {
                "category": {
                    "selector": "categoryid"
                },
                "title": {
                    "selector": "name"
                },
                "details": {
                    "selector": "torrent"
                },
                "download": {
                    "selector": "download"
                },
                "poster": {
                    "selector": "media_poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "N/A",
                                ""
                            ]
                        }
                    ]
                },
                "genre": {
                    "selector": "media_genre"
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "infohash": {
                    "selector": "hash"
                },
                "imdbid": {
                    "selector": "ref_id:contains(tt)"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "completed"
                },
                "date": {
                    "selector": "upload_timestamp",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "downloadvolumefactor": {
                    "selector": "freeleech",
                    "case": {
                        "0": 1,
                        "*": 0
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1.1
                }
            }
        }
    },
    "tangpt": {
        "credentials": {
            "cookie": ""
        },
        "id": "tangpt",
        "name": "TangPT (躺平)",
        "description": "TangPT (躺平) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.tangpt.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育"
                },
                {
                    "id": 409,
                    "cat": "Audio/Lossless",
                    "desc": "音乐"
                },
                {
                    "id": 414,
                    "cat": "Other",
                    "desc": "其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted</li><li>Elite User or above would never be deleted if parked (at User CP)</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row</li><li>Un-parked accounts would be deleted if users have not logged in for more than 150 days in a row</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "tapochek": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "tapochek",
        "name": "Tapochek",
        "description": "Tapochek is a RUSSIAN Private Torrent Tracker for 0DAY / GENERAL",
        "language": "ru-RU",
        "type": "private",
        "encoding": "windows-1251",
        "links": [
            "https://tapochek.net/"
        ],
        "legacylinks": [
            "http://tapochek.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2,
                    "cat": "PC/Games",
                    "desc": "Игры для PC (в разработке, разное, обсуждения)"
                },
                {
                    "id": 14,
                    "cat": "PC/Games",
                    "desc": "Игры в разработке и демо-версии"
                },
                {
                    "id": 9,
                    "cat": "PC/Games",
                    "desc": "Разное (дополнения, патчи, русификаторы)"
                },
                {
                    "id": 18,
                    "cat": "PC/Games",
                    "desc": "Горячие новинки"
                },
                {
                    "id": 24,
                    "cat": "PC/Games",
                    "desc": "Приключения и квесты"
                },
                {
                    "id": 25,
                    "cat": "PC/Games",
                    "desc": "Стратегии"
                },
                {
                    "id": 19,
                    "cat": "PC/Games",
                    "desc": "Аркады"
                },
                {
                    "id": 29,
                    "cat": "PC/Games",
                    "desc": "Симуляторы"
                },
                {
                    "id": 35,
                    "cat": "PC/Games",
                    "desc": "Экшены"
                },
                {
                    "id": 40,
                    "cat": "PC/Games",
                    "desc": "Ролевые игры"
                },
                {
                    "id": 41,
                    "cat": "PC/Games",
                    "desc": "Эротические игры"
                },
                {
                    "id": 43,
                    "cat": "PC/Games",
                    "desc": "Эротические"
                },
                {
                    "id": 42,
                    "cat": "PC/Games",
                    "desc": "Хентайные"
                },
                {
                    "id": 968,
                    "cat": "PC/Games",
                    "desc": "Игры для VR"
                },
                {
                    "id": 46,
                    "cat": "PC/Games",
                    "desc": "Для самых маленьких"
                },
                {
                    "id": 978,
                    "cat": "PC/Games",
                    "desc": "Игры для macOS и Linux"
                },
                {
                    "id": 69,
                    "cat": "Console/XBox",
                    "desc": "Xbox"
                },
                {
                    "id": 86,
                    "cat": "Console/XBox 360",
                    "desc": "XBox360 | Игры"
                },
                {
                    "id": 646,
                    "cat": "Console/XBox 360",
                    "desc": "XBox360 | JTAG"
                },
                {
                    "id": 87,
                    "cat": "Console/XBox 360",
                    "desc": "XBox360 | 360E"
                },
                {
                    "id": 89,
                    "cat": "Console/XBox 360",
                    "desc": "XBox360 | Demo"
                },
                {
                    "id": 612,
                    "cat": "Console/XBox 360",
                    "desc": "XBox360 | Live"
                },
                {
                    "id": 614,
                    "cat": "Console/XBox 360",
                    "desc": "XBox360 | Soft"
                },
                {
                    "id": 88,
                    "cat": "Console/XBox",
                    "desc": "XBox | Игры"
                },
                {
                    "id": 70,
                    "cat": "Console/PSP",
                    "desc": "PlayStation"
                },
                {
                    "id": 973,
                    "cat": "Console/PS4",
                    "desc": "PS5 | Игры"
                },
                {
                    "id": 910,
                    "cat": "Console/PS4",
                    "desc": "PS4 | Игры"
                },
                {
                    "id": 911,
                    "cat": "Console/PS4",
                    "desc": "PS4 | Сцена"
                },
                {
                    "id": 689,
                    "cat": "Console/PS3",
                    "desc": "PS3 | Игры"
                },
                {
                    "id": 818,
                    "cat": "Console/PS3",
                    "desc": "PS3 | Сцена"
                },
                {
                    "id": 696,
                    "cat": "Console/PSP",
                    "desc": "PSN | Игры"
                },
                {
                    "id": 853,
                    "cat": "Console/PS3",
                    "desc": "PS3 | Emulation"
                },
                {
                    "id": 904,
                    "cat": "Console/PS Vita",
                    "desc": "PS Vita | Игры"
                },
                {
                    "id": 102,
                    "cat": "Console/PSP",
                    "desc": "PSP | Игры"
                },
                {
                    "id": 103,
                    "cat": "Console/PS3",
                    "desc": "PS2 | Игры"
                },
                {
                    "id": 104,
                    "cat": "Console/PSP",
                    "desc": "PSX | Игры"
                },
                {
                    "id": 435,
                    "cat": "Console/PSP",
                    "desc": "PSP | Сцена"
                },
                {
                    "id": 105,
                    "cat": "Console/PSP",
                    "desc": "PSP | PSX-PSP"
                },
                {
                    "id": 690,
                    "cat": "Console/PS3",
                    "desc": "PS3 | Прочее"
                },
                {
                    "id": 178,
                    "cat": "Console/PSP",
                    "desc": "PSP | Прочее"
                },
                {
                    "id": 78,
                    "cat": "Console/NDS",
                    "desc": "Nintendo"
                },
                {
                    "id": 148,
                    "cat": "Console/NDS",
                    "desc": "Архив (Nintendo)"
                },
                {
                    "id": 116,
                    "cat": "Console/NDS",
                    "desc": "NDS | Игры"
                },
                {
                    "id": 885,
                    "cat": "Console/3DS",
                    "desc": "3DS | Игры"
                },
                {
                    "id": 912,
                    "cat": "Console",
                    "desc": "Switch | Игры"
                },
                {
                    "id": 115,
                    "cat": "Console/Wii",
                    "desc": "Wii | Игры"
                },
                {
                    "id": 899,
                    "cat": "Console/WiiU",
                    "desc": "Wii U | Игры"
                },
                {
                    "id": 900,
                    "cat": "Console/WiiU",
                    "desc": "Wii U | Сцена"
                },
                {
                    "id": 381,
                    "cat": "Console/Wiiware",
                    "desc": "WiiWare | Игры"
                },
                {
                    "id": 382,
                    "cat": "Console",
                    "desc": "GameCube | Игры"
                },
                {
                    "id": 349,
                    "cat": "Console",
                    "desc": "Sega"
                },
                {
                    "id": 350,
                    "cat": "Console",
                    "desc": "Dreamcast | Игры"
                },
                {
                    "id": 351,
                    "cat": "Console",
                    "desc": "Saturn | Игры"
                },
                {
                    "id": 352,
                    "cat": "Console",
                    "desc": "Игры для старых консолей"
                },
                {
                    "id": 390,
                    "cat": "Console",
                    "desc": "Коллекции (игры для разных платформ)"
                },
                {
                    "id": 964,
                    "cat": "Movies/UHD",
                    "desc": "Новинки | UHD 4K"
                },
                {
                    "id": 431,
                    "cat": "Movies/WEB-DL",
                    "desc": "Новинки | HD"
                },
                {
                    "id": 430,
                    "cat": "Movies",
                    "desc": "Новинки | Rips"
                },
                {
                    "id": 703,
                    "cat": "Movies",
                    "desc": "Новинки | CAMRip, TS, WEBRip(LQ)"
                },
                {
                    "id": 963,
                    "cat": "Movies/UHD",
                    "desc": "Зарубежное кино | UHD 4K"
                },
                {
                    "id": 122,
                    "cat": "Movies/HD",
                    "desc": "Зарубежное кино | HD"
                },
                {
                    "id": 124,
                    "cat": "Movies/Foreign",
                    "desc": "Зарубежное кино | Rips"
                },
                {
                    "id": 123,
                    "cat": "Movies",
                    "desc": "Сборники фильмов"
                },
                {
                    "id": 974,
                    "cat": "Movies/UHD",
                    "desc": "Отечественное кино | UHD 4K"
                },
                {
                    "id": 128,
                    "cat": "Movies/HD",
                    "desc": "Отечественное кино | HD Rips"
                },
                {
                    "id": 133,
                    "cat": "Movies/DVD",
                    "desc": "Отечественное кино | DVD"
                },
                {
                    "id": 131,
                    "cat": "Movies",
                    "desc": "Российское и советское кино | Rips"
                },
                {
                    "id": 869,
                    "cat": "Movies/3D",
                    "desc": "3D"
                },
                {
                    "id": 325,
                    "cat": "TV/UHD",
                    "desc": "Мультфильмы | UHD 4K"
                },
                {
                    "id": 324,
                    "cat": "TV/HD",
                    "desc": "Мультфильмы | HD Rips"
                },
                {
                    "id": 328,
                    "cat": "TV",
                    "desc": "Мультфильмы | Rips"
                },
                {
                    "id": 330,
                    "cat": "TV",
                    "desc": "Сборники мультфильмов"
                },
                {
                    "id": 321,
                    "cat": "TV",
                    "desc": "Мультсериалы"
                },
                {
                    "id": 162,
                    "cat": "TV/Documentary",
                    "desc": "Документальные фильмы и телешоу Сериалы"
                },
                {
                    "id": 982,
                    "cat": "TV/UHD",
                    "desc": "Новинки зарубежных сериалов UHD|4K"
                },
                {
                    "id": 886,
                    "cat": "TV",
                    "desc": "Новинки зарубежных сериалов"
                },
                {
                    "id": 986,
                    "cat": "TV/UHD",
                    "desc": "Зарубежные сериалы UHD|4K до 2025г"
                },
                {
                    "id": 135,
                    "cat": "TV",
                    "desc": "Зарубежные сериалы до 2025г."
                },
                {
                    "id": 160,
                    "cat": "TV",
                    "desc": "Новинки русских сериалов"
                },
                {
                    "id": 979,
                    "cat": "TV",
                    "desc": "Русские сериалы до 2025г"
                },
                {
                    "id": 693,
                    "cat": "TV/Anime",
                    "desc": "Аниме (Основной)"
                },
                {
                    "id": 660,
                    "cat": "TV/Anime",
                    "desc": "Онгоинги и новинки аниме"
                },
                {
                    "id": 95,
                    "cat": "TV/Anime",
                    "desc": "Аниме (HD)"
                },
                {
                    "id": 684,
                    "cat": "TV/Anime",
                    "desc": "Аниме (Rips | DVD)"
                },
                {
                    "id": 106,
                    "cat": "TV/Anime",
                    "desc": "Манга и прочий арт"
                },
                {
                    "id": 680,
                    "cat": "TV/Anime",
                    "desc": "Аниме (Хентай)"
                },
                {
                    "id": 682,
                    "cat": "TV/Anime",
                    "desc": "UnCensored"
                },
                {
                    "id": 681,
                    "cat": "TV/Anime",
                    "desc": "Censored"
                },
                {
                    "id": 697,
                    "cat": "TV/Anime",
                    "desc": "Манга, обои, артбуки и др."
                },
                {
                    "id": 988,
                    "cat": "TV/Anime",
                    "desc": "Китайская и корейская анимация"
                },
                {
                    "id": 450,
                    "cat": "Audio",
                    "desc": "Общий раздел музыки"
                },
                {
                    "id": 470,
                    "cat": "Audio",
                    "desc": "Классическая музыка"
                },
                {
                    "id": 495,
                    "cat": "Audio",
                    "desc": "New Age, Relax, Meditative & Flamenco"
                },
                {
                    "id": 456,
                    "cat": "Audio",
                    "desc": "Jazz, Blues"
                },
                {
                    "id": 462,
                    "cat": "Audio",
                    "desc": "Reggae, Ska, Dub"
                },
                {
                    "id": 491,
                    "cat": "Audio",
                    "desc": "Фольклор, Народная и Этническая музыка"
                },
                {
                    "id": 468,
                    "cat": "Audio",
                    "desc": "Зарубежный Rock"
                },
                {
                    "id": 469,
                    "cat": "Audio/Lossless",
                    "desc": "Rосk, Mеtаl, Аltеrnаtivе, Рunk, Indереndеnt (lоsslеss)"
                },
                {
                    "id": 472,
                    "cat": "Audio/MP3",
                    "desc": "Rосk, Mеtаl, Аltеrnаtivе, Рunk, Indереndеnt (mp3)"
                },
                {
                    "id": 476,
                    "cat": "Audio",
                    "desc": "Отечественный Rock"
                },
                {
                    "id": 477,
                    "cat": "Audio/Lossless",
                    "desc": "Rосk, Metal, Punk, Alternative (losslеss)"
                },
                {
                    "id": 479,
                    "cat": "Audio/MP3",
                    "desc": "Rосk, Metal, Punk, Alternative (mр3)"
                },
                {
                    "id": 482,
                    "cat": "Audio",
                    "desc": "Поп-музыка, Eurodance, Disco"
                },
                {
                    "id": 483,
                    "cat": "Audio",
                    "desc": "Зарубежная Поп-музыка"
                },
                {
                    "id": 484,
                    "cat": "Audio",
                    "desc": "Отечественная Поп-музыка"
                },
                {
                    "id": 485,
                    "cat": "Audio",
                    "desc": "Eurodance, Technopop, Disco"
                },
                {
                    "id": 489,
                    "cat": "Audio/MP3",
                    "desc": "Поп-музыка, Eurodance, Disco (сборники) (mp3)"
                },
                {
                    "id": 503,
                    "cat": "Audio",
                    "desc": "Rap, Hip-Hop, R'n'B"
                },
                {
                    "id": 504,
                    "cat": "Audio",
                    "desc": "Зарубежный Rap, Hip-Hop, R'n'B"
                },
                {
                    "id": 505,
                    "cat": "Audio",
                    "desc": "Отечественный Rap, Hip-Hop, R'n'B"
                },
                {
                    "id": 509,
                    "cat": "Audio",
                    "desc": "Электронная музыка"
                },
                {
                    "id": 510,
                    "cat": "Audio",
                    "desc": "Trance, Goa Trance, Psy-Trance, PsyChill, Ambient Dub"
                },
                {
                    "id": 511,
                    "cat": "Audio",
                    "desc": "House, Techno, Hardcore, Hardstyle, Jumpstyle"
                },
                {
                    "id": 512,
                    "cat": "Audio",
                    "desc": "Drum & Bass, Jungle, Breakbeat, Dubstep, IDM"
                },
                {
                    "id": 513,
                    "cat": "Audio",
                    "desc": "Chillout, Lounge, Downtempo, Trip-Hop"
                },
                {
                    "id": 514,
                    "cat": "Audio",
                    "desc": "Traditional Electronic, Ambient, Experimental"
                },
                {
                    "id": 515,
                    "cat": "Audio",
                    "desc": "Industrial, Noise, EBM, Dark Electro, Aggrotech, Synthpop, N.."
                },
                {
                    "id": 534,
                    "cat": "Audio",
                    "desc": "Музыка разное"
                },
                {
                    "id": 396,
                    "cat": "Audio",
                    "desc": "Саундтреки"
                },
                {
                    "id": 542,
                    "cat": "Audio",
                    "desc": "Неофициальные и внежанровые сборники"
                },
                {
                    "id": 547,
                    "cat": "Audio",
                    "desc": "Hi-Res stereo"
                },
                {
                    "id": 546,
                    "cat": "Audio",
                    "desc": "Собственные оцифровки"
                },
                {
                    "id": 535,
                    "cat": "Audio",
                    "desc": "Музыка других жанров"
                },
                {
                    "id": 539,
                    "cat": "Audio",
                    "desc": "Музыкальное видео"
                },
                {
                    "id": 639,
                    "cat": "TV",
                    "desc": "Обучающие видеоматериалы"
                },
                {
                    "id": 202,
                    "cat": "TV",
                    "desc": "macOS и ПО под них"
                },
                {
                    "id": 274,
                    "cat": "TV",
                    "desc": "Веб-разработка и программирование"
                },
                {
                    "id": 303,
                    "cat": "TV",
                    "desc": "Материалы для мультимедиа и дизайна"
                },
                {
                    "id": 969,
                    "cat": "PC",
                    "desc": "Windows 11"
                },
                {
                    "id": 905,
                    "cat": "PC",
                    "desc": "Windows 10"
                },
                {
                    "id": 230,
                    "cat": "PC",
                    "desc": "Windows 7"
                },
                {
                    "id": 227,
                    "cat": "PC",
                    "desc": "Настольные OS, выпущенные до 2001 года (Microsoft Windows OS.."
                },
                {
                    "id": 970,
                    "cat": "PC",
                    "desc": "Сборки (Microsoft Windows 11)"
                },
                {
                    "id": 906,
                    "cat": "PC",
                    "desc": "Сборки (Microsoft Windows 10)"
                },
                {
                    "id": 701,
                    "cat": "PC",
                    "desc": "Сборки (Microsoft Windows 7)"
                },
                {
                    "id": 231,
                    "cat": "PC",
                    "desc": "Серверные (Microsoft Windows OS)"
                },
                {
                    "id": 232,
                    "cat": "PC",
                    "desc": "Разное (Microsoft Windows, WinXP, Vista, 8)"
                },
                {
                    "id": 236,
                    "cat": "PC",
                    "desc": "Работа с жёстким диском"
                },
                {
                    "id": 237,
                    "cat": "PC",
                    "desc": "Резервное копирование"
                },
                {
                    "id": 240,
                    "cat": "PC",
                    "desc": "Архиваторы и файловые менеджеры"
                },
                {
                    "id": 239,
                    "cat": "PC",
                    "desc": "Программы для настройки и оптимизации ОС"
                },
                {
                    "id": 241,
                    "cat": "PC",
                    "desc": "Сервисное обслуживание компьютера"
                },
                {
                    "id": 242,
                    "cat": "PC",
                    "desc": "Работа с носителями информации"
                },
                {
                    "id": 243,
                    "cat": "PC",
                    "desc": "Информация и диагностика"
                },
                {
                    "id": 244,
                    "cat": "PC",
                    "desc": "Программы для интернет и сетей"
                },
                {
                    "id": 245,
                    "cat": "PC",
                    "desc": "Антивирусы и Файерволы"
                },
                {
                    "id": 246,
                    "cat": "PC",
                    "desc": "Программы для защиты информации"
                },
                {
                    "id": 247,
                    "cat": "PC",
                    "desc": "Драйвера"
                },
                {
                    "id": 248,
                    "cat": "PC",
                    "desc": "Серверное ПО для Windows"
                },
                {
                    "id": 249,
                    "cat": "PC",
                    "desc": "Изменение интерфейса ОС Windows"
                },
                {
                    "id": 250,
                    "cat": "PC",
                    "desc": "Скринсейверы"
                },
                {
                    "id": 251,
                    "cat": "PC",
                    "desc": "Разное (Системные программы под Windows)"
                },
                {
                    "id": 409,
                    "cat": "PC",
                    "desc": "Системы автоматизации проектных работ (САПР)"
                },
                {
                    "id": 607,
                    "cat": "PC",
                    "desc": "Программы для архитекторов и дизайнеров интерьеров"
                },
                {
                    "id": 593,
                    "cat": "PC",
                    "desc": "Офисные программы и системы"
                },
                {
                    "id": 595,
                    "cat": "PC",
                    "desc": "Системы для научной работы"
                },
                {
                    "id": 594,
                    "cat": "PC",
                    "desc": "Системы для бизнеса"
                },
                {
                    "id": 257,
                    "cat": "PC",
                    "desc": "Каталогизаторы и просмотрщики графики"
                },
                {
                    "id": 258,
                    "cat": "PC",
                    "desc": "Аудио- и видео-, CD- проигрыватели и каталогизаторы"
                },
                {
                    "id": 259,
                    "cat": "PC",
                    "desc": "Программы для интернет и сетей"
                },
                {
                    "id": 260,
                    "cat": "PC",
                    "desc": "Распознавание текста, звука и синтез речи"
                },
                {
                    "id": 261,
                    "cat": "PC",
                    "desc": "Словари и переводчики"
                },
                {
                    "id": 262,
                    "cat": "PC",
                    "desc": "Программное обеспечение для автолюбителей"
                },
                {
                    "id": 263,
                    "cat": "PC",
                    "desc": "Медицинское программное обеспечение"
                },
                {
                    "id": 264,
                    "cat": "PC",
                    "desc": "Справочные системы и карты"
                },
                {
                    "id": 265,
                    "cat": "PC",
                    "desc": "Разное (Пользовательские программы)"
                },
                {
                    "id": 278,
                    "cat": "PC",
                    "desc": "Программные комплекты"
                },
                {
                    "id": 280,
                    "cat": "PC",
                    "desc": "Графические редакторы"
                },
                {
                    "id": 281,
                    "cat": "PC",
                    "desc": "Программы для верстки, печати и работы со шрифтами"
                },
                {
                    "id": 282,
                    "cat": "PC",
                    "desc": "3D моделирование, рендеринг и плагины для них"
                },
                {
                    "id": 283,
                    "cat": "PC",
                    "desc": "Анимация"
                },
                {
                    "id": 285,
                    "cat": "PC",
                    "desc": "Редакторы видео"
                },
                {
                    "id": 286,
                    "cat": "PC",
                    "desc": "Видео- Аудио- конверторы"
                },
                {
                    "id": 287,
                    "cat": "PC",
                    "desc": "Работа со звуком"
                },
                {
                    "id": 290,
                    "cat": "PC",
                    "desc": "Разное (Программы для работы с мультимедиа и 3D)"
                },
                {
                    "id": 623,
                    "cat": "PC",
                    "desc": "Мобильные телефоны"
                },
                {
                    "id": 624,
                    "cat": "PC",
                    "desc": "КПК"
                },
                {
                    "id": 625,
                    "cat": "PC",
                    "desc": "Навигаторы"
                },
                {
                    "id": 717,
                    "cat": "Books",
                    "desc": "Аудиокниги"
                },
                {
                    "id": 738,
                    "cat": "Books",
                    "desc": "Детектив / боевик"
                },
                {
                    "id": 739,
                    "cat": "Books",
                    "desc": "Фантастика / фэнтези / мистика / ужасы"
                },
                {
                    "id": 836,
                    "cat": "Books",
                    "desc": "Роман / комедийные произведения / приключения"
                },
                {
                    "id": 838,
                    "cat": "Books",
                    "desc": "Классическая литература и современная проза"
                },
                {
                    "id": 837,
                    "cat": "Books",
                    "desc": "Образование и Право"
                },
                {
                    "id": 843,
                    "cat": "Books",
                    "desc": "Разное"
                },
                {
                    "id": 713,
                    "cat": "Books",
                    "desc": "Художественная литература"
                },
                {
                    "id": 724,
                    "cat": "Books",
                    "desc": "Детектив / боевик"
                },
                {
                    "id": 728,
                    "cat": "Books",
                    "desc": "Фантастика / фэнтези / мистика / ужасы"
                },
                {
                    "id": 725,
                    "cat": "Books",
                    "desc": "Роман / приключения / драма"
                },
                {
                    "id": 727,
                    "cat": "Books",
                    "desc": "Комедийные произведения"
                },
                {
                    "id": 723,
                    "cat": "Books",
                    "desc": "Историческая книга"
                },
                {
                    "id": 721,
                    "cat": "Books",
                    "desc": "Классическая литература и современная проза"
                },
                {
                    "id": 722,
                    "cat": "Books",
                    "desc": "Поэзия"
                },
                {
                    "id": 844,
                    "cat": "Books",
                    "desc": "Разное"
                },
                {
                    "id": 718,
                    "cat": "Books",
                    "desc": "Журналы"
                },
                {
                    "id": 763,
                    "cat": "Books",
                    "desc": "Эротические журналы"
                },
                {
                    "id": 715,
                    "cat": "Books",
                    "desc": "Компьютерная литература"
                },
                {
                    "id": 839,
                    "cat": "Books",
                    "desc": "Научная и тех.литература"
                },
                {
                    "id": 719,
                    "cat": "Books",
                    "desc": "Образование, Право и Психология"
                },
                {
                    "id": 846,
                    "cat": "Books",
                    "desc": "Сексология"
                },
                {
                    "id": 840,
                    "cat": "Books",
                    "desc": "Военное дело"
                },
                {
                    "id": 842,
                    "cat": "Books",
                    "desc": "Спорт и физическое воспитание"
                },
                {
                    "id": 841,
                    "cat": "Books",
                    "desc": "Хобби"
                },
                {
                    "id": 716,
                    "cat": "Books",
                    "desc": "Дом и семейный очаг"
                },
                {
                    "id": 714,
                    "cat": "Books",
                    "desc": "Книги для малышей и их родителей"
                },
                {
                    "id": 845,
                    "cat": "Books",
                    "desc": "Комиксы"
                },
                {
                    "id": 741,
                    "cat": "Books",
                    "desc": "Разное"
                },
                {
                    "id": 378,
                    "cat": "Other",
                    "desc": "Анонсы"
                },
                {
                    "id": 644,
                    "cat": "Other",
                    "desc": "Разное"
                }
            ],
            "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": "info_ymd",
                "type": "info",
                "label": "About the date",
                "default": "Before using this indexer please check on the Tapochek website that your account profile <b>Y-m-d</b> setting is <b>Y-m-d H:i</b>. If it is anything else then this indexer will generate a parse error and not return results."
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action$=\"/login.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[src^=\"profile.php?mode=confirm&id=\"]",
                "input": "cfmcd"
            },
            "inputs": {
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "autologin": 1,
                "redirect": "index.php"
            },
            "selectorinputs": {
                "cookie_test": {
                    "selector": "input[name=\"cookie_test\"]",
                    "attribute": "value",
                    "optional": true
                },
                "confirm_id": {
                    "selector": "input[name=\"confirm_id\"]",
                    "attribute": "value",
                    "optional": true
                },
                "sid": {
                    "selector": "input[name=\"sid\"]:not(input[id=\"dl-sid\"])",
                    "attribute": "value",
                    "optional": true
                }
            },
            "error": [
                {
                    "selector": "h4:contains(\"Вы ввели\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"./login.php?logout=1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker.php"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "nm": "{{ .Keywords }}",
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "tm": -1,
                "sns": -1,
                "gold": "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "сезон $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bE0*(\\d+)\\b",
                        "сери $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "сезон $1 сери $2"
                    ]
                }
            ],
            "headers": {
                "Cookie": [
                    "tapochek_april_2026=1"
                ]
            },
            "rows": {
                "selector": "tr[id^=\"tor_\"]:has(a[href^=\"./download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a.gen",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "title": {
                    "selector": "a.genmed, a.seedmed",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Кураж-Бамбей",
                                "kurazh"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Кубик в Кубе",
                                "Kubik"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a.genmed, a.seedmed",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(6) > u"
                },
                "date": {
                    "selector": "td:last-child > u"
                },
                "seeders": {
                    "selector": "td.seedmed"
                },
                "leechers": {
                    "selector": "td.leechmed"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/tor_gold.gif\"]": 0,
                        "img[src=\"images/tor_silver.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.5
                },
                "description": {
                    "selector": "a.genmed, a.seedmed"
                }
            }
        }
    },
    "tasmanit": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "tasmanit",
        "name": "Tasmanit",
        "description": "Tasmanit.es is a AUSTRALIAN / NEW ZEALAND Private Torrent Tracker for AUS/NZ TV",
        "language": "en-AU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tasmanit.es/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 72,
                    "cat": "TV",
                    "desc": "Australian TV"
                },
                {
                    "id": 23,
                    "cat": "TV",
                    "desc": "AU-AUTOGEN"
                },
                {
                    "id": 8,
                    "cat": "TV",
                    "desc": "AU-Comedy"
                },
                {
                    "id": 18,
                    "cat": "TV",
                    "desc": "AU-Crime"
                },
                {
                    "id": 14,
                    "cat": "TV/Documentary",
                    "desc": "AU-Documentaries"
                },
                {
                    "id": 9,
                    "cat": "TV",
                    "desc": "AU-Drama"
                },
                {
                    "id": 10,
                    "cat": "TV",
                    "desc": "AU-Game/Quiz Shows"
                },
                {
                    "id": 12,
                    "cat": "TV",
                    "desc": "AU-Kids Shows"
                },
                {
                    "id": 21,
                    "cat": "TV",
                    "desc": "AU-Lifestyle"
                },
                {
                    "id": 11,
                    "cat": "TV",
                    "desc": "AU-News/Current Affair"
                },
                {
                    "id": 76,
                    "cat": "TV/Other",
                    "desc": "AU-Other"
                },
                {
                    "id": 82,
                    "cat": "Audio/Other",
                    "desc": "AU-Podcasts"
                },
                {
                    "id": 15,
                    "cat": "TV",
                    "desc": "AU-Real Crime"
                },
                {
                    "id": 13,
                    "cat": "TV",
                    "desc": "AU-Reality TV"
                },
                {
                    "id": 17,
                    "cat": "TV",
                    "desc": "AU-Science/Medical"
                },
                {
                    "id": 80,
                    "cat": "TV",
                    "desc": "AU-Soaps"
                },
                {
                    "id": 16,
                    "cat": "TV",
                    "desc": "AU-Talkshows"
                },
                {
                    "id": 22,
                    "cat": "Movies",
                    "desc": "AU-Telemovies"
                },
                {
                    "id": 73,
                    "cat": "TV",
                    "desc": "New Zealand TV"
                },
                {
                    "id": 61,
                    "cat": "TV",
                    "desc": "NZ-AUTOGEN"
                },
                {
                    "id": 47,
                    "cat": "TV",
                    "desc": "NZ-Comedy"
                },
                {
                    "id": 58,
                    "cat": "TV",
                    "desc": "NZ-Crime"
                },
                {
                    "id": 53,
                    "cat": "TV/Documentary",
                    "desc": "NZ-Documentaries"
                },
                {
                    "id": 48,
                    "cat": "TV",
                    "desc": "NZ-Dramas"
                },
                {
                    "id": 49,
                    "cat": "TV",
                    "desc": "NZ-Game/Quiz Shows"
                },
                {
                    "id": 51,
                    "cat": "TV",
                    "desc": "NZ-Kids Shows"
                },
                {
                    "id": 56,
                    "cat": "TV",
                    "desc": "NZ-Lifestyle"
                },
                {
                    "id": 50,
                    "cat": "TV",
                    "desc": "NZ-News/Current Affair"
                },
                {
                    "id": 60,
                    "cat": "TV",
                    "desc": "NZ-Real Crime"
                },
                {
                    "id": 52,
                    "cat": "TV",
                    "desc": "NZ-Reality TV"
                },
                {
                    "id": 54,
                    "cat": "TV",
                    "desc": "NZ-Science/Medical"
                },
                {
                    "id": 81,
                    "cat": "TV",
                    "desc": "NZ-Soaps"
                },
                {
                    "id": 57,
                    "cat": "TV",
                    "desc": "NZ-Talkshows"
                },
                {
                    "id": 59,
                    "cat": "Movies",
                    "desc": "NZ-Telemovies"
                },
                {
                    "id": 36,
                    "cat": "TV",
                    "desc": "NZ-Other"
                },
                {
                    "id": 55,
                    "cat": "TV",
                    "desc": "South African TV"
                },
                {
                    "id": 7,
                    "cat": "TV/Other",
                    "desc": "TV-Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-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": "added",
                "options": {
                    "added": "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": "To keep records updated reguarly, all inactive accounts will be deleted after 60 days of inactivity."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div#content:has(h2:contains(\"Login Failed\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php",
                    "method": "post"
                }
            ],
            "inputs": {
                "do": "search",
                "keywords": "{{ .Keywords }}",
                "search_type": "t_name",
                "category": 0,
                "include_dead_torrents": true,
                "sort": "{{ if .Config.freeleech }}free{{ else }}{{ .Config.sort }}{{ end }}",
                "order": "{{ if .Config.freeleech }}asc{{ else }}{{ .Config.type }}{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[^a-zA-Z0-9]+",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "table#sortabletable > tbody > tr:has(a[href]){{ if .Config.freeleech }}:has(img[src$=\\\"/freedownload.gif\\\"]){{ else }}{{ end }}"
            },
            "fields": {
                "title_default": {
                    "selector": "td:nth-child(2) a"
                },
                "title": {
                    "selector": "div.tooltip-content > div",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "category": {
                    "selector": "a[href*=\"/browse.php?category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href*=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[src*=\"/torrents/images/\"]",
                    "attribute": "src"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "date": {
                    "selector": "td:nth-child(2) > div:last-child",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/freedownload.gif\"]": 0,
                        "img[src$=\"/silverdownload.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"/x2.gif\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.5
                }
            }
        }
    },
    "teamctgame": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "teamctgame",
        "replaces": [
            "casatorrent"
        ],
        "name": "Team CT Game",
        "description": "Team CT Game (TCTG) is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://tctg.pm/"
        ],
        "legacylinks": [
            "https://teamctgame.co/",
            "http://teamctgame.xyz/",
            "https://teamctgame.xyz/",
            "https://tctg.in/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 409,
                    "cat": "Books/Comics",
                    "desc": "BD",
                    "default": true
                },
                {
                    "id": 410,
                    "cat": "Books/Mags",
                    "desc": "Ebooks - Presse",
                    "default": true
                },
                {
                    "id": 411,
                    "cat": "Audio/Audiobook",
                    "desc": "Ebooks - Audiobooks",
                    "default": true
                },
                {
                    "id": 412,
                    "cat": "Books/EBook",
                    "desc": "Ebooks - Ebooks",
                    "default": true
                },
                {
                    "id": 413,
                    "cat": "Movies/3D",
                    "desc": "Films - 3D",
                    "default": true
                },
                {
                    "id": 414,
                    "cat": "Movies/HD",
                    "desc": "Films - 4K",
                    "default": true
                },
                {
                    "id": 415,
                    "cat": "Movies/UHD",
                    "desc": "Films - 4K HDR",
                    "default": true
                },
                {
                    "id": 416,
                    "cat": "Movies/UHD",
                    "desc": "Films - 4K Light",
                    "default": true
                },
                {
                    "id": 417,
                    "cat": "Movies/UHD",
                    "desc": "Films - 4K Remux",
                    "default": true
                },
                {
                    "id": 418,
                    "cat": "Movies",
                    "desc": "Films - Animation",
                    "default": true
                },
                {
                    "id": 419,
                    "cat": "Movies/BluRay",
                    "desc": "Films - BDRip / BRRip",
                    "default": true
                },
                {
                    "id": 420,
                    "cat": "Movies/DVD",
                    "desc": "Films - DVD-R",
                    "default": true
                },
                {
                    "id": 421,
                    "cat": "Movies/DVD",
                    "desc": "Films - DVDRip",
                    "default": true
                },
                {
                    "id": 422,
                    "cat": "Movies/BluRay",
                    "desc": "Films - Full Bluray",
                    "default": true
                },
                {
                    "id": 423,
                    "cat": "Movies/HD",
                    "desc": "Films - HDTV",
                    "default": true
                },
                {
                    "id": 424,
                    "cat": "Movies/HD",
                    "desc": "Films - HD 1080p",
                    "default": true
                },
                {
                    "id": 425,
                    "cat": "Movies/HD",
                    "desc": "Films - HD 720p",
                    "default": true
                },
                {
                    "id": 426,
                    "cat": "Movies/HD",
                    "desc": "Films - HDLiGHT / M-HD",
                    "default": true
                },
                {
                    "id": 427,
                    "cat": "Movies/HD",
                    "desc": "Films - HDRiP",
                    "default": true
                },
                {
                    "id": 428,
                    "cat": "Movies",
                    "desc": "Films - Pack",
                    "default": true
                },
                {
                    "id": 429,
                    "cat": "Movies",
                    "desc": "Films - Remux",
                    "default": true
                },
                {
                    "id": 430,
                    "cat": "TV",
                    "desc": "Films - TVRip",
                    "default": true
                },
                {
                    "id": 431,
                    "cat": "Movies",
                    "desc": "Films - VO",
                    "default": true
                },
                {
                    "id": 432,
                    "cat": "Movies",
                    "desc": "Films - VOSTFR",
                    "default": true
                },
                {
                    "id": 433,
                    "cat": "Movies/WEB-DL",
                    "desc": "Films - Web",
                    "default": true
                },
                {
                    "id": 434,
                    "cat": "Movies/HD",
                    "desc": "Films - x265",
                    "default": true
                },
                {
                    "id": 436,
                    "cat": "Console",
                    "desc": "Jeux - Consoles",
                    "default": true
                },
                {
                    "id": 437,
                    "cat": "PC/Games",
                    "desc": "Jeux - PC",
                    "default": true
                },
                {
                    "id": 438,
                    "cat": "PC/0day",
                    "desc": "Logiciels -  Windows",
                    "default": true
                },
                {
                    "id": 439,
                    "cat": "Other",
                    "desc": "Logiciels - Graph / Wallpaper",
                    "default": true
                },
                {
                    "id": 440,
                    "cat": "TV/HD",
                    "desc": "Series - 4K HDR",
                    "default": true
                },
                {
                    "id": 441,
                    "cat": "TV/HD",
                    "desc": "Series TV - Pack HD",
                    "default": true
                },
                {
                    "id": 442,
                    "cat": "TV/HD",
                    "desc": "Series TV - Episode HD",
                    "default": true
                },
                {
                    "id": 443,
                    "cat": "TV/HD",
                    "desc": "Series TV - Pack HD VOSTFR",
                    "default": true
                },
                {
                    "id": 444,
                    "cat": "TV/HD",
                    "desc": "Series TV - Episode HD VOSTFR",
                    "default": true
                },
                {
                    "id": 445,
                    "cat": "TV/SD",
                    "desc": "Series TV - Pack SD",
                    "default": true
                },
                {
                    "id": 446,
                    "cat": "TV/SD",
                    "desc": "Series TV - Episode SD",
                    "default": true
                },
                {
                    "id": 447,
                    "cat": "TV/SD",
                    "desc": "Series TV - Pack SD VOSTFR",
                    "default": true
                },
                {
                    "id": 448,
                    "cat": "TV/SD",
                    "desc": "Series TV - Episode SD VOSTFR",
                    "default": true
                },
                {
                    "id": 449,
                    "cat": "TV/Anime",
                    "desc": "Series - Animés",
                    "default": true
                },
                {
                    "id": 450,
                    "cat": "TV",
                    "desc": "Spectacles - Tous",
                    "default": true
                },
                {
                    "id": 451,
                    "cat": "TV",
                    "desc": "TV - Emissions",
                    "default": true
                },
                {
                    "id": 452,
                    "cat": "TV/Documentary",
                    "desc": "TV - Documentaires",
                    "default": true
                },
                {
                    "id": 453,
                    "cat": "TV/Sport",
                    "desc": "TV - Sports",
                    "default": true
                },
                {
                    "id": 435,
                    "cat": "XXX",
                    "desc": "Films - XXX",
                    "default": false
                },
                {
                    "id": 456,
                    "cat": "XXX/Other",
                    "desc": "BD - XXX",
                    "default": false
                },
                {
                    "id": 457,
                    "cat": "XXX/Other",
                    "desc": "ebook - xxx",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi FRENCH": "MULTi FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi ENGLISH": "MULTi ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi VOSTFR": "MULTi VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Any account with an Uploaded and Downloaded amount of 0 will be deleted if users have not logged in for more than 30 days</li><li>Any account inactive for 60 days is automatically deleted</li><li>Any account On Vacation and inactive for 180 days is automatically deleted.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": "",
                "securelogin": ""
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"Erreur\"))"
                },
                {
                    "selector": "td.embedded:has(h2:contains(\"Échec\"))",
                    "message": {
                        "selector": "td.text"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        409,
                        410,
                        411,
                        412,
                        413,
                        414,
                        415,
                        416,
                        417,
                        418,
                        419,
                        420,
                        421,
                        422,
                        423,
                        424,
                        425,
                        426,
                        427,
                        428,
                        429,
                        430,
                        431,
                        432,
                        433,
                        434,
                        436,
                        437,
                        438,
                        439,
                        440,
                        441,
                        442,
                        443,
                        444,
                        445,
                        446,
                        447,
                        448,
                        449,
                        450,
                        451,
                        452,
                        453
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        435,
                        456,
                        457
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_phase1": {
                    "selector": "a[href^=\"details.php?id=\"] b"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "description": {
                    "case": {
                        "span[title=\"Autorisé\"]": "Verified",
                        "span[title=\"Pas examiné\"]": "Unverified",
                        "span[title=\"Refusé\"]": "Banned"
                    }
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "teamflix": {
        "credentials": {
            "apikey": ""
        },
        "id": "teamflix",
        "name": "TeamFlix",
        "description": "TeamFlix is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tracker.teamflix.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 7,
                    "cat": "Movies/Other",
                    "desc": "Animes"
                },
                {
                    "id": 8,
                    "cat": "TV/Anime",
                    "desc": "AnimeSeries"
                },
                {
                    "id": 14,
                    "cat": "TV/Other",
                    "desc": "Animation"
                },
                {
                    "id": 12,
                    "cat": "Audio/Video",
                    "desc": "Concerts"
                },
                {
                    "id": 10,
                    "cat": "TV/Documentary",
                    "desc": "Documentaires"
                },
                {
                    "id": 9,
                    "cat": "TV",
                    "desc": "EmissionsTV"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Films"
                },
                {
                    "id": 11,
                    "cat": "TV",
                    "desc": "Spectacles"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "SeriesTV"
                },
                {
                    "id": 13,
                    "cat": "Books",
                    "desc": "Ebook"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Jeux Console"
                },
                {
                    "id": 3,
                    "cat": "PC/Games",
                    "desc": "JeuxPC"
                },
                {
                    "id": 5,
                    "cat": "PC/0day",
                    "desc": "Logiciels"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "Musique"
                },
                {
                    "id": 15,
                    "cat": "Console/Other",
                    "desc": "Emulateur"
                },
                {
                    "id": 16,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://tracker.teamflix.cc/\" target=\"_blank\">TeamFlix</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi FRENCH": "MULTi FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi ENGLISH": "MULTi ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi VOSTFR": "MULTi VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "vfq",
                "type": "checkbox",
                "label": "Replace VFQ with FRENCH",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "Inactivity of an account for a period of 60 consecutive days will automatically deactivate your account."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title_phase1": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "title_vfq": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(VFQ)\\b",
                                "FRENCH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vfq }}{{ .Result.title_vfq }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase3": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase3 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase3 }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 360000
                }
            }
        }
    },
    "teamhd": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "teamhd",
        "name": "TeamHD",
        "description": "TeamHD is a RUSSIAN Private Torrent Tracker for HD MOVIES / TV",
        "language": "ru-RU",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://teamhd.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 29,
                    "cat": "Movies/HD",
                    "desc": "Movies Фильмы"
                },
                {
                    "id": 25,
                    "cat": "TV/Anime",
                    "desc": "Cartoons Мультфильмы"
                },
                {
                    "id": 26,
                    "cat": "Audio/Lossless",
                    "desc": "Hi-Res Audio"
                },
                {
                    "id": 27,
                    "cat": "Other",
                    "desc": "Demo Демо"
                },
                {
                    "id": 28,
                    "cat": "TV/Documentary",
                    "desc": "Documentary Документальное кино"
                },
                {
                    "id": 30,
                    "cat": "Audio/Video",
                    "desc": "Music Video Музыкальное видео"
                },
                {
                    "id": 31,
                    "cat": "TV/Sport",
                    "desc": "Sport Спорт"
                },
                {
                    "id": 32,
                    "cat": "TV/HD",
                    "desc": "TV Show ТВ Шоу"
                },
                {
                    "id": 33,
                    "cat": "TV/HD",
                    "desc": "Soaps Сериалы"
                },
                {
                    "id": 34,
                    "cat": "TV/HD",
                    "desc": "Other"
                },
                {
                    "id": 35,
                    "cat": "Movies",
                    "desc": "Content w/o subs Контент без перевода"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive users are regularly deleted. If you haven’t downloaded or distributed anything, or haven’t visited the site for 90 days, then you are a random guest on our resource. The tracker needs active users who know exactly why they came here. That’s why we regularly conduct automatic inactivity sweeps. If you need to be away from the tracker for a long time (business trip, personal circumstances, etc.), use 'parking' your account."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ re_replace .Keywords \"[\\s]+\" \"%\" }}",
                "incldead": 1,
                "free": "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
            },
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        " +(?:19|20)\\d{2} *$",
                        ""
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i) S0(\\d{1})$",
                        " Season $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i) S(\\d{2})$",
                        " Season $1"
                    ]
                }
            ],
            "rows": {
                "selector": "table.browse > tbody > tr"
            },
            "fields": {
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "title": {
                    "selector": "a[href^=\"/details/id\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Season (\\d{2})",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)Season (\\d{1})",
                                "S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[|\\]]",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"/details/id\"]",
                    "attribute": "href"
                },
                "category": {
                    "selector": "a[href*=\"/browse/cat\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)"
                        }
                    ]
                },
                "date": {
                    "selector": "td > div > small",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                1
                            ]
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-child(5) strong"
                },
                "size": {
                    "selector": "td:nth-child(5)",
                    "remove": "strong"
                },
                "downloadvolumefactor": {
                    "case": {
                        ":root:has(div.justify-content-center:contains(\"Включен фрилич до\"))": 0,
                        "a[href^=\"/details/id\"][style=\"color:#f2b101\"]": 0,
                        "a[href^=\"/details/id\"][style=\"color:#828b8b\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "description": {
                    "selector": "a[href^=\"/details/id\"]"
                }
            }
        }
    },
    "teamos": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "teamos",
        "name": "TeamOS",
        "description": "Team OS is a Private Torrent Tracker for SOFTWARE",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://www.teamos.xyz/"
        ],
        "legacylinks": [
            "https://www.teamos-hkrg.com/",
            "https://teamos-hkrg.com/",
            "https://teamos.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 18,
                    "cat": "PC",
                    "desc": "Team-OS VIP Releases"
                },
                {
                    "id": 19,
                    "cat": "PC",
                    "desc": "Windows 7 Releases"
                },
                {
                    "id": 20,
                    "cat": "PC",
                    "desc": "Windows 7 Releases 32 Bit"
                },
                {
                    "id": 21,
                    "cat": "PC",
                    "desc": "Windows 7 Releases 64 Bit"
                },
                {
                    "id": 22,
                    "cat": "PC",
                    "desc": "Windows 7 Releases  x86-x64 AIO"
                },
                {
                    "id": 24,
                    "cat": "PC",
                    "desc": "Windows 8.1 Release"
                },
                {
                    "id": 25,
                    "cat": "PC",
                    "desc": "Windows 8.1 Release 32 Bit"
                },
                {
                    "id": 26,
                    "cat": "PC",
                    "desc": "Windows 8.1 Release 64 Bit"
                },
                {
                    "id": 27,
                    "cat": "PC",
                    "desc": "Windows 8.1 Release x86-x64 AIO"
                },
                {
                    "id": 107,
                    "cat": "PC",
                    "desc": "Windows 10 Releases"
                },
                {
                    "id": 109,
                    "cat": "PC",
                    "desc": "Windows 10 Releases 64 Bit"
                },
                {
                    "id": 110,
                    "cat": "PC",
                    "desc": "Windows 10 Releases x86-x64 AIO"
                },
                {
                    "id": 28,
                    "cat": "PC",
                    "desc": "Operating Systems"
                },
                {
                    "id": 175,
                    "cat": "PC",
                    "desc": "Windows AIO Operating Systems"
                },
                {
                    "id": 29,
                    "cat": "PC",
                    "desc": "Windows XP"
                },
                {
                    "id": 30,
                    "cat": "PC",
                    "desc": "Windows XP 32 Bit"
                },
                {
                    "id": 31,
                    "cat": "PC",
                    "desc": "Windows XP 64 Bit"
                },
                {
                    "id": 32,
                    "cat": "PC",
                    "desc": "Windows XP x86/64+AIO"
                },
                {
                    "id": 33,
                    "cat": "PC",
                    "desc": "Windows 7"
                },
                {
                    "id": 34,
                    "cat": "PC",
                    "desc": "Windows 7 32 Bit"
                },
                {
                    "id": 35,
                    "cat": "PC",
                    "desc": "Windows 7 64 Bit"
                },
                {
                    "id": 36,
                    "cat": "PC",
                    "desc": "Windows 7 x86/64+AIO"
                },
                {
                    "id": 37,
                    "cat": "PC",
                    "desc": "Windows 8 & 8.1"
                },
                {
                    "id": 38,
                    "cat": "PC",
                    "desc": "Windows 8 & 8.1 32 Bit"
                },
                {
                    "id": 39,
                    "cat": "PC",
                    "desc": "Windows 8 & 8.1 64 Bit"
                },
                {
                    "id": 40,
                    "cat": "PC",
                    "desc": "Windows 8 & 8.1 x86/64+AIO"
                },
                {
                    "id": 42,
                    "cat": "PC",
                    "desc": "Windows 10"
                },
                {
                    "id": 43,
                    "cat": "PC",
                    "desc": "Windows 10 (x86)"
                },
                {
                    "id": 44,
                    "cat": "PC",
                    "desc": "Windows 10 (x64)"
                },
                {
                    "id": 45,
                    "cat": "PC",
                    "desc": "Windows 10 (x86 & x64)"
                },
                {
                    "id": 157,
                    "cat": "PC",
                    "desc": "Windows 11"
                },
                {
                    "id": 159,
                    "cat": "PC",
                    "desc": "Windows 11 (x64)"
                },
                {
                    "id": 140,
                    "cat": "PC/Mac",
                    "desc": "MacOS"
                },
                {
                    "id": 41,
                    "cat": "PC",
                    "desc": "Windows Servers/Old Windows OS/Others"
                },
                {
                    "id": 46,
                    "cat": "PC/ISO",
                    "desc": "Windows Untouched ISO(MSDN)"
                },
                {
                    "id": 47,
                    "cat": "PC",
                    "desc": "Windows 7 Untouched (MSDN)"
                },
                {
                    "id": 48,
                    "cat": "PC",
                    "desc": "Windows 7 32 Bit Untouched (MSDN)"
                },
                {
                    "id": 49,
                    "cat": "PC",
                    "desc": "Windows 7 64 Bit Untouched (MSDN)"
                },
                {
                    "id": 50,
                    "cat": "PC/ISO",
                    "desc": "Windows 7 x86/64+AIO Untouched ISO"
                },
                {
                    "id": 51,
                    "cat": "PC",
                    "desc": "Windows 8 & 8.1 Untouched (MSDN)"
                },
                {
                    "id": 52,
                    "cat": "PC",
                    "desc": "Windows 8 & 8.1 32 Bit Untouched (MSDN)"
                },
                {
                    "id": 53,
                    "cat": "PC",
                    "desc": "Windows 8 & 8.1 64 Bit Untouched (MSDN)"
                },
                {
                    "id": 54,
                    "cat": "PC/ISO",
                    "desc": "Windows 8 & 8.1 x86/64+AIO Untouched ISO"
                },
                {
                    "id": 58,
                    "cat": "PC/ISO",
                    "desc": "Microsoft Office Multi-lang Untouch ISO"
                },
                {
                    "id": 59,
                    "cat": "PC/ISO",
                    "desc": "x86-x64 bit Untouched Iso"
                },
                {
                    "id": 55,
                    "cat": "PC",
                    "desc": "Windows Server 2003 (Untouched)"
                },
                {
                    "id": 56,
                    "cat": "PC",
                    "desc": "Windows Server 2003 32 Bit Untouched"
                },
                {
                    "id": 57,
                    "cat": "PC",
                    "desc": "Windows Server 2003 64 Bit Untouched"
                },
                {
                    "id": 132,
                    "cat": "PC",
                    "desc": "Linux/Unix"
                },
                {
                    "id": 60,
                    "cat": "PC/0day",
                    "desc": "Software Releases"
                },
                {
                    "id": 71,
                    "cat": "PC/0day",
                    "desc": "Activators/ Crack/ patch/ keygen"
                },
                {
                    "id": 75,
                    "cat": "PC/0day",
                    "desc": "Adobe Plugins"
                },
                {
                    "id": 62,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android Apps"
                },
                {
                    "id": 141,
                    "cat": "PC/Mac",
                    "desc": "Mac Apps"
                },
                {
                    "id": 61,
                    "cat": "PC/0day",
                    "desc": "Antivirus"
                },
                {
                    "id": 65,
                    "cat": "PC/0day",
                    "desc": "Multimedia"
                },
                {
                    "id": 66,
                    "cat": "PC/0day",
                    "desc": "Audio Apps"
                },
                {
                    "id": 68,
                    "cat": "PC/0day",
                    "desc": "Photo Apps"
                },
                {
                    "id": 111,
                    "cat": "PC/0day",
                    "desc": "3D Modeling"
                },
                {
                    "id": 67,
                    "cat": "PC/0day",
                    "desc": "Video Apps"
                },
                {
                    "id": 76,
                    "cat": "PC/0day",
                    "desc": "Customisation"
                },
                {
                    "id": 69,
                    "cat": "PC/0day",
                    "desc": "Document Tools"
                },
                {
                    "id": 63,
                    "cat": "PC/0day",
                    "desc": "Download Managers"
                },
                {
                    "id": 77,
                    "cat": "PC/0day",
                    "desc": "Drivers and Necessary Tools"
                },
                {
                    "id": 64,
                    "cat": "PC/0day",
                    "desc": "DVD Tools"
                },
                {
                    "id": 73,
                    "cat": "PC/0day",
                    "desc": "Microsoft Office"
                },
                {
                    "id": 83,
                    "cat": "PC/0day",
                    "desc": "Silent Apps"
                },
                {
                    "id": 72,
                    "cat": "PC/0day",
                    "desc": "Other Softwares"
                },
                {
                    "id": 79,
                    "cat": "PC/0day",
                    "desc": "Recovery Tools"
                },
                {
                    "id": 78,
                    "cat": "PC/0day",
                    "desc": "Security Tools"
                },
                {
                    "id": 70,
                    "cat": "PC/0day",
                    "desc": "Utility Tools"
                },
                {
                    "id": 74,
                    "cat": "PC/0day",
                    "desc": "Web Tools"
                },
                {
                    "id": 81,
                    "cat": "PC/0day",
                    "desc": "Developers"
                },
                {
                    "id": 82,
                    "cat": "PC/0day",
                    "desc": "Designers"
                },
                {
                    "id": 84,
                    "cat": "PC",
                    "desc": "TEAM OS Other Stuff Releases"
                },
                {
                    "id": 131,
                    "cat": "PC/Mac",
                    "desc": "MAC Games"
                },
                {
                    "id": 88,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android Games"
                },
                {
                    "id": 85,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 86,
                    "cat": "Books/EBook",
                    "desc": "Ebooks"
                },
                {
                    "id": 87,
                    "cat": "Other",
                    "desc": "Wallpapers, Themes & Screensavers"
                },
                {
                    "id": 89,
                    "cat": "PC",
                    "desc": "Other Releases"
                },
                {
                    "id": 102,
                    "cat": "Other",
                    "desc": "Post And Share"
                },
                {
                    "id": 100,
                    "cat": "Other",
                    "desc": "Tutorials"
                },
                {
                    "id": 103,
                    "cat": "Other",
                    "desc": "Other Topic"
                },
                {
                    "id": 166,
                    "cat": "PC",
                    "desc": "Windows 64 Bit"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_novpn",
                "type": "info",
                "label": "VPN Not Allowed",
                "default": "You may be banned if you use a VPN, proxy, TOR or data center to access the TeamOS web site.​ This mean all brands of VPNS, no exceptions!!"
            },
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting the error <b>Found no results while trying to browse this tracker</b> then first access the site with your browser and read any mandatory notices that the site presents. You cannot browse torrents with unread notices outstanding."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[href=\"/account/\"]"
            }
        },
        "search": {
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "paths": [
                {
                    "path": "torrents/?filename={{ .Keywords }}&freeleech={{ if .Config.freeleech }}1{{ else }}{{ end }}"
                },
                {
                    "path": "torrents/?filename={{ .Keywords }}&page=2&freeleech={{ if .Config.freeleech }}1{{ else }}{{ end }}"
                },
                {
                    "path": "torrents/?filename={{ .Keywords }}&page=3&freeleech={{ if .Config.freeleech }}1{{ else }}{{ end }}"
                },
                {
                    "path": "torrents/?filename={{ .Keywords }}&page=4&freeleech={{ if .Config.freeleech }}1{{ else }}{{ end }}"
                }
            ],
            "rows": {
                "selector": "tr.dataList-row:has(td.download)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/forums/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\.(\\d+)\\/$"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/threads/\"]"
                },
                "details": {
                    "selector": "a[href^=\"/threads/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td.download a",
                    "attribute": "href"
                },
                "date": {
                    "selector": "li.structItem-startDate a time",
                    "attribute": "datetime"
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(2)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(1)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.label:contains(\"Freeleech\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "tekno3d": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "tekno3d",
        "name": "TEKNO3D",
        "description": "TEKNO3D is a Private Torrent Tracker for UHD MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tracker.tekno3d.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 29,
                    "cat": "Audio",
                    "desc": "Audio Tracks"
                },
                {
                    "id": 26,
                    "cat": "Movies/UHD",
                    "desc": "BETA UHD HDR-X"
                },
                {
                    "id": 32,
                    "cat": "Movies",
                    "desc": "Dolby Vision"
                },
                {
                    "id": 28,
                    "cat": "Movies",
                    "desc": "INTERNAL HDR-X"
                },
                {
                    "id": 37,
                    "cat": "Movies",
                    "desc": "Member Grades"
                },
                {
                    "id": 37,
                    "cat": "TV",
                    "desc": "Member Grades"
                },
                {
                    "id": 37,
                    "cat": "Audio/Video",
                    "desc": "Member Grades"
                },
                {
                    "id": 31,
                    "cat": "Other",
                    "desc": "YouTube HDR"
                },
                {
                    "id": 30,
                    "cat": "Other",
                    "desc": "[SAMPLES] INTERNAL HDR-X"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "onlyfree",
                "type": "checkbox",
                "label": "Show only Free torrents",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the 'Torrents per page' setting to 100 on your profile."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "use_ssl": 0,
                "perm_ssl": 0
            },
            "error": [
                {
                    "selector": "h2",
                    "message": {
                        "selector": "table tr td.colhead2"
                    }
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href*=\"logout.php?hash_please=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "searchin": "title",
                "incldead": 1,
                "only_free": "{{ if .Config.onlyfree }}1{{ else }}0{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(\\w+)",
                        "+$1"
                    ]
                }
            ],
            "rows": {
                "selector": "tr.highlight, tr.browse_color, tr.freeleech_color, tr[id^=\"kdescr\"]",
                "after": 1
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                ">",
                                "1"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "</b",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=\\\\\\'(.+?)\\\\\\'"
                        }
                    ]
                },
                "genre": {
                    "selector": "a[href$=\"searchin=genre\"]"
                },
                "files": {
                    "selector": "td:nth-of-type(5)"
                },
                "date_day": {
                    "selector": "td:nth-of-type(7):contains(\"day\")",
                    "optional": true
                },
                "date_year": {
                    "selector": "td:nth-of-type(7):not(:contains(\"day\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MMM d yyyy hh:mm tt zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-of-type(8)"
                },
                "grabs": {
                    "selector": "td:nth-of-type(9)"
                },
                "seeders": {
                    "selector": "td:nth-of-type(10)"
                },
                "leechers": {
                    "selector": "td:nth-of-type(11)"
                },
                "description": {
                    "selector": "td[colspan=\"14\"]",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "\n",
                                "<br>\n"
                            ]
                        },
                        {
                            "name": "prepend",
                            "args": "{{ if .Result.genre }}{{ .Result.genre }}</br>{{ else }}{{ end }}"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "a.info:contains(\"FREE\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "thebrothers": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "thebrothers",
        "name": "The Brothers",
        "description": "The Brothers is a Private GERMAN tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://leo-test.store/"
        ],
        "legacylinks": [
            "https://the-brothers.bounceme.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 214,
                    "cat": "TV/Anime",
                    "desc": "Anime UHD"
                },
                {
                    "id": 212,
                    "cat": "TV/Anime",
                    "desc": "Anime Serie HD"
                },
                {
                    "id": 213,
                    "cat": "TV/Anime",
                    "desc": "Anime Pack HD"
                },
                {
                    "id": 183,
                    "cat": "TV/Anime",
                    "desc": "Anime HD"
                },
                {
                    "id": 189,
                    "cat": "TV/Anime",
                    "desc": "Anime Serie"
                },
                {
                    "id": 184,
                    "cat": "TV/Anime",
                    "desc": "Anime SD"
                },
                {
                    "id": 186,
                    "cat": "TV/Anime",
                    "desc": "Anime 4K"
                },
                {
                    "id": 32,
                    "cat": "Movies/HD",
                    "desc": "Movie HD"
                },
                {
                    "id": 208,
                    "cat": "Movies/UHD",
                    "desc": "Movie 4 K"
                },
                {
                    "id": 124,
                    "cat": "Movies",
                    "desc": "Movie Pack"
                },
                {
                    "id": 114,
                    "cat": "Movies/DVD",
                    "desc": "Movie DVD"
                },
                {
                    "id": 196,
                    "cat": "Movies/UHD",
                    "desc": "Movie UHD"
                },
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Movie SD"
                },
                {
                    "id": 204,
                    "cat": "Movies/UHD",
                    "desc": "Movie UHD Pack"
                },
                {
                    "id": 26,
                    "cat": "Movies/3D",
                    "desc": "Movie 3D"
                },
                {
                    "id": 56,
                    "cat": "TV/SD",
                    "desc": "Serien DVD"
                },
                {
                    "id": 57,
                    "cat": "TV/HD",
                    "desc": "Serien HD"
                },
                {
                    "id": 59,
                    "cat": "TV",
                    "desc": "Serien Pack"
                },
                {
                    "id": 60,
                    "cat": "TV/SD",
                    "desc": "Serien SD"
                },
                {
                    "id": 203,
                    "cat": "TV/UHD",
                    "desc": "Serien UHD Pack"
                },
                {
                    "id": 215,
                    "cat": "TV/UHD",
                    "desc": "Serien UHD"
                },
                {
                    "id": 146,
                    "cat": "Movies",
                    "desc": "Kids Alles"
                },
                {
                    "id": 157,
                    "cat": "Movies",
                    "desc": "Klassiker All In"
                },
                {
                    "id": 9,
                    "cat": "PC",
                    "desc": "App Linux"
                },
                {
                    "id": 10,
                    "cat": "PC/Mac",
                    "desc": "App Mac"
                },
                {
                    "id": 11,
                    "cat": "PC/Mobile-Other",
                    "desc": "App Other"
                },
                {
                    "id": 12,
                    "cat": "PC/0day",
                    "desc": "App Win"
                },
                {
                    "id": 120,
                    "cat": "Console/PS3",
                    "desc": "Game PlayStation"
                },
                {
                    "id": 16,
                    "cat": "Console",
                    "desc": "Game Wimmelbild"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Game PC"
                },
                {
                    "id": 20,
                    "cat": "Console/PSP",
                    "desc": "Game PSP"
                },
                {
                    "id": 22,
                    "cat": "Console/Wii",
                    "desc": "Game Wii"
                },
                {
                    "id": 24,
                    "cat": "Console/XBox",
                    "desc": "Game XBOX"
                },
                {
                    "id": 126,
                    "cat": "Audio",
                    "desc": "Music Mp3/Flac"
                },
                {
                    "id": 48,
                    "cat": "Audio",
                    "desc": "Music Album"
                },
                {
                    "id": 49,
                    "cat": "Audio",
                    "desc": "Music Charts"
                },
                {
                    "id": 148,
                    "cat": "Audio",
                    "desc": "Music Discography"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "Music Pack"
                },
                {
                    "id": 54,
                    "cat": "Audio",
                    "desc": "Music Single"
                },
                {
                    "id": 55,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 125,
                    "cat": "Audio",
                    "desc": "Music Mixe"
                },
                {
                    "id": 61,
                    "cat": "TV/Sport",
                    "desc": "Sport Other"
                },
                {
                    "id": 130,
                    "cat": "TV/Sport",
                    "desc": "Sport WWE"
                },
                {
                    "id": 144,
                    "cat": "TV/Documentary",
                    "desc": "Sonstiges Doku"
                },
                {
                    "id": 131,
                    "cat": "Books/Mags",
                    "desc": "Sonstiges Zeitungen"
                },
                {
                    "id": 216,
                    "cat": "Books/Comics",
                    "desc": "Sonstiges Comic"
                },
                {
                    "id": 63,
                    "cat": "Audio/Audiobook",
                    "desc": "Sonstiges A-Book"
                },
                {
                    "id": 96,
                    "cat": "Books/EBook",
                    "desc": "Sonstiges E-Book"
                },
                {
                    "id": 69,
                    "cat": "Books",
                    "desc": "Sonstiges Tutorial"
                },
                {
                    "id": 71,
                    "cat": "Books/Other",
                    "desc": "Sonstiges Other"
                },
                {
                    "id": 98,
                    "cat": "Movies/HD",
                    "desc": "Internt'l Movie HD"
                },
                {
                    "id": 99,
                    "cat": "TV/HD",
                    "desc": "Internt'l Serie HD"
                },
                {
                    "id": 102,
                    "cat": "TV/SD",
                    "desc": "Internt'l Serie SD"
                },
                {
                    "id": 103,
                    "cat": "Movies/SD",
                    "desc": "Internt'l Movie SD"
                },
                {
                    "id": 104,
                    "cat": "Other",
                    "desc": "Internt'l Misc"
                },
                {
                    "id": 105,
                    "cat": "TV/Documentary",
                    "desc": "Internt'l Doku"
                },
                {
                    "id": 106,
                    "cat": "Books/EBook",
                    "desc": "Internt'l E-Book"
                },
                {
                    "id": 107,
                    "cat": "Audio/Audiobook",
                    "desc": "Internt'l A-Book"
                },
                {
                    "id": 115,
                    "cat": "Movies/DVD",
                    "desc": "Internt'l DVD"
                },
                {
                    "id": 73,
                    "cat": "XXX/x264",
                    "desc": "XXX HD"
                },
                {
                    "id": 75,
                    "cat": "XXX/Pack",
                    "desc": "XXX Pack"
                },
                {
                    "id": 76,
                    "cat": "XXX/SD",
                    "desc": "XXX SD"
                },
                {
                    "id": 113,
                    "cat": "XXX/DVD",
                    "desc": "XXX DVD"
                },
                {
                    "id": 159,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "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": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "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>Anzahl der Torrents beim Durchsuchen</b> <i>Torrents per page:</i> setting to <b>60</b> on your account profile. The default is <i>15</i>."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"/login.php\"]",
            "cookies": [
                "JAVA=OK"
            ],
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div#login_error"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download_ssl.php?torrent=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "selection.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "blah": 0,
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.selection_wrap"
            },
            "fields": {
                "category_p1": {
                    "selector": "div.kat_cat_pic_name"
                },
                "category_p2": {
                    "selector": "div.kat_cat_pic_name_b"
                },
                "categorydesc": {
                    "text": "{{ .Result.category_p1 }} {{ .Result.category_p2 }}"
                },
                "title": {
                    "selector": "a.selection_a",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^\\[[\\w ]*\\]\\s?",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a.selection_a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.selection_a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div[id^=\"details\"] img",
                    "attribute": "src"
                },
                "size": {
                    "selector": "div.selection_unter_ad"
                },
                "grabs": {
                    "selector": "div.selection_unter_ae"
                },
                "date_day": {
                    "selector": "div.selection_unter_ab:not(:contains(\".\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Heute",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Gestern",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.selection_unter_ab:contains(\".\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " um",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "seeders": {
                    "selector": "div.selection_unter_aa"
                },
                "leechers": {
                    "selector": "div.selection_unter_aaa"
                },
                "downloadvolumefactor": {
                    "case": {
                        ":root:has(div.onlyup)": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "thecrazyones": {
        "credentials": {
            "username": "",
            "password": "",
            "pin": ""
        },
        "id": "thecrazyones",
        "name": "The Crazy Ones",
        "description": "The Crazy Ones is a Private GERMAN Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://thecrazyones.hopto.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 123,
                    "cat": "TV/Anime",
                    "desc": "Anime Alles"
                },
                {
                    "id": 122,
                    "cat": "Movies/UHD",
                    "desc": "Movie 4K"
                },
                {
                    "id": 114,
                    "cat": "Movies/DVD",
                    "desc": "Movie DVD"
                },
                {
                    "id": 118,
                    "cat": "Movies",
                    "desc": "Movie Klassiker"
                },
                {
                    "id": 124,
                    "cat": "Movies",
                    "desc": "Movie Pack"
                },
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Movie SD"
                },
                {
                    "id": 32,
                    "cat": "Movies/HD",
                    "desc": "Movie HD"
                },
                {
                    "id": 26,
                    "cat": "Movies/3D",
                    "desc": "Movie 3D"
                },
                {
                    "id": 152,
                    "cat": "TV/SD",
                    "desc": "Serien DVD"
                },
                {
                    "id": 139,
                    "cat": "TV/HD",
                    "desc": "Serien HD"
                },
                {
                    "id": 59,
                    "cat": "TV",
                    "desc": "Serien Pack"
                },
                {
                    "id": 57,
                    "cat": "TV/SD",
                    "desc": "Serien SD"
                },
                {
                    "id": 60,
                    "cat": "TV",
                    "desc": "Serien Klassiker"
                },
                {
                    "id": 121,
                    "cat": "TV/Documentary",
                    "desc": "Doku Pack"
                },
                {
                    "id": 14,
                    "cat": "TV/Documentary",
                    "desc": "Doku HD"
                },
                {
                    "id": 15,
                    "cat": "TV/Documentary",
                    "desc": "Doku SD"
                },
                {
                    "id": 12,
                    "cat": "PC/0day",
                    "desc": "App Win"
                },
                {
                    "id": 11,
                    "cat": "PC/Mobile-Other",
                    "desc": "App Other"
                },
                {
                    "id": 10,
                    "cat": "PC/Mac",
                    "desc": "App Mac"
                },
                {
                    "id": 9,
                    "cat": "PC",
                    "desc": "App Linux"
                },
                {
                    "id": 120,
                    "cat": "Console/PS3",
                    "desc": "Game PlayStation"
                },
                {
                    "id": 16,
                    "cat": "Console",
                    "desc": "Game Wimmelbild"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Game PC"
                },
                {
                    "id": 20,
                    "cat": "Console/PSP",
                    "desc": "Game PSP"
                },
                {
                    "id": 22,
                    "cat": "Console/Wii",
                    "desc": "Game Wii"
                },
                {
                    "id": 24,
                    "cat": "Console/XBox",
                    "desc": "Game XBOX"
                },
                {
                    "id": 48,
                    "cat": "Audio",
                    "desc": "Music Album"
                },
                {
                    "id": 49,
                    "cat": "Audio",
                    "desc": "Music Charts"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "Music Pack"
                },
                {
                    "id": 54,
                    "cat": "Audio",
                    "desc": "Music Single"
                },
                {
                    "id": 55,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 125,
                    "cat": "Audio",
                    "desc": "Music Mixe"
                },
                {
                    "id": 126,
                    "cat": "Audio",
                    "desc": "Music Audio"
                },
                {
                    "id": 61,
                    "cat": "TV/Sport",
                    "desc": "Sport Other"
                },
                {
                    "id": 63,
                    "cat": "Audio/Audiobook",
                    "desc": "Sonstiges A-Book"
                },
                {
                    "id": 96,
                    "cat": "Books/EBook",
                    "desc": "Sonstiges E-Book"
                },
                {
                    "id": 69,
                    "cat": "Books",
                    "desc": "Sonstiges Tutorial"
                },
                {
                    "id": 71,
                    "cat": "Books/Other",
                    "desc": "Sonstiges Other"
                },
                {
                    "id": 102,
                    "cat": "TV/SD",
                    "desc": "Internt'l Serie SD"
                },
                {
                    "id": 98,
                    "cat": "Movies/HD",
                    "desc": "Internt'l Movie HD"
                },
                {
                    "id": 99,
                    "cat": "TV/HD",
                    "desc": "Internt'l Serie HD"
                },
                {
                    "id": 105,
                    "cat": "TV/Documentary",
                    "desc": "Internt'l Doku"
                },
                {
                    "id": 103,
                    "cat": "Movies/SD",
                    "desc": "Internt'l Movie SD"
                },
                {
                    "id": 104,
                    "cat": "Other",
                    "desc": "Internt'l Misc"
                },
                {
                    "id": 106,
                    "cat": "Books/EBook",
                    "desc": "Internt'l E-Book"
                },
                {
                    "id": 107,
                    "cat": "Audio/Audiobook",
                    "desc": "Internt'l A-Book"
                },
                {
                    "id": 115,
                    "cat": "Movies/DVD",
                    "desc": "Internt'l DVD"
                },
                {
                    "id": 73,
                    "cat": "XXX/x264",
                    "desc": "XXX HD"
                },
                {
                    "id": 75,
                    "cat": "XXX/Pack",
                    "desc": "XXX Pack"
                },
                {
                    "id": 76,
                    "cat": "XXX/SD",
                    "desc": "XXX SD"
                },
                {
                    "id": 113,
                    "cat": "XXX/DVD",
                    "desc": "XXX DVD"
                }
            ],
            "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": "pin",
                "type": "text",
                "label": "Pin"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "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>Anzahl der Torrents beim Durchsuchen</b> <i>Torrents per page:</i> setting to <b>60</b> on your account profile. The default is <i>15</i>."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"/login.php\"]",
            "cookies": [
                "JAVA=OK"
            ],
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "pin": "{{ .Config.pin }}"
            },
            "error": [
                {
                    "selector": "div#login_error"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download_ssl.php?torrent=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "selection.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "blah": 0,
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.selection_wrap"
            },
            "fields": {
                "category_p1": {
                    "selector": "div.kat_cat_pic_name"
                },
                "category_p2": {
                    "selector": "div.kat_cat_pic_name_b"
                },
                "categorydesc": {
                    "text": "{{ .Result.category_p1 }} {{ .Result.category_p2 }}"
                },
                "title": {
                    "selector": "a.selection_a",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^\\[[\\w ]*\\]\\s?",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a.selection_a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.selection_a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div[id^=\"details\"] img",
                    "attribute": "src"
                },
                "size": {
                    "selector": "div.selection_unter_ad"
                },
                "grabs": {
                    "selector": "div.selection_unter_ae"
                },
                "date_day": {
                    "selector": "div.selection_unter_ab:not(:contains(\".\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Heute",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Gestern",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.selection_unter_ab:contains(\".\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " um",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "seeders": {
                    "selector": "div.selection_unter_aa"
                },
                "leechers": {
                    "selector": "div.selection_unter_aaa"
                },
                "downloadvolumefactor": {
                    "case": {
                        ":root:has(div.onlyup)": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "theempire": {
        "credentials": {
            "cookie": ""
        },
        "id": "theempire",
        "name": "The Empire",
        "description": "TheEmpire (TE) is a Private Torrent Tracker for COMMONWEALTH TV / RADIO",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://theempire.click/"
        ],
        "legacylinks": [
            "http://theempire.click/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 55,
                    "cat": "TV",
                    "desc": "Adverts"
                },
                {
                    "id": 60,
                    "cat": "TV",
                    "desc": "Educational"
                },
                {
                    "id": 63,
                    "cat": "TV",
                    "desc": "Game Shows"
                },
                {
                    "id": 67,
                    "cat": "TV",
                    "desc": "Music"
                },
                {
                    "id": 72,
                    "cat": "TV",
                    "desc": "QuizComedy"
                },
                {
                    "id": 77,
                    "cat": "TV",
                    "desc": "Special Events"
                },
                {
                    "id": 81,
                    "cat": "TV",
                    "desc": "Trains & Planes"
                },
                {
                    "id": 54,
                    "cat": "TV",
                    "desc": "Arts & Culture"
                },
                {
                    "id": 61,
                    "cat": "TV",
                    "desc": "Entertainment"
                },
                {
                    "id": 53,
                    "cat": "TV",
                    "desc": "Gardening"
                },
                {
                    "id": 68,
                    "cat": "TV",
                    "desc": "Mystery & Crime Fiction"
                },
                {
                    "id": 73,
                    "cat": "TV",
                    "desc": "Radio"
                },
                {
                    "id": 78,
                    "cat": "TV",
                    "desc": "Special Interest"
                },
                {
                    "id": 82,
                    "cat": "TV",
                    "desc": "Travel"
                },
                {
                    "id": 56,
                    "cat": "TV",
                    "desc": "Comedy"
                },
                {
                    "id": 85,
                    "cat": "TV",
                    "desc": "Euro-Noir"
                },
                {
                    "id": 64,
                    "cat": "TV",
                    "desc": "Kids"
                },
                {
                    "id": 69,
                    "cat": "TV",
                    "desc": "News"
                },
                {
                    "id": 74,
                    "cat": "TV",
                    "desc": "Reality"
                },
                {
                    "id": 79,
                    "cat": "TV",
                    "desc": "Sport"
                },
                {
                    "id": 83,
                    "cat": "TV",
                    "desc": "Wildlife & Nature"
                },
                {
                    "id": 58,
                    "cat": "TV",
                    "desc": "Documentary"
                },
                {
                    "id": 57,
                    "cat": "TV",
                    "desc": "Fly on the Wall/Lifestyle"
                },
                {
                    "id": 65,
                    "cat": "TV",
                    "desc": "Magazine"
                },
                {
                    "id": 70,
                    "cat": "TV",
                    "desc": "Occult & Horror"
                },
                {
                    "id": 75,
                    "cat": "TV",
                    "desc": "Sci-Fi"
                },
                {
                    "id": 84,
                    "cat": "TV",
                    "desc": "Style & Fashion"
                },
                {
                    "id": 62,
                    "cat": "TV",
                    "desc": "Food Drink & Cooking"
                },
                {
                    "id": 66,
                    "cat": "TV",
                    "desc": "Motoring"
                },
                {
                    "id": 71,
                    "cat": "TV",
                    "desc": "Property"
                },
                {
                    "id": 76,
                    "cat": "TV",
                    "desc": "Soaps"
                },
                {
                    "id": 200,
                    "cat": "TV",
                    "desc": "Soaps : Classic"
                },
                {
                    "id": 80,
                    "cat": "TV",
                    "desc": "Talkshow"
                },
                {
                    "id": 59,
                    "cat": "TV",
                    "desc": "Drama"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_tcg",
                "type": "info",
                "label": "Message from the TCG staff",
                "default": "We wish to encourage all members to participate in the communities we are creating. We have worked with the Jackett maintainers to ensure that the security and longevity of our trackers continues, and as such some torrents are removed from the results in Jackett."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Unparked accounts that haven't visited (read: browsed) the site for 38 days (and are over 28 days old) are pruned. Parked accounts are pruned when 112 days have elapsed since the last recorded activity (read: browsed). Seeding activity does NOT count, you must BROWSE the site. Donators with a star (and ONLY donators with a star) are immune to auto-pruning. Power Users and above are also immune. We regularly clean out accounts with very low share ratios that are subject to the Ratio Watch system."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "main.php",
                "selector": "a[href^=\"logout.php?id=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "titleonly": 1,
                "nonboolean": 0,
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0(\\d{1,2})\\b",
                        "Series $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS(\\d{1,3})\\b",
                        "Series $1"
                    ]
                }
            ],
            "rows": {
                "selector": "table[border=\"0\"] > tbody > tr.ttable:has(a[href^=\"browse.php?cat=\"]):not(:has(font[color=\"blue\"])):not(:contains(\"*TCG*\"))"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeries[\\s]+(\\d+)\\b",
                                "S$1"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "grabs": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Never",
                                "0"
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "thefallingangels": {
        "credentials": {
            "username": "",
            "password": "",
            "pin": ""
        },
        "id": "thefallingangels",
        "name": "The Falling Angels",
        "description": "The Falling Angels (TFA) is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tfa.tf/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 107,
                    "cat": "PC/0day",
                    "desc": "Apps Windows"
                },
                {
                    "id": 132,
                    "cat": "PC/Mac",
                    "desc": "Apps Mac-OSX"
                },
                {
                    "id": 105,
                    "cat": "PC/Mobile-Other",
                    "desc": "Apps Other"
                },
                {
                    "id": 116,
                    "cat": "PC/Games",
                    "desc": "Games PC"
                },
                {
                    "id": 155,
                    "cat": "Console/NDS",
                    "desc": "Games Nintendo DS"
                },
                {
                    "id": 134,
                    "cat": "Console",
                    "desc": "Games Switch"
                },
                {
                    "id": 138,
                    "cat": "Console/Wii",
                    "desc": "Games Nintendo Wii"
                },
                {
                    "id": 124,
                    "cat": "Console/PSP",
                    "desc": "Games PSP / PS 1-4"
                },
                {
                    "id": 139,
                    "cat": "Console/XBox",
                    "desc": "Games XBOX"
                },
                {
                    "id": 141,
                    "cat": "Movies/SD",
                    "desc": "Movies SD"
                },
                {
                    "id": 140,
                    "cat": "Movies/HD",
                    "desc": "Movies HD"
                },
                {
                    "id": 125,
                    "cat": "Movies/UHD",
                    "desc": "Movies Ultra HD"
                },
                {
                    "id": 104,
                    "cat": "Movies/Other",
                    "desc": "Movies Packs"
                },
                {
                    "id": 143,
                    "cat": "Movies/BluRay",
                    "desc": "Movies Bluray"
                },
                {
                    "id": 142,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD"
                },
                {
                    "id": 144,
                    "cat": "Movies/DVD",
                    "desc": "Movies S-DVD"
                },
                {
                    "id": 100,
                    "cat": "Movies",
                    "desc": "Movies Horror"
                },
                {
                    "id": 133,
                    "cat": "Movies/Foreign",
                    "desc": "Movies Englisch"
                },
                {
                    "id": 101,
                    "cat": "Movies/HD",
                    "desc": "TFA AVCHD's"
                },
                {
                    "id": 103,
                    "cat": "Movies/DVD",
                    "desc": "TFA Special DVD's"
                },
                {
                    "id": 113,
                    "cat": "TV/Documentary",
                    "desc": "Dokus SD"
                },
                {
                    "id": 108,
                    "cat": "TV/Documentary",
                    "desc": "Dokus HD"
                },
                {
                    "id": 171,
                    "cat": "TV/Documentary",
                    "desc": "Dokus Ultra HD"
                },
                {
                    "id": 154,
                    "cat": "TV/Documentary",
                    "desc": "Dokus Packs"
                },
                {
                    "id": 151,
                    "cat": "TV/SD",
                    "desc": "Serien SD"
                },
                {
                    "id": 149,
                    "cat": "TV/HD",
                    "desc": "Serien HD"
                },
                {
                    "id": 167,
                    "cat": "TV/UHD",
                    "desc": "Serien Ultra HD"
                },
                {
                    "id": 150,
                    "cat": "TV/Other",
                    "desc": "Serien Packs"
                },
                {
                    "id": 136,
                    "cat": "TV/Foreign",
                    "desc": "Serien Englisch"
                },
                {
                    "id": 153,
                    "cat": "TV/Sport",
                    "desc": "Sport SD"
                },
                {
                    "id": 152,
                    "cat": "TV/Sport",
                    "desc": "Sport HD"
                },
                {
                    "id": 135,
                    "cat": "TV/Sport",
                    "desc": "Sport Ultra HD"
                },
                {
                    "id": 106,
                    "cat": "TV/Sport",
                    "desc": "Sport Packs"
                },
                {
                    "id": 147,
                    "cat": "Audio/MP3",
                    "desc": "Music MP3"
                },
                {
                    "id": 145,
                    "cat": "Audio/Lossless",
                    "desc": "Music Flac"
                },
                {
                    "id": 137,
                    "cat": "Audio",
                    "desc": "Music M4A"
                },
                {
                    "id": 109,
                    "cat": "Audio",
                    "desc": "Music Discographie"
                },
                {
                    "id": 146,
                    "cat": "Audio/Other",
                    "desc": "Music Packs"
                },
                {
                    "id": 148,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 158,
                    "cat": "Movies/SD",
                    "desc": "Kids Movies SD"
                },
                {
                    "id": 157,
                    "cat": "Movies/HD",
                    "desc": "Kids Movies HD"
                },
                {
                    "id": 162,
                    "cat": "TV/SD",
                    "desc": "Kids Serien SD"
                },
                {
                    "id": 161,
                    "cat": "TV/HD",
                    "desc": "Kids Serien HD"
                },
                {
                    "id": 112,
                    "cat": "Audio/Audiobook",
                    "desc": "Kids Hörbuch"
                },
                {
                    "id": 115,
                    "cat": "Books/Mags",
                    "desc": "E-Books Zeitschriften"
                },
                {
                    "id": 114,
                    "cat": "Books/Comics",
                    "desc": "E-Books Comics"
                },
                {
                    "id": 117,
                    "cat": "Books/EBook",
                    "desc": "E-Books Bücher"
                },
                {
                    "id": 156,
                    "cat": "Books",
                    "desc": "E-Books Packs"
                },
                {
                    "id": 130,
                    "cat": "Books",
                    "desc": "E-Books FSK 18"
                },
                {
                    "id": 160,
                    "cat": "Movies/Other",
                    "desc": "Anime Movies SD"
                },
                {
                    "id": 159,
                    "cat": "Movies/Other",
                    "desc": "Anime Movies HD"
                },
                {
                    "id": 173,
                    "cat": "Movies/Other",
                    "desc": "Anime Movies UHD"
                },
                {
                    "id": 172,
                    "cat": "Movies/Other",
                    "desc": "Anime Movies Pack"
                },
                {
                    "id": 169,
                    "cat": "TV/Anime",
                    "desc": "Anime Serien SD"
                },
                {
                    "id": 168,
                    "cat": "TV/Anime",
                    "desc": "Anime Serien HD"
                },
                {
                    "id": 170,
                    "cat": "TV/Anime",
                    "desc": "Anime Serien Pack"
                },
                {
                    "id": 129,
                    "cat": "TV/Anime",
                    "desc": "Anime Sonstiges"
                },
                {
                    "id": 118,
                    "cat": "Other",
                    "desc": "Other Mobile"
                },
                {
                    "id": 119,
                    "cat": "Other",
                    "desc": "Other Hörbücher"
                },
                {
                    "id": 123,
                    "cat": "Other",
                    "desc": "Other Pics"
                },
                {
                    "id": 121,
                    "cat": "XXX",
                    "desc": "XXX Movies SD"
                },
                {
                    "id": 120,
                    "cat": "XXX",
                    "desc": "XXX Movies HD"
                },
                {
                    "id": 165,
                    "cat": "XXX",
                    "desc": "XXX Movies UHD"
                },
                {
                    "id": 122,
                    "cat": "XXX",
                    "desc": "XXX Movies Pack"
                },
                {
                    "id": 131,
                    "cat": "XXX",
                    "desc": "XXX Hentai"
                },
                {
                    "id": 164,
                    "cat": "XXX",
                    "desc": "XXX VR Porn"
                },
                {
                    "id": 166,
                    "cat": "XXX",
                    "desc": "XXX Games"
                },
                {
                    "id": 110,
                    "cat": "XXX",
                    "desc": "XXX Pics"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "pin",
                "type": "text",
                "label": "Pin"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "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": "Inactive accounts will be permanently deleted from the database after 125 days! Seeding torrents does not count as activity - the only thing that counts is logging in again! You can extend this period to 250 days by setting your account to Parked. You can do this under Edit Profile."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[method=\"post\"]",
            "cookies": [
                "JAVA=OK"
            ],
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "pin": "{{ .Config.pin }}"
            },
            "error": [
                {
                    "selector": "div#login_error"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "selection.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "blah": 0,
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.selection_wrap{{ if .Config.freeleech }}:has(div[onmouseover=\"return overlib('OnlyUp: Ja');\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category_p1": {
                    "selector": "div.kat_cat_pic_name"
                },
                "category_p2": {
                    "selector": "div.kat_cat_pic_name_b"
                },
                "categorydesc": {
                    "text": "{{ .Result.category_p1 }} {{ .Result.category_p2 }}"
                },
                "title": {
                    "selector": "a.selection_a",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^\\[[\\w ]*\\]\\s?",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a.selection_a",
                    "attribute": "href"
                },
                "download_default": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href",
                    "optional": true
                },
                "download": {
                    "selector": "a[href^=\"download_ssl.php?torrent=\"]",
                    "attribute": "href",
                    "optional": true,
                    "default": "{{ .Result.download_default }}"
                },
                "poster": {
                    "selector": "div[id^=\"details\"] img",
                    "attribute": "src"
                },
                "size": {
                    "selector": "div.selection_unter_ad"
                },
                "grabs": {
                    "selector": "div.selection_unter_ae"
                },
                "date_day": {
                    "selector": "div.selection_unter_ab:not(:contains(\".\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Heute",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Gestern",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.selection_unter_ab:contains(\".\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " um",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "description": {
                    "selector": "selection_unter_af"
                },
                "seeders": {
                    "selector": "div.selection_unter_aa"
                },
                "leechers": {
                    "selector": "div.selection_unter_aaa"
                },
                "downloadvolumefactor": {
                    "case": {
                        "div[onmouseover=\"return overlib('OnlyUp: Ja');\"]": 0,
                        "div[onmouseover=\"return overlib('Freeleech: Ja');\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "div[onmouseover=\"return overlib('Freeleech: Ja');\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "thegeeks": {
        "credentials": {
            "cookie": ""
        },
        "id": "thegeeks",
        "name": "The Geeks",
        "description": "The Geeks is a Private Torrent Tracker for Technology E-LEARNING",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "certificates": [
            "d27e03f320cd5d0b6f74718659bd13b0b3ad6689"
        ],
        "links": [
            "https://thegeeks.click/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 212,
                    "cat": "Other",
                    "desc": "AudioBook : Fiction"
                },
                {
                    "id": 213,
                    "cat": "Other",
                    "desc": "AudioBook : Non-Fiction"
                },
                {
                    "id": 71,
                    "cat": "Other",
                    "desc": "Docu : Antiques / Collecting"
                },
                {
                    "id": 82,
                    "cat": "Other",
                    "desc": "Docu : Architecture/Building"
                },
                {
                    "id": 72,
                    "cat": "Other",
                    "desc": "Docu : Astronomy / Space"
                },
                {
                    "id": 85,
                    "cat": "Other",
                    "desc": "Docu : Childrens Ed"
                },
                {
                    "id": 38,
                    "cat": "Other",
                    "desc": "Docu : Crime/ Investigation"
                },
                {
                    "id": 59,
                    "cat": "Other",
                    "desc": "Docu : Earth / Environment"
                },
                {
                    "id": 18,
                    "cat": "Other",
                    "desc": "Docu : Engineering"
                },
                {
                    "id": 4,
                    "cat": "Other",
                    "desc": "Docu : Fine/Visual Arts"
                },
                {
                    "id": 39,
                    "cat": "Other",
                    "desc": "Docu : FlyOnWall Docus"
                },
                {
                    "id": 216,
                    "cat": "Other",
                    "desc": "Docu : FlyOnWall Medical"
                },
                {
                    "id": 84,
                    "cat": "Other",
                    "desc": "Docu : FrontLine"
                },
                {
                    "id": 36,
                    "cat": "Other",
                    "desc": "Docu : Gardening/Agriculture"
                },
                {
                    "id": 58,
                    "cat": "Other",
                    "desc": "Docu : History - Biographies"
                },
                {
                    "id": 55,
                    "cat": "Other",
                    "desc": "Docu : History - Civilization"
                },
                {
                    "id": 31,
                    "cat": "Other",
                    "desc": "Docu : History - Misc"
                },
                {
                    "id": 56,
                    "cat": "Other",
                    "desc": "Docu : History - War/Politics"
                },
                {
                    "id": 35,
                    "cat": "Other",
                    "desc": "Docu : Home / Property"
                },
                {
                    "id": 78,
                    "cat": "Other",
                    "desc": "Docu : Horizon"
                },
                {
                    "id": 69,
                    "cat": "Other",
                    "desc": "Docu : Misc"
                },
                {
                    "id": 75,
                    "cat": "Other",
                    "desc": "Docu : Nature"
                },
                {
                    "id": 54,
                    "cat": "Other",
                    "desc": "Docu : News/World Reports"
                },
                {
                    "id": 83,
                    "cat": "Other",
                    "desc": "Docu : Nova"
                },
                {
                    "id": 27,
                    "cat": "Other",
                    "desc": "Docu : Paleontology"
                },
                {
                    "id": 67,
                    "cat": "Other",
                    "desc": "Docu : Pets/Animal Keeping"
                },
                {
                    "id": 53,
                    "cat": "Other",
                    "desc": "Docu : Social Experiment"
                },
                {
                    "id": 32,
                    "cat": "Other",
                    "desc": "Docu : Travel / Culture"
                },
                {
                    "id": 80,
                    "cat": "Other",
                    "desc": "Docu : Travelogues"
                },
                {
                    "id": 34,
                    "cat": "Other",
                    "desc": "Docu : Vehicles/Transport"
                },
                {
                    "id": 207,
                    "cat": "Other",
                    "desc": "Business : Economics"
                },
                {
                    "id": 211,
                    "cat": "Other",
                    "desc": "Business : Investing"
                },
                {
                    "id": 208,
                    "cat": "Other",
                    "desc": "Business : Marketing"
                },
                {
                    "id": 209,
                    "cat": "Other",
                    "desc": "Business : Startup/Dev"
                },
                {
                    "id": 28,
                    "cat": "Other",
                    "desc": "Business :Misc"
                },
                {
                    "id": 214,
                    "cat": "Other",
                    "desc": "Comp: Artificial Intelligence"
                },
                {
                    "id": 40,
                    "cat": "Other",
                    "desc": "Comp: Certification Courses"
                },
                {
                    "id": 44,
                    "cat": "Other",
                    "desc": "Comp: Digital Audio/Video"
                },
                {
                    "id": 48,
                    "cat": "Other",
                    "desc": "Comp: Games Dev/Guides"
                },
                {
                    "id": 3,
                    "cat": "Other",
                    "desc": "Comp: Graphics "
                },
                {
                    "id": 42,
                    "cat": "Other",
                    "desc": "Comp: Lang/DBs"
                },
                {
                    "id": 49,
                    "cat": "Other",
                    "desc": "Comp: Network/Hardware"
                },
                {
                    "id": 43,
                    "cat": "Other",
                    "desc": "Comp: Operating Systems"
                },
                {
                    "id": 46,
                    "cat": "Other",
                    "desc": "Comp: Security/Encryption"
                },
                {
                    "id": 52,
                    "cat": "Other",
                    "desc": "Comp: Software Training"
                },
                {
                    "id": 41,
                    "cat": "Other",
                    "desc": "Comp: Theory/Ref/Mags"
                },
                {
                    "id": 47,
                    "cat": "Other",
                    "desc": "Comp: Web Development"
                },
                {
                    "id": 68,
                    "cat": "Other",
                    "desc": "Crafts/Jewelry"
                },
                {
                    "id": 21,
                    "cat": "Other",
                    "desc": "DIY / Workshop"
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "Exam Prep / Education"
                },
                {
                    "id": 9,
                    "cat": "Other",
                    "desc": "Food/Cooking/Nutrition"
                },
                {
                    "id": 37,
                    "cat": "Other",
                    "desc": "Game Shows / Quiz Shows"
                },
                {
                    "id": 2,
                    "cat": "Other",
                    "desc": "Games: Cards/Tabletop/etc"
                },
                {
                    "id": 23,
                    "cat": "Other",
                    "desc": "Hobbies: Misc"
                },
                {
                    "id": 1,
                    "cat": "Other",
                    "desc": "Languages / Linguistics"
                },
                {
                    "id": 20,
                    "cat": "Other",
                    "desc": "Law & Justice"
                },
                {
                    "id": 30,
                    "cat": "Other",
                    "desc": "Literature"
                },
                {
                    "id": 16,
                    "cat": "Other",
                    "desc": "Magic & Illusion"
                },
                {
                    "id": 206,
                    "cat": "Other",
                    "desc": "Native American Studies"
                },
                {
                    "id": 201,
                    "cat": "Other",
                    "desc": "Occultism: Academic / Referenc"
                },
                {
                    "id": 210,
                    "cat": "Other",
                    "desc": "Occultism: Bashar"
                },
                {
                    "id": 202,
                    "cat": "Other",
                    "desc": "Occultism: Mythology Folklore"
                },
                {
                    "id": 203,
                    "cat": "Other",
                    "desc": "Paranormal"
                },
                {
                    "id": 204,
                    "cat": "Other",
                    "desc": "Parapsychology"
                },
                {
                    "id": 11,
                    "cat": "Other",
                    "desc": "Political Studies"
                },
                {
                    "id": 61,
                    "cat": "Other",
                    "desc": "Science: Biology"
                },
                {
                    "id": 77,
                    "cat": "Other",
                    "desc": "Science: Chemistry"
                },
                {
                    "id": 12,
                    "cat": "Other",
                    "desc": "Science: Math/Statistics"
                },
                {
                    "id": 10,
                    "cat": "Other",
                    "desc": "Science: Medicine/Health "
                },
                {
                    "id": 29,
                    "cat": "Other",
                    "desc": "Science: Philosophy"
                },
                {
                    "id": 76,
                    "cat": "Other",
                    "desc": "Science: Physics"
                },
                {
                    "id": 14,
                    "cat": "Other",
                    "desc": "Science: Psych/Sociolgy"
                },
                {
                    "id": 215,
                    "cat": "Other",
                    "desc": "Sexuality/Seductn/Body Img"
                },
                {
                    "id": 22,
                    "cat": "Other",
                    "desc": "Sports/Exercise/Outdoors"
                },
                {
                    "id": 24,
                    "cat": "Other",
                    "desc": "Stock Media"
                },
                {
                    "id": 33,
                    "cat": "Other",
                    "desc": "Style & Fashion"
                },
                {
                    "id": 73,
                    "cat": "Other",
                    "desc": "Docu : Survivalism"
                },
                {
                    "id": 60,
                    "cat": "Other",
                    "desc": "Docu : The Arts: Acting/ Filmmaking"
                },
                {
                    "id": 217,
                    "cat": "Other",
                    "desc": "Docu : The Arts: Dance/Singing/Voice"
                },
                {
                    "id": 26,
                    "cat": "Other",
                    "desc": "Docu : The Arts: Music History/Theory"
                },
                {
                    "id": 15,
                    "cat": "Other",
                    "desc": "Docu : The Arts: Music Learn/Courses"
                },
                {
                    "id": 45,
                    "cat": "Other",
                    "desc": "Docu : The Arts: Photography"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_tcg",
                "type": "info",
                "label": "Message from TCG staff",
                "default": "We wish to encourage all members to participate in the communities we are creating. We have worked with the Jackett maintainers to ensure that the security and longevity of our trackers continues, and as such some torrents are removed from the results in Jackett."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Unparked accounts that haven't visited (read: browsed) the site for 38 days (and are over 28 days old) are pruned. Parked accounts are pruned when 112 days have elapsed since the last recorded activity (read: browsed). Seeding activity does NOT count, you must BROWSE the site. Donators with a star (and ONLY donators with a star) are immune to auto-pruning. Power Users and above are also immune. We regularly clean out accounts with very low share ratios that are subject to the Ratio Watch system."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "main.php",
                "selector": "a[href^=\"logout.php?id=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "titleonly": 1,
                "nonboolean": 0,
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[border=\"0\"] > tbody > tr.ttable:has(a[href^=\"browse.php?cat=\"]):not(:has(font[color=\"blue\"])):not(:contains(\"*TCG*\"))"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Never",
                                "0"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "thekitchen": {
        "credentials": {
            "cookie": ""
        },
        "id": "thekitchen",
        "name": "The Kitchen",
        "description": "TheKitchen (TK) is a Private Torrent Tracker for COOKING / CUISINES / RECIPES",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://thekitchen.click/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 240,
                    "cat": "Other",
                    "desc": "Business : Catering"
                },
                {
                    "id": 221,
                    "cat": "Other",
                    "desc": "Cuisine : Indian"
                },
                {
                    "id": 215,
                    "cat": "Other",
                    "desc": "Food : Dairy Free"
                },
                {
                    "id": 232,
                    "cat": "Other",
                    "desc": "Food : Meat"
                },
                {
                    "id": 257,
                    "cat": "Other",
                    "desc": "Franchise : Bake Off/Baking Sh"
                },
                {
                    "id": 241,
                    "cat": "Other",
                    "desc": "Business : Food Prep"
                },
                {
                    "id": 222,
                    "cat": "Other",
                    "desc": "Cuisine : Italian"
                },
                {
                    "id": 251,
                    "cat": "Other",
                    "desc": "Food : Dating/Romance"
                },
                {
                    "id": 234,
                    "cat": "Other",
                    "desc": "Food : Organic Food"
                },
                {
                    "id": 255,
                    "cat": "Other",
                    "desc": "Franchise : Hells Kitchen"
                },
                {
                    "id": 243,
                    "cat": "Other",
                    "desc": "Cuisine : African"
                },
                {
                    "id": 223,
                    "cat": "Other",
                    "desc": "Cuisine : Mexican"
                },
                {
                    "id": 225,
                    "cat": "Other",
                    "desc": "Food : Desserts/Pastries"
                },
                {
                    "id": 235,
                    "cat": "Other",
                    "desc": "Food : Seasonal"
                },
                {
                    "id": 254,
                    "cat": "Other",
                    "desc": "Franchise : Iron Chef"
                },
                {
                    "id": 216,
                    "cat": "Other",
                    "desc": "Cuisine : American"
                },
                {
                    "id": 224,
                    "cat": "Other",
                    "desc": "Cuisine : Middle Eastern"
                },
                {
                    "id": 228,
                    "cat": "Other",
                    "desc": "Food : Fish"
                },
                {
                    "id": 238,
                    "cat": "Other",
                    "desc": "Food : Soups/Salads/Starter"
                },
                {
                    "id": 253,
                    "cat": "Other",
                    "desc": "Franchise : Masterchef"
                },
                {
                    "id": 217,
                    "cat": "Other",
                    "desc": "Cuisine : Asian"
                },
                {
                    "id": 214,
                    "cat": "Other",
                    "desc": "Cuisine : Spanish"
                },
                {
                    "id": 230,
                    "cat": "Other",
                    "desc": "Food : Fruit"
                },
                {
                    "id": 236,
                    "cat": "Other",
                    "desc": "Food : Sugar Free"
                },
                {
                    "id": 256,
                    "cat": "Other",
                    "desc": "Franchise : Top Chef"
                },
                {
                    "id": 249,
                    "cat": "Other",
                    "desc": "Cuisine : Australasia"
                },
                {
                    "id": 226,
                    "cat": "Other",
                    "desc": "Drinks : Alchohol"
                },
                {
                    "id": 231,
                    "cat": "Other",
                    "desc": "Food : Health Food/Nutrition"
                },
                {
                    "id": 229,
                    "cat": "Other",
                    "desc": "Food : Tech/Hygiene"
                },
                {
                    "id": 252,
                    "cat": "TV",
                    "desc": "TV : Chef/Food Ent/Drama"
                },
                {
                    "id": 218,
                    "cat": "Other",
                    "desc": "Cuisine : British"
                },
                {
                    "id": 227,
                    "cat": "Other",
                    "desc": "Drinks : Non-Alchohol"
                },
                {
                    "id": 246,
                    "cat": "Other",
                    "desc": "Food : Herbs/Spice/Fungi"
                },
                {
                    "id": 233,
                    "cat": "Other",
                    "desc": "Food : Vegan"
                },
                {
                    "id": 242,
                    "cat": "TV",
                    "desc": "TV : Chef/Food Shows"
                },
                {
                    "id": 219,
                    "cat": "Other",
                    "desc": "Cuisine : European(other)"
                },
                {
                    "id": 239,
                    "cat": "Other",
                    "desc": "Food : Bread"
                },
                {
                    "id": 250,
                    "cat": "Other",
                    "desc": "Food : Kids"
                },
                {
                    "id": 248,
                    "cat": "Other",
                    "desc": "Food : Vegetables"
                },
                {
                    "id": 245,
                    "cat": "TV",
                    "desc": "TV : Chef/Food Travel"
                },
                {
                    "id": 220,
                    "cat": "Other",
                    "desc": "Cuisine : French"
                },
                {
                    "id": 247,
                    "cat": "Other",
                    "desc": "Food : Cooking On A Budget"
                },
                {
                    "id": 259,
                    "cat": "Other",
                    "desc": "Food : Kosher"
                },
                {
                    "id": 244,
                    "cat": "Other",
                    "desc": "Food : Vegetarian"
                },
                {
                    "id": 237,
                    "cat": "TV",
                    "desc": "TV : Reality Food Shows"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_tcg",
                "type": "info",
                "label": "Message from the TCG staff",
                "default": "We wish to encourage all members to participate in the communities we are creating. We have worked with the Jackett maintainers to ensure that the security and longevity of our trackers continues, and as such some torrents are removed from the results in Jackett."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Unparked accounts that haven't visited (read: browsed) the site for 38 days (and are over 28 days old) are pruned. Parked accounts are pruned when 112 days have elapsed since the last recorded activity (read: browsed). Seeding activity does NOT count, you must BROWSE the site. Donators with a star (and ONLY donators with a star) are immune to auto-pruning. Power Users and above are also immune. We regularly clean out accounts with very low share ratios that are subject to the Ratio Watch system."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "main.php",
                "selector": "a[href^=\"logout.php?id=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "titleonly": 1,
                "nonboolean": 0,
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[border=\"0\"] > tbody > tr.ttable:has(a[href^=\"browse.php?cat=\"]):not(:has(font[color=\"blue\"])):not(:contains(\"*TCG*\"))"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "grabs": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Never",
                                "0"
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "theleachzone-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "theleachzone-api",
        "name": "TheLeachZone (API)",
        "description": "The Leach Zone (TLZ) is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tlzdigital.com/"
        ],
        "legacylinks": [
            "https://tlz.digital/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 5,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 6,
                    "cat": "PC",
                    "desc": "Application"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://tlzdigital.com/\" target=\"_blank\">TLZ</a> account <i>Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                }
            ],
            "inputs": []
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title": {
                    "selector": "name"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "https://dummyimage.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^None$",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "files": {
                    "selector": "num_file"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "downloadvolumefactor": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "uploadvolumefactor": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 345600
                }
            }
        }
    },
    "themixingbowl": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "themixingbowl",
        "name": "themixingbowl",
        "description": "themixingbowl (TMB) is a Semi-Private Torrent Tracker for DJ Music mixes",
        "language": "en-US",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://tmb.dj/",
            "https://themixingbowl.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Audio",
                    "desc": "Music"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "artist"
                ]
            }
        },
        "settings": [
            {
                "name": "info_nojs",
                "type": "info",
                "label": "JavaScript",
                "default": "This indexer requires that the web site not use JS when searching.</br> Access your account Preferences on the web site and change the <b>set JavaScript level:</b> setting to <b>No JavaScript</b>."
            },
            {
                "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": 11,
                "options": {
                    "11": "created",
                    "8": "seeders",
                    "4": "size",
                    "3": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "d",
                "options": {
                    "d": "desc",
                    "a": "asc"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>50</b> on your account preferences."
            }
        ],
        "login": {
            "path": "login/",
            "method": "post",
            "inputs": {
                "loginform": "show",
                "page_history": "disable",
                "page_js_enabled": false,
                "redirect": "{{ .Config.sitelink }}",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "keeploggedin": true,
                "restricttoip": "",
                "ok": "Login"
            },
            "error": [
                {
                    "selector": "div:contains(\"do not match\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"/logout/\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrent/advancedsearch/"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "go": "Search",
                "artistsearch": "{{ .Query.Artist }}",
                "freesearch": "{{ if .Config.freeleech }}on{{ else }}{{ end }}",
                "results-order1": "{{ .Config.sort }}.{{ .Config.type }}",
                "results-page": 1
            },
            "rows": {
                "selector": "table.torrenttable > tbody > tr:has(a[href^=\"/torrent/download/\"])"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "td.name a"
                },
                "details": {
                    "selector": "td:nth-child(16) a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "append",
                            "args": "/details/"
                        }
                    ]
                },
                "download": {
                    "selector": "a[href^=\"/torrent/download/\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "artist": {
                    "selector": "span.artist",
                    "optional": true
                },
                "genre": {
                    "selector": "span.tag",
                    "optional": true
                },
                "_codec": {
                    "selector": "td:nth-child(6)",
                    "optional": true
                },
                "_bit": {
                    "selector": "td:nth-child(7)",
                    "optional": true
                },
                "description": {
                    "text": "Artist=[{{ .Result.artist }}] , Tags={{ .Result.genre }} , Codec=[{{ .Result._codec }}] , BitRate=[{{ .Result._bit }}]"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "date": {
                    "selector": "td:nth-child(12)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "at",
                                ""
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "d MMM yyyy  HH:mm"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"freeleech.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "thenewfun": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "thenewfun",
        "name": "The-New-Fun",
        "description": "The-New-Fun is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://the-new-fun.com/"
        ],
        "legacylinks": [
            "https://the-new-fun.spdns.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 119,
                    "cat": "Other",
                    "desc": "Bilder"
                },
                {
                    "id": 139,
                    "cat": "TV/Documentary",
                    "desc": "Doku - HD"
                },
                {
                    "id": 141,
                    "cat": "TV/Documentary",
                    "desc": "Doku - Pack"
                },
                {
                    "id": 140,
                    "cat": "TV/Documentary",
                    "desc": "Doku - SD"
                },
                {
                    "id": 142,
                    "cat": "TV/Documentary",
                    "desc": "Doku - Sonstige"
                },
                {
                    "id": 120,
                    "cat": "Books",
                    "desc": "Ebook"
                },
                {
                    "id": 150,
                    "cat": "Movies/UHD",
                    "desc": "Filme - 2160p"
                },
                {
                    "id": 131,
                    "cat": "TV/Anime",
                    "desc": "Filme - Animie"
                },
                {
                    "id": 101,
                    "cat": "Movies/BluRay",
                    "desc": "Filme - Blue Ray"
                },
                {
                    "id": 102,
                    "cat": "Movies/Other",
                    "desc": "Filme - Bollywood"
                },
                {
                    "id": 149,
                    "cat": "Movies/DVD",
                    "desc": "Filme - DVD"
                },
                {
                    "id": 104,
                    "cat": "Movies/DVD",
                    "desc": "Filme - DVD-R"
                },
                {
                    "id": 135,
                    "cat": "Movies/HD",
                    "desc": "Filme - HD"
                },
                {
                    "id": 130,
                    "cat": "Movies",
                    "desc": "Filme - Klassiker"
                },
                {
                    "id": 147,
                    "cat": "Movies",
                    "desc": "Filme - Pack"
                },
                {
                    "id": 134,
                    "cat": "Movies/SD",
                    "desc": "Filme - SD"
                },
                {
                    "id": 136,
                    "cat": "Movies/UHD",
                    "desc": "Filme - UHD"
                },
                {
                    "id": 105,
                    "cat": "Movies/HD",
                    "desc": "Filme - x264/x265"
                },
                {
                    "id": 106,
                    "cat": "Movies/SD",
                    "desc": "Filme - XviD / DivX"
                },
                {
                    "id": 127,
                    "cat": "Movies",
                    "desc": "Für Unsere kleinsten"
                },
                {
                    "id": 121,
                    "cat": "PC/Mobile-Other",
                    "desc": "Handy Stuff"
                },
                {
                    "id": 124,
                    "cat": "Audio",
                    "desc": "Musik - Alben"
                },
                {
                    "id": 123,
                    "cat": "Audio",
                    "desc": "Musik - Discography"
                },
                {
                    "id": 122,
                    "cat": "Audio/Audiobook",
                    "desc": "Musik - Hörbuch"
                },
                {
                    "id": 133,
                    "cat": "Audio/MP3",
                    "desc": "Musik - MP3/Mp4"
                },
                {
                    "id": 146,
                    "cat": "Audio",
                    "desc": "Musik - Pack"
                },
                {
                    "id": 125,
                    "cat": "Audio/Video",
                    "desc": "Musik - Video"
                },
                {
                    "id": 113,
                    "cat": "PC",
                    "desc": "Programme - Linux"
                },
                {
                    "id": 114,
                    "cat": "PC/Mac",
                    "desc": "Programme - Mac"
                },
                {
                    "id": 115,
                    "cat": "PC/0day",
                    "desc": "Programme - Windows"
                },
                {
                    "id": 137,
                    "cat": "TV/HD",
                    "desc": "Serien - HD"
                },
                {
                    "id": 116,
                    "cat": "TV",
                    "desc": "Serien - Pack"
                },
                {
                    "id": 138,
                    "cat": "TV/SD",
                    "desc": "Serien - SD"
                },
                {
                    "id": 143,
                    "cat": "TV/Other",
                    "desc": "Serien - Sonstige"
                },
                {
                    "id": 144,
                    "cat": "TV/UHD",
                    "desc": "Serien - UHD"
                },
                {
                    "id": 129,
                    "cat": "Other",
                    "desc": "Sonstiges"
                },
                {
                    "id": 109,
                    "cat": "PC/Mobile-Other",
                    "desc": "Spiele - Handy"
                },
                {
                    "id": 112,
                    "cat": "Console",
                    "desc": "Spiele - Konsolen"
                },
                {
                    "id": 111,
                    "cat": "PC/Games",
                    "desc": "Spiele - Mac / Linux"
                },
                {
                    "id": 110,
                    "cat": "PC/Games",
                    "desc": "Spiele - PC"
                },
                {
                    "id": 118,
                    "cat": "TV/Sport",
                    "desc": "WWE - Sport"
                },
                {
                    "id": 69,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "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": "onlyupload",
                "type": "checkbox",
                "label": "Filter OnlyUpload only",
                "default": false
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About OnlyUpload at T-N-F",
                "default": "<ul><li>OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Prowlarr search results page these are tagged as Freeleech).</li></ul>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "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>Torrents pro Seite:</b> setting to <b>100</b> on your <b>UserCP</b> page. The default is <i>15</i>."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts are automatically deleted after 42 days and leechers are also kicked."
            },
            {
                "name": "info_seedhours",
                "type": "info",
                "label": "Seeding Hours",
                "default": "Before using this indexer, make sure that you have set <b>Meine Seedzeit</b> on your <b>UserCP</b> page."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.tabletitle:contains(\"fehlgeschlagen\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "showsearch": 1,
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.tableinborder[cellspacing=\"1\"][cellpadding=\"0\"]:not(:has(a[href=\"index.php\"])) > tbody > tr:has(a[href^=\"download.php\"]){{ if .Config.onlyupload }}:has(img[src=\"pic/oupic.gif\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[id=\"img-1\"]",
                    "attribute": "src"
                },
                "size": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(1) b:nth-child(1)"
                },
                "files": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(1) b:nth-child(2)"
                },
                "seeders": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(2) b:nth-child(1)"
                },
                "leechers": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(2) > b:nth-of-type(2)"
                },
                "grabs": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(3) b:nth-child(1)"
                },
                "date": {
                    "selector": "td.tablea table tbody tr:nth-child(2) td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/oupic.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freeleech.gif\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.7
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "theoccult": {
        "credentials": {
            "cookie": ""
        },
        "id": "theoccult",
        "name": "The Occult",
        "description": "TheOccult (TO) is a Private Torrent Tracker for CULT / MYTHOLOGY E-LEARNING",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://theoccult.click/"
        ],
        "legacylinks": [
            "http://theoccult.click/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 63,
                    "cat": "Other",
                    "desc": "Academic / Reference"
                },
                {
                    "id": 21,
                    "cat": "Other",
                    "desc": "Everything Else"
                },
                {
                    "id": 68,
                    "cat": "Other",
                    "desc": "Mythology and Folklore"
                },
                {
                    "id": 61,
                    "cat": "Other",
                    "desc": "Rajneesh"
                },
                {
                    "id": 1,
                    "cat": "Other",
                    "desc": "Thelema / Crowley"
                },
                {
                    "id": 51,
                    "cat": "Other",
                    "desc": "African/African Diaspora Relig"
                },
                {
                    "id": 30,
                    "cat": "Other",
                    "desc": "Fourth Way"
                },
                {
                    "id": 17,
                    "cat": "Other",
                    "desc": "Native American"
                },
                {
                    "id": 57,
                    "cat": "Other",
                    "desc": "Ritual Magic"
                },
                {
                    "id": 74,
                    "cat": "Other",
                    "desc": "Theosophy / Anthroposophy"
                },
                {
                    "id": 10,
                    "cat": "Other",
                    "desc": "Alchemy"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Freemasonry"
                },
                {
                    "id": 54,
                    "cat": "Other",
                    "desc": "New Age"
                },
                {
                    "id": 34,
                    "cat": "Other",
                    "desc": "Rosicrucian"
                },
                {
                    "id": 73,
                    "cat": "Other",
                    "desc": "Traditional Left-Hand Path"
                },
                {
                    "id": 69,
                    "cat": "Other",
                    "desc": "Ancient Languages"
                },
                {
                    "id": 6,
                    "cat": "Other",
                    "desc": "Golden Dawn"
                },
                {
                    "id": 76,
                    "cat": "Other",
                    "desc": "Non-Dualism"
                },
                {
                    "id": 75,
                    "cat": "Other",
                    "desc": "Sacred Geometry"
                },
                {
                    "id": 71,
                    "cat": "Other",
                    "desc": "Traditional Witchcraft"
                },
                {
                    "id": 9,
                    "cat": "Other",
                    "desc": "Astrology"
                },
                {
                    "id": 35,
                    "cat": "Other",
                    "desc": "Grimoires"
                },
                {
                    "id": 52,
                    "cat": "Other",
                    "desc": "Northern European Paganism"
                },
                {
                    "id": 31,
                    "cat": "Other",
                    "desc": "Satanism"
                },
                {
                    "id": 77,
                    "cat": "Other",
                    "desc": "Transpersonal Psychology"
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "Buddhism "
                },
                {
                    "id": 26,
                    "cat": "Other",
                    "desc": "Hinduism"
                },
                {
                    "id": 70,
                    "cat": "Other",
                    "desc": "Other Divination"
                },
                {
                    "id": 28,
                    "cat": "Other",
                    "desc": "Shamanism"
                },
                {
                    "id": 19,
                    "cat": "Other",
                    "desc": "Wicca / NeoWicca / Eclectic"
                },
                {
                    "id": 32,
                    "cat": "Other",
                    "desc": "Chaos Magic "
                },
                {
                    "id": 64,
                    "cat": "Other",
                    "desc": "Lovecraft Mythos"
                },
                {
                    "id": 67,
                    "cat": "Other",
                    "desc": "Other Eastern Traditions"
                },
                {
                    "id": 56,
                    "cat": "Other",
                    "desc": "Southern European Paganism"
                },
                {
                    "id": 20,
                    "cat": "Other",
                    "desc": "Yoga / Tantra"
                },
                {
                    "id": 66,
                    "cat": "Other",
                    "desc": "Energy Healing"
                },
                {
                    "id": 13,
                    "cat": "Other",
                    "desc": "Lucid Dreams/Astral Projection"
                },
                {
                    "id": 49,
                    "cat": "Other",
                    "desc": "Paranormal"
                },
                {
                    "id": 72,
                    "cat": "Other",
                    "desc": "Specialty Presses"
                },
                {
                    "id": 4,
                    "cat": "Other",
                    "desc": "Enochian"
                },
                {
                    "id": 14,
                    "cat": "Other",
                    "desc": "Meditation"
                },
                {
                    "id": 33,
                    "cat": "Other",
                    "desc": "Parapsychology"
                },
                {
                    "id": 58,
                    "cat": "Other",
                    "desc": "Sufism"
                },
                {
                    "id": 11,
                    "cat": "Other",
                    "desc": "Entheogens"
                },
                {
                    "id": 53,
                    "cat": "Other",
                    "desc": "Middle Eastern Magic"
                },
                {
                    "id": 15,
                    "cat": "Other",
                    "desc": "Philosophy"
                },
                {
                    "id": 55,
                    "cat": "Other",
                    "desc": "Taoism / Daoism"
                },
                {
                    "id": 29,
                    "cat": "Other",
                    "desc": "Esoteric Christianity"
                },
                {
                    "id": 65,
                    "cat": "Other",
                    "desc": "Modern Grimoires"
                },
                {
                    "id": 12,
                    "cat": "Other",
                    "desc": "Qabalah / Kabbalah / Cabala"
                },
                {
                    "id": 18,
                    "cat": "Other",
                    "desc": "Tarot / Oracle Cards"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_tcg",
                "type": "info",
                "label": "Message from the TCG staff",
                "default": "We wish to encourage all members to participate in the communities we are creating. We have worked with the Jackett maintainers to ensure that the security and longevity of our trackers continues, and as such some torrents are removed from the results in Jackett."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Unparked accounts that haven't visited (read: browsed) the site for 38 days (and are over 28 days old) are pruned. Parked accounts are pruned when 112 days have elapsed since the last recorded activity (read: browsed). Seeding activity does NOT count, you must BROWSE the site. Donators with a star (and ONLY donators with a star) are immune to auto-pruning. Power Users and above are also immune. We regularly clean out accounts with very low share ratios that are subject to the Ratio Watch system."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "main.php",
                "selector": "a[href^=\"logout.php?id=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "titleonly": 1,
                "nonboolean": 0,
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[border=\"0\"] > tbody > tr.ttable:has(a[href^=\"browse.php?cat=\"]):not(:has(font[color=\"blue\"])):not(:contains(\"*TCG*\"))"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Never",
                                "0"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "theoldschool-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "theoldschool-api",
        "name": "The Old School (API)",
        "description": "The Old School (TOS) is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://theoldschool.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Films"
                },
                {
                    "id": 6,
                    "cat": "Movies",
                    "desc": "Films VOSTFR"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Series"
                },
                {
                    "id": 7,
                    "cat": "TV",
                    "desc": "Series VOSTFR"
                },
                {
                    "id": 8,
                    "cat": "TV",
                    "desc": "Series Pack"
                },
                {
                    "id": 9,
                    "cat": "TV",
                    "desc": "Series Pack VOSTFR"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Jeux"
                },
                {
                    "id": 3,
                    "cat": "Books",
                    "desc": "Ebooks"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "Logiciel"
                },
                {
                    "id": 10,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://theoldschool.cc/\" target=\"_blank\">The Old School</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "tmdbidonly",
                "type": "checkbox",
                "label": "Disable IMDB and TVDB ID search (only support TMDB ID) to potentially improve Sonarr and Radarr results",
                "default": false
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi FRENCH": "MULTi FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi ENGLISH": "MULTi ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi VOSTFR": "MULTi VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "vfq",
                "type": "checkbox",
                "label": "Replace VFQ with FRENCH",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "'Pruning' account<ul><li>Your membership requires that you remain active at TOS.</li><li>To not be disabled, you must log in to the tracker at least once every 90 days or continuously see at least 1 torrent. If you haven't logged in for more than 90 days and you don't have any seed torrents as of midnight UTC, your account will be deactivated.</li><li>To be reactivated, you also have 30 days to log in and show that your account is back to normal.</li><li>Disabled account: 90 days of inactivity and no seed torrent.</li><li>'Pruned' account: Has been deactivated for 30 days , and 90 days of inactivity.</li></ul>"
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ if .Config.tmdbidonly }}{{ else }}{{ .Query.IMDBIDShort }}{{ end }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ if .Config.tmdbidonly }}{{ else }}{{ .Query.TVDBID }}{{ end }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title_phase1": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "title_vfq": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(VFQ)\\b",
                                "FRENCH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vfq }}{{ .Result.title_vfq }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase3": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase3 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase3 }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "theparadiese": {
        "credentials": {
            "username": "",
            "password": "",
            "pin": ""
        },
        "id": "theparadiese",
        "name": "The Paradiese",
        "description": "The Paradiese is a GERMAN Private tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://theparadiese.hopto.org/"
        ],
        "legacylinks": [
            "https://theparadiese.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 125,
                    "cat": "Movies",
                    "desc": "Movie Anime"
                },
                {
                    "id": 134,
                    "cat": "Movies/UHD",
                    "desc": "Movie Pack/4K/UHD"
                },
                {
                    "id": 118,
                    "cat": "Movies/HD",
                    "desc": "Movie Pack HD"
                },
                {
                    "id": 132,
                    "cat": "Movies/SD",
                    "desc": "Movie Pack SD"
                },
                {
                    "id": 133,
                    "cat": "Movies/UHD",
                    "desc": "Movie 4K/UHD"
                },
                {
                    "id": 32,
                    "cat": "Movies/HD",
                    "desc": "Movie HD"
                },
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Movie SD"
                },
                {
                    "id": 26,
                    "cat": "Movies/3D",
                    "desc": "Movie 3D"
                },
                {
                    "id": 136,
                    "cat": "Movies/DVD",
                    "desc": "Movie DVD"
                },
                {
                    "id": 121,
                    "cat": "TV/UHD",
                    "desc": "Serien Pack/4K/UHD"
                },
                {
                    "id": 119,
                    "cat": "TV/HD",
                    "desc": "Serien Pack HD"
                },
                {
                    "id": 59,
                    "cat": "TV/SD",
                    "desc": "Serien Pack SD"
                },
                {
                    "id": 122,
                    "cat": "TV/UHD",
                    "desc": "Serien 4K/UHD"
                },
                {
                    "id": 57,
                    "cat": "TV/HD",
                    "desc": "Serien HD"
                },
                {
                    "id": 60,
                    "cat": "TV/SD",
                    "desc": "Serien SD"
                },
                {
                    "id": 126,
                    "cat": "TV/Anime",
                    "desc": "Serien Anime"
                },
                {
                    "id": 145,
                    "cat": "Audio",
                    "desc": "Music Soundtrack"
                },
                {
                    "id": 52,
                    "cat": "Audio",
                    "desc": "Music Pack"
                },
                {
                    "id": 48,
                    "cat": "Audio",
                    "desc": "Music Album"
                },
                {
                    "id": 49,
                    "cat": "Audio",
                    "desc": "Music Charts"
                },
                {
                    "id": 54,
                    "cat": "Audio",
                    "desc": "Music Single"
                },
                {
                    "id": 110,
                    "cat": "Audio/MP3",
                    "desc": "Music Mp3"
                },
                {
                    "id": 120,
                    "cat": "Audio/Lossless",
                    "desc": "Music Flac"
                },
                {
                    "id": 123,
                    "cat": "Audio/Audiobook",
                    "desc": "Music Hörbücher"
                },
                {
                    "id": 109,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 147,
                    "cat": "Other",
                    "desc": "Kids 4K/UHD"
                },
                {
                    "id": 140,
                    "cat": "Other",
                    "desc": "Kids Ani /Trick"
                },
                {
                    "id": 143,
                    "cat": "Other",
                    "desc": "Kids Pack HD"
                },
                {
                    "id": 142,
                    "cat": "Other",
                    "desc": "Kids HD"
                },
                {
                    "id": 144,
                    "cat": "Other",
                    "desc": "Kids Pack SD"
                },
                {
                    "id": 141,
                    "cat": "Other",
                    "desc": "Kids SD"
                },
                {
                    "id": 96,
                    "cat": "Books/EBook",
                    "desc": "Sonstiges E-Book"
                },
                {
                    "id": 69,
                    "cat": "Other",
                    "desc": "Sonstiges Tutorial"
                },
                {
                    "id": 71,
                    "cat": "Other/Misc",
                    "desc": "Sonstiges Other"
                },
                {
                    "id": 139,
                    "cat": "XXX",
                    "desc": "XXX Anime"
                },
                {
                    "id": 75,
                    "cat": "XXX",
                    "desc": "XXX Pack"
                },
                {
                    "id": 73,
                    "cat": "XXX",
                    "desc": "XXX HD"
                },
                {
                    "id": 76,
                    "cat": "XXX",
                    "desc": "XXX SD"
                },
                {
                    "id": 74,
                    "cat": "XXX",
                    "desc": "XXX Other"
                },
                {
                    "id": 127,
                    "cat": "TV/Documentary",
                    "desc": "Doku Pack HD"
                },
                {
                    "id": 128,
                    "cat": "TV/Documentary",
                    "desc": "Doku Pack SD"
                },
                {
                    "id": 14,
                    "cat": "TV/Documentary",
                    "desc": "Doku HD"
                },
                {
                    "id": 15,
                    "cat": "TV/Documentary",
                    "desc": "Doku SD"
                },
                {
                    "id": 12,
                    "cat": "PC/0day",
                    "desc": "App Win"
                },
                {
                    "id": 10,
                    "cat": "PC/Mac",
                    "desc": "App Mac/Linux"
                },
                {
                    "id": 11,
                    "cat": "PC/Mobile-Other",
                    "desc": "App Handy"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Game PC"
                },
                {
                    "id": 129,
                    "cat": "Console",
                    "desc": "Game Konsole"
                },
                {
                    "id": 131,
                    "cat": "PC/Mobile-Other",
                    "desc": "Game Handy"
                },
                {
                    "id": 117,
                    "cat": "TV/Sport",
                    "desc": "Sport SD"
                },
                {
                    "id": 137,
                    "cat": "TV/Sport",
                    "desc": "Sport HD"
                }
            ],
            "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": "pin",
                "type": "text",
                "label": "Pin"
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About OnlyUpload at The Paradiese",
                "default": "<ul><li>OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Jackett dashboard search results these are tagged as Freeleech).</li></ul>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "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>Torrents pro Seite:</b> setting to <b>60</b> on your Control Panel. The default is <i>15</i>."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts are automatically deleted after 42 days."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "cookies": [
                "JAVA=OK"
            ],
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "pin": "{{ .Config.pin }}"
            },
            "error": [
                {
                    "selector": "div#login_error"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "selection.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "blah": 0,
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.selection_wrap"
            },
            "fields": {
                "category_p1": {
                    "selector": "div.kat_cat_pic_name"
                },
                "category_p2": {
                    "selector": "div.kat_cat_pic_name_b"
                },
                "categorydesc": {
                    "text": "{{ .Result.category_p1 }} {{ .Result.category_p2 }}"
                },
                "title": {
                    "selector": "a.selection_a",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^\\[[\\w ]*\\]\\s?",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a.selection_a",
                    "attribute": "href"
                },
                "_id": {
                    "selector": "a.selection_a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "id"
                        }
                    ]
                },
                "download": {
                    "text": "download.php?torrent={{ .Result._id }}"
                },
                "poster": {
                    "selector": "div[id^=\"details\"] img",
                    "attribute": "src"
                },
                "size": {
                    "selector": "div.selection_unter_ad"
                },
                "grabs": {
                    "selector": "div.selection_unter_ae"
                },
                "date_day": {
                    "selector": "div.selection_unter_ab:not(:contains(\".\"))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Heute",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Gestern",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.selection_unter_ab:contains(\".\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " um",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "seeders": {
                    "selector": "div.selection_unter_aa"
                },
                "leechers": {
                    "selector": "div.selection_unter_aaa"
                },
                "downloadvolumefactor": {
                    "case": {
                        ":root:has(div.onlyup)": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "case": {
                        ":root:has(div.onlyup)": 216000,
                        "*": 172800
                    }
                },
                "minimumratio": {
                    "text": 0.8
                }
            }
        }
    },
    "thepiratebay": {
        "id": "thepiratebay",
        "name": "The Pirate Bay",
        "description": "The Pirate Bay (TPB) is the galaxy’s most resilient Public BitTorrent site",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://thepiratebay.org/",
            "https://thepiratebay.unblockninja.com/",
            "https://thepiratebay.ninjaproxy1.com/",
            "https://tpb.proxyninja.org/",
            "https://thepiratebay.proxyninja.net/",
            "https://thepiratebay.torrentbay.st/",
            "https://tpb.skynetcloud.site/",
            "https://piratehaven.xyz/",
            "https://mirrorbay.top/",
            "https://thepiratebay0.org/",
            "https://thepiratebay10.xyz/",
            "https://pirateproxylive.org/",
            "https://thehiddenbay.com/",
            "https://thepiratebay.zone/",
            "https://tpb.party/",
            "https://piratebayproxy.live/",
            "https://piratebay.live/",
            "https://piratebay.party/",
            "https://thepiratebay.party/",
            "https://thepiratebaye.org/",
            "https://thepiratebay.cloud/",
            "https://tpb-proxy.xyz/",
            "https://tpb.re/",
            "https://tpirbay.site/",
            "https://tpirbay.top/",
            "https://tpirbay.xyz/"
        ],
        "legacylinks": [
            "https://pirate-proxy.page/",
            "https://5mins.shop/",
            "https://tpb.surf/",
            "https://tpb.monster/",
            "https://thepiratebay.host/",
            "https://piratetoday.xyz/",
            "https://tpb.wtf/",
            "https://piratebayo3klnzokct3wt5yyxb2vpebbuyjl7m623iaxmqhsd52coid.onion.ly/",
            "https://piratebayo3klnzokct3wt5yyxb2vpebbuyjl7m623iaxmqhsd52coid.tor2web.to/",
            "https://piratebayo3klnzokct3wt5yyxb2vpebbuyjl7m623iaxmqhsd52coid.tor2web.link/",
            "https://tpb25.ukpass.co/",
            "https://tpb29.ukpass.co/",
            "https://piratenow.xyz/",
            "https://pirate-proxy.ink/",
            "https://proxifiedpiratebay.org/",
            "https://unlockedpiratebay.com/",
            "https://tpb.one/",
            "https://piratebayorg.net/",
            "https://tpbproxy.click/",
            "https://pirateproxy.live/",
            "https://ukpiratebay.org/",
            "https://piratebay.by/",
            "https://pirate-proxy.date/",
            "https://thepirateproxy.net/",
            "https://thepiratebay.abcproxy.org/",
            "https://tpb.proxyninja.net/",
            "https://tpb31.ukpass.co/",
            "https://thepiratebay10.org/",
            "https://pirate-proxy.africa/",
            "https://5mins.eu/",
            "https://piratebay.army/",
            "https://tpb-visit.me/",
            "https://pirate-proxy.ong/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 100,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 101,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 102,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Books"
                },
                {
                    "id": 103,
                    "cat": "Audio",
                    "desc": "Sound Clips"
                },
                {
                    "id": 104,
                    "cat": "Audio/Lossless",
                    "desc": "FLAC"
                },
                {
                    "id": 199,
                    "cat": "Audio/Other",
                    "desc": "Audio Other"
                },
                {
                    "id": 200,
                    "cat": "Movies",
                    "desc": "Video"
                },
                {
                    "id": 201,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 202,
                    "cat": "Movies",
                    "desc": "Movies DVDR"
                },
                {
                    "id": 203,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": 204,
                    "cat": "Movies/Other",
                    "desc": "Movie Clips"
                },
                {
                    "id": 205,
                    "cat": "TV",
                    "desc": "TV Shows"
                },
                {
                    "id": 206,
                    "cat": "TV/Other",
                    "desc": "Handheld"
                },
                {
                    "id": 207,
                    "cat": "Movies/HD",
                    "desc": "HD - Movies"
                },
                {
                    "id": 208,
                    "cat": "TV/HD",
                    "desc": "HD - TV shows"
                },
                {
                    "id": 209,
                    "cat": "Movies/3D",
                    "desc": "3D"
                },
                {
                    "id": 210,
                    "cat": "Movies/SD",
                    "desc": "CAM/TS"
                },
                {
                    "id": 211,
                    "cat": "Movies/UHD",
                    "desc": "UHD/4k - Movies"
                },
                {
                    "id": 212,
                    "cat": "TV/UHD",
                    "desc": "UHD/4k - TV shows"
                },
                {
                    "id": 299,
                    "cat": "Movies/Other",
                    "desc": "Video Other"
                },
                {
                    "id": 300,
                    "cat": "PC",
                    "desc": "Applications"
                },
                {
                    "id": 301,
                    "cat": "PC",
                    "desc": "Windows"
                },
                {
                    "id": 302,
                    "cat": "PC/Mac",
                    "desc": "Mac"
                },
                {
                    "id": 303,
                    "cat": "PC",
                    "desc": "UNIX"
                },
                {
                    "id": 304,
                    "cat": "PC/Mobile-Other",
                    "desc": "Handheld"
                },
                {
                    "id": 305,
                    "cat": "PC/Mobile-iOS",
                    "desc": "IOS (iPad/iPhone)"
                },
                {
                    "id": 306,
                    "cat": "PC/Mobile-Android",
                    "desc": "Android"
                },
                {
                    "id": 399,
                    "cat": "PC",
                    "desc": "Other OS"
                },
                {
                    "id": 400,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 401,
                    "cat": "PC/Games",
                    "desc": "PC"
                },
                {
                    "id": 402,
                    "cat": "PC/Mac",
                    "desc": "Mac"
                },
                {
                    "id": 403,
                    "cat": "Console/PS4",
                    "desc": "PSx"
                },
                {
                    "id": 404,
                    "cat": "Console/XBox",
                    "desc": "XBOX360"
                },
                {
                    "id": 405,
                    "cat": "Console/Wii",
                    "desc": "Wii"
                },
                {
                    "id": 406,
                    "cat": "Console/Other",
                    "desc": "Handheld"
                },
                {
                    "id": 407,
                    "cat": "Console/Other",
                    "desc": "IOS (iPad/iPhone)"
                },
                {
                    "id": 408,
                    "cat": "Console/Other",
                    "desc": "Android"
                },
                {
                    "id": 499,
                    "cat": "Console/Other",
                    "desc": "Games Other"
                },
                {
                    "id": 500,
                    "cat": "XXX",
                    "desc": "Porn"
                },
                {
                    "id": 501,
                    "cat": "XXX",
                    "desc": "Movies"
                },
                {
                    "id": 502,
                    "cat": "XXX/DVD",
                    "desc": "Movies DVDR"
                },
                {
                    "id": 503,
                    "cat": "XXX/ImageSet",
                    "desc": "Pictures"
                },
                {
                    "id": 504,
                    "cat": "XXX",
                    "desc": "Games"
                },
                {
                    "id": 505,
                    "cat": "XXX/x264",
                    "desc": "HD - Movies"
                },
                {
                    "id": 506,
                    "cat": "XXX",
                    "desc": "Movie Clips"
                },
                {
                    "id": 507,
                    "cat": "XXX/UHD",
                    "desc": "UHD/4k - Movies"
                },
                {
                    "id": 599,
                    "cat": "XXX/Other",
                    "desc": "Porn other"
                },
                {
                    "id": 600,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 601,
                    "cat": "Books/EBook",
                    "desc": "E-books"
                },
                {
                    "id": 602,
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": 603,
                    "cat": "Books",
                    "desc": "Pictures"
                },
                {
                    "id": 604,
                    "cat": "Books",
                    "desc": "Covers"
                },
                {
                    "id": 605,
                    "cat": "Books",
                    "desc": "Physibles"
                },
                {
                    "id": 699,
                    "cat": "Books/Other",
                    "desc": "Other Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apiurl",
                "label": "API URL",
                "type": "text",
                "default": "apibay.org"
            },
            {
                "name": "uploader",
                "type": "text",
                "label": "Filter by Uploader"
            },
            {
                "name": "info_uploader",
                "type": "info",
                "label": "About filtering by Uploader",
                "default": "You can filter by Uploader by entering a Case Sensitive username, or leave empty to get all results.<br>Note: this is the username of the Uploader and not the Groupname that often show up at the end of TPB titles, eg -MeGusta."
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "https://{{ .Config.apiurl }}/{{ if .Keywords }}q.php?q={{ .Keywords }}&cat={{ join .Categories \",\" }}{{ else }}precompiled/data_top100_recent.json{{ end }}",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bit's\\b",
                        ""
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "([\\p{IsCJKUnifiedIdeographs}\\W]+)",
                        "."
                    ]
                },
                {
                    "name": "tolower"
                }
            ],
            "rows": {
                "selector": "${{ if .Config.uploader }}:has(username:contains({{ .Config.uploader }})){{ else }}{{ end }}",
                "count": {
                    "selector": "$[0].id"
                }
            },
            "fields": {
                "_id": {
                    "selector": "id"
                },
                "category": {
                    "selector": "category"
                },
                "title": {
                    "selector": "name",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "- (\\w+-?\\w*)$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeason[\\s\\.]+(\\d)([\\s\\.]+Complete)?\\b",
                                "S0$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSeason[\\s\\.]+(\\d{1,2})([\\s\\.]+Complete)?\\b",
                                "S$1"
                            ]
                        }
                    ]
                },
                "details": {
                    "text": "{{ .Config.sitelink }}description.php?id={{ .Result._id }}"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "imdbid": {
                    "selector": "imdb"
                },
                "date": {
                    "selector": "added"
                },
                "size": {
                    "selector": "size"
                },
                "files": {
                    "selector": "num_files",
                    "optional": true
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "_username": {
                    "selector": "username"
                },
                "description": {
                    "selector": "name",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "Uploader: {{ .Result._username }}<br>"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "theplace": {
        "credentials": {
            "cookie": ""
        },
        "id": "theplace",
        "name": "The Place",
        "description": "ThePlace (TP) is a Private Torrent Tracker for SEDUCTION / SELF-IMPROVEMENT E-LEARNING",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "certificates": [
            "3e8e14f055ed071a11e7ea64e96e3c4bf058f2f9"
        ],
        "links": [
            "https://theplace.click/"
        ],
        "legacylinks": [
            "http://theplace.click/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 41,
                    "cat": "Other",
                    "desc": "Dance / Singing / Voice"
                },
                {
                    "id": 64,
                    "cat": "Other",
                    "desc": "Fighting / Martial Arts"
                },
                {
                    "id": 43,
                    "cat": "Other",
                    "desc": "Hypnosis / NLP"
                },
                {
                    "id": 201,
                    "cat": "Other",
                    "desc": "Migrated"
                },
                {
                    "id": 39,
                    "cat": "Other",
                    "desc": "Seduction"
                },
                {
                    "id": 57,
                    "cat": "Other",
                    "desc": "Everything Else"
                },
                {
                    "id": 42,
                    "cat": "Other",
                    "desc": "Food / Drink / Cooking"
                },
                {
                    "id": 44,
                    "cat": "Other",
                    "desc": "Languages / Accents"
                },
                {
                    "id": 200,
                    "cat": "Other",
                    "desc": "Migration"
                },
                {
                    "id": 40,
                    "cat": "Other",
                    "desc": "Sex"
                },
                {
                    "id": 58,
                    "cat": "Other",
                    "desc": "Fashion / Clothing / Grooming"
                },
                {
                    "id": 47,
                    "cat": "Other",
                    "desc": "Health / Fitness / Massage"
                },
                {
                    "id": 45,
                    "cat": "Other",
                    "desc": "Magic / Illusions / Tricks"
                },
                {
                    "id": 59,
                    "cat": "Other",
                    "desc": "Psychology / Body Language"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_tcg",
                "type": "info",
                "label": "Message from the TCG staff",
                "default": "We wish to encourage all members to participate in the communities we are creating. We have worked with the Jackett maintainers to ensure that the security and longevity of our trackers continues, and as such some torrents are removed from the results in Jackett."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Unparked accounts that haven't visited (read: browsed) the site for 38 days (and are over 28 days old) are pruned. Parked accounts are pruned when 112 days have elapsed since the last recorded activity (read: browsed). Seeding activity does NOT count, you must BROWSE the site. Donators with a star (and ONLY donators with a star) are immune to auto-pruning. Power Users and above are also immune. We regularly clean out accounts with very low share ratios that are subject to the Ratio Watch system."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "main.php",
                "selector": "a[href^=\"logout.php?id=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "titleonly": 1,
                "nonboolean": 0,
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[border=\"0\"] > tbody > tr.ttable:has(a[href^=\"browse.php?cat=\"]):not(:has(font[color=\"blue\"])):not(:contains(\"*TCG*\"))"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Never",
                                "0"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "theshow": {
        "credentials": {
            "cookie": ""
        },
        "id": "theshow",
        "name": "The Show",
        "description": "TheShow (TSBZ) is a Private Torrent Tracker for ENTERTAINMENT-INDUSTRY E-LEARNING",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "certificates": [
            "3bf77e8aa3cea0c26ae0bceb5c1f20fe75a3d64c"
        ],
        "links": [
            "https://theshow.click/"
        ],
        "legacylinks": [
            "http://theshow.click/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 72,
                    "cat": "Other",
                    "desc": "-empty-"
                },
                {
                    "id": 81,
                    "cat": "Other",
                    "desc": "-empty-"
                },
                {
                    "id": 17,
                    "cat": "Other",
                    "desc": "A-V: Film/Video Editing"
                },
                {
                    "id": 30,
                    "cat": "Other",
                    "desc": "A-V: Sound Recording/Design"
                },
                {
                    "id": 6,
                    "cat": "Other",
                    "desc": "A-V: Videography"
                },
                {
                    "id": 9,
                    "cat": "Other",
                    "desc": "A-V: Visual FX"
                },
                {
                    "id": 29,
                    "cat": "Other",
                    "desc": "Business / Distribution"
                },
                {
                    "id": 56,
                    "cat": "Other",
                    "desc": "Creative Writing"
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "Digital Craft: 3D Modeling"
                },
                {
                    "id": 63,
                    "cat": "Other",
                    "desc": "Everything Else"
                },
                {
                    "id": 65,
                    "cat": "Other",
                    "desc": "Film History / Theory "
                },
                {
                    "id": 64,
                    "cat": "Other",
                    "desc": "Graphics / Photo Editing"
                },
                {
                    "id": 32,
                    "cat": "Other",
                    "desc": "Magazines / Trade Journals"
                },
                {
                    "id": 66,
                    "cat": "Other",
                    "desc": "Mindset / Creativity"
                },
                {
                    "id": 67,
                    "cat": "Other",
                    "desc": "Music Business / Promotion"
                },
                {
                    "id": 73,
                    "cat": "Other",
                    "desc": "Music: Shows/Special Events"
                },
                {
                    "id": 200,
                    "cat": "Other",
                    "desc": "NEW A-V: Videography"
                },
                {
                    "id": 70,
                    "cat": "Other",
                    "desc": "Performances: Competitions"
                },
                {
                    "id": 94,
                    "cat": "Other",
                    "desc": "Performances: Dance/Ballet"
                },
                {
                    "id": 82,
                    "cat": "Other",
                    "desc": "Performances: Drama/Art"
                },
                {
                    "id": 76,
                    "cat": "Other",
                    "desc": "Performances: Sketch/Improv"
                },
                {
                    "id": 75,
                    "cat": "Other",
                    "desc": "Performances: Spoken Word"
                },
                {
                    "id": 78,
                    "cat": "Other",
                    "desc": "Performances: Standup Comedy"
                },
                {
                    "id": 51,
                    "cat": "Other",
                    "desc": "Performing Craft: Acting"
                },
                {
                    "id": 4,
                    "cat": "Other",
                    "desc": "Performing Craft: Dance"
                },
                {
                    "id": 10,
                    "cat": "Other",
                    "desc": "Production: Cinematography"
                },
                {
                    "id": 1,
                    "cat": "Other",
                    "desc": "Production: Directing (Film)"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Production: Directing(Theatre)"
                },
                {
                    "id": 53,
                    "cat": "Other",
                    "desc": "Production: Visuals"
                },
                {
                    "id": 77,
                    "cat": "Other",
                    "desc": "Radio: Comedy/Drama/Mystery"
                },
                {
                    "id": 79,
                    "cat": "Other",
                    "desc": "Radio: Entertain/Arts/Narrativ"
                },
                {
                    "id": 80,
                    "cat": "Other",
                    "desc": "Radio: Music Performances"
                },
                {
                    "id": 83,
                    "cat": "Other",
                    "desc": "Scripts: Radio"
                },
                {
                    "id": 84,
                    "cat": "Other",
                    "desc": "Scripts: Television"
                },
                {
                    "id": 85,
                    "cat": "Other",
                    "desc": "Scripts: Theatre"
                },
                {
                    "id": 49,
                    "cat": "Other",
                    "desc": "Software / Tutorials"
                },
                {
                    "id": 26,
                    "cat": "Other",
                    "desc": "Stock: Film / Video"
                },
                {
                    "id": 54,
                    "cat": "Other",
                    "desc": "Stock: Music / Sound FX"
                },
                {
                    "id": 13,
                    "cat": "Other",
                    "desc": "Stock: Photos / Illustrations"
                },
                {
                    "id": 69,
                    "cat": "Other",
                    "desc": "TV Shows: Action/Drama/Mystery"
                },
                {
                    "id": 68,
                    "cat": "Other",
                    "desc": "TV Shows: Comedy"
                },
                {
                    "id": 71,
                    "cat": "Other",
                    "desc": "TV Shows: Entertain/Chat/Goss"
                },
                {
                    "id": 92,
                    "cat": "Other",
                    "desc": "Visual Craft: Design Theory"
                },
                {
                    "id": 91,
                    "cat": "Other",
                    "desc": "Visual Craft: Drawing/Drafting"
                },
                {
                    "id": 87,
                    "cat": "Other",
                    "desc": "Visual Craft: Fashion/Makeup"
                },
                {
                    "id": 90,
                    "cat": "Other",
                    "desc": "Visual Craft: Handcraft/Sculpt"
                },
                {
                    "id": 93,
                    "cat": "Other",
                    "desc": "Visual Craft: Jewelry Making"
                },
                {
                    "id": 11,
                    "cat": "Other",
                    "desc": "Visual Craft: Needlework"
                },
                {
                    "id": 52,
                    "cat": "Other",
                    "desc": "Visual Craft: Photography"
                },
                {
                    "id": 89,
                    "cat": "Other",
                    "desc": "Visual Craft: Scrapbooking"
                },
                {
                    "id": 88,
                    "cat": "Other",
                    "desc": "Visual Craft: Tattoos/Body Art"
                },
                {
                    "id": 21,
                    "cat": "Other",
                    "desc": "Writing Craft: Screenwriting"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_tcg",
                "type": "info",
                "label": "Message from TCG staff",
                "default": "We wish to encourage all members to participate in the communities we are creating. We have worked with the Jackett maintainers to ensure that the security and longevity of our trackers continues, and as such some torrents are removed from the results in Jackett."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Unparked accounts that haven't visited (read: browsed) the site for 38 days (and are over 28 days old) are pruned. Parked accounts are pruned when 112 days have elapsed since the last recorded activity (read: browsed). Seeding activity does NOT count, you must BROWSE the site. Donators with a star (and ONLY donators with a star) are immune to auto-pruning. Power Users and above are also immune. We regularly clean out accounts with very low share ratios that are subject to the Ratio Watch system."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "main.php",
                "selector": "a[href^=\"logout.php?id=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "titleonly": 1,
                "nonboolean": 0,
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[border=\"0\"] > tbody > tr.ttable:has(a[href^=\"browse.php?cat=\"]):not(:has(font[color=\"blue\"])):not(:contains(\"*TCG*\"))"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Never",
                                "0"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "thevault": {
        "credentials": {
            "cookie": ""
        },
        "id": "thevault",
        "name": "The Vault",
        "description": "TheVault (TVBZ) is a Private Torrent Tracker for BUSINESS / MARKETING E-LEARNING",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://thevault.click/"
        ],
        "legacylinks": [
            "http://thevault.click/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 200,
                    "cat": "Other",
                    "desc": "ABCs / Basics"
                },
                {
                    "id": 202,
                    "cat": "Other",
                    "desc": "Artificial Intelligence"
                },
                {
                    "id": 107,
                    "cat": "Other",
                    "desc": "Author: Dan Kennedy"
                },
                {
                    "id": 110,
                    "cat": "Other",
                    "desc": "Author: Dan Pena"
                },
                {
                    "id": 117,
                    "cat": "Other",
                    "desc": "Author: Eben Pagan"
                },
                {
                    "id": 92,
                    "cat": "Other",
                    "desc": "Author: Jay Abraham"
                },
                {
                    "id": 96,
                    "cat": "Other",
                    "desc": "Author: John Reese"
                },
                {
                    "id": 63,
                    "cat": "Other",
                    "desc": "Author: Robert Kiyosaki"
                },
                {
                    "id": 106,
                    "cat": "Other",
                    "desc": "Autobiographies / Biographies"
                },
                {
                    "id": 118,
                    "cat": "Other",
                    "desc": "Ayn Rand / Objectivism"
                },
                {
                    "id": 112,
                    "cat": "Other",
                    "desc": "Consulting"
                },
                {
                    "id": 94,
                    "cat": "Other",
                    "desc": "Copywriting"
                },
                {
                    "id": 103,
                    "cat": "Other",
                    "desc": "Corporate Design / Branding"
                },
                {
                    "id": 84,
                    "cat": "Other",
                    "desc": "Customer Service"
                },
                {
                    "id": 65,
                    "cat": "Other",
                    "desc": "Economics / Finance"
                },
                {
                    "id": 113,
                    "cat": "Other",
                    "desc": "Entertainment Business"
                },
                {
                    "id": 73,
                    "cat": "Other",
                    "desc": "Hypnosis / NLP"
                },
                {
                    "id": 67,
                    "cat": "Other",
                    "desc": "Investing / Trading / Stocks"
                },
                {
                    "id": 75,
                    "cat": "Other",
                    "desc": "Magazines"
                },
                {
                    "id": 70,
                    "cat": "Other",
                    "desc": "Management / Leadership"
                },
                {
                    "id": 85,
                    "cat": "Other",
                    "desc": "Mindset / Achievement"
                },
                {
                    "id": 80,
                    "cat": "Other",
                    "desc": "Misc: Audio"
                },
                {
                    "id": 90,
                    "cat": "Other",
                    "desc": "Misc: Other"
                },
                {
                    "id": 83,
                    "cat": "Other",
                    "desc": "Misc: Software"
                },
                {
                    "id": 81,
                    "cat": "Other",
                    "desc": "Misc: Video"
                },
                {
                    "id": 82,
                    "cat": "Other",
                    "desc": "Misc: Written / E-Books"
                },
                {
                    "id": 62,
                    "cat": "Other",
                    "desc": "Money Management / Taxes"
                },
                {
                    "id": 93,
                    "cat": "Other",
                    "desc": "Negotiation / Contracts"
                },
                {
                    "id": 97,
                    "cat": "Other",
                    "desc": "Net: Affiliate Schemes"
                },
                {
                    "id": 105,
                    "cat": "Other",
                    "desc": "Net: Blogging"
                },
                {
                    "id": 76,
                    "cat": "Other",
                    "desc": "Net: E-Commerce"
                },
                {
                    "id": 100,
                    "cat": "Other",
                    "desc": "Net: eBay / Online Auctions"
                },
                {
                    "id": 115,
                    "cat": "Other",
                    "desc": "Net: Email Marketing"
                },
                {
                    "id": 95,
                    "cat": "Other",
                    "desc": "Net: Marketing"
                },
                {
                    "id": 101,
                    "cat": "Other",
                    "desc": "Net: Misc"
                },
                {
                    "id": 98,
                    "cat": "Other",
                    "desc": "Net: Pay-Per-Click Advertising"
                },
                {
                    "id": 108,
                    "cat": "Other",
                    "desc": "Net: Search Engine Optimizing"
                },
                {
                    "id": 99,
                    "cat": "Other",
                    "desc": "Net: Traffic Generation"
                },
                {
                    "id": 102,
                    "cat": "Other",
                    "desc": "Net: Web Site/Blog Templates"
                },
                {
                    "id": 114,
                    "cat": "Other",
                    "desc": "Network Marketing (MLM)"
                },
                {
                    "id": 111,
                    "cat": "Other",
                    "desc": "Offshore / Tax Avoidance"
                },
                {
                    "id": 116,
                    "cat": "Other",
                    "desc": "Private Label Rights (PLR)"
                },
                {
                    "id": 68,
                    "cat": "Other",
                    "desc": "Real Estate / Property Develop"
                },
                {
                    "id": 104,
                    "cat": "Other",
                    "desc": "Recruitment / Interviewing"
                },
                {
                    "id": 71,
                    "cat": "Other",
                    "desc": "Sales / Marketing"
                },
                {
                    "id": 72,
                    "cat": "Other",
                    "desc": "Small Business / Entrepreneurs"
                },
                {
                    "id": 109,
                    "cat": "Other",
                    "desc": "Sports / Gambling"
                },
                {
                    "id": 91,
                    "cat": "Other",
                    "desc": "TTC Lectures"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_tcg",
                "type": "info",
                "label": "Message from the TCG staff",
                "default": "We wish to encourage all members to participate in the communities we are creating. We have worked with the Jackett maintainers to ensure that the security and longevity of our trackers continues, and as such some torrents are removed from the results in Jackett."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Unparked accounts that haven't visited (read: browsed) the site for 38 days (and are over 28 days old) are pruned. Parked accounts are pruned when 112 days have elapsed since the last recorded activity (read: browsed). Seeding activity does NOT count, you must BROWSE the site. Donators with a star (and ONLY donators with a star) are immune to auto-pruning. Power Users and above are also immune. We regularly clean out accounts with very low share ratios that are subject to the Ratio Watch system."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "main.php",
                "selector": "a[href^=\"logout.php?id=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "titleonly": 1,
                "nonboolean": 0,
                "sort": "{{ .Config.sort }}",
                "d": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[border=\"0\"] > tbody > tr.ttable:has(a[href^=\"browse.php?cat=\"]):not(:has(font[color=\"blue\"])):not(:contains(\"*TCG*\"))"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Never",
                                "0"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "font[color=\"green\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "tjupt": {
        "credentials": {
            "cookie": ""
        },
        "id": "tjupt",
        "name": "TJUPT (北洋园PT)",
        "description": "TJUPT (北洋园PT) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tjupt.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies电影"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series剧集"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows综艺"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries资料"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations动漫"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos音乐"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports体育"
                },
                {
                    "id": 408,
                    "cat": "PC",
                    "desc": "Software软件"
                },
                {
                    "id": 409,
                    "cat": "Console",
                    "desc": "Games游戏"
                },
                {
                    "id": 411,
                    "cat": "Books",
                    "desc": "Books纪录片"
                },
                {
                    "id": 412,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile移动视频"
                },
                {
                    "id": 410,
                    "cat": "Other",
                    "desc": "Misc其他"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Banning rules for account inactivity:<ol><li>Within 180 days, an account is considered active if it meets any of the following conditions: has checked in for at least 1 day; has published at least 1 seed, fun box or new forum topic (non-reply); actually uploaded increments > 5TiB and the seeding integral increment is > 30W</li><li>Users of Megatron level and above ignore the inactivity rules and will keep their accounts forever</li><li>Users with Sword Down the Mountain and above will not be disabled due to inactivity after parking their accounts in the control panel</li><li>Un-parked accounts below the level of Megatron will be disabled if they have been 'inactive' for 180 consecutive days (Effective from 2024).</li><li>Accounts parked below the level of Down the Mountain with a Sword will be disabled if they are 'inactive' for 300 consecutive days (Effective from 2024).</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "picktype": 0,
                "spstate": "{{ if .Config.freeleech }}9{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^\\[([^\\]]+)\\]\\[([^\\]]+)\\]\\[([^\\]]+)\\](.*)$",
                                "$3 [$1][$2]$4"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details",
                                "download"
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-last-child(6) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-last-child(6):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-last-child(5)"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-last-child(4)"
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-last-child(3)"
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-last-child(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor_custom": {
                    "selector": "span:has(img.arrowup)",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "X",
                                ""
                            ]
                        }
                    ]
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "span:has(img.arrowup)": "{{ .Result.uploadvolumefactor_custom }}",
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.8
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "tlfbits": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "tlfbits",
        "name": "TLFBits",
        "description": "TLFBits is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.eastgame.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 438,
                    "cat": "Movies",
                    "desc": "电影 (Movie)"
                },
                {
                    "id": 440,
                    "cat": "TV",
                    "desc": "电视剧(TV series)"
                },
                {
                    "id": 441,
                    "cat": "TV",
                    "desc": "综艺 (TV Show)"
                },
                {
                    "id": 442,
                    "cat": "TV/Anime",
                    "desc": "动漫 (Anime)"
                },
                {
                    "id": 443,
                    "cat": "TV/Documentary",
                    "desc": "纪录片 (Documentary)"
                },
                {
                    "id": 444,
                    "cat": "TV/Sport",
                    "desc": "体育 (Sport)"
                },
                {
                    "id": 445,
                    "cat": "Audio/Video",
                    "desc": "音乐视频 (Music Video)"
                },
                {
                    "id": 446,
                    "cat": "Audio",
                    "desc": "音乐(Music)"
                },
                {
                    "id": 447,
                    "cat": "PC/Games",
                    "desc": "游戏 (Game)"
                },
                {
                    "id": 448,
                    "cat": "PC/0day",
                    "desc": "软件 (Software)"
                },
                {
                    "id": 449,
                    "cat": "Other/Misc",
                    "desc": "资料（E-Learning）"
                },
                {
                    "id": 450,
                    "cat": "Other",
                    "desc": "其它 (Other)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-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": 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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "div.imdb_100 > a",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "tmghub": {
        "credentials": {
            "username": "",
            "password": "",
            "thankyou": ""
        },
        "id": "tmghub",
        "name": "TmGHuB",
        "description": "TmGHuB (TH) is an INDIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tmghub.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 29,
                    "cat": "Movies",
                    "desc": "Movie Packs"
                },
                {
                    "id": 30,
                    "cat": "Movies",
                    "desc": "V.I.P"
                },
                {
                    "id": 13,
                    "cat": "Movies/BluRay",
                    "desc": "BD-25/BD-50"
                },
                {
                    "id": 32,
                    "cat": "Movies/BluRay",
                    "desc": "1080p BluRay"
                },
                {
                    "id": 33,
                    "cat": "Movies/HD",
                    "desc": "BDRip / 720p"
                },
                {
                    "id": 11,
                    "cat": "Movies/DVD",
                    "desc": "DVD-R/DVD-DL"
                },
                {
                    "id": 22,
                    "cat": "Movies/DVD",
                    "desc": "Encoded DVDs"
                },
                {
                    "id": 17,
                    "cat": "Movies/WEB-DL",
                    "desc": "WEB-DL/DTH"
                },
                {
                    "id": 14,
                    "cat": "Movies/DVD",
                    "desc": "DVD-Rips"
                },
                {
                    "id": 15,
                    "cat": "Movies/HD",
                    "desc": "DTH/HD-Rip"
                },
                {
                    "id": 45,
                    "cat": "Movies/Other",
                    "desc": "AI Encodes"
                },
                {
                    "id": 20,
                    "cat": "Movies/SD",
                    "desc": "VHS/TV-Rip"
                },
                {
                    "id": 21,
                    "cat": "Movies",
                    "desc": "Video CDs"
                },
                {
                    "id": 19,
                    "cat": "Movies",
                    "desc": "Pre Releases "
                },
                {
                    "id": 42,
                    "cat": "Movies",
                    "desc": "Dubbed Movies"
                },
                {
                    "id": 44,
                    "cat": "Movies",
                    "desc": "TmG Special"
                },
                {
                    "id": 27,
                    "cat": "Audio",
                    "desc": "MP3/FLAC/WAV"
                },
                {
                    "id": 23,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                },
                {
                    "id": 37,
                    "cat": "Audio",
                    "desc": "Music Packs"
                },
                {
                    "id": 40,
                    "cat": "TV",
                    "desc": "TV Shows"
                },
                {
                    "id": 28,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 25,
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": 26,
                    "cat": "TV/Documentary",
                    "desc": "Documentary"
                },
                {
                    "id": 38,
                    "cat": "Books/EBook",
                    "desc": "E-Books"
                },
                {
                    "id": 34,
                    "cat": "Books",
                    "desc": "Guides / Tutorials"
                },
                {
                    "id": 5,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 39,
                    "cat": "Other",
                    "desc": "Religious"
                },
                {
                    "id": 43,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile. Default is 30."
            },
            {
                "name": "info_grabs",
                "type": "info",
                "label": "Search results",
                "default": "Note that torrents that you have previously downloaded will not be included in results.<br /> You are not allowed to download a torrent twice without informing admin."
            },
            {
                "name": "thankyou",
                "type": "text",
                "label": "Thank You Comment"
            },
            {
                "name": "info",
                "type": "info",
                "label": "Thank you comment",
                "default": "This site requires you to leave a Thank You comment before you can download.<br /> Enter your personalised comment above, at least 8 characters long."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 3,
                "options": {
                    "3": "created",
                    "5": "seeders",
                    "4": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "login": {
            "path": "index.php?page=login",
            "method": "form",
            "form": "form[action^=\"index.php?page=login\"]",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "tr td span[style=\"color:#FF0000;\"]"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "before": {
                "path": "{{ .DownloadUri.AbsoluteUri }}",
                "method": "post",
                "inputs": {
                    "comment": "{{ .Config.thankyou }}",
                    "confirm": "Confirm"
                }
            },
            "selectors": [
                {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "page": "torrents",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "category": "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}",
                "uploader": 0,
                "options": "{{ if .Query.IMDBID }}3{{ else }}0{{ end }}",
                "active": 0,
                "gold": "{{ if .Config.freeleech }}3{{ else }}0{{ end }}",
                "langsel": -1,
                "order": "{{ .Config.sort }}",
                "by": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.tor-list div.torrent-item:not(:has(img[title=\"Allready Grabbed !!\"]))"
            },
            "fields": {
                "category": {
                    "selector": "div.tor-cat-col a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "a.torr-link b"
                },
                "details": {
                    "selector": "a.torr-link",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.torr-link",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a.torr-link",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.+?) border"
                        }
                    ]
                },
                "date": {
                    "selector": "a.torr-link",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Added\\:(\\d+ \\w+ \\w+)<"
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "size": {
                    "selector": "div.torrent-stats div.nth-child(4)"
                },
                "grabs": {
                    "selector": "div.torrent-stats div.nth-child(1)"
                },
                "seeders": {
                    "selector": "div.torrent-stats div.nth-child(2)"
                },
                "leechers": {
                    "selector": "div.torrent-stats div.nth-child(3)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"gold/gold.gif\"]": 0,
                        "img[src=\"gold/silver.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.7
                },
                "minimumseedtime": {
                    "text": 7200
                }
            }
        }
    },
    "tocashare": {
        "credentials": {
            "apikey": ""
        },
        "id": "tocashare",
        "name": "Toca Share (API)",
        "description": "Toca Share is a PORTUGUESE Private Torrent Tracker for EBOOKS / AUDIOBOOKS / COURSES",
        "language": "pt-PT",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tocashare.biz/"
        ],
        "legacylinks": [
            "https://tocashare.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Books/Mags",
                    "desc": "Revistas"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "Seriado"
                },
                {
                    "id": 3,
                    "cat": "Audio/Audiobook",
                    "desc": "Música"
                },
                {
                    "id": 4,
                    "cat": "Console",
                    "desc": "Jogo"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "Aplicativo"
                },
                {
                    "id": 6,
                    "cat": "Books/EBook",
                    "desc": "E-Books"
                },
                {
                    "id": 7,
                    "cat": "Other",
                    "desc": "Cursos"
                },
                {
                    "id": 8,
                    "cat": "XXX/ImageSet",
                    "desc": "Fotos Adultas"
                },
                {
                    "id": 9,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio livro"
                },
                {
                    "id": 10,
                    "cat": "Books/Comics",
                    "desc": "HQs/Mangas"
                },
                {
                    "id": 11,
                    "cat": "TV",
                    "desc": "Shows"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://tocashare.biz/\" target=\"_blank\">Toca Share</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "The inactivation system was created with the purpose of encouraging member participation. This way, after 7 days without accessing the website, 30 BONs will be deducted per day. If your account balance reaches 0 and you don't have any torrents being seeded, it will be automatically deactivated."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "genre": {
                    "selector": "meta.genres"
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 432000
                }
            }
        }
    },
    "tokyotosho": {
        "id": "tokyotosho",
        "name": "Tokyo Toshokan",
        "description": "Tokyo Toshokan is a Public BitTorrent Library for JAPANESE Media",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.tokyotosho.info/",
            "https://www.tokyotosho.se/",
            "https://tokyo-tosho.net/"
        ],
        "legacylinks": [
            "https://tokyotosho.proxyportal.fun/",
            "https://tokyotosho.uk-unblock.xyz/",
            "https://tokyotosho.ind-unblock.xyz/",
            "https://tokyotosho.unblocked.bar/",
            "https://tokyotosho.proxyportal.pw/",
            "https://tokyotosho.uk-unblock.pro/",
            "https://tokyotosho.unblocked.rest/",
            "https://tokyotosho.unblocked.monster/",
            "https://tokyotosho.mrunblock.bond/",
            "https://tokyotosho.nocensor.cloud/"
        ],
        "settings": [
            {
                "name": "cat",
                "type": "select",
                "label": "Category",
                "default": 0,
                "options": {
                    "0": "All",
                    "1": "Anime",
                    "10": "Non-English",
                    "3": "Manga",
                    "8": "Drama",
                    "2": "Music",
                    "9": "Music Video",
                    "7": "Raws",
                    "4": "Hentai",
                    "12": "Hentai (Anime)",
                    "13": "Hentai (Manga)",
                    "14": "Hentai (Games)",
                    "11": "Batch",
                    "15": "JAV",
                    "5": "Other"
                }
            }
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 10,
                    "cat": "TV/Anime",
                    "desc": "Non-English Anime"
                },
                {
                    "id": 3,
                    "cat": "Books",
                    "desc": "Manga"
                },
                {
                    "id": 8,
                    "cat": "TV/Anime",
                    "desc": "Drama"
                },
                {
                    "id": 2,
                    "cat": "Audio",
                    "desc": "Anime Music"
                },
                {
                    "id": 9,
                    "cat": "TV/Anime",
                    "desc": "Anime Music Videos"
                },
                {
                    "id": 7,
                    "cat": "TV/Anime",
                    "desc": "Raw Anime"
                },
                {
                    "id": 4,
                    "cat": "XXX",
                    "desc": "Hentai"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "Hentai (Anime)"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "Hentai (Manga)"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "Hentai (Games)"
                },
                {
                    "id": 11,
                    "cat": "TV/Anime",
                    "desc": "Batch"
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "JAV"
                },
                {
                    "id": 5,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search.php{{ else }}index.php{{ end }}"
                }
            ],
            "inputs": {
                "terms": "{{ .Keywords }}",
                "cat": "{{ .Config.cat }}"
            },
            "rows": {
                "selector": "table.listing tr.category_0",
                "after": 1,
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)"
                        }
                    ]
                },
                "title": {
                    "selector": "td.desc-top a[type=\"application/x-bittorrent\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td.desc-top a[type=\"application/x-bittorrent\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href",
                    "optional": true
                },
                "size": {
                    "selector": "td.desc-bot",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                1
                            ]
                        },
                        {
                            "name": "regexp",
                            "args": "Size: (.+?) ?$"
                        }
                    ]
                },
                "date": {
                    "selector": "td.desc-bot",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                2
                            ]
                        },
                        {
                            "name": "regexp",
                            "args": "Date: (.+?) ?$"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "UTC",
                                "+00:00"
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm zzz"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td.stats > span:nth-child(1)"
                },
                "leechers": {
                    "selector": "td.stats > span:nth-child(2)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "tormac": {
        "credentials": {
            "cookie": ""
        },
        "id": "tormac",
        "name": "Tormac",
        "description": "Tormac is a RUSSIAN Private Torrent Tracker for MAC SOFTWARE",
        "language": "ru-RU",
        "type": "private",
        "encoding": "windows-1251",
        "links": [
            "https://tormac.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 10,
                    "cat": "PC/ISO",
                    "desc": "Mac OS на Macintosh"
                },
                {
                    "id": 46,
                    "cat": "PC/ISO",
                    "desc": "Mac OS на PC"
                },
                {
                    "id": 2,
                    "cat": "PC/Mac",
                    "desc": "Программы - Audio"
                },
                {
                    "id": 3,
                    "cat": "PC/Mac",
                    "desc": "Программы - Video"
                },
                {
                    "id": 4,
                    "cat": "PC/Mac",
                    "desc": "Программы - Graphics"
                },
                {
                    "id": 95,
                    "cat": "PC/Mac",
                    "desc": " |- Вспомогательный инструментарий - presets, effects, brush.."
                },
                {
                    "id": 5,
                    "cat": "PC/Mac",
                    "desc": "Программы - System Utilities"
                },
                {
                    "id": 23,
                    "cat": "PC/Mac",
                    "desc": " |- Средства разработки приложений"
                },
                {
                    "id": 6,
                    "cat": "PC/Mac",
                    "desc": "Программы - Office/PrePress/Database"
                },
                {
                    "id": 7,
                    "cat": "PC/Mac",
                    "desc": "Программы - Network / WEB"
                },
                {
                    "id": 63,
                    "cat": "PC/Mac",
                    "desc": " |- Веб-разработка, инструментарий"
                },
                {
                    "id": 8,
                    "cat": "PC/Mac",
                    "desc": "Программы - 3D/CAD/Engineering"
                },
                {
                    "id": 9,
                    "cat": "PC/Mac",
                    "desc": "Игры/Games"
                },
                {
                    "id": 64,
                    "cat": "PC/Mac",
                    "desc": "Разное/Other"
                },
                {
                    "id": 91,
                    "cat": "PC/Mac",
                    "desc": " |- Патчи и другой инструментарий"
                },
                {
                    "id": 30,
                    "cat": "Books",
                    "desc": "Книги, Журналы"
                },
                {
                    "id": 31,
                    "cat": "Other",
                    "desc": "Видео Apple / Обучающее видео"
                },
                {
                    "id": 103,
                    "cat": "Other",
                    "desc": " |- Видеоуроки"
                },
                {
                    "id": 104,
                    "cat": "Other",
                    "desc": " |- Компьютерные видеоуроки"
                },
                {
                    "id": 32,
                    "cat": "PC/Mobile-iOS",
                    "desc": "Программы для iOS"
                },
                {
                    "id": 97,
                    "cat": "PC/Mobile-iOS",
                    "desc": "Игры для iOS"
                },
                {
                    "id": 33,
                    "cat": "PC/Mobile-iOS",
                    "desc": "iOS. Анлок, джейлбрейк и т.п."
                },
                {
                    "id": 36,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги (AAC/ALAC)"
                },
                {
                    "id": 34,
                    "cat": "Audio/Lossless",
                    "desc": "Музыка Lossless (ALAC)"
                },
                {
                    "id": 101,
                    "cat": "Audio/MP3",
                    "desc": "Музыка Lossy (AAC-iTunes)"
                },
                {
                    "id": 35,
                    "cat": "Audio/MP3",
                    "desc": "Музыка Lossy (AAC)"
                },
                {
                    "id": 102,
                    "cat": "Audio/MP3",
                    "desc": "Музыка Lossy (AAC) (Singles, EPs)"
                },
                {
                    "id": 37,
                    "cat": "Movies/SD",
                    "desc": "AppleTV - SD"
                },
                {
                    "id": 38,
                    "cat": "Movies/SD",
                    "desc": " |- Фильмы для iPod, iPhone, iPad"
                },
                {
                    "id": 39,
                    "cat": "TV/SD",
                    "desc": " |- Сериалы для iPod, iPhone, iPad"
                },
                {
                    "id": 98,
                    "cat": "TV/Other",
                    "desc": " |- Мультфильмы для iPod, iPhone, iPad"
                },
                {
                    "id": 99,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме для iPod, iPhone, iPad"
                },
                {
                    "id": 40,
                    "cat": "Audio/Video",
                    "desc": " |- Музыкальное видео для iPod, iPhone, iPad"
                },
                {
                    "id": 41,
                    "cat": "TV/HD",
                    "desc": "AppleTV - HD"
                },
                {
                    "id": 42,
                    "cat": "Movies/HD",
                    "desc": " |- Фильмы HD для Apple TV"
                },
                {
                    "id": 92,
                    "cat": "TV/Other",
                    "desc": " |- Мультфильмы HD для Apple TV"
                },
                {
                    "id": 94,
                    "cat": "TV/Other",
                    "desc": " |- Мультсериалы HD для Apple TV"
                },
                {
                    "id": 93,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме HD для Apple TV"
                },
                {
                    "id": 43,
                    "cat": "TV/HD",
                    "desc": " |- Сериалы HD для Apple TV"
                },
                {
                    "id": 100,
                    "cat": "TV/Documentary",
                    "desc": " |- Документальное видео HD для Apple TV"
                },
                {
                    "id": 44,
                    "cat": "Audio/Video",
                    "desc": " |- Музыкальное видео HD для Apple TV"
                },
                {
                    "id": 55,
                    "cat": "Other/Misc",
                    "desc": "Тестовый раздел"
                },
                {
                    "id": 56,
                    "cat": "Other/Misc",
                    "desc": " |- Раздачи девелоперских релизов"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "freeleech_50",
                "type": "checkbox",
                "label": "Search freeleech and 50% freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts are automatically deleted after 90 days from the moment the system first detects inactivity.<br>A user is considered inactive if they meet one of the following conditions:<ul><li>Within 30 days of registration, they have not downloaded at least 1 torrent, resulting in Total Downloaded in their profile being 0</li><li>Their ratio is less than or equal to 0.3</li><li>They have fewer than 10 time bonuses</li></ul>Immunity from inactivity is automatically granted to users holding any title from the list or being a member of groups."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[onclick=\"return post2url('/login', {logout: 1});\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "prev_my": 0,
                "prev_new": 0,
                "prev_oop": 0,
                "prev_sg": 1,
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "tm": -1,
                "nm": "{{ .Keywords }}",
                "sg": "{{ if .Config.freeleech_50 }}1{{ else }}{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "diacritics",
                    "args": "replace"
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "сезон $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bE0*(\\d+)\\b",
                        "сери $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "сезон $1 сери $2"
                    ]
                }
            ],
            "rows": {
                "selector": "tr.tCenter:has(a[href^=\"/dl?t=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/tracker?f=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "f"
                        }
                    ]
                },
                "title": {
                    "selector": "a.hl-tags",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)",
                                "$2 $1"
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a.hl-tags",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/dl?t=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "a[href^=\"/dl?t=\"]"
                },
                "seeders": {
                    "selector": "span.seedmed",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "никогда",
                                "0"
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "span.leechmed"
                },
                "grabs": {
                    "selector": "span.med"
                },
                "date": {
                    "selector": "div > p.small",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Создан:(.+?)Автор:"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Янв",
                                "Jan"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Фев",
                                "Feb"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Мар",
                                "Mar"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Апр",
                                "Apr"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Май",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июн",
                                "Jun"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июл",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Авг",
                                "Aug"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Сен",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Окт",
                                "Oct"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ноя",
                                "Nov"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Дек",
                                "Dec"
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MMM-yy"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"default/images/tor_gold.gif\"]": 0,
                        "img[src$=\"default/images/tor_silver.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.31
                },
                "description_verified": {
                    "case": {
                        "span.tor-approved": "Verified:",
                        "span.tor-not-approved": "Unverified:",
                        "span.tor-dup": "Temporary:"
                    }
                },
                "description": {
                    "selector": "a.hl-tags",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "tornado": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "tornado",
        "name": "Tornado",
        "description": "Tornado is a SLOVENIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "sl-SI",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.tornado.si/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 32,
                    "cat": "Movies/SD",
                    "desc": "Filmi Xvid"
                },
                {
                    "id": 33,
                    "cat": "Movies/DVD",
                    "desc": "Filmi DVD"
                },
                {
                    "id": 34,
                    "cat": "Movies/BluRay",
                    "desc": "Filmi BluRay"
                },
                {
                    "id": 35,
                    "cat": "TV/Documentary",
                    "desc": "Dokumentarci Filmi"
                },
                {
                    "id": 36,
                    "cat": "TV/Anime",
                    "desc": "Risanke"
                },
                {
                    "id": 37,
                    "cat": "Audio/Video",
                    "desc": "Koncerti"
                },
                {
                    "id": 38,
                    "cat": "Audio/MP3",
                    "desc": "Glasba MP3"
                },
                {
                    "id": 39,
                    "cat": "Audio/Lossless",
                    "desc": "Glasba FLAC"
                },
                {
                    "id": 40,
                    "cat": "PC/Games",
                    "desc": "Igre PC"
                },
                {
                    "id": 41,
                    "cat": "Console/PS3",
                    "desc": "Igre PS3"
                },
                {
                    "id": 42,
                    "cat": "Console/PS4",
                    "desc": "Igre PS4"
                },
                {
                    "id": 43,
                    "cat": "Console/XBox",
                    "desc": "Igre Xbox"
                },
                {
                    "id": 47,
                    "cat": "Console/NDS",
                    "desc": "Igre Nintendo"
                },
                {
                    "id": 44,
                    "cat": "PC",
                    "desc": "Programi"
                },
                {
                    "id": 45,
                    "cat": "Books/EBook",
                    "desc": "E-Knjige"
                },
                {
                    "id": 46,
                    "cat": "Books/Mags",
                    "desc": "E-Revije"
                },
                {
                    "id": 48,
                    "cat": "TV",
                    "desc": "TV-Rip"
                },
                {
                    "id": 49,
                    "cat": "XXX/ImageSet",
                    "desc": "Slike"
                },
                {
                    "id": 50,
                    "cat": "XXX/DVD",
                    "desc": "Erotika"
                },
                {
                    "id": 51,
                    "cat": "Other/Misc",
                    "desc": "Ostalo"
                },
                {
                    "id": 52,
                    "cat": "Other",
                    "desc": "VIP"
                }
            ],
            "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": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting the error <b>Found no results while trying to browse this tracker</b> then first access the site with your browser and check that you are not being forced to change your password because it has expired after 180 days."
            }
        ],
        "login": {
            "path": "?p=home&pid=1",
            "method": "form",
            "form": "form#sls_form",
            "submitpath": "ajax/login.php",
            "inputs": {
                "action": "login",
                "loginbox_membername": "{{ .Config.username }}",
                "loginbox_password": "{{ .Config.password }}",
                "loginbox_remember": 1
            },
            "selectorinputs": {
                "securitytoken": {
                    "selector": "script:contains(\"stKey: \")",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "stKey: \"(.+?)\","
                        }
                    ]
                }
            },
            "error": [
                {
                    "selector": "div.error"
                },
                {
                    "selector": ":contains(\"-ERROR-\")"
                }
            ],
            "test": {
                "path": "?p=home&pid=1",
                "selector": "div#member_info_bar"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[^a-zA-Z0-9]+",
                        "%25"
                    ]
                }
            ],
            "inputs": {
                "p": "torrents",
                "pid": 32,
                "$raw": "{{ range .Categories }}cid[]={{.}}&{{end}}",
                "keywords": "{{ .Keywords }}",
                "search_type": "name",
                "sortOptions[sortBy]": "{{ .Config.sort }}",
                "sortOptions[sortOrder]": "{{ .Config.type }}"
            },
            "error": [
                {
                    "selector": "div.error:not(:contains(\"There are no results found.\"))"
                }
            ],
            "rows": {
                "selector": "div.torrent-box[id^=\"torrent_\"]{{ if .Config.freeleech }}:has(img[src$=\"/torrent_free.png\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?p=torrents&pid=10&cid=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cid"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details&tid=\"]"
                },
                "details": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details&tid=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=download&tid=\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href",
                    "optional": true
                },
                "poster": {
                    "selector": "a[href*=\"data/torrents/torrent_images/\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "a[rel=\"torrent_size\"]"
                },
                "grabs": {
                    "selector": "a[rel=\"times_completed\"]"
                },
                "seeders": {
                    "selector": "a[rel=\"torrent_seeders\"]"
                },
                "leechers": {
                    "selector": "a[rel=\"torrent_leechers\"]"
                },
                "date_day": {
                    "selector": "div.torrentOwner:contains(\"day\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "div.torrentOwner:contains(\"-\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "date_unix": {
                    "selector": "div.torrentOwner abbr",
                    "optional": true,
                    "attribute": "data-time"
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year .Result.date_unix }}{{ or .Result.date_day .Result.date_year .Result.date_unix }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/torrent_free.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "torr9": {
        "credentials": {
            "passkey": "",
            "apiurl": ""
        },
        "id": "torr9",
        "name": "Torr9",
        "description": "Torr9 is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://torr9.net/"
        ],
        "legacylinks": [
            "https://torr9.xyz/",
            "https://torr9.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1000,
                    "cat": "Console",
                    "desc": "Console/Games"
                },
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 4000,
                    "cat": "PC",
                    "desc": "PC/Applications"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 5000,
                    "cat": "TV/Anime",
                    "desc": "Animes"
                },
                {
                    "id": 6000,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 7000,
                    "cat": "Books",
                    "desc": "Books/eBook"
                },
                {
                    "id": 8000,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "tvdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "passkey",
                "type": "text",
                "label": "PassKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your PassKey",
                "default": "You can find the API PassKey by accessing your <a href=\"https://torr9.net/profile\" target=\"_blank\">Torr9 Profile</a> page and scrolling down to the <b>Passkey Tracker</b> section."
            },
            {
                "name": "apiurl",
                "label": "API URL",
                "type": "text",
                "default": "api.torr9.net"
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi.FRENCH": "MULTi.FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi.ENGLISH": "MULTi.ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi.VOSTFR": "MULTi.VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "info_3x",
                "type": "info",
                "label": "Including 3X",
                "default": "IF you want to see 3x torrents access your <a href=\"https://torr9.net/profile\" target=\"_blank\">Torr9 Profile</a> page and enabling the <b>Contenu adulte</b> option."
            }
        ],
        "login": {
            "path": "https://{{ .Config.apiurl }}/api/v1/torznab?apikey={{ .Config.passkey }}&t=caps",
            "method": "get"
        },
        "search": {
            "paths": [
                {
                    "path": "https://{{ .Config.apiurl }}/api/v1/torznab",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "apikey": "{{ .Config.passkey }}",
                "t": "{{ if .Query.IMDBID }}movie{{ else }}{{ end }}{{ if .Query.TVDBID }}tvsearch{{ else }}{{ end }}{{ if or .Query.TVDBID .Query.IMDBID }}{{ else }}search{{ end }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "imdbid": "{{ .Query.IMDBID }}",
                "tvdbid": "{{ .Query.TVDBID }}",
                "limit": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\W+",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title_phase1": {
                    "selector": "title"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR|VF2|VFF|VFQ|VOQ|VFI|VOF)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "details": {
                    "selector": "comments",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "//api.",
                                "//"
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "link"
                },
                "infohash": {
                    "selector": "[name=infohash]",
                    "attribute": "value"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=peers]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "torrent-pirat": {
        "id": "torrent-pirat",
        "name": "torrent-pirat",
        "description": "torrent-pirat is a RUSSIAN Public Torrent Tracker for 3X",
        "language": "ru-RU",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 5.1,
        "links": [
            "http://www.torrent-pirat.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "XXX",
                    "desc": "Трекер"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "  Полнометражные XXX фильмы / Full Length Movies"
                },
                {
                    "id": 7,
                    "cat": "XXX",
                    "desc": "    Классика / Classic (Полнометражные фильмы снятые до 2000 года)"
                },
                {
                    "id": 8,
                    "cat": "XXX",
                    "desc": "    Фильмы с сюжетом / Feature Vignettes"
                },
                {
                    "id": 9,
                    "cat": "XXX",
                    "desc": "    Порно-пародия / Parody"
                },
                {
                    "id": 11,
                    "cat": "XXX",
                    "desc": "    Компиляции и фильмы без сюжета / Movies without a story"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "    Фильмы с Русским переводом"
                },
                {
                    "id": 37,
                    "cat": "XXX",
                    "desc": "    Эротические фильмы / Erotic Movies"
                },
                {
                    "id": 38,
                    "cat": "XXX",
                    "desc": "    Документальные фильмы 18+ / Documentary 18+"
                },
                {
                    "id": 39,
                    "cat": "XXX",
                    "desc": "    Паки полнометражных фильмов / Full Length Movies Packs"
                },
                {
                    "id": 12,
                    "cat": "XXX",
                    "desc": "  Русское порно / Russian - Фильмы и ролики"
                },
                {
                    "id": 13,
                    "cat": "XXX",
                    "desc": "    Порнофильмы с Русскими актрисами / Movies with Russian actresses"
                },
                {
                    "id": 14,
                    "cat": "XXX",
                    "desc": "    Сцены и ролики с Русскими актрисами / Russian Movie Scenes &amp;SiteRip's"
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "    Паки видео с Русскими актрисами / Russian Video Packs"
                },
                {
                    "id": 28,
                    "cat": "XXX",
                    "desc": "  Зарубежные ролики по жанрам / Foreign videos by genre"
                },
                {
                    "id": 27,
                    "cat": "XXX",
                    "desc": "    Сцены из фильмов / Movie Scenes"
                },
                {
                    "id": 26,
                    "cat": "XXX",
                    "desc": "    Порно-кастинги / Casting"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "    Family Roleplay, Incest &amp;Taboo"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "    Public &amp;Reality, Sex In Car, Outdoors"
                },
                {
                    "id": 20,
                    "cat": "XXX",
                    "desc": "    Анал и ДП / Anal &amp;DP"
                },
                {
                    "id": 29,
                    "cat": "XXX",
                    "desc": "    Секс втроём / Threesomes"
                },
                {
                    "id": 30,
                    "cat": "XXX",
                    "desc": "    Группавуха / Group &amp;Gangbang"
                },
                {
                    "id": 35,
                    "cat": "XXX",
                    "desc": "    Молоденькие / Legal Teens"
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "    Мамочки / MILF &amp;Mature"
                },
                {
                    "id": 33,
                    "cat": "XXX",
                    "desc": "    Бабушки / Grannies"
                },
                {
                    "id": 40,
                    "cat": "XXX",
                    "desc": "    Pornstars &amp;Other"
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "    Паки порнороликов / Video Packs"
                },
                {
                    "id": 64,
                    "cat": "XXX",
                    "desc": "  Этническое порно / Ethnic Porn - Фильмы и ролики"
                },
                {
                    "id": 65,
                    "cat": "XXX",
                    "desc": "    Межрасовый секс / Interracial - Сцены и ролики"
                },
                {
                    "id": 68,
                    "cat": "XXX",
                    "desc": "    Негритянки и Темнокожие / Ebony &amp;Arab - Сцены и ролики"
                },
                {
                    "id": 66,
                    "cat": "XXX",
                    "desc": "    Азиатки / Asian - Сцены и ролики"
                },
                {
                    "id": 67,
                    "cat": "XXX",
                    "desc": "    Латинки / Latin - Сцены и ролики"
                },
                {
                    "id": 83,
                    "cat": "XXX",
                    "desc": "    Полнометражные азиатские и этнические фильмы / Full-length ethnic films"
                },
                {
                    "id": 105,
                    "cat": "XXX",
                    "desc": "    Этническое порно / Ethnic Porn - Паки роликов и фильмов"
                },
                {
                    "id": 84,
                    "cat": "XXX",
                    "desc": "  Оральный секс / Blowjob &amp;Deep Throat, Licking - Фильмы и ролики"
                },
                {
                    "id": 86,
                    "cat": "XXX",
                    "desc": "    Оральный секс / Blowjob &amp;Deep Throat, Licking - Сцены и ролики"
                },
                {
                    "id": 87,
                    "cat": "XXX",
                    "desc": "    Групповой оральный секс / Blowbang &amp;Bukkake - Сцены и ролики"
                },
                {
                    "id": 85,
                    "cat": "XXX",
                    "desc": "    Оральный секс / Blowjob &amp;Deep Throat, Licking - Полнометражные фильмы"
                },
                {
                    "id": 61,
                    "cat": "XXX",
                    "desc": "  Masturbation, Solo &amp;Posing - Фильмы и ролики"
                },
                {
                    "id": 62,
                    "cat": "XXX",
                    "desc": "    Мастурбация / Masturbation"
                },
                {
                    "id": 63,
                    "cat": "XXX",
                    "desc": "    Posing &amp;Striptease"
                },
                {
                    "id": 2,
                    "cat": "XXX",
                    "desc": "  Любительское порно / Amateur &amp;Homemade"
                },
                {
                    "id": 3,
                    "cat": "XXX",
                    "desc": "    Русское любительское XXX видео / Russian Amateur"
                },
                {
                    "id": 18,
                    "cat": "XXX",
                    "desc": "    Зарубежное любительское порно / Foreign amateur"
                },
                {
                    "id": 4,
                    "cat": "XXX",
                    "desc": "    Порно чаты / WEBCam"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "    Скрытые камеры / Spycam"
                },
                {
                    "id": 5,
                    "cat": "XXX",
                    "desc": "    Паки любительского порно / Amateur porn packs"
                },
                {
                    "id": 110,
                    "cat": "XXX",
                    "desc": "  Только для зарегистрированных / For Registered Members Only"
                },
                {
                    "id": 112,
                    "cat": "XXX",
                    "desc": "    Полнометражные фильмы / Full-length Movies"
                },
                {
                    "id": 113,
                    "cat": "XXX",
                    "desc": "    Сцены и ролики / Scenes &amp;Videos"
                },
                {
                    "id": 114,
                    "cat": "XXX",
                    "desc": "    Анимация 18+ / Animation 18+"
                },
                {
                    "id": 116,
                    "cat": "XXX",
                    "desc": "    Игры для взрослых / Porn games"
                },
                {
                    "id": 115,
                    "cat": "XXX",
                    "desc": "    Фото, Обои, Картинки / Photos, Wallpapers &amp;Pictures"
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "Фетиш и Нетрадиционное порно / Special Interest Movies &amp;Clips"
                },
                {
                    "id": 43,
                    "cat": "XXX",
                    "desc": "  Rough Sex &amp;BDSM - Фильмы и ролики"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "    Rough Sex, BDSM &amp;Bondage - Полнометражные фильмы"
                },
                {
                    "id": 46,
                    "cat": "XXX",
                    "desc": "    Постановочные изнасилования / Pseudo-Rape - Сцены и ролики"
                },
                {
                    "id": 41,
                    "cat": "XXX",
                    "desc": "    Rough Sex, BDSM &amp;Bondage - Сцены и ролики"
                },
                {
                    "id": 45,
                    "cat": "XXX",
                    "desc": "    Ролики и фильмы от &quot;LegalPorno &quot;"
                },
                {
                    "id": 44,
                    "cat": "XXX",
                    "desc": "    Fisting &amp;Dildo - Сцены и ролики"
                },
                {
                    "id": 47,
                    "cat": "XXX",
                    "desc": "  Фетиш / Fetish - Фильмы и ролики"
                },
                {
                    "id": 49,
                    "cat": "XXX",
                    "desc": "    Фетиш / Fetish - Полнометражные фильмы"
                },
                {
                    "id": 109,
                    "cat": "XXX",
                    "desc": "    Cuckold / Cheating - Сцены и ролики"
                },
                {
                    "id": 99,
                    "cat": "XXX",
                    "desc": "    Alt-Porn / Alt Girls - Сцены и ролики"
                },
                {
                    "id": 106,
                    "cat": "XXX",
                    "desc": "    Cosplay - Сцены и ролики"
                },
                {
                    "id": 53,
                    "cat": "XXX",
                    "desc": "    Fetish Wear / Latex, Uniform, Panties, Lingerie, Stockings - Сцены и ролики"
                },
                {
                    "id": 54,
                    "cat": "XXX",
                    "desc": "    Большие сиськи и жопы / Big Boobs &amp;Big Ass - Сцены и ролики"
                },
                {
                    "id": 48,
                    "cat": "XXX",
                    "desc": "    Foot Fetish, Footjob &amp;Feet - Сцены и ролики"
                },
                {
                    "id": 55,
                    "cat": "XXX",
                    "desc": "    Толстушки / BBW &amp;Plump Woman - Сцены и ролики"
                },
                {
                    "id": 56,
                    "cat": "XXX",
                    "desc": "    Худенькие и Миниатюрные / Skinny &amp;Petite - Сцены и ролики"
                },
                {
                    "id": 60,
                    "cat": "XXX",
                    "desc": "    Массаж / Massage - Сцены и ролики"
                },
                {
                    "id": 98,
                    "cat": "XXX",
                    "desc": "    Wet &amp;Oiled - Сцены и ролики"
                },
                {
                    "id": 51,
                    "cat": "XXX",
                    "desc": "    Femdom &amp;Domination - Сцены и ролики"
                },
                {
                    "id": 50,
                    "cat": "XXX",
                    "desc": "    Мохнатки / Hairy Pussy &amp;Bush - Сцены и ролики"
                },
                {
                    "id": 57,
                    "cat": "XXX",
                    "desc": "    Squirting / Pissing &amp;Pee - Сцены и ролики"
                },
                {
                    "id": 52,
                    "cat": "XXX",
                    "desc": "    Glory Hole - Сцены и ролики"
                },
                {
                    "id": 107,
                    "cat": "XXX",
                    "desc": "    Medical Fetish - Сцены и ролики"
                },
                {
                    "id": 58,
                    "cat": "XXX",
                    "desc": "    Беременные / Pregnant - Сцены и ролики"
                },
                {
                    "id": 104,
                    "cat": "XXX",
                    "desc": "    Пьяные и Спящие / Drunk &amp;Sleeping - Сцены и ролики"
                },
                {
                    "id": 59,
                    "cat": "XXX",
                    "desc": "    Карлики / Midgets - Сцены и ролики"
                },
                {
                    "id": 108,
                    "cat": "XXX",
                    "desc": "    Разное / Various Fetishes - Сцены и ролики"
                },
                {
                    "id": 69,
                    "cat": "XXX",
                    "desc": "  Лесбиянки / Lesbians - Фильмы и ролики"
                },
                {
                    "id": 70,
                    "cat": "XXX",
                    "desc": "    Полнометражные лесби-фильмы / Full length lesbian movies"
                },
                {
                    "id": 71,
                    "cat": "XXX",
                    "desc": "    Лесбиянки / Lesbians - Сцены и ролики"
                },
                {
                    "id": 72,
                    "cat": "XXX",
                    "desc": "    Лесбийский страпон / Lesbian Strap-on - Сцены и ролики"
                },
                {
                    "id": 73,
                    "cat": "XXX",
                    "desc": "    All Girl / Lesbians - Video Pack"
                },
                {
                    "id": 42,
                    "cat": "XXX",
                    "desc": "  Fetish, Rough Sex &amp;BDSM - Video Pack"
                },
                {
                    "id": 24,
                    "cat": "XXX",
                    "desc": "Анимация, игры, фото и картинки"
                },
                {
                    "id": 23,
                    "cat": "XXX",
                    "desc": "  Анимация 18+ / Animation 18+"
                },
                {
                    "id": 74,
                    "cat": "XXX",
                    "desc": "    Мультфильмы18+ / Cartoons 18+"
                },
                {
                    "id": 75,
                    "cat": "XXX",
                    "desc": "    Хентай 18+ / Hentai 18+"
                },
                {
                    "id": 76,
                    "cat": "XXX",
                    "desc": "    Паки мультфильмов 18+ / Animation packs 18+"
                },
                {
                    "id": 77,
                    "cat": "XXX",
                    "desc": "  Фото, Обои и Картинки / Photos, Wallpapers &amp;Pictures"
                },
                {
                    "id": 79,
                    "cat": "XXX",
                    "desc": "    Любительское фото / Amateur photo"
                },
                {
                    "id": 80,
                    "cat": "XXX",
                    "desc": "    Подборки сетов / Picture Sets Packs"
                },
                {
                    "id": 81,
                    "cat": "XXX",
                    "desc": "    Подборки по актрисам / Actresses Picture Packs"
                },
                {
                    "id": 82,
                    "cat": "XXX",
                    "desc": "    Сборники фото и обоев, разное / Collections of Photos &amp;Wallpapers"
                },
                {
                    "id": 78,
                    "cat": "XXX",
                    "desc": "  Игры 18+ / Porn games"
                },
                {
                    "id": 102,
                    "cat": "XXX",
                    "desc": "    Визуальные новеллы / Visual Novels"
                },
                {
                    "id": 103,
                    "cat": "XXX",
                    "desc": "    Ролевые / Role-Playing"
                },
                {
                    "id": 88,
                    "cat": "XXX",
                    "desc": "Общий форум"
                },
                {
                    "id": 100,
                    "cat": "XXX",
                    "desc": "  Правила &amp;FAQ"
                },
                {
                    "id": 89,
                    "cat": "XXX",
                    "desc": "  Новости и объявления"
                },
                {
                    "id": 90,
                    "cat": "XXX",
                    "desc": "  Тех. раздел"
                },
                {
                    "id": 91,
                    "cat": "XXX",
                    "desc": "  Стол заказов"
                },
                {
                    "id": 92,
                    "cat": "XXX",
                    "desc": "  Помогите опознать!"
                },
                {
                    "id": 93,
                    "cat": "XXX",
                    "desc": "  Свободное общение"
                },
                {
                    "id": 94,
                    "cat": "XXX",
                    "desc": "  Форум релизёров"
                },
                {
                    "id": 95,
                    "cat": "XXX",
                    "desc": "    Скриншоты"
                },
                {
                    "id": 96,
                    "cat": "XXX",
                    "desc": "    MediaInfo"
                },
                {
                    "id": 97,
                    "cat": "XXX",
                    "desc": "    Разное"
                },
                {
                    "id": 101,
                    "cat": "XXX",
                    "desc": "  Архив"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "t",
                "options": {
                    "t": "created",
                    "ts": "seeders",
                    "sz": "size",
                    "i": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "d",
                "options": {
                    "d": "desc",
                    "a": "asc"
                }
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "search.php"
                }
            ],
            "inputs": {
                "tracker_search": "torrent",
                "keywords": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "terms": "all",
                "fp": 1,
                "sc": 1,
                "sf": "titleonly",
                "sr": "topics",
                "sk": "{{ .Config.sort }}",
                "sd": "{{ .Config.type }}",
                "st": 0,
                "ch": 300,
                "t": 0,
                "submit": "Search",
                "$raw": "{{ range .Categories }}&fid[]={{.}}{{end}}"
            },
            "rows": {
                "selector": "table.tablebg:nth-of-type(2) > tbody > tr:has(a[href^=\"./download/file.php?id=\"])"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "a.topictitle"
                },
                "details": {
                    "selector": "a.topictitle",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"./download/file.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "p.gensmall",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Размер: (.+?),"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ТБ",
                                "TB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ГБ",
                                "GB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "МБ",
                                "MB"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "КБ",
                                "KB"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "span.seed"
                },
                "leechers": {
                    "selector": "span.leech"
                },
                "grabs": {
                    "selector": "span.complet"
                },
                "date": {
                    "text": "now"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "torrent-turk": {
        "credentials": {
            "cookie": ""
        },
        "id": "torrent-turk",
        "name": "TOrrent-tuRK",
        "description": "TOrrent-tuRK (TORK) is a TURKISH Private Torrent Tracker for HD MOVIES / TV / GENERAL",
        "language": "tr-TR",
        "type": "private",
        "encoding": "UTF-8",
        "certificates": [
            "0ada0a28308d9af9ad428cc96dc873beeb707d56"
        ],
        "links": [
            "https://torrent-turk.de/"
        ],
        "legacylinks": [
            "https://torrent-turk.org/",
            "https://torrent-turk.co/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 149,
                    "cat": "Movies",
                    "desc": "Movies/Turkish"
                },
                {
                    "id": 151,
                    "cat": "Movies/HD",
                    "desc": "Movies/Turkish/1080p"
                },
                {
                    "id": 152,
                    "cat": "Movies/HD",
                    "desc": "Movies/Turkish/720p"
                },
                {
                    "id": 153,
                    "cat": "Movies/DVD",
                    "desc": "Movies/Turkish/DVD5-DVD9"
                },
                {
                    "id": 154,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies/Turkish/BRRip-HDRip-DVDRip-WebDL"
                },
                {
                    "id": 155,
                    "cat": "Movies/Other",
                    "desc": "Movies/Turkish/Boxset"
                },
                {
                    "id": 156,
                    "cat": "Movies",
                    "desc": "Movies/Foreign"
                },
                {
                    "id": 157,
                    "cat": "Movies/UHD",
                    "desc": "Movies/Foreign/4K / 3D"
                },
                {
                    "id": 159,
                    "cat": "Movies/HD",
                    "desc": "Movies/Foreign/1080p"
                },
                {
                    "id": 160,
                    "cat": "Movies/HD",
                    "desc": "Movies/Foreign/720p"
                },
                {
                    "id": 161,
                    "cat": "Movies/DVD",
                    "desc": "Movies/Foreign/DVD5-DVD9"
                },
                {
                    "id": 162,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies/Foreign/BRRip-HDRip-DVDRip-WebDL"
                },
                {
                    "id": 163,
                    "cat": "Movies/Other",
                    "desc": "Movies/Foreign/Boxset"
                },
                {
                    "id": 164,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 165,
                    "cat": "TV",
                    "desc": "TV/Turkish"
                },
                {
                    "id": 166,
                    "cat": "TV",
                    "desc": "TV/Foreign"
                },
                {
                    "id": 167,
                    "cat": "TV/Other",
                    "desc": "TV Programs"
                },
                {
                    "id": 185,
                    "cat": "TV/Documentary",
                    "desc": "TV/Documentary"
                },
                {
                    "id": 168,
                    "cat": "TV/Other",
                    "desc": "TV/Other"
                },
                {
                    "id": 169,
                    "cat": "TV/Other",
                    "desc": "TV/Boxset"
                },
                {
                    "id": 171,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 172,
                    "cat": "Audio",
                    "desc": "Music/Turkish"
                },
                {
                    "id": 173,
                    "cat": "Audio",
                    "desc": "Music/Foreign"
                },
                {
                    "id": 184,
                    "cat": "Audio",
                    "desc": "Music/Discography"
                },
                {
                    "id": 174,
                    "cat": "Audio/Video",
                    "desc": "Music/Video"
                },
                {
                    "id": 191,
                    "cat": "TV",
                    "desc": "TV/Max"
                },
                {
                    "id": 192,
                    "cat": "TV",
                    "desc": "TV/Max Series"
                },
                {
                    "id": 193,
                    "cat": "Movies",
                    "desc": "Movies/Max Film"
                },
                {
                    "id": 188,
                    "cat": "TV",
                    "desc": "TV/Netflix"
                },
                {
                    "id": 189,
                    "cat": "TV",
                    "desc": "TV/Netflix Series"
                },
                {
                    "id": 190,
                    "cat": "Movies",
                    "desc": "Movies/Netflix Film"
                },
                {
                    "id": 195,
                    "cat": "TV",
                    "desc": "TV/Exxen"
                },
                {
                    "id": 195,
                    "cat": "Movies",
                    "desc": "TV/Exxen"
                },
                {
                    "id": 201,
                    "cat": "TV",
                    "desc": "TV/Tabii"
                },
                {
                    "id": 201,
                    "cat": "Movies",
                    "desc": "TV/Tabii"
                },
                {
                    "id": 199,
                    "cat": "TV",
                    "desc": "TV/GAİN"
                },
                {
                    "id": 199,
                    "cat": "Movies",
                    "desc": "TV/GAİN"
                },
                {
                    "id": 200,
                    "cat": "TV",
                    "desc": "Movies/Disney+"
                },
                {
                    "id": 200,
                    "cat": "Movies",
                    "desc": "Movies/Disney+"
                },
                {
                    "id": 198,
                    "cat": "TV",
                    "desc": "Movies/Amazon Prime"
                },
                {
                    "id": 198,
                    "cat": "Movies",
                    "desc": "Movies/Amazon Prime"
                },
                {
                    "id": 202,
                    "cat": "TV",
                    "desc": "TV/Apple TV+"
                },
                {
                    "id": 202,
                    "cat": "Movies",
                    "desc": "TV/Apple TV+"
                },
                {
                    "id": 175,
                    "cat": "PC",
                    "desc": "Apps / Game / Graphics"
                },
                {
                    "id": 176,
                    "cat": "PC",
                    "desc": "Apps"
                },
                {
                    "id": 177,
                    "cat": "Other",
                    "desc": "Pictures"
                },
                {
                    "id": 183,
                    "cat": "Books/EBook",
                    "desc": "EBook"
                },
                {
                    "id": 178,
                    "cat": "Books/Technical",
                    "desc": "Training Sets"
                },
                {
                    "id": 181,
                    "cat": "Console",
                    "desc": "Playstation"
                },
                {
                    "id": 179,
                    "cat": "PC",
                    "desc": "OS"
                },
                {
                    "id": 180,
                    "cat": "PC/Games",
                    "desc": "PC/Games"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            },
            {
                "name": "info",
                "type": "info",
                "label": "Layout",
                "default": "<ul><li>Only the English Classic profile is supported.</li><li>Make sure to set the <b>Torrent Listing (Listeleme Biçimi)</b> option in your profile to <b>Classic (Klasik)</b></li><li>And set the <b>Language (Dil)</b> to <b>English</b></li><li>Using the <i>Modern</i> theme will prevent results, and using <i>Turkish</i> will prevent upload dates.</li></ul>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            },
            {
                "name": "info_results",
                "type": "info",
                "label": "Search results",
                "default": "If you are getting the error: <b>An error has occurred!You can't view this page unless you read all your unread messages</b>, then access the site with your browser and <b>mark as read</b> all PMs."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "?p=torrents&type=bookmarks&pid=508",
                "selector": "a#logout"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "p": "torrents",
                "pid": 32,
                "$raw": "{{ range .Categories }}cid[]={{.}}&{{end}}",
                "keywords": "{{ .Keywords }}",
                "search_type": "name",
                "sortOptions[sortBy]": "{{ .Config.sort }}",
                "sortOptions[sortOrder]": "{{ .Config.type }}"
            },
            "error": [
                {
                    "selector": "div.error:not(:contains(\"Hiçbir sonuç bulunamadı.\")):not(:contains(\"There are no results found.\")):not(:contains(\"Click on The Flag to Change\"))"
                }
            ],
            "rows": {
                "selector": "table#torrents_table_classic > tbody > tr:has(td.torrent_name){{ if .Config.freeleech }}:has(img[title=\"FREE!\"]){{ else }}{{ end }}",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "div.category_image > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cid"
                        }
                    ]
                },
                "title": {
                    "selector": "td.torrent_name > a"
                },
                "details": {
                    "selector": "td.torrent_name > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td.download > a",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "date_day": {
                    "selector": "td.torrent_name:contains(\" at \"):not(:has(abbr[data-time]))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "td.torrent_name:not(:contains(\" at \")):not(:has(abbr[data-time]))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "date_unix": {
                    "selector": "abbr[data-time]",
                    "attribute": "data-time",
                    "optional": true
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year .Result.date_unix }}{{ or .Result.date_day .Result.date_year .Result.date_unix }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "a[rel=\"torrent_size\"]"
                },
                "seeders": {
                    "selector": "a[rel=\"torrent_seeders\"]"
                },
                "leechers": {
                    "selector": "a[rel=\"torrent_leechers\"]"
                },
                "grabs": {
                    "selector": "a[rel=\"times_completed\"]"
                },
                "poster": {
                    "selector": "a[rel=\"fancybox\"]",
                    "attribute": "href"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[title=\"FREE!\"]": 0,
                        "img[title=\"Download Multiplier: 0.5\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[title=\"Upload Multiplier: 2\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.7
                }
            }
        }
    },
    "torrent9": {
        "id": "torrent9",
        "name": "Torrent9",
        "description": "Torrent9 is a FRENCH Public site for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "public",
        "encoding": "UTF-8",
        "followredirect": true,
        "testlinktorrent": false,
        "links": [
            "https://www6.torrent9.to/"
        ],
        "legacylinks": [
            "https://www.torrent9.pl/",
            "https://torrent9.black-mirror.xyz/",
            "https://torrent9.unblocked.casa/",
            "https://torrent9.proxyportal.fun/",
            "https://torrent9.uk-unblock.xyz/",
            "https://torrent9.ind-unblock.xyz/",
            "https://www.torrent9.fi/",
            "https://torrent9.ninjaproxy1.com/",
            "https://torrent9.proxyninja.org/",
            "https://torrent9.unblockninja.com/",
            "https://ww1.torrent9.to/",
            "https://www.torrent9.is/",
            "https://torrent9.li/",
            "https://www.oxtorrent.me/",
            "https://www.torrent9.gg/",
            "https://www.torrent9.fm/",
            "https://torrent9.se/",
            "https://www.torrent9.se/",
            "https://ww1.torrent9.fm/",
            "https://www.torrent9.zone/",
            "https://torrent9.to/",
            "https://ww2.torrent9.to/",
            "https://www5.torrent9.to/",
            "https://www.torrent9.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "films",
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": "series",
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": "musique",
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": "ebook",
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": "logiciels",
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": "jeux-pc",
                    "cat": "PC/Games",
                    "desc": "PC Games"
                },
                {
                    "id": "other",
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi FRENCH": "MULTi FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi ENGLISH": "MULTi ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi VOSTFR": "MULTi VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site (Only works for searches with Keywords)",
                "default": ".html",
                "options": {
                    ".html": "best",
                    ".html,trie-date-d": "created desc",
                    ".html,trie-date-a": "created asc",
                    ".html,trie-seeds-d": "seeders desc",
                    ".html,trie-seeds-a": "seeders asc",
                    ".html,trie-poid-d": "size desc",
                    ".html,trie-poid-a": "size asc",
                    ".html,trie-nom-d": "title desc",
                    ".html,trie-nom-a": "title asc"
                }
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?\"]",
                    "attribute": "href"
                },
                {
                    "selector": "script:contains(\"magnet:?\")",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\s'(magnet:\\?.+?)';"
                        }
                    ]
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search_torrent/{{ .Keywords }}{{ .Config.sort }}{{ else }}home/{{ end }}"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)(S0)(\\d{1,2})$",
                        "saison $2"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)(S)(\\d{1,3})$",
                        "saison $2"
                    ]
                },
                {
                    "name": "replace",
                    "args": [
                        " ",
                        "-"
                    ]
                }
            ],
            "headers": {
                "User-Agent": [
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.35"
                ]
            },
            "rows": {
                "selector": "table.table-striped > tbody > tr",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category_optional": {
                    "selector": "td:nth-child(1) i",
                    "optional": true,
                    "case": {
                        "i[class=\"fa fa-video-camera\"]": "films",
                        "i[class=\"fa fa-tv\"]": "series",
                        "i[class=\"fa fa-desktop\"]": "series",
                        "i[class=\"fa fa-music\"]": "musique",
                        "i[class=\"fa fa-gamepad\"]": "jeux-pc",
                        "i[class=\"fa fa-laptop\"]": "logiciels",
                        "i[class=\"fa fa-book\"]": "ebook"
                    }
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}other{{ end }}"
                },
                "title_default": {
                    "selector": "td:nth-child(1) a"
                },
                "title_optional": {
                    "selector": "td:nth-child(1) a[title]",
                    "attribute": "title",
                    "optional": true
                },
                "title_phase1": {
                    "text": "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b((19|20)\\d{2})\\b)$",
                                "$3 $1$2"
                            ]
                        }
                    ]
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "details": {
                    "selector": "td:nth-child(1) a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td:nth-child(1) a",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(2):contains(\"/\")",
                    "optional": true,
                    "default": "now",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd/MM/yyyy"
                        }
                    ]
                },
                "size": {
                    "selector": "{{ if .Keywords }}td:nth-child(3){{ else }}td:nth-child(2){{ end }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\w)o",
                                "$1B"
                            ]
                        }
                    ]
                },
                "seeders": {
                    "selector": "{{ if .Keywords }}td:nth-child(4){{ else }}td:nth-child(3){{ end }}",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "{{ if .Keywords }}td:nth-child(5){{ else }}td:nth-child(4){{ end }}",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "torrentavenue-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "torrentavenue-api",
        "name": "TorrentAvenue (API)",
        "description": "TorrentAvenue is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://torrentavenue.online/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 4,
                    "cat": "PC",
                    "desc": "Apps"
                },
                {
                    "id": 5,
                    "cat": "Console",
                    "desc": "Games"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            },
            "allowtvsearchimdb": true
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://torrentavenue.online/\" target=\"_blank\">TorrentAvenue</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "torrentbd": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "torrentbd",
        "name": "TorrentBD",
        "description": "TorrentBD is a BANGLADESH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.torrentbd.net/",
            "https://www.torrentbd.org/"
        ],
        "legacylinks": [
            "http://www.torrentbd.com/torrent",
            "http://www.torrentbd.com/",
            "https://www.torrentbd.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 28,
                    "cat": "TV/Anime",
                    "desc": "Anime - All"
                },
                {
                    "id": 65,
                    "cat": "PC/Mobile-Android",
                    "desc": "Apps - Android"
                },
                {
                    "id": 18,
                    "cat": "PC",
                    "desc": "Apps - PC"
                },
                {
                    "id": 19,
                    "cat": "PC/Mac",
                    "desc": "Apps - Mac"
                },
                {
                    "id": 20,
                    "cat": "PC",
                    "desc": "Apps - Linux"
                },
                {
                    "id": 49,
                    "cat": "TV",
                    "desc": "Cartoons - All"
                },
                {
                    "id": 9,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries - All"
                },
                {
                    "id": 36,
                    "cat": "Books/EBook",
                    "desc": "Other - E-Books"
                },
                {
                    "id": 73,
                    "cat": "Books/Comics",
                    "desc": "E-Books - Comics"
                },
                {
                    "id": 77,
                    "cat": "Books/EBook",
                    "desc": "E-Books - Manga"
                },
                {
                    "id": 10,
                    "cat": "PC/Games",
                    "desc": "Games - PC"
                },
                {
                    "id": 60,
                    "cat": "PC/Games",
                    "desc": "Games - Cracks | Patches"
                },
                {
                    "id": 52,
                    "cat": "PC/Games",
                    "desc": "Games - Updates | DLC"
                },
                {
                    "id": 81,
                    "cat": "PC/Games",
                    "desc": "Games - Backup"
                },
                {
                    "id": 43,
                    "cat": "Console/PS3",
                    "desc": "Games - PlayStation"
                },
                {
                    "id": 14,
                    "cat": "Console/XBox",
                    "desc": "Games - Xbox"
                },
                {
                    "id": 17,
                    "cat": "Console",
                    "desc": "Games - Other"
                },
                {
                    "id": 86,
                    "cat": "Movies/UHD",
                    "desc": "Movies - Blu-Ray Lossless 4K"
                },
                {
                    "id": 76,
                    "cat": "Movies/BluRay",
                    "desc": "Movies - Blu-Ray Lossless 1080p"
                },
                {
                    "id": 80,
                    "cat": "Movies/UHD",
                    "desc": "Movies - Blu-Ray 4K"
                },
                {
                    "id": 47,
                    "cat": "Movies/HD",
                    "desc": "Movies - Blu-Ray 1080p"
                },
                {
                    "id": 42,
                    "cat": "Movies/BluRay",
                    "desc": "Movies - Blu-Ray 720p"
                },
                {
                    "id": 24,
                    "cat": "Movies/SD",
                    "desc": "Movies - Blu-Ray SD"
                },
                {
                    "id": 82,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies - WEB-DL 4K"
                },
                {
                    "id": 55,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies - WEB-DL"
                },
                {
                    "id": 83,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies - WEBRip"
                },
                {
                    "id": 46,
                    "cat": "Movies/HD",
                    "desc": "Movies - HD-Rip"
                },
                {
                    "id": 1,
                    "cat": "Movies/SD",
                    "desc": "Movies - DVDRip"
                },
                {
                    "id": 4,
                    "cat": "Movies/SD",
                    "desc": "Movies - CAM | TS | DVDScr | Pre-DVD"
                },
                {
                    "id": 67,
                    "cat": "Movies/3D",
                    "desc": "Movies - 3D"
                },
                {
                    "id": 3,
                    "cat": "Movies",
                    "desc": "Movies - Unrated"
                },
                {
                    "id": 2,
                    "cat": "Movies",
                    "desc": "Movies - Packs"
                },
                {
                    "id": 22,
                    "cat": "Audio",
                    "desc": "Music - Audio"
                },
                {
                    "id": 71,
                    "cat": "Audio/Lossless",
                    "desc": "Music - Lossless"
                },
                {
                    "id": 25,
                    "cat": "Audio/Video",
                    "desc": "Music - Video"
                },
                {
                    "id": 64,
                    "cat": "Audio",
                    "desc": "Music - Concerts | Live Shows"
                },
                {
                    "id": 26,
                    "cat": "Audio",
                    "desc": "Music - Radio"
                },
                {
                    "id": 38,
                    "cat": "PC/Mobile-Other",
                    "desc": "Other - Mobile Phone"
                },
                {
                    "id": 44,
                    "cat": "Other",
                    "desc": "Other - Religious"
                },
                {
                    "id": 40,
                    "cat": "Other",
                    "desc": "Other - Miscellaneous"
                },
                {
                    "id": 70,
                    "cat": "TV/Sport",
                    "desc": "Sports - Football"
                },
                {
                    "id": 6,
                    "cat": "TV/Sport",
                    "desc": "Sports - Pro Wrestling"
                },
                {
                    "id": 48,
                    "cat": "TV/Sport",
                    "desc": "Sports - All"
                },
                {
                    "id": 39,
                    "cat": "Other",
                    "desc": "Tutorials - All"
                },
                {
                    "id": 84,
                    "cat": "TV/UHD",
                    "desc": "TV - Episodes 4K"
                },
                {
                    "id": 61,
                    "cat": "TV/HD",
                    "desc": "TV - Episodes 720p | 1080p"
                },
                {
                    "id": 5,
                    "cat": "TV/SD",
                    "desc": "TV - Episodes SD"
                },
                {
                    "id": 85,
                    "cat": "TV/UHD",
                    "desc": "TV - Packs 4K"
                },
                {
                    "id": 62,
                    "cat": "TV/HD",
                    "desc": "TV - Packs - 720p | 1080p"
                },
                {
                    "id": 41,
                    "cat": "TV/SD",
                    "desc": "TV - Packs SD"
                },
                {
                    "id": 66,
                    "cat": "TV",
                    "desc": "TV - Awards | Ceremonies"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "button[href=\"account-logout.php\"]"
            }
        },
        "search": {
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ],
                "Referer": [
                    "{{ .Config.sitelink }}index.php?initK&all"
                ]
            },
            "paths": [
                {
                    "path": "ajgettorrents.php",
                    "method": "post"
                }
            ],
            "inputs": {
                "page": 1,
                "origin": "home",
                "sortBy": "",
                "query": "{{ .Keywords }}",
                "fl": "{{ if .Config.freeleech }}true{{ else }}false{{ end }}",
                "intrls": false,
                "active": false,
                "spcat": ""
            },
            "rows": {
                "selector": "table.torrents-table > tbody > tr"
            },
            "fields": {
                "category": {
                    "selector": "td[onclick^=\"mtt.getSpCatTorrents\"]",
                    "attribute": "onclick",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"torrents-details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td.torrent-name span:last-child",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "<",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "mo",
                                " months"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "s",
                                " seconds"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "m",
                                " minutes"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "h",
                                " hours"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "d",
                                " days"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "w",
                                "weeks"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "y",
                                "years"
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/free.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.5
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "torrentby": {
        "id": "torrentby",
        "name": "torrent.by",
        "description": "torrent.by is a BELARUSIAN Public Torrent Tracker",
        "language": "ru-RU",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 5,
        "certificates": [
            "86d0328f79c36c9f716c8fe6df8a06351ab6e20c"
        ],
        "links": [
            "https://torrent.by/"
        ],
        "legacylinks": [
            "http://torrent.by/"
        ],
        "caps": {
            "categories": {
                "Other": "Other"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "info_category_8000",
                "type": "info_category_8000"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search/?search={{ .Keywords }}&category=0{{ else }}today/{{ end }}"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "tr[class^=\"ttable_col\"]"
            },
            "fields": {
                "category": {
                    "text": "other"
                },
                "title": {
                    "selector": "td:nth-child(3) a",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)[xх](\\d+(?:-\\d+)?)\\s*из\\s*(\\d+)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)[xх](\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\d+)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bFiles-х\\b",
                                "Files-x"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\sот\\s([\\w\\p{P}\\p{S}]+)$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s\\|\\s(\\w{4,})$",
                                "-$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "td:nth-child(3) a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.dwnld",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "font[color=\"green\"]"
                },
                "leechers": {
                    "selector": "font[color=\"red\"]"
                },
                "date_day": {
                    "selector": "td:nth-child(1):contains(\"Вчера\"), td:nth-child(1):contains(\"Сегодня\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Вчера",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Сегодня",
                                "Today"
                            ]
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "td:nth-child(1):contains(\"-\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "td:nth-child(3) a"
                }
            }
        }
    },
    "torrentccf": {
        "credentials": {
            "cookie": ""
        },
        "id": "torrentccf",
        "name": "TorrentCCF",
        "description": "TorrentCCF (TCCF) is a CHINESE Private Torrent Tracker for HD MOVIES / TV",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://et8.org/"
        ],
        "legacylinks": [
            "http://et8.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 622,
                    "cat": "Movies",
                    "desc": "Movies.电影"
                },
                {
                    "id": 623,
                    "cat": "TV",
                    "desc": "TV.电视剧"
                },
                {
                    "id": 624,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries.纪录片"
                },
                {
                    "id": 625,
                    "cat": "PC",
                    "desc": "Appz.软件"
                },
                {
                    "id": 626,
                    "cat": "Audio",
                    "desc": "Music & MusicVideos.音乐及MV"
                },
                {
                    "id": 627,
                    "cat": "Other",
                    "desc": "Others.其他(非学习类)"
                },
                {
                    "id": 628,
                    "cat": "Books/Other",
                    "desc": "Elearning - 杂项学习"
                },
                {
                    "id": 629,
                    "cat": "Books/EBook",
                    "desc": "Elearning - 电子书/小说"
                },
                {
                    "id": 630,
                    "cat": "Books/EBook",
                    "desc": "Elearning - 电子书/非小说"
                },
                {
                    "id": 631,
                    "cat": "Books/Mags",
                    "desc": "Elearning - 杂志"
                },
                {
                    "id": 632,
                    "cat": "Books/Comics",
                    "desc": "Elearning - 漫画"
                },
                {
                    "id": 633,
                    "cat": "Audio/Audiobook",
                    "desc": "Elearning - 有声书"
                },
                {
                    "id": 634,
                    "cat": "Books",
                    "desc": "Elearning - 公开课"
                },
                {
                    "id": 635,
                    "cat": "Books",
                    "desc": "Elearning - 视频教程"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted. updated @ 2020.03.19</li><li>Insane User or above would never be deleted if parked (at User CP)</li><li>Parked accounts would be disabled if users have not logged in for more than 365 days in a row. updated @ 2020.09.20</li><li>Un-parked accounts would be disabled if users have not logged in for more than 90 days in a row. updated @ 2020.09.20</li><li>Accounts with both uploaded and downloaded amount being 0 would be disabled if users have not logged in for more than 30 days in a row.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "method": "get"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href^=\"details.php?id=\"][onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "tt(\\d+)"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)"
                },
                "leechers": {
                    "selector": "td:nth-child(7)"
                },
                "date_elapsed": {
                    "selector": "td:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.8
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, img"
                }
            }
        }
    },
    "torrentclaw": {
        "credentials": {
            "apikey": ""
        },
        "id": "torrentclaw",
        "name": "TorrentClaw",
        "description": "TorrentClaw is a Private aggregate indexer of 10+ Public Torrent Trackers, with additional 'TrueSpec' metadata and quality score",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://torrentclaw.com/",
            "https://torrentclaw.to/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2030,
                    "cat": "Movies/SD",
                    "desc": "Movies SD"
                },
                {
                    "id": 2040,
                    "cat": "Movies/HD",
                    "desc": "Movies HD"
                },
                {
                    "id": 2045,
                    "cat": "Movies/UHD",
                    "desc": "Movies UHD (4K)"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 5030,
                    "cat": "TV/SD",
                    "desc": "TV SD"
                },
                {
                    "id": 5040,
                    "cat": "TV/HD",
                    "desc": "TV HD"
                },
                {
                    "id": 5045,
                    "cat": "TV/UHD",
                    "desc": "TV UHD (4K)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API Key"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "You can find your API Key by accessing the <a href=\"https://torrentclaw.com/profile?tab=apikey\" target=\"_blank\">TorrentClaw API Key</a> page."
            },
            {
                "name": "info_truespec",
                "type": "info",
                "label": "TrueSpec verification tags",
                "default": "Verified releases include <b>[TC-xx]</b> (quality score 0-100) and <b>[TrueSpec]</b> tags in the title. These can be used for Sonarr and Radarr custom formats."
            }
        ],
        "login": {
            "path": "api/v1/torznab",
            "method": "get",
            "inputs": {
                "t": "search",
                "limit": 1
            }
        },
        "search": {
            "paths": [
                {
                    "path": "api/v1/torznab",
                    "method": "get",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "t": "{{ if .Query.TMDBID }}movie{{ else }}{{ end }}{{ if or .Query.Season .Query.Ep }}tvsearch{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.TMDBID .Query.Season .Query.Ep }}{{ else }}search{{ end }}",
                "q": "{{ .Keywords }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "imdbid": "{{ .Query.IMDBID }}",
                "tmdbid": "{{ .Query.TMDBID }}",
                "limit": 100
            },
            "rows": {
                "selector": "channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title": {
                    "selector": "title"
                },
                "details": {
                    "text": "{{ .Config.sitelink }}"
                },
                "magnet": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "infohash": {
                    "selector": "[name=infohash]",
                    "attribute": "value"
                },
                "imdbid": {
                    "selector": "[name=imdbid]",
                    "attribute": "value"
                },
                "tmdbid": {
                    "selector": "[name=tmdbid]",
                    "attribute": "value"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=peers]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "torrentcore": {
        "id": "torrentcore",
        "name": "Torrent[CORE]",
        "description": "Torrent[CORE] is a Public DHT Crawler",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 10.1,
        "links": [
            "https://torrentcore.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "0DAY",
                    "cat": "PC/0day",
                    "desc": "Software 0DAY"
                },
                {
                    "id": "DVDR",
                    "cat": "Movies/DVD",
                    "desc": "Movies DVDR"
                },
                {
                    "id": "EBOOK",
                    "cat": "Books",
                    "desc": "Ebook"
                },
                {
                    "id": "FLAC",
                    "cat": "Audio/Lossless",
                    "desc": "Music FLAC"
                },
                {
                    "id": "GAMES",
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": "MP3",
                    "cat": "Audio/MP3",
                    "desc": "Music MP3"
                },
                {
                    "id": "MP4",
                    "cat": "Movies",
                    "desc": "Movies MP4"
                },
                {
                    "id": "PDA",
                    "cat": "PC/Mobile-Other",
                    "desc": "Software PDA"
                },
                {
                    "id": "PS3",
                    "cat": "Console/PS3",
                    "desc": "Games PS3"
                },
                {
                    "id": "TV",
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": "TV-DVDRIP",
                    "cat": "TV/SD",
                    "desc": "TV DVDRIP"
                },
                {
                    "id": "TV-X265",
                    "cat": "TV/HD",
                    "desc": "TV X265"
                },
                {
                    "id": "TV-XVID",
                    "cat": "TV/SD",
                    "desc": "TV XVID"
                },
                {
                    "id": "UNKNOWN",
                    "cat": "Other",
                    "desc": "Unknown"
                },
                {
                    "id": "X264",
                    "cat": "Movies/HD",
                    "desc": "Movies X264"
                },
                {
                    "id": "XBOX360",
                    "cat": "Console/XBox 360",
                    "desc": "Games XBOX360"
                },
                {
                    "id": "XVID",
                    "cat": "Movies/SD",
                    "desc": "Movies XVID"
                },
                {
                    "id": "XXX",
                    "cat": "XXX",
                    "desc": "Adult"
                },
                {
                    "id": "XXX-0DAY",
                    "cat": "XXX",
                    "desc": "Adult 0DAY"
                },
                {
                    "id": "XXX-IMGSET",
                    "cat": "XXX/ImageSet",
                    "desc": "Adult IMGSET"
                },
                {
                    "id": "XXX-X264",
                    "cat": "XXX",
                    "desc": "Adult X264"
                },
                {
                    "id": "XXX-X265",
                    "cat": "XXX",
                    "desc": "Adult X265"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "download": {
            "infohash": {
                "hash": {
                    "selector": "div.content",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Hash: ([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "title": {
                    "selector": "font[color=\"orange\"]",
                    "filters": [
                        {
                            "name": "trim"
                        },
                        {
                            "name": "validfilename"
                        }
                    ]
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search?s={{ .Keywords }}{{ else }}index{{ end }}"
                }
            ],
            "error": [
                {
                    "selector": ":root:contains(\"Service Unavailable\")"
                },
                {
                    "selector": ":root:contains(\"Connection failed\")",
                    "message": {
                        "text": "Connection failed: Connection refused"
                    }
                },
                {
                    "selector": ":root:contains(\"[Anti-DDoS]\")"
                }
            ],
            "rows": {
                "selector": "div.content font[color=\"purple\"], div.content font[color=\"orange\"]:has(a), div.content font[color=\"gray\"], div.content font[color=\"white\"]",
                "after": 3
            },
            "fields": {
                "category_optional": {
                    "selector": "img[src^=\"./cat/\"]",
                    "attribute": "src",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "cat/(.+?).png"
                        }
                    ]
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}UNKNOWN{{ end }}"
                },
                "title": {
                    "selector": "a"
                },
                "details": {
                    "selector": "a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a",
                    "attribute": "href"
                },
                "size": {
                    "selector": "font[color=\"purple\"]",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Size: (.+?)/"
                        }
                    ]
                },
                "files": {
                    "selector": "font[color=\"purple\"]",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "File: (\\d+)"
                        }
                    ]
                },
                "date": {
                    "selector": "font[color=\"purple\"]",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[ (\\d{2} [A-Za-z]+ \\d{4} \\d{2}:\\d{2}:\\d{2}) \\]"
                        },
                        {
                            "name": "append",
                            "args": " -00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd MMMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "torrentdd": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "torrentdd",
        "name": "TorrentDD",
        "description": "TorrentDD (TodayBit) is a THAI Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "th-TH",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://www.torrentdd.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Other",
                    "desc": "พระมหากษัตริย์",
                    "default": true
                },
                {
                    "id": 2,
                    "cat": "TV/Anime",
                    "desc": "การ์ตูน/อนิเมชั่น",
                    "default": true
                },
                {
                    "id": 3,
                    "cat": "Console",
                    "desc": "Game/PSP/ND/Mobile",
                    "default": true
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "Game/Pc/Ps/Xbox",
                    "default": true
                },
                {
                    "id": 5,
                    "cat": "Books/Other",
                    "desc": "สื่อเรียนรู้/แม่และเด็ก",
                    "default": true
                },
                {
                    "id": 6,
                    "cat": "Audio/Video",
                    "desc": "MV/karaoke",
                    "default": true
                },
                {
                    "id": 7,
                    "cat": "Audio",
                    "desc": "เพลง",
                    "default": true
                },
                {
                    "id": 8,
                    "cat": "PC/0day",
                    "desc": "OS Windows/Office",
                    "default": true
                },
                {
                    "id": 9,
                    "cat": "PC/0day",
                    "desc": "AntiVirus/Antispyware",
                    "default": true
                },
                {
                    "id": 10,
                    "cat": "PC/Mobile-Android",
                    "desc": "ซอฟแวร์ มือถือ/ธีม",
                    "default": true
                },
                {
                    "id": 11,
                    "cat": "PC/Mac",
                    "desc": "ซอฟแวร์ แม็ค/ลินุกซ์",
                    "default": true
                },
                {
                    "id": 12,
                    "cat": "PC/0day",
                    "desc": "ซอฟแวร์ทั่วไป",
                    "default": true
                },
                {
                    "id": 13,
                    "cat": "Audio/Video",
                    "desc": "คอนเสิร์ต",
                    "default": true
                },
                {
                    "id": 14,
                    "cat": "Audio/Other",
                    "desc": "ทอล์คโชว์/ตลก/วิทยุ",
                    "default": true
                },
                {
                    "id": 15,
                    "cat": "Other/Misc",
                    "desc": "ทั่วไป",
                    "default": true
                },
                {
                    "id": 16,
                    "cat": "Books/Other",
                    "desc": "ธรรมะ",
                    "default": true
                },
                {
                    "id": 17,
                    "cat": "Other",
                    "desc": "font/icon/source",
                    "default": true
                },
                {
                    "id": 18,
                    "cat": "Movies/UHD",
                    "desc": "ภาพยนตร์ 4K UHD",
                    "default": true
                },
                {
                    "id": 19,
                    "cat": "Movies/HD",
                    "desc": "Hi-Def/Blu Ray",
                    "default": true
                },
                {
                    "id": 20,
                    "cat": "Movies/SD",
                    "desc": "ภาพยนตร์ DVD",
                    "default": true
                },
                {
                    "id": 21,
                    "cat": "Movies/SD",
                    "desc": "ภาพยนตร์ VCD",
                    "default": true
                },
                {
                    "id": 22,
                    "cat": "Movies/SD",
                    "desc": "XviD/DivX/AVI/RM",
                    "default": true
                },
                {
                    "id": 23,
                    "cat": "TV",
                    "desc": "รายการทีวี/วาไรตี้",
                    "default": true
                },
                {
                    "id": 24,
                    "cat": "TV/Sport",
                    "desc": "กีฬา/ฟุตบอล",
                    "default": true
                },
                {
                    "id": 25,
                    "cat": "Other",
                    "desc": "รูปภาพ/วอลเปเปอร์",
                    "default": true
                },
                {
                    "id": 26,
                    "cat": "TV/Documentary",
                    "desc": "สารคดี",
                    "default": true
                },
                {
                    "id": 27,
                    "cat": "Books/EBook",
                    "desc": "สื่อเรียนรู้/หนังสือ/Ebook",
                    "default": true
                },
                {
                    "id": 28,
                    "cat": "TV/Foreign",
                    "desc": "หนังชุด/ซีรีส์ [เกาหลี]",
                    "default": true
                },
                {
                    "id": 29,
                    "cat": "TV/Foreign",
                    "desc": "หนังชุด/ซีรีส์ [ญี่ปุ่น]",
                    "default": true
                },
                {
                    "id": 30,
                    "cat": "TV/Foreign",
                    "desc": "หนังชุด/ซีรีส์ [จีน]",
                    "default": true
                },
                {
                    "id": 31,
                    "cat": "TV/Foreign",
                    "desc": "หนังชุด/ซีรีส์ [ฝรั่ง]",
                    "default": true
                },
                {
                    "id": 32,
                    "cat": "TV",
                    "desc": "หนังชุด/ซีรีส์ [ไทย]",
                    "default": true
                },
                {
                    "id": 33,
                    "cat": "TV",
                    "desc": "คลิปทั่วไป",
                    "default": true
                },
                {
                    "id": 34,
                    "cat": "XXX",
                    "desc": "XXX (uncensor)",
                    "default": false
                },
                {
                    "id": 35,
                    "cat": "XXX",
                    "desc": "XXX (censor)",
                    "default": false
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "XXX Clip",
                    "default": false
                },
                {
                    "id": 37,
                    "cat": "XXX",
                    "desc": "XXX cartoon/book/pic",
                    "default": false
                },
                {
                    "id": 38,
                    "cat": "XXX",
                    "desc": "XXX Gay/Lesbian",
                    "default": false
                }
            ],
            "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": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "DESC",
                "options": {
                    "DESC": "desc",
                    "ASC": "asc"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.alert-warning:contains(\"Login failed!\")"
                }
            ],
            "test": {
                "path": "home.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "button.border-success",
                    "attribute": "onclick",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\'(.+?)\\'"
                        }
                    ]
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php",
                    "categories": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26,
                        27,
                        28,
                        29,
                        30,
                        31,
                        32,
                        33
                    ]
                },
                {
                    "path": "browse18.php",
                    "categories": [
                        34,
                        35,
                        36,
                        37,
                        38
                    ]
                }
            ],
            "inputs": {
                "cate": "{{ join .Categories \",\" }}",
                "freeload": "{{ if .Config.freeleech }}yes{{ else }}{{ end }}",
                "search": "{{ .Keywords }}",
                "sort": "{{ .Config.sort }}",
                "odb": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.mt-3 table tbody tr:not(:has(label.badge-outline-danger))"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cate=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cate"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "a.box-poster",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(.+?\\.(jpg|jpeg|bmp|png)$)"
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-last-child(7)"
                },
                "date": {
                    "selector": "div.mt-2 span:first-child",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "label.badge-outline-success": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "label.badge-outline-warning": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "torrentdownload": {
        "id": "torrentdownload",
        "name": "TorrentDownload",
        "description": "TorrentDownload is a Public torrent meta-search engine",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.torrentdownload.info/"
        ],
        "legacylinks": [
            "https://torrentdownload.mrunblock.bond/",
            "https://torrentdownload.nocensor.cloud/",
            "https://torrentdownload.unblockit.download/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "Adult",
                    "cat": "XXX",
                    "desc": "Adult"
                },
                {
                    "id": "AdultPornHDVideo",
                    "cat": "XXX",
                    "desc": "Adult Porn HD Video"
                },
                {
                    "id": "AdultPornPictures",
                    "cat": "XXX",
                    "desc": "Adult Porn Pictures"
                },
                {
                    "id": "AdultPornVideo",
                    "cat": "XXX",
                    "desc": "Adult Porn Video"
                },
                {
                    "id": "Anime",
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": "AnimeEnglishtranslated",
                    "cat": "TV/Anime",
                    "desc": "Anime English translated"
                },
                {
                    "id": "AnimeAnimeOther",
                    "cat": "TV/Anime",
                    "desc": "Anime Other"
                },
                {
                    "id": "Applications",
                    "cat": "PC/0day",
                    "desc": "Applications"
                },
                {
                    "id": "ApplicationsAndroid",
                    "cat": "PC/Mobile-Android",
                    "desc": "Applications Android"
                },
                {
                    "id": "ApplicationsWindows",
                    "cat": "PC/0day",
                    "desc": "Applications Windows"
                },
                {
                    "id": "AudioBooks",
                    "cat": "Audio/Audiobook",
                    "desc": "Books Audiobooks"
                },
                {
                    "id": "AudioAudiobooks",
                    "cat": "Audio/Audiobook",
                    "desc": "Books Audiobooks"
                },
                {
                    "id": "AudioLossless",
                    "cat": "Audio/Lossless",
                    "desc": "Audio Lossless"
                },
                {
                    "id": "AudioMusic",
                    "cat": "Audio/MP3",
                    "desc": "Audio Music"
                },
                {
                    "id": "BooksAcademic",
                    "cat": "Books",
                    "desc": "Books Academic"
                },
                {
                    "id": "BooksComics",
                    "cat": "Books/Comics",
                    "desc": "Books Comics"
                },
                {
                    "id": "BooksEbooks",
                    "cat": "Books/EBook",
                    "desc": "Books Ebooks"
                },
                {
                    "id": "BooksEducational",
                    "cat": "Books",
                    "desc": "Books Educational"
                },
                {
                    "id": "BooksMagazines",
                    "cat": "Books/Mags",
                    "desc": "Books Magazines"
                },
                {
                    "id": "BooksFiction",
                    "cat": "Books",
                    "desc": "Books Fiction"
                },
                {
                    "id": "BooksNonfiction",
                    "cat": "Books",
                    "desc": "Books Nonfiction"
                },
                {
                    "id": "BooksTextbooks",
                    "cat": "Books",
                    "desc": "Books Textbooks"
                },
                {
                    "id": "Ebooks",
                    "cat": "Books/EBook",
                    "desc": "Books Ebooks"
                },
                {
                    "id": "Games",
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": "GamesWindows",
                    "cat": "PC/Games",
                    "desc": "Games Windows"
                },
                {
                    "id": "Movies",
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": "MoviesAction",
                    "cat": "Movies",
                    "desc": "Movies Action"
                },
                {
                    "id": "MoviesConcerts",
                    "cat": "Movies",
                    "desc": "Movies Concerts"
                },
                {
                    "id": "MoviesCrime",
                    "cat": "Movies",
                    "desc": "Movies Crime"
                },
                {
                    "id": "MoviesDocumentary",
                    "cat": "TV/Documentary",
                    "desc": "Movies Documentary"
                },
                {
                    "id": "MoviesDubbedMovies",
                    "cat": "Movies",
                    "desc": "Movies Dubbed Movies"
                },
                {
                    "id": "MoviesHighresMovies",
                    "cat": "Movies",
                    "desc": "Movies Highres Movies"
                },
                {
                    "id": "MoviesMusicvideos",
                    "cat": "Audio/Video",
                    "desc": "Movies Musicvideos"
                },
                {
                    "id": "MoviesThriller",
                    "cat": "Movies",
                    "desc": "Movies Thriller"
                },
                {
                    "id": "Music",
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": "MusicHardrock",
                    "cat": "Audio",
                    "desc": "Music Hardrock"
                },
                {
                    "id": "MusicMp",
                    "cat": "Audio/MP3",
                    "desc": "Music Mp3"
                },
                {
                    "id": "MusicFLAC",
                    "cat": "Audio/Lossless",
                    "desc": "Music FLAC"
                },
                {
                    "id": "MusicLossless",
                    "cat": "Audio/Lossless",
                    "desc": "Music Lossless"
                },
                {
                    "id": "MusicRB",
                    "cat": "Audio",
                    "desc": "Music R&B"
                },
                {
                    "id": "MusicTranceHouseDance",
                    "cat": "Audio",
                    "desc": "Music Trance House Dance"
                },
                {
                    "id": "Other",
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": "OtherEbooks",
                    "cat": "Books/EBook",
                    "desc": "Other Ebooks"
                },
                {
                    "id": "OtherComics",
                    "cat": "Other",
                    "desc": "Other Comics"
                },
                {
                    "id": "OtherTutorials",
                    "cat": "Other",
                    "desc": "Other Tutorials"
                },
                {
                    "id": "OtherUnsorted",
                    "cat": "Other",
                    "desc": "Other Unsorted"
                },
                {
                    "id": "PicturesPicturesOther",
                    "cat": "Other/Misc",
                    "desc": "Pictures Other"
                },
                {
                    "id": "PicturesWallpapers",
                    "cat": "Other/Misc",
                    "desc": "Pictures Wallpapers"
                },
                {
                    "id": "Software",
                    "cat": "PC/0day",
                    "desc": "Software"
                },
                {
                    "id": "TV",
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": "TVBBC",
                    "cat": "TV",
                    "desc": "TV BBC"
                },
                {
                    "id": "TVEllenDeGeneres",
                    "cat": "TV",
                    "desc": "TV Ellen DeGeneres"
                },
                {
                    "id": "TVOther",
                    "cat": "TV/Other",
                    "desc": "TV Other"
                },
                {
                    "id": "TVshows",
                    "cat": "TV",
                    "desc": "TV shows"
                },
                {
                    "id": "Television",
                    "cat": "TV",
                    "desc": "Television"
                },
                {
                    "id": "VideoMobile",
                    "cat": "Movies",
                    "desc": "Movies Video Mobile"
                },
                {
                    "id": "VideoMovies",
                    "cat": "Movies",
                    "desc": "Video Movies"
                },
                {
                    "id": "VideoMusic",
                    "cat": "Audio/Video",
                    "desc": "Video Music"
                },
                {
                    "id": "XXX",
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": "XXXVideo",
                    "cat": "XXX",
                    "desc": "XXX Video"
                },
                {
                    "id": "XXXHDVideo",
                    "cat": "XXX",
                    "desc": "XXX HD Video"
                },
                {
                    "id": "XXXPictures",
                    "cat": "XXX",
                    "desc": "XXX Pictures"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site (Applies only to Search with Keywords)",
                "default": "d",
                "options": {
                    "d": "created",
                    "_": "seeders"
                }
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search{{ re_replace .Config.sort \"_\" \"\" }}?q={{ .Keywords }}{{ else }}/{{ end }}"
                }
            ],
            "rows": {
                "selector": "table.table2 > tbody > tr:has(span.smallish)"
            },
            "fields": {
                "category": {
                    "selector": "div.tt-name > span.smallish",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "[^A-Za-z]+",
                                ""
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "div.tt-name > a[href^=\"/\"]"
                },
                "details": {
                    "selector": "div.tt-name > a[href^=\"/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "div.tt-name > a[href^=\"/\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(2)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "right ",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Last Month",
                                "1 month ago"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "+",
                                " ago"
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(3)"
                },
                "seeders": {
                    "selector": "td.tdseed"
                },
                "leechers": {
                    "selector": "td.tdleech"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "torrentdownloads": {
        "id": "torrentdownloads",
        "name": "Torrent Downloads",
        "description": "Torrent Downloads (TD) is a Public torrent site for all kinds of content",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.torrentdownloads.pro/",
            "https://torrentdownloads.unblockninja.com/",
            "https://torrentdownloads.ninjaproxy1.com/",
            "https://torrentdownloads.proxyninja.org/",
            "https://torrentdownloads.proxyninja.net/"
        ],
        "legacylinks": [
            "https://www.torrentdownloads.me/",
            "https://www.torrentdownloads.info/",
            "https://torrentdownloads.mrunblock.bond/",
            "https://torrentdownloads.nocensor.cloud/",
            "https://torrentdownloads.unblockit.download/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 8,
                    "cat": "TV",
                    "desc": "TV Shows"
                },
                {
                    "id": 4,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 3,
                    "cat": "PC/Games",
                    "desc": "Games"
                },
                {
                    "id": 7,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 2,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 9,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 0,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 6,
                    "cat": "Other",
                    "desc": "Pics"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "downloadlink",
                "type": "select",
                "label": "Download link",
                "default": "magnet:",
                "options": {
                    "http://itorrents.org/": "iTorrents.org",
                    "magnet:": "magnet"
                }
            },
            {
                "name": "downloadlink2",
                "type": "select",
                "label": "Download link (fallback)",
                "default": "http://itorrents.org/",
                "options": {
                    "http://itorrents.org/": "iTorrents.org",
                    "magnet:": "magnet"
                }
            },
            {
                "name": "info_download",
                "type": "info",
                "label": "About the Download links",
                "default": "As the .torrent download links on this site are known to fail from time to time, you can optionally set as a fallback an automatic alternate link."
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"{{ .Config.downloadlink }}\"]",
                    "attribute": "href"
                },
                {
                    "selector": "a[href^=\"{{ .Config.downloadlink2 }}\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "search/",
                    "followredirect": true
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}s_cat={{.}}&{{end}}",
                "search": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\W+",
                        " "
                    ]
                },
                {
                    "name": "trim"
                }
            ],
            "rows": {
                "selector": "div.inner_container > div:has(p:has(a[href^=\"/torrent/\"])):not(:has(span.__cf_email__))"
            },
            "fields": {
                "category": {
                    "selector": "img[src^=\"/templates/new/images/icons/menu_icon\"]",
                    "attribute": "src",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)"
                        }
                    ]
                },
                "title": {
                    "selector": "p:nth-child(1) > a",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "View torrent info : ",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "p:nth-child(1) > a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "p:nth-child(1) > a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "selector": "span:nth-child(5)"
                },
                "seeders": {
                    "selector": "span:nth-child(4)"
                },
                "leechers": {
                    "selector": "span:nth-child(3)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "torrenteros-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "torrenteros-api",
        "name": "Torrenteros (API)",
        "description": "Torrenteros (TTR) is a SPANISH Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "es-ES",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://torrenteros.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://torrenteros.org/\" target=\"_blank\">TTR</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Ciencia ficción)",
                                "Ciencia_ficción"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Película de TV)",
                                "Película_de_TV"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "torrenthr": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "torrenthr",
        "name": "TorrentHR",
        "description": "TorrentHR is a ratioless CROATIAN Private Torrent Tracker for 0DAY / GENERAL",
        "language": "hr-HR",
        "type": "private",
        "encoding": "windows-1250",
        "links": [
            "https://www.torrenthr.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 31,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 4,
                    "cat": "Movies/SD",
                    "desc": "Filmovi/SD"
                },
                {
                    "id": 18,
                    "cat": "Movies/Foreign",
                    "desc": "Crtani Filmovi"
                },
                {
                    "id": 5,
                    "cat": "PC/Games",
                    "desc": "Igre/PC"
                },
                {
                    "id": 7,
                    "cat": "TV/SD",
                    "desc": "Serije/SD"
                },
                {
                    "id": 1,
                    "cat": "PC/0day",
                    "desc": "Aplikacije"
                },
                {
                    "id": 14,
                    "cat": "Movies/DVD",
                    "desc": "Filmovi/DVD"
                },
                {
                    "id": 12,
                    "cat": "TV/Documentary",
                    "desc": "Dokumentarni Filmovi"
                },
                {
                    "id": 27,
                    "cat": "Console/PS4",
                    "desc": "Igre/PS"
                },
                {
                    "id": 34,
                    "cat": "TV/HD",
                    "desc": "Serije/HD"
                },
                {
                    "id": 25,
                    "cat": "Books",
                    "desc": "E-books"
                },
                {
                    "id": 17,
                    "cat": "Movies/HD",
                    "desc": "Filmovi/HD"
                },
                {
                    "id": 11,
                    "cat": "Audio",
                    "desc": "Koncerti/Spotovi"
                },
                {
                    "id": 28,
                    "cat": "Console/Wii",
                    "desc": "Igre/Wii"
                },
                {
                    "id": 30,
                    "cat": "Books/Comics",
                    "desc": "Stripovi"
                },
                {
                    "id": 38,
                    "cat": "PC/Mobile-Other",
                    "desc": "Smartphone"
                },
                {
                    "id": 40,
                    "cat": "Movies/BluRay",
                    "desc": "Filmovi/BD"
                },
                {
                    "id": 3,
                    "cat": "Audio/MP3",
                    "desc": "Glazba/MP3"
                },
                {
                    "id": 26,
                    "cat": "Console/XBox",
                    "desc": "Igre/Xbox"
                },
                {
                    "id": 10,
                    "cat": "XXX",
                    "desc": "XXX/SD"
                },
                {
                    "id": 16,
                    "cat": "TV",
                    "desc": "THR Packs"
                },
                {
                    "id": 15,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 29,
                    "cat": "Audio/Lossless",
                    "desc": "Glazba/FLAC"
                },
                {
                    "id": 13,
                    "cat": "Other",
                    "desc": "Ostalo"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "XXX/HD"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "ssl": true
            },
            "error": [
                {
                    "selector": "div.glavni:has(div.glavni_naslov:contains(\"Greška\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "blah": "{{ if .Query.IMDBID }}2{{ else }}0{{ end }}",
                "incldead": 1,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.glavni_txt table > tbody > tr[id^=\"record-\"]:not(:has(img[src=\"/pic/nuked.gif\"]))"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title_optional": {
                    "optional": true,
                    "selector": "a[href^=\"details.php?id=\"][title]",
                    "attribute": "title"
                },
                "title_optional2": {
                    "optional": true,
                    "selector": "a[href^=\"details.php?id=\"][onmousemove]",
                    "attribute": "onmousemove",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "return overlibImage\\('(.*)','.*'\\);"
                        }
                    ]
                },
                "title": {
                    "text": "{{ if or .Result.title_optional .Result.title_optional2 }}{{ or .Result.title_optional .Result.title_optional2 }}{{ else }}{{ .Result.title_default }}{{ end }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(5)"
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "poster": {
                    "selector": "a[href^=\"details.php?id=\"][onmousemove]",
                    "attribute": "onmousemove",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "return overlibImage\\('.*','(.*)'\\);"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "date": {
                    "selector": "td:nth-child(2) > small",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " u ",
                                " "
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss"
                        }
                    ]
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, br, small"
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "torrenting": {
        "credentials": {
            "cookie": ""
        },
        "id": "torrenting",
        "name": "Torrenting",
        "description": "Torrenting (TT) is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://torrenting.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 25,
                    "cat": "Movies/SD",
                    "desc": "Movies/480p"
                },
                {
                    "id": 96,
                    "cat": "Movies/UHD",
                    "desc": "Movies/4K"
                },
                {
                    "id": 11,
                    "cat": "Movies/HD",
                    "desc": "Movies/Bluray"
                },
                {
                    "id": 5,
                    "cat": "Movies/BluRay",
                    "desc": "Movies/Bluray-Full"
                },
                {
                    "id": 103,
                    "cat": "Movies/SD",
                    "desc": "Movies/Cam"
                },
                {
                    "id": 3,
                    "cat": "Movies/DVD",
                    "desc": "Movies/DVD-R"
                },
                {
                    "id": 21,
                    "cat": "Movies/HD",
                    "desc": "Movies/MP4"
                },
                {
                    "id": 22,
                    "cat": "Movies/Foreign",
                    "desc": "Movies/Non-English"
                },
                {
                    "id": 13,
                    "cat": "Movies/Other",
                    "desc": "Movies/Packs"
                },
                {
                    "id": 44,
                    "cat": "Movies/SD",
                    "desc": "Movies/SD/x264"
                },
                {
                    "id": 48,
                    "cat": "Movies/HD",
                    "desc": "Movies/x265"
                },
                {
                    "id": 1,
                    "cat": "Movies/SD",
                    "desc": "Movies/XviD"
                },
                {
                    "id": 24,
                    "cat": "TV/SD",
                    "desc": "TV/480p"
                },
                {
                    "id": 104,
                    "cat": "TV/UHD",
                    "desc": "TV/4K"
                },
                {
                    "id": 32,
                    "cat": "TV/HD",
                    "desc": "TV/Bluray"
                },
                {
                    "id": 31,
                    "cat": "TV/SD",
                    "desc": "TV/DVD-R"
                },
                {
                    "id": 33,
                    "cat": "TV/SD",
                    "desc": "TV/DVD-Rip"
                },
                {
                    "id": 46,
                    "cat": "TV/Other",
                    "desc": "TV/Mobile"
                },
                {
                    "id": 82,
                    "cat": "TV/Foreign",
                    "desc": "TV/Non-English"
                },
                {
                    "id": 14,
                    "cat": "TV/Other",
                    "desc": "TV/Packs"
                },
                {
                    "id": 26,
                    "cat": "TV/SD",
                    "desc": "TV/SD/x264"
                },
                {
                    "id": 7,
                    "cat": "TV/HD",
                    "desc": "TV/x264"
                },
                {
                    "id": 34,
                    "cat": "TV/HD",
                    "desc": "TV/x265"
                },
                {
                    "id": 2,
                    "cat": "TV/SD",
                    "desc": "TV/XviD"
                },
                {
                    "id": 10,
                    "cat": "Console/Other",
                    "desc": "Nintendo"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "PC/Games"
                },
                {
                    "id": 18,
                    "cat": "Console/PS4",
                    "desc": "PS"
                },
                {
                    "id": 8,
                    "cat": "Console/PSP",
                    "desc": "PSP"
                },
                {
                    "id": 9,
                    "cat": "Console/XBox",
                    "desc": "Xbox"
                },
                {
                    "id": 17,
                    "cat": "Audio/MP3",
                    "desc": "Music/Audio"
                },
                {
                    "id": 27,
                    "cat": "Audio/Lossless",
                    "desc": "Music/Flac"
                },
                {
                    "id": 23,
                    "cat": "Audio/Foreign",
                    "desc": "Music/Non-English"
                },
                {
                    "id": 41,
                    "cat": "Audio/Other",
                    "desc": "Music/Packs"
                },
                {
                    "id": 16,
                    "cat": "Audio/Video",
                    "desc": "Music/Video"
                },
                {
                    "id": 29,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 42,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Books"
                },
                {
                    "id": 105,
                    "cat": "Audio/Audiobook",
                    "desc": "Audio Books/NE"
                },
                {
                    "id": 20,
                    "cat": "Books/EBook",
                    "desc": "Books"
                },
                {
                    "id": 102,
                    "cat": "Books/Foreign",
                    "desc": "Books/Non-English"
                },
                {
                    "id": 30,
                    "cat": "TV/Documentary",
                    "desc": "Documentary"
                },
                {
                    "id": 95,
                    "cat": "Other",
                    "desc": "Educational"
                },
                {
                    "id": 47,
                    "cat": "Other",
                    "desc": "Fonts"
                },
                {
                    "id": 43,
                    "cat": "PC/Mac",
                    "desc": "Mac"
                },
                {
                    "id": 45,
                    "cat": "Audio/Other",
                    "desc": "Podcast"
                },
                {
                    "id": 28,
                    "cat": "PC/0day",
                    "desc": "Softwa/Packs"
                },
                {
                    "id": 12,
                    "cat": "PC/0day",
                    "desc": "Software"
                },
                {
                    "id": 19,
                    "cat": "XXX",
                    "desc": "XXX/0Day"
                },
                {
                    "id": 6,
                    "cat": "XXX/Other",
                    "desc": "XXX/Movies"
                },
                {
                    "id": 15,
                    "cat": "XXX/Pack",
                    "desc": "XXX/Packs"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowtvsearchimdb": true
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "All members are required to log into their account at least every 89 days or you will be deleted without warning."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "t",
                "selector": "a[href=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "t"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}{{.}}=&{{end}}",
                "q": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }} {{ else }}{{ end }}{{ if .Query.TMDBID }}{{ .Query.TMDBID }} {{ else }}{{ end }}{{ .Keywords }}",
                "qf": "{{ if or .Query.IMDBID .Query.TMDBID }}adv{{ else }}ti{{ end }}",
                "free": "{{ if .Config.freeleech }}on{{ else }}{{ end }}"
            },
            "rows": {
                "selector": "table.t1 > tbody > tr"
            },
            "fields": {
                "categorydesc_alt": {
                    "selector": "a[href^=\"?\"] img",
                    "attribute": "alt",
                    "optional": true
                },
                "categorydesc": {
                    "selector": "td.i.p",
                    "optional": true,
                    "default": "{{ .Result.categorydesc_alt }}"
                },
                "title": {
                    "selector": "a[href^=\"/t/\"]"
                },
                "details": {
                    "selector": "a[href^=\"/t/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/download.php/\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "td.al div.sub",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "validate",
                            "args": "Action, Adventure, Animation, Biography, Comedy, Crime, Documentary, Drama, Family, Fantasy, Game-Show, History, Horror, Music, Musical, Mystery, News, Reality-TV, Romance, Science_Fiction, Sci-Fi, Short, Sitcom, Sport, Talk-Show, Thriller, War, Western"
                        }
                    ]
                },
                "date": {
                    "selector": "td.al div.sub",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                ".+?\\|",
                                ""
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-last-child(2)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(1)"
                },
                "size": {
                    "selector": "td:nth-last-child(3)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span:contains(\"FreeLeech\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "torrentkitty": {
        "id": "torrentkitty",
        "name": "TorrentKitty",
        "description": "TorrentKitty is a Public torrent indexer",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.torrentkitty.cam/",
            "https://www.torrentkitty.ink/",
            "https://www.torrentkitty.io/",
            "https://www.torrentkitty.vip/",
            "https://www.torrentkitty.app/",
            "https://www.torrentkitty.red/",
            "https://www.torrentkitty.lol/",
            "https://www.torrentkitty.best/",
            "https://www.torrentkitty.tv/",
            "https://torkitty.com/"
        ],
        "legacylinks": [
            "https://www.torrentkitty.se/"
        ],
        "caps": {
            "categories": {
                "Other": "Other"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "info_category_8000",
                "type": "info_category_8000"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "search/{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}/"
                }
            ],
            "rows": {
                "selector": "table#archiveResult tbody tr:has(a[href^=\"magnet:?xt=\"])"
            },
            "fields": {
                "category": {
                    "text": "Other"
                },
                "title": {
                    "selector": "td.name"
                },
                "details": {
                    "selector": "td.action a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td.date",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td.size"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "torrentleech": {
        "credentials": {
            "username": "",
            "password": "",
            "alt2fatoken": ""
        },
        "id": "torrentleech",
        "name": "TorrentLeech",
        "description": "TorrentLeech (TL) is a Private Torrent Tracker for 0DAY / GENERAL. not here _ not scene",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 4.1,
        "links": [
            "https://www.torrentleech.org/",
            "https://www.torrentleech.cc/",
            "https://www.torrentleech.me/",
            "https://www.tleechreload.org/",
            "https://www.tlgetin.cc/",
            "https://rss.torrentleech.cc/"
        ],
        "legacylinks": [
            "https://v4.torrentleech.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 8,
                    "cat": "Movies/SD",
                    "desc": "Movies Cam"
                },
                {
                    "id": 9,
                    "cat": "Movies/SD",
                    "desc": "Movies TS/TC"
                },
                {
                    "id": 11,
                    "cat": "Movies/SD",
                    "desc": "Movies DVDRip/DVDScreener"
                },
                {
                    "id": 37,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies WEBRip"
                },
                {
                    "id": 43,
                    "cat": "Movies/HD",
                    "desc": "Movies HDRip"
                },
                {
                    "id": 14,
                    "cat": "Movies/HD",
                    "desc": "Movies BlurayRip"
                },
                {
                    "id": 12,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD-R"
                },
                {
                    "id": 13,
                    "cat": "Movies/BluRay",
                    "desc": "Movies Bluray"
                },
                {
                    "id": 47,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K"
                },
                {
                    "id": 15,
                    "cat": "Movies",
                    "desc": "Movies Boxsets"
                },
                {
                    "id": 29,
                    "cat": "Movies/Other",
                    "desc": "Documentaries"
                },
                {
                    "id": 26,
                    "cat": "TV/SD",
                    "desc": "TV Episodes"
                },
                {
                    "id": 32,
                    "cat": "TV/HD",
                    "desc": "TV Episodes HD"
                },
                {
                    "id": 27,
                    "cat": "TV",
                    "desc": "TV Boxsets"
                },
                {
                    "id": 17,
                    "cat": "PC/Games",
                    "desc": "Games PC"
                },
                {
                    "id": 42,
                    "cat": "PC/Mac",
                    "desc": "Games Mac"
                },
                {
                    "id": 18,
                    "cat": "Console/XBox",
                    "desc": "Games XBOX"
                },
                {
                    "id": 19,
                    "cat": "Console/XBox 360",
                    "desc": "Games XBOX360"
                },
                {
                    "id": 40,
                    "cat": "Console/XBox One",
                    "desc": "Games XBOXONE"
                },
                {
                    "id": 20,
                    "cat": "Console/PS3",
                    "desc": "Games PS2"
                },
                {
                    "id": 21,
                    "cat": "Console/PS3",
                    "desc": "Games Mac"
                },
                {
                    "id": 39,
                    "cat": "Console/PS4",
                    "desc": "Games PS4"
                },
                {
                    "id": 49,
                    "cat": "Console/PS4",
                    "desc": "Games PS5"
                },
                {
                    "id": 22,
                    "cat": "Console/PSP",
                    "desc": "Games PSP"
                },
                {
                    "id": 28,
                    "cat": "Console/Wii",
                    "desc": "Games Wii"
                },
                {
                    "id": 30,
                    "cat": "Console/NDS",
                    "desc": "Games Nintendo DS"
                },
                {
                    "id": 48,
                    "cat": "Console/Other",
                    "desc": "Games Nintendo Switch"
                },
                {
                    "id": 23,
                    "cat": "PC/ISO",
                    "desc": "PC ISO"
                },
                {
                    "id": 24,
                    "cat": "PC/Mac",
                    "desc": "PC Mac"
                },
                {
                    "id": 25,
                    "cat": "PC/Mobile-Other",
                    "desc": "PC Mobile"
                },
                {
                    "id": 33,
                    "cat": "PC/0day",
                    "desc": "PC 0-day"
                },
                {
                    "id": 38,
                    "cat": "Other",
                    "desc": "Education"
                },
                {
                    "id": 34,
                    "cat": "TV/Anime",
                    "desc": "TV Anime"
                },
                {
                    "id": 35,
                    "cat": "TV",
                    "desc": "TV Cartoons"
                },
                {
                    "id": 45,
                    "cat": "Books/EBook",
                    "desc": "Books EBooks"
                },
                {
                    "id": 46,
                    "cat": "Books/Comics",
                    "desc": "Books Comics"
                },
                {
                    "id": 31,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 16,
                    "cat": "Audio/Video",
                    "desc": "Music videos"
                },
                {
                    "id": 36,
                    "cat": "Movies/Foreign",
                    "desc": "Movies Foreign"
                },
                {
                    "id": 44,
                    "cat": "TV/Foreign",
                    "desc": "TV Foreign"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "alt2fatoken",
                "type": "text",
                "label": "Alt 2FA Token"
            },
            {
                "name": "info_alt2fatoken",
                "type": "info",
                "label": "About Alt 2FA Token",
                "default": "(Site Profile => Alt 2FA Token) Only fill in the <b>Alt 2FA Token</b> if you have enabled <b>2FA</b> on the TorrentLeech Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "exclude_scene",
                "type": "checkbox",
                "label": "Exclude SCENE torrents from results",
                "default": false
            },
            {
                "name": "exclude_archives",
                "type": "checkbox",
                "label": "Exclude torrents with the tag RAR from results (does not support IMDBID search)",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "nameSort": "title"
                }
            },
            {
                "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>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "user/account/login/",
            "method": "form",
            "form": "form[name=\"login-form\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "alt2FAToken": "{{ .Config.alt2fatoken }}"
            },
            "error": [
                {
                    "selector": "p.text-danger"
                },
                {
                    "selector": ".login-container h2:contains(\"One Time Password\")",
                    "message": {
                        "text": "Your TorrentLeech account has 2FA enabled. Please recheck your indexer settings."
                    }
                },
                {
                    "selector": "form[name=\"login-form\"]",
                    "message": {
                        "text": "Login page detected at {{ .Config.sitelink }}."
                    }
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"/user/account/logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents/browse/list{{ if .Categories }}/categories/{{ join .Categories \",\" }}{{ else }}{{ end }}{{ if or .Config.freeleech .Config.exclude_scene }}/facets/tags:{{ else }}{{ end }}{{ if .Config.freeleech }}FREELEECH{{ else }}{{ end }}{{ if and .Config.freeleech .Config.exclude_scene }},{{ else }}{{ end }}{{ if .Config.exclude_scene }}nonscene{{ else }}{{ end }}/{{ if .Query.IMDBID }}imdbID/{{ .Query.IMDBID }}/{{ else }}exact/1/query/{{ .Keywords }}/{{ end }}{{ if .Keywords }}{{ else }}newfilter/2/{{ end }}orderby/{{ .Config.sort }}/order/{{ .Config.type }}",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(^|\\s)-",
                        " "
                    ]
                },
                {
                    "name": "append",
                    "args": "{{ if .Config.exclude_archives }} -tags:rar{{ else }}{{ end }}"
                }
            ],
            "rows": {
                "selector": "torrentList",
                "count": {
                    "selector": "$.numFound"
                }
            },
            "fields": {
                "category": {
                    "selector": "categoryID"
                },
                "title_test": {
                    "selector": "name",
                    "optional": true,
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^\\[REQ(UEST(ED)?)?\\]\\s*",
                                ""
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Result.title_test }}{{ .Result.title_test }}{{ else }}TorrentLeech did not provide a title{{ end }}"
                },
                "_id": {
                    "selector": "fid"
                },
                "_filename": {
                    "selector": "filename"
                },
                "details": {
                    "text": "/torrent/{{ .Result._id }}"
                },
                "download": {
                    "text": "/download/{{ .Result._id }}/{{ .Result._filename }}"
                },
                "genre": {
                    "selector": "tags",
                    "filters": [
                        {
                            "name": "validate",
                            "args": "Action, Adventure, Animation, Biography, Comedy, Crime, Documentary, Drama, Family, Fantasy, Game-Show, History, Horror, Kids, Music, Musical, Mystery, News, Reality-TV, Romance, Sci-Fi, Science-Fiction, Sport, Soap, Talk-Show, Thriller, War, Western"
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "imdbid": {
                    "selector": "imdbID"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "completed"
                },
                "date": {
                    "selector": "addedTimestamp",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "downloadvolumefactor": {
                    "selector": "download_multiplier",
                    "case": {
                        "0": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 864000
                }
            }
        }
    },
    "torrentleech-pl": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "torrentleech-pl",
        "name": "Torrentleech.pl",
        "description": "Torrentleech.pl is a POLISH Private Torrent Tracker for 0DAY / GENERAL",
        "language": "pl-PL",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://torrentleech.pl/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 32,
                    "cat": "PC",
                    "desc": "Aplikacje PC"
                },
                {
                    "id": 33,
                    "cat": "Books",
                    "desc": "eBooki/AudioBooki/Prasa"
                },
                {
                    "id": 65,
                    "cat": "Movies/3D",
                    "desc": "Filmy/3D"
                },
                {
                    "id": 69,
                    "cat": "Movies/UHD",
                    "desc": "Filmy/4K UHD"
                },
                {
                    "id": 28,
                    "cat": "TV/Anime",
                    "desc": "Filmy/Animowane"
                },
                {
                    "id": 66,
                    "cat": "Movies/BluRay",
                    "desc": "Filmy/BDRip"
                },
                {
                    "id": 61,
                    "cat": "Movies/BluRay",
                    "desc": "Filmy/BRRip"
                },
                {
                    "id": 67,
                    "cat": "Movies",
                    "desc": "Filmy/CAM-TC-TS"
                },
                {
                    "id": 58,
                    "cat": "TV/Documentary",
                    "desc": "Filmy/Dokumentalne"
                },
                {
                    "id": 39,
                    "cat": "Movies/HD",
                    "desc": "Filmy/Full HD"
                },
                {
                    "id": 36,
                    "cat": "Movies/HD",
                    "desc": "Filmy/HD Ready"
                },
                {
                    "id": 64,
                    "cat": "Movies",
                    "desc": "Filmy/Kino Polskie"
                },
                {
                    "id": 59,
                    "cat": "Movies",
                    "desc": "Filmy/PACK"
                },
                {
                    "id": 40,
                    "cat": "Movies/SD",
                    "desc": "Filmy/SD"
                },
                {
                    "id": 68,
                    "cat": "Movies/WEB-DL",
                    "desc": "Filmy/WEB-DL"
                },
                {
                    "id": 62,
                    "cat": "Console",
                    "desc": "Gry/Dodatki"
                },
                {
                    "id": 41,
                    "cat": "Console",
                    "desc": "Gry/Konsole"
                },
                {
                    "id": 42,
                    "cat": "PC/Games",
                    "desc": "Gry/PC"
                },
                {
                    "id": 44,
                    "cat": "PC/Mobile-Other",
                    "desc": "GSM/PDA"
                },
                {
                    "id": 57,
                    "cat": "Audio/Video",
                    "desc": "Koncerty/Teledyski"
                },
                {
                    "id": 63,
                    "cat": "Audio/Lossless",
                    "desc": "Muzyka/FLAC"
                },
                {
                    "id": 46,
                    "cat": "Audio/MP3",
                    "desc": "Muzyka/MP3"
                },
                {
                    "id": 47,
                    "cat": "Other",
                    "desc": "Różne"
                },
                {
                    "id": 60,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 53,
                    "cat": "TV",
                    "desc": "TV Seriale"
                },
                {
                    "id": 56,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 70,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": "drop_polish_prefix",
                "type": "checkbox",
                "label": "Drop the Polish title prefix",
                "default": false
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Users of the Power User class and below who have been inactive for more than 62 days are deleted. Therefore, if for some reason you can't enter TorrentLeech.pl for a while, Park your account. You won't be able to download torrents, but you can be sure that you won't have to log in for 122 days. However, if you do not log in to your account after this time, it will be deleted."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[src=\"img.php?size=5\"]",
                "input": "vImageCodP"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"Logowanie nie udane!\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "titlesearch": "{{ if .Query.IMDBID }}1{{ else }}0{{ end }}",
                "polish": 0,
                "cat_film": "",
                "napisy": 0
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        " +(?:19|20)\\d{2} *$",
                        ""
                    ]
                }
            ],
            "rows": {
                "selector": "table[border=\"1\"][cellspacing=\"0\"][cellpadding=\"5\"] > tbody > tr:has(a[href^=\"details.php?id=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_raw": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title_stripped": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^(.*/)(.*)$",
                                "$2"
                            ]
                        },
                        {
                            "name": "trim"
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.drop_polish_prefix }}{{ .Result.title_stripped }}{{ else }}{{ .Result.title_raw }}{{ end }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^\\[PACK\\]\\s*",
                                ""
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "font[color=\"blue\"]",
                    "filters": [
                        {
                            "name": "validate",
                            "args": "akcja, animacja, anime, biograficzny, czarna komedia, dokumentalny, dramat, dramat historyczny, edukacyjny, etiuda, familijny, fantasy, gangsterski, historyczny, horror, katastroficzny, komedia, komedia kryminalna, komedia obyczajowa, komedia romantyczna, krótkometrażowy, kryminał, melodramat, musical, muzyczny, niemy, przygodowy, romans, sci-fi, sensacyjny, sportowy, szpiegowski, thriller, western, wojenny"
                        }
                    ]
                },
                "_language": {
                    "optional": true,
                    "selector": "img[src=\"pic/pl.jpg\"]",
                    "filters": [
                        {
                            "name": "append",
                            "args": "Language: polish\n<br>"
                        }
                    ]
                },
                "_subbed": {
                    "optional": true,
                    "selector": "img[src=\"pic/napisy.gif\"]",
                    "filters": [
                        {
                            "name": "append",
                            "args": "Subbed\n<br>"
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result._language }}{{ .Result._subbed }}{{ if .Result.genre }}Genres: {{ .Result.genre }}{{ else }}{{ end }}"
                },
                "date": {
                    "selector": "td:nth-child(4)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                1
                            ]
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "tr.darmowy": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "torrentlt": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "torrentlt",
        "name": "Torrent.LT",
        "description": "Torrent.LT is a LITHUANIAN Private Torrent Tracker for 0DAY / GENERAL",
        "language": "lt-LT",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://torrent.lt/"
        ],
        "legacylinks": [
            "http://www.torrent.ai/",
            "https://torrent.ai/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 33,
                    "cat": "Movies",
                    "desc": "Filmai / LT"
                },
                {
                    "id": 43,
                    "cat": "Movies",
                    "desc": "Filmai / LT-Subs"
                },
                {
                    "id": 74,
                    "cat": "Movies/HD",
                    "desc": "Filmai LT HD"
                },
                {
                    "id": 34,
                    "cat": "Movies",
                    "desc": "Filmai / Eng"
                },
                {
                    "id": 54,
                    "cat": "Movies/HD",
                    "desc": "Filmai / Eng HD"
                },
                {
                    "id": 32,
                    "cat": "Movies",
                    "desc": "Filmai / Rus"
                },
                {
                    "id": 78,
                    "cat": "Movies/HD",
                    "desc": "Filmai Rus HD"
                },
                {
                    "id": 72,
                    "cat": "Movies/3D",
                    "desc": "Filmai / 3D"
                },
                {
                    "id": 31,
                    "cat": "Movies/DVD",
                    "desc": "Filmai / DVD"
                },
                {
                    "id": 76,
                    "cat": "TV",
                    "desc": "Animacija / LT"
                },
                {
                    "id": 80,
                    "cat": "TV/HD",
                    "desc": "Animacija / LT HD"
                },
                {
                    "id": 27,
                    "cat": "TV",
                    "desc": "Animacija / Eng"
                },
                {
                    "id": 52,
                    "cat": "TV/HD",
                    "desc": "Animacija / Eng HD"
                },
                {
                    "id": 81,
                    "cat": "TV",
                    "desc": "Animacija / Rus"
                },
                {
                    "id": 85,
                    "cat": "TV",
                    "desc": "Animacija / Rus HD"
                },
                {
                    "id": 86,
                    "cat": "TV",
                    "desc": "Animacija / 3D"
                },
                {
                    "id": 35,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 58,
                    "cat": "TV",
                    "desc": "Serialai / LT"
                },
                {
                    "id": 79,
                    "cat": "TV/HD",
                    "desc": "Serialai LT HD"
                },
                {
                    "id": 42,
                    "cat": "TV",
                    "desc": "Serialai / Eng"
                },
                {
                    "id": 56,
                    "cat": "TV/HD",
                    "desc": "Serialai / Eng HD"
                },
                {
                    "id": 59,
                    "cat": "TV",
                    "desc": "Serialai / Rus"
                },
                {
                    "id": 84,
                    "cat": "TV/HD",
                    "desc": "Serialai / Rus HD"
                },
                {
                    "id": 69,
                    "cat": "TV",
                    "desc": "TV / LT"
                },
                {
                    "id": 28,
                    "cat": "TV",
                    "desc": "TV / Eng"
                },
                {
                    "id": 70,
                    "cat": "TV",
                    "desc": "TV / Rus"
                },
                {
                    "id": 39,
                    "cat": "TV/Documentary",
                    "desc": "TV / Dokumentika"
                },
                {
                    "id": 1,
                    "cat": "PC/Games",
                    "desc": "Žaidimai / PC"
                },
                {
                    "id": 50,
                    "cat": "Console/PS4",
                    "desc": "Žaidimai / PS"
                },
                {
                    "id": 51,
                    "cat": "Console/XBox 360",
                    "desc": "Žaidimai / XBOX"
                },
                {
                    "id": 73,
                    "cat": "Console",
                    "desc": "Žaidimai / Priedai"
                },
                {
                    "id": 36,
                    "cat": "Console/Other",
                    "desc": "Žaidimai / Kita"
                },
                {
                    "id": 62,
                    "cat": "TV/Sport",
                    "desc": "Sport / Basketball"
                },
                {
                    "id": 66,
                    "cat": "TV/Sport",
                    "desc": "Sport / Football"
                },
                {
                    "id": 65,
                    "cat": "TV/Sport",
                    "desc": "Sport / Fights"
                },
                {
                    "id": 63,
                    "cat": "TV/Sport",
                    "desc": "Sport / Cars"
                },
                {
                    "id": 40,
                    "cat": "TV/Sport",
                    "desc": "Sport / Kita"
                },
                {
                    "id": 87,
                    "cat": "Audio/MP3",
                    "desc": "Muzika / LT"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "Muzika / Albumai"
                },
                {
                    "id": 57,
                    "cat": "Audio/MP3",
                    "desc": "Muzika / VA"
                },
                {
                    "id": 26,
                    "cat": "Audio",
                    "desc": "Muzika / DJ Sets"
                },
                {
                    "id": 29,
                    "cat": "Audio/Video",
                    "desc": "Muzika / Videos"
                },
                {
                    "id": 10,
                    "cat": "PC/0day",
                    "desc": "Soft / PC"
                },
                {
                    "id": 44,
                    "cat": "PC/Mac",
                    "desc": "Soft / MAC"
                },
                {
                    "id": 61,
                    "cat": "PC/Mobile-Other",
                    "desc": "Soft / Mobile"
                },
                {
                    "id": 75,
                    "cat": "PC",
                    "desc": "Soft / Kita"
                },
                {
                    "id": 89,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobooks / LT"
                },
                {
                    "id": 83,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobooks"
                },
                {
                    "id": 90,
                    "cat": "Books/EBook",
                    "desc": "E-Books / LT"
                },
                {
                    "id": 41,
                    "cat": "Books/EBook",
                    "desc": "E-Books"
                },
                {
                    "id": 77,
                    "cat": "Other",
                    "desc": "Educational"
                },
                {
                    "id": 30,
                    "cat": "Other/Misc",
                    "desc": "Kita"
                },
                {
                    "id": 21,
                    "cat": "XXX",
                    "desc": "pr0n"
                },
                {
                    "id": 88,
                    "cat": "XXX",
                    "desc": "pr0n / LT"
                },
                {
                    "id": 71,
                    "cat": "XXX/Pack",
                    "desc": "pr0n / pack"
                },
                {
                    "id": 82,
                    "cat": "XXX",
                    "desc": "pr0n / games"
                }
            ],
            "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": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 0,
                "options": {
                    "0": "created",
                    "6": "seeders",
                    "4": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "lt/account-login.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.klaida"
                },
                {
                    "selector": "p.error_text"
                }
            ],
            "test": {
                "path": "lt/main",
                "selector": "a[href=\"myaccount\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "lt/torrents"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cats[]={{.}}&{{end}}",
                "search": "{{ .Keywords }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "free": "{{ if .Config.freeleech }}on{{ else }}{{ end }}"
            },
            "keywordsfilters": [
                {
                    "name": "replace",
                    "args": [
                        ".",
                        " "
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "[^\\w\\d\\(\\)]+",
                        "%"
                    ]
                }
            ],
            "rows": {
                "selector": "table> tbody > tr[class^=\"torrents-table__\"]",
                "filters": [
                    {
                        "name": "andmatch",
                        "args": 50
                    }
                ],
                "after": 1
            },
            "fields": {
                "category": {
                    "selector": "td[class^=\"category-icon_cell\"] a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cats"
                        }
                    ]
                },
                "title": {
                    "selector": "div[class^=\"torrent-name\"] a"
                },
                "details": {
                    "selector": "div[class^=\"torrent-name\"] a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td a[href^=\"download?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div[class^=\"torrent-name\"] a",
                    "attribute": "data-poster-preview"
                },
                "seeders": {
                    "selector": "td.seeders_cell:not(:has(i))",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.leechers_cell:not(:has(i))",
                    "optional": true,
                    "default": 0
                },
                "size": {
                    "selector": "td.size_cell"
                },
                "description": {
                    "case": {
                        "img[src$=\"/checked.png\"]": "Verified",
                        "*": "Unverified"
                    }
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/freedownload.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "date": {
                    "selector": "span.datetime",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm zzz"
                        }
                    ]
                },
                "minimumratio": {
                    "text": 0.41
                }
            }
        }
    },
    "torrentmasters": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "torrentmasters",
        "name": "TorrentMasters",
        "description": "TorrentMasters is a HUNGARIAN semi-private tracker for MOVIES / TV / GENERAL",
        "language": "hu-HU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://torrentmasters.org/"
        ],
        "legacylinks": [
            "https://torrentmasters.info/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 92,
                    "cat": "Books/EBook",
                    "desc": "e-Book (ENG)"
                },
                {
                    "id": 78,
                    "cat": "Books/EBook",
                    "desc": "e-Book (HUN)"
                },
                {
                    "id": 80,
                    "cat": "Other",
                    "desc": "Egyéb"
                },
                {
                    "id": 111,
                    "cat": "Movies/SD",
                    "desc": "Film - Cam (HUN)"
                },
                {
                    "id": 85,
                    "cat": "Movies/DVD",
                    "desc": "Film - DVD/9 (ENG)"
                },
                {
                    "id": 66,
                    "cat": "Movies/DVD",
                    "desc": "Film - DVD/9 (HUN)"
                },
                {
                    "id": 84,
                    "cat": "Movies/HD",
                    "desc": "Film - HD (ENG)"
                },
                {
                    "id": 68,
                    "cat": "Movies/HD",
                    "desc": "Film - HD (HUN)"
                },
                {
                    "id": 82,
                    "cat": "Movies/SD",
                    "desc": "Film - SD (ENG)"
                },
                {
                    "id": 64,
                    "cat": "Movies/SD",
                    "desc": "Film - SD (HUN)"
                },
                {
                    "id": 73,
                    "cat": "Console",
                    "desc": "Játék - Konzol"
                },
                {
                    "id": 94,
                    "cat": "PC/Games",
                    "desc": "Játék - RIP"
                },
                {
                    "id": 72,
                    "cat": "PC/Games",
                    "desc": "Játek - ISO"
                },
                {
                    "id": 79,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil/PDA"
                },
                {
                    "id": 95,
                    "cat": "PC",
                    "desc": "Programok - Egyeb (Win)"
                },
                {
                    "id": 74,
                    "cat": "PC/ISO",
                    "desc": "Programok - ISO (Win)"
                },
                {
                    "id": 75,
                    "cat": "PC/Mac",
                    "desc": "Programok - Linux/Unix/Mac OS"
                },
                {
                    "id": 101,
                    "cat": "TV/SD",
                    "desc": "Sorozat - DVD (ENG)"
                },
                {
                    "id": 100,
                    "cat": "TV/SD",
                    "desc": "Sorozat - DVD (HUN)"
                },
                {
                    "id": 89,
                    "cat": "TV/HD",
                    "desc": "Sorozat - HD (ENG)"
                },
                {
                    "id": 97,
                    "cat": "TV/HD",
                    "desc": "Sorozat - HD (HUN)"
                },
                {
                    "id": 86,
                    "cat": "TV/SD",
                    "desc": "Sorozat - SD (ENG)"
                },
                {
                    "id": 90,
                    "cat": "TV/SD",
                    "desc": "Sorozat - SD (HUN)"
                },
                {
                    "id": 99,
                    "cat": "XXX/DVD",
                    "desc": "XXX - DVD"
                },
                {
                    "id": 98,
                    "cat": "XXX/x264",
                    "desc": "XXX - HD"
                },
                {
                    "id": 76,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX - Kepek"
                },
                {
                    "id": 69,
                    "cat": "XXX/XviD",
                    "desc": "XXX - SD"
                },
                {
                    "id": 70,
                    "cat": "Audio",
                    "desc": "Zene - HUN"
                },
                {
                    "id": 71,
                    "cat": "Audio",
                    "desc": "Zene - Külföld"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 0,
                "options": {
                    "0": "added",
                    "1": "title",
                    "2": "size",
                    "4": "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."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index",
                "selector": "a[href=\"/logout/\"]"
            }
        },
        "search": {
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "paths": [
                {
                    "path": "browse/"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 1,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "viewMode": "normal",
                "sent": true
            },
            "rows": {
                "selector": "table.table > tbody > tr"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"categories[]=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "categories[]"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/details/\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Torrent név: (.*?)<br>"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"/details/\"]",
                    "attribute": "href"
                },
                "_id": {
                    "selector": "a[href^=\"/details/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)"
                        }
                    ]
                },
                "download": {
                    "text": "/download/{{ .Result._id }}/"
                },
                "title_hungarian": {
                    "selector": "a[href^=\"/details/\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Magyar/Külföldi cím: (.*?)<br>"
                        }
                    ]
                },
                "date": {
                    "selector": "td:nth-child(3)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "poster": {
                    "selector": "a[href^=\"/details/\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src='(.*?)'"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(2)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(4)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(3)"
                },
                "uploadvolumefactor_custom": {
                    "selector": "td:nth-last-child(5) small",
                    "optional": true
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "case": {
                        "i.fa-arrow-up": "{{ .Result.uploadvolumefactor_custom }}",
                        "*": 1
                    }
                },
                "genre": {
                    "selector": "td:nth-child(2) small"
                },
                "description": {
                    "text": "{{ .Result.title_hungarian }}{{ if and .Result.title_hungarian .Result.genre }}<br>{{ else }}{{ end }}{{ .Result.genre }}"
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "torrentoyunindir": {
        "id": "torrentoyunindir",
        "name": "Torrent Oyun indir",
        "description": "Torrent Oyun indir is a TURKISH Public torrent site for GAMES",
        "language": "tr-TR",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://0.torrentoyunindir.com/"
        ],
        "legacylinks": [
            "https://www.torrentoyunindir.com/",
            "http://0.torrentoyunindir.com/"
        ],
        "caps": {
            "categories": {
                "1": "PC/Games"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "div.facepaylas a",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "s": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "div.moviefilm",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "title": {
                    "selector": "div.movief"
                },
                "details": {
                    "selector": "a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a",
                    "attribute": "href"
                },
                "description": {
                    "selector": "a > span",
                    "attribute": "class"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "text": "512 MB"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "torrentproject2": {
        "id": "torrentproject2",
        "name": "TorrentProject2",
        "description": "TorrentProject2 is a Public torrent meta-search engine",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://torrentproject2.net/",
            "https://torrentproject2.org/",
            "https://torrentproject.info/",
            "https://torrentproject.biz/",
            "https://torrentproject.xyz/",
            "https://torrentproject.cc/"
        ],
        "legacylinks": [
            "https://torrentproject2.se/",
            "https://torrentproject2.com/",
            "https://torrentproject.torrentbay.st/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "Other",
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "filter-verified",
                "type": "checkbox",
                "label": "Only include verifed content in results",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "latest",
                "options": {
                    "latest": "created desc",
                    "oldest": "created asc",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "info_category_8000",
                "type": "info_category_8000"
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "#download > div:nth-child(2) > div:nth-child(1) > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://mylink.me.uk/?url=",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "https://mylink.cx/?url=",
                                ""
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "https://mylink.cloud/?url=",
                                ""
                            ]
                        },
                        {
                            "name": "urldecode"
                        }
                    ]
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}/{{ else }}browse{{ end }}"
                },
                {
                    "path": "{{ if .Keywords }}/{{ else }}browse{{ end }}",
                    "inputs": {
                        "p": 1
                    }
                }
            ],
            "inputs": {
                "t": "{{ .Keywords }}",
                "orderby": "{{ if .Keywords }}{{ .Config.sort }}{{ else }}{{ end }}",
                "safe": "{{ if and .Keywords .Config.filter-verified }}on{{ else }}{{ end }}"
            },
            "headers": {
                "User-Agent": [
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203"
                ]
            },
            "rows": {
                "selector": "#similarfiles div:has(a[href^=\"/t\"])"
            },
            "fields": {
                "category": {
                    "text": "Other"
                },
                "title": {
                    "selector": ":scope > span > a"
                },
                "details": {
                    "selector": ":scope > span > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": ":scope > span > a",
                    "attribute": "href"
                },
                "date_ago": {
                    "selector": ":scope > span:nth-child(4):contains(\"ago\")",
                    "optional": true
                },
                "date_time": {
                    "selector": ":scope > span:nth-child(4):contains(\":\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_ago .Result.date_time }}{{ or .Result.date_ago .Result.date_time }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": ":scope > span:nth-child(5)"
                },
                "seeders": {
                    "selector": ":scope > span:nth-child(2)"
                },
                "leechers": {
                    "selector": ":scope > span:nth-child(3)"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "torrentqq": {
        "id": "torrentqq",
        "name": "TorrentQQ",
        "description": "TorrentQQ (토렌트큐큐) is a Public KOREAN tracker for Korean media.",
        "language": "ko-KR",
        "type": "public",
        "encoding": "UTF-8",
        "followredirect": true,
        "links": [
            "https://torrentqq418.com/"
        ],
        "legacylinks": [
            "https://torrentqq402.com/",
            "https://torrentqq403.com/",
            "https://torrentqq404.com/",
            "https://torrentqq405.com/",
            "https://torrentqq406.com/",
            "https://torrentqq407.com/",
            "https://torrentqq408.com/",
            "https://torrentqq409.com/",
            "https://torrentqq410.com/",
            "https://torrentqq411.com/",
            "https://torrentegg87.com/",
            "https://torrentqq412.com/",
            "https://torrentqq413.com/",
            "https://torrentqq414.com/",
            "https://torrentqq415.com/",
            "https://torrentqq416.com/",
            "https://torrentqq417.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "adt",
                    "cat": "XXX",
                    "desc": "성인 (XXX)"
                },
                {
                    "id": "ani",
                    "cat": "TV/Anime",
                    "desc": "애니 (Anime)"
                },
                {
                    "id": "etc",
                    "cat": "Other",
                    "desc": "기타 (Other)"
                },
                {
                    "id": "gme",
                    "cat": "Console",
                    "desc": "게임 (Games)"
                },
                {
                    "id": "med",
                    "cat": "TV",
                    "desc": "방송 (TV)"
                },
                {
                    "id": "mov",
                    "cat": "Movies",
                    "desc": "영화 (Movie)"
                },
                {
                    "id": "mus",
                    "cat": "Audio",
                    "desc": "음악 (Music)"
                },
                {
                    "id": "spo",
                    "cat": "TV/Sport",
                    "desc": "스포츠 (Sport)"
                },
                {
                    "id": "utl",
                    "cat": "PC",
                    "desc": "유틸 (Software)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "download": {
            "infohash": {
                "hash": {
                    "selector": "table.table-bordered > tbody > tr > td > ul > li",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "title": {
                    "selector": "table.table-bordered > thead > tr > th > strong",
                    "filters": [
                        {
                            "name": "trim"
                        },
                        {
                            "name": "validfilename"
                        }
                    ]
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}search?q={{ .Keywords }}{{ else }}torrent/newest.html{{ end }}"
                }
            ],
            "rows": {
                "selector": "ul#searchresult > li:has(a[href$=\".html\"][title])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href$=\".html\"][title]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\/torrent\\/(\\w{3})\\/"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href$=\".html\"][title]"
                },
                "details": {
                    "selector": "a[href$=\".html\"][title]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href$=\".html\"][title]",
                    "attribute": "href"
                },
                "date_day": {
                    "selector": "div.wr-date:contains(\"-\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MM-dd"
                        }
                    ]
                },
                "date_time": {
                    "selector": "div.wr-date:contains(\":\")",
                    "optional": true,
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "HH:mm"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_time .Result.date_day }}{{ or .Result.date_time .Result.date_day }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "div.wr-size",
                    "filters": [
                        {
                            "name": "append",
                            "args": "B"
                        }
                    ]
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "torrentsome": {
        "id": "torrentsome",
        "name": "Torrentsome",
        "description": "Torrentsome is a KOREAN Public tracker for Korean media.",
        "language": "ko-KR",
        "type": "public",
        "encoding": "UTF-8",
        "followredirect": true,
        "requestDelay": 2,
        "links": [
            "https://torrentsome252.com/"
        ],
        "legacylinks": [
            "https://torrentsome237.com/",
            "https://torrentsome238.com/",
            "https://torrentsome239.com/",
            "https://torrentsome240.com/",
            "https://torrentsome241.com/",
            "https://torrentsome242.com/",
            "https://torrentsome243.com/",
            "https://torrentsome244.com/",
            "https://torrentsome245.com/",
            "https://torrentsome246.com/",
            "https://torrentsome247.com/",
            "https://torrentsome248.com/",
            "https://torrentsome249.com/",
            "https://torrentsome250.com/",
            "https://torrentsome251.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "해외영화",
                    "cat": "Movies/Foreign",
                    "desc": "해외영화 (Foreign Movies)"
                },
                {
                    "id": "한국영화",
                    "cat": "Movies",
                    "desc": "한국영화 (Korean Movies)"
                },
                {
                    "id": "해외드라마",
                    "cat": "TV",
                    "desc": "해외드라마 (Foreign TV)"
                },
                {
                    "id": "한국드라마",
                    "cat": "TV",
                    "desc": "한국드라마 (Korean TV)"
                },
                {
                    "id": "예능·오락",
                    "cat": "Audio/Video",
                    "desc": "예능·오락 (Entertainment)"
                },
                {
                    "id": "다큐·교양",
                    "cat": "TV/Documentary",
                    "desc": "다큐·교양 (Documentary)"
                },
                {
                    "id": "음악",
                    "cat": "Audio",
                    "desc": "음악 (Music)"
                },
                {
                    "id": "유아·어린이",
                    "cat": "TV",
                    "desc": "유아·어린이 (Children)"
                },
                {
                    "id": "애니메이션",
                    "cat": "TV/Anime",
                    "desc": "애니메이션 (Anime)"
                },
                {
                    "id": "만화",
                    "cat": "Books/Comics",
                    "desc": "만화 (Manga)"
                },
                {
                    "id": "넷플릭스 영화",
                    "cat": "Movies",
                    "desc": "넷플릭스 영화 (Netflix Movies)"
                },
                {
                    "id": "넷플릭스 시리즈",
                    "cat": "TV",
                    "desc": "넷플릭스 시리즈 (Netflix TV)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "download": {
            "infohash": {
                "hash": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "title": {
                    "selector": "h1.text-base",
                    "filters": [
                        {
                            "name": "trim"
                        },
                        {
                            "name": "validfilename"
                        }
                    ]
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "search/index",
                    "inputs": {
                        "page": 1
                    }
                },
                {
                    "path": "search/index",
                    "inputs": {
                        "page": 2
                    }
                },
                {
                    "path": "search/index",
                    "inputs": {
                        "page": 3
                    }
                }
            ],
            "inputs": {
                "keywords": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "search_type": 0,
                "order": "time"
            },
            "headers": {
                "User-Agent": [
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.35"
                ]
            },
            "rows": {
                "selector": "div.topic-item:not(:has(div:nth-child(3):contains(\"-\")))",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/v/\"] > span"
                },
                "title": {
                    "selector": "a[href^=\"/v/\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"/v/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/v/\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "div:nth-last-child(2)"
                },
                "date": {
                    "selector": "div:last-child",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "MM.dd"
                        }
                    ]
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "torrenttip": {
        "id": "torrenttip",
        "name": "Torrenttip",
        "description": "Torrenttip (토렌트팁) is a Public KOREAN tracker for Korean media.",
        "language": "ko-KR",
        "type": "public",
        "encoding": "UTF-8",
        "followredirect": true,
        "requestDelay": 2,
        "links": [
            "https://torrenttip233.top/"
        ],
        "legacylinks": [
            "https://torrenttip218.top/",
            "https://torrenttip219.top/",
            "https://torrenttip220.top/",
            "https://torrenttip221.top/",
            "https://torrenttip222.top/",
            "https://torrenttip223.top/",
            "https://torrenttip224.top/",
            "https://torrenttip225.top/",
            "https://torrenttip226.top/",
            "https://torrenttip227.top/",
            "https://torrenttip228.top/",
            "https://torrenttip229.top/",
            "https://torrenttip230.top/",
            "https://torrenttip231.top/",
            "https://torrenttip232.top/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "한국영화",
                    "cat": "Movies",
                    "desc": "한국영화 (Korean Movies)"
                },
                {
                    "id": "해외영화",
                    "cat": "Movies/Foreign",
                    "desc": "해외영화 (Foreign Movies)"
                },
                {
                    "id": "해외드라마",
                    "cat": "TV",
                    "desc": "해외드라마 (Foreign TV)"
                },
                {
                    "id": "한국드라마",
                    "cat": "TV",
                    "desc": "한국드라마 (Korean TV)"
                },
                {
                    "id": "넷플릭스 영화",
                    "cat": "Movies",
                    "desc": "넷플릭스 영화 (Netflix Movies)"
                },
                {
                    "id": "넷플릭스 시리즈",
                    "cat": "TV",
                    "desc": "넷플릭스 시리즈 (Netflix TV)"
                },
                {
                    "id": "예능·오락",
                    "cat": "Audio/Video",
                    "desc": "예능·오락 (Entertainment)"
                },
                {
                    "id": "다큐·교양",
                    "cat": "TV/Documentary",
                    "desc": "다큐·교양 (Documentary)"
                },
                {
                    "id": "스포츠",
                    "cat": "TV/Sport",
                    "desc": "스포츠 (Sport)"
                },
                {
                    "id": "음악",
                    "cat": "Audio",
                    "desc": "음악 (Music)"
                },
                {
                    "id": "유아·어린이",
                    "cat": "TV",
                    "desc": "유아·어린이 (Children)"
                },
                {
                    "id": "유튜브",
                    "cat": "TV",
                    "desc": "유튜브 (Youtube)"
                },
                {
                    "id": "애니메이션",
                    "cat": "TV/Anime",
                    "desc": "애니메이션 (Anime)"
                },
                {
                    "id": "만화",
                    "cat": "Books/Comics",
                    "desc": "만화 (Manga)"
                },
                {
                    "id": "게임",
                    "cat": "Console",
                    "desc": "게임 (Games)"
                },
                {
                    "id": "모바일",
                    "cat": "PC/Mobile-Other",
                    "desc": "모바일 (Mobile)"
                },
                {
                    "id": "유틸리티",
                    "cat": "PC",
                    "desc": "유틸리티 (Software)"
                },
                {
                    "id": "전자북·강좌",
                    "cat": "Books/EBook",
                    "desc": "전자북·강좌 (EBooks)"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "download": {
            "infohash": {
                "hash": {
                    "selector": "div.p-2:has(i.fa-magnet)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "([A-F|a-f|0-9]{40})"
                        }
                    ]
                },
                "title": {
                    "selector": "h1",
                    "filters": [
                        {
                            "name": "trim"
                        },
                        {
                            "name": "validfilename"
                        }
                    ]
                }
            }
        },
        "search": {
            "paths": [
                {
                    "path": "search",
                    "inputs": {
                        "page": 1
                    }
                },
                {
                    "path": "search",
                    "inputs": {
                        "page": 2
                    }
                },
                {
                    "path": "search",
                    "inputs": {
                        "page": 3
                    }
                }
            ],
            "inputs": {
                "q": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "sort": "time"
            },
            "headers": {
                "User-Agent": [
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.35"
                ]
            },
            "rows": {
                "selector": "ul.page-list > li:has(a[href$=\".html\"][title])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "div:nth-child(2)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\[ (.+?) \\]"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href$=\".html\"][title]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href$=\".html\"][title]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href$=\".html\"][title]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "div:nth-child(3)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yy/MM/dd"
                        }
                    ]
                },
                "size": {
                    "text": "512MB"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "torrenttrader": {
        "credentials": {
            "username": "",
            "password": "",
            "pin": ""
        },
        "id": "torrenttrader",
        "name": "Torrent Trader",
        "description": "Torrent Trader is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://the-torrent-trader.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 119,
                    "cat": "Other",
                    "desc": "Bilder"
                },
                {
                    "id": 142,
                    "cat": "TV/Documentary",
                    "desc": "Doku - Sonstige"
                },
                {
                    "id": 120,
                    "cat": "Books",
                    "desc": "Ebook"
                },
                {
                    "id": 135,
                    "cat": "Movies/HD",
                    "desc": "Filme - 1080p"
                },
                {
                    "id": 130,
                    "cat": "Movies/UHD",
                    "desc": "Filme - 2160p"
                },
                {
                    "id": 134,
                    "cat": "Movies/HD",
                    "desc": "Filme - 720p"
                },
                {
                    "id": 148,
                    "cat": "Movies/DVD",
                    "desc": "Filme - DVD/HD2DVD"
                },
                {
                    "id": 146,
                    "cat": "Movies",
                    "desc": "Filme - Klassiker"
                },
                {
                    "id": 105,
                    "cat": "Movies",
                    "desc": "Filme - x264/x265"
                },
                {
                    "id": 127,
                    "cat": "Movies",
                    "desc": "Für Unsere kleinsten"
                },
                {
                    "id": 121,
                    "cat": "Other",
                    "desc": "Handy Stuff"
                },
                {
                    "id": 149,
                    "cat": "Movies/HD",
                    "desc": "Movie Pack HD"
                },
                {
                    "id": 150,
                    "cat": "Movies/SD",
                    "desc": "Movie Pack SD"
                },
                {
                    "id": 124,
                    "cat": "Audio",
                    "desc": "Musik - Alben"
                },
                {
                    "id": 123,
                    "cat": "Audio",
                    "desc": "Musik - Discography"
                },
                {
                    "id": 122,
                    "cat": "Audio/Audiobook",
                    "desc": "Musik - Hörbuch"
                },
                {
                    "id": 133,
                    "cat": "Audio/MP3",
                    "desc": "Musik - MP3/Mp4"
                },
                {
                    "id": 125,
                    "cat": "Audio/Video",
                    "desc": "Musik - Video"
                },
                {
                    "id": 113,
                    "cat": "PC",
                    "desc": "Programme - Linux"
                },
                {
                    "id": 114,
                    "cat": "PC/Mac",
                    "desc": "Programme - Mac"
                },
                {
                    "id": 115,
                    "cat": "PC/0day",
                    "desc": "Programme - Windows"
                },
                {
                    "id": 137,
                    "cat": "TV/HD",
                    "desc": "Serien - 1080p"
                },
                {
                    "id": 138,
                    "cat": "TV/UHD",
                    "desc": "Serien - 2160p"
                },
                {
                    "id": 144,
                    "cat": "TV/HD",
                    "desc": "Serien - 720p"
                },
                {
                    "id": 116,
                    "cat": "TV",
                    "desc": "Serien - Pack"
                },
                {
                    "id": 143,
                    "cat": "TV/Other",
                    "desc": "Serien - Sonstige"
                },
                {
                    "id": 129,
                    "cat": "Other",
                    "desc": "Sonstiges"
                },
                {
                    "id": 151,
                    "cat": "Other",
                    "desc": "Sonstiges"
                },
                {
                    "id": 109,
                    "cat": "PC/Mobile-Other",
                    "desc": "Spiele - Handy"
                },
                {
                    "id": 112,
                    "cat": "Console",
                    "desc": "Spiele - Konsolen"
                },
                {
                    "id": 111,
                    "cat": "PC/Games",
                    "desc": "Spiele - Mac / Linux"
                },
                {
                    "id": 110,
                    "cat": "PC/Games",
                    "desc": "Spiele - PC"
                },
                {
                    "id": 118,
                    "cat": "TV/Sport",
                    "desc": "Sport - Sonstiges"
                },
                {
                    "id": 69,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "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": "pin",
                "type": "text",
                "label": "Pin"
            },
            {
                "name": "onlyupload",
                "type": "checkbox",
                "label": "Filter OnlyUpload only",
                "default": false
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About OnlyUpload at Torrent Trader",
                "default": "<ul><li>OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Prowlarr dashboard search results these are tagged as Freeleech).</li></ul>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "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>Torrents pro Seite:</b> setting to <b>100</b> on your <b>UserCP</b> page. The default is <i>15</i>."
            },
            {
                "name": "info_seedhours",
                "type": "info",
                "label": "Seeding Hours",
                "default": "Before using this indexer, make sure that you have set <b>Seed-Angaben</b> on your <b>UserCP</b> page."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "cookies": [
                "JAVA=OK"
            ],
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "secure_pin": "{{ .Config.pin }}",
                "returnto": "/"
            },
            "error": [
                {
                    "selector": "table.tableinborder:contains(\"Anmeldung Gescheitert!\") > tbody > tr > td.tablea"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "showsearch": 1,
                "incldead": 1,
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.tableinborder > tbody > tr:has(a[href^=\"download.php?torrent=\"]){{ if .Config.onlyupload }}:has(img[src=\"pic/oupic.gif\"]){{ else }}{{ end }}",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]:has(b)"
                },
                "details": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(4) > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(1)"
                },
                "grabs": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(3) > b"
                },
                "files": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(2)"
                },
                "seeders": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(2) > b:nth-child(1)"
                },
                "leechers": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(2) > b:nth-child(3)"
                },
                "date": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(5)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/oupic.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freeleech.gif\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.7
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "totheglory": {
        "credentials": {
            "username": "",
            "password": "",
            "passan": ""
        },
        "id": "totheglory",
        "name": "ToTheGlory",
        "description": "ToTheGlory (TTG) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://totheglory.im/"
        ],
        "caps": {
            "categories": {
                "电影DVDRip": "Movies/SD",
                "电影720p": "Movies/HD",
                "电影1080i/p": "Movies/HD",
                "BluRay原盘": "Movies/BluRay",
                "影视2160p": "Movies/UHD",
                "UHD原盘": "Movies/UHD",
                "纪录片720p": "Movies/HD",
                "纪录片1080i/p": "Movies/HD",
                "纪录片BluRay原盘": "Movies/BluRay",
                "欧美剧720p": "TV/HD",
                "欧美剧1080i/p": "TV/HD",
                "高清日剧": "TV/HD",
                "大陆港台剧1080i/p": "TV/HD",
                "大陆港台剧720p": "TV/HD",
                "高清韩剧": "TV/HD",
                "欧美剧包": "TV/HD",
                "日剧包": "TV/HD",
                "韩剧包": "TV/HD",
                "华语剧包": "TV/HD",
                "(电影原声&Game)OST": "Audio",
                "无损音乐FLAC&APE": "Audio/Lossless",
                "MV&amp;演唱会": "Audio/Video",
                "高清体育节目": "TV/Sport",
                "高清动漫": "TV/Anime",
                "韩国综艺": "TV/HD",
                "高清综艺": "TV/HD",
                "日本综艺": "TV/HD",
                "MiniVideo": "Other",
                "补充音轨": "Audio",
                "iPhone/iPad视频": "PC/Mobile-Other",
                "动漫原盘": "Movies/Other",
                "PC": "PC/Games",
                "MAC": "PC/Mac",
                "XBOX360": "Console/XBox 360",
                "XBOX1": "Console/XBox",
                "XBLA": "Console/XBox",
                "XBOX+to+XBOX360": "Console/XBox",
                "PS2": "Console/Other",
                "PSP": "Console/PSP",
                "PS4": "Console/PS4",
                "PS3": "Console/PS3",
                "PSV": "Console/PS Vita",
                "WIIU": "Console/WiiU",
                "WII": "Console/Wii",
                "SWITCH": "Console/Other",
                "NDS": "Console/NDS",
                "NGC": "Console/Other",
                "PS3兼容高清": "Console/PS3",
                "PSP兼容高清&标清": "Console/PSP",
                "XBOX360兼容高清": "Console/XBox 360",
                "Game+Video": "Console/Other",
                "APPZ": "PC",
                "Game+Ebook": "Books/EBook",
                "Ebook": "Books/EBook",
                "iPhone/iPad游戏": "PC/Mobile-iOS",
                "iPad书籍": "Books/EBook",
                "iPhone/iPad软件": "PC/Mobile-iOS"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA",
                "default": "If you want to enable 2FA then use the ToTheGlory2FA indexer instead."
            },
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "passid",
                "type": "select",
                "label": "Security Question ID",
                "default": 0,
                "options": [
                    "Security question (Ignore not set)",
                    "When did your start using PT?",
                    "How did you get to know about TTG?",
                    "What's the name of the first movie you watched in a cinema?",
                    "What's your favorite movie?",
                    "Who's your favorite porn star?",
                    "Who's your favorite actor/actress?",
                    "What's your most anticipated movie?"
                ]
            },
            {
                "name": "info_passid",
                "type": "info",
                "label": "About Security ID",
                "default": "Only select the <b>Security Question ID</b> from the pulldown if you have set it on the TTG Web Site. Otherwise just leave it as <b>Ignore not set</b>."
            },
            {
                "name": "passan",
                "type": "text",
                "label": "Security Question Answer"
            },
            {
                "name": "info_passan",
                "type": "info",
                "label": "About Security Question Answer",
                "default": "Only fill in the <b>Security Question Answer</b> box if you have set it on the TTG Web Site. Don't forget to write your answer in the same language you saved it on the TTG Web Site. Otherwise just leave it empty."
            }
        ],
        "login": {
            "path": "login.php?returnto=",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "rememberme": true,
                "passid": "{{ .Config.passid }}",
                "passan": "{{ .Config.passan }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"！\"))"
                },
                {
                    "selector": "td.embedded:has(h2:contains(\"!\"))"
                }
            ],
            "test": {
                "path": "my.php",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php",
                    "inputs": {
                        "c": "M"
                    }
                },
                {
                    "path": "browse.php",
                    "categories": [
                        1000,
                        1010,
                        1020,
                        1030,
                        1040,
                        1050,
                        1080,
                        1090,
                        1120,
                        1130,
                        1180,
                        4000,
                        4030,
                        4040,
                        4050,
                        4060,
                        7000,
                        7020
                    ],
                    "inputs": {
                        "c": "G"
                    }
                }
            ],
            "inputs": {
                "search_field": "{{ range .Categories }}分类:`{{.}}` {{end}}{{ if .Query.IMDBID }}imdb{{ .Query.IMDBIDShort }}{{ else }}{{ .Keywords }}{{ end }}"
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[id]"
            },
            "fields": {
                "description": {
                    "selector": "div.name_left > a > b"
                },
                "title": {
                    "selector": "div.name_left > a > b",
                    "remove": "span"
                },
                "category": {
                    "selector": "tr[id] td:nth-child(1) > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "search_field"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "category:",
                                ""
                            ]
                        },
                        {
                            "name": "trim",
                            "args": "\""
                        }
                    ]
                },
                "details": {
                    "selector": "div.name_left > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.dl_a",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(9)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(9)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                1
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "\n",
                                ""
                            ]
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "imdbid": {
                    "selector": "span.imdb_rate > a",
                    "attribute": "href"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[alt=\"free\"]": 0,
                        "img[alt=\"50%\"]": 0.5,
                        "img[alt=\"30%\"]": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[alt=\"200%\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "case": {
                        "img[title=\"Hit and Run\"]": 1,
                        "*": 0
                    }
                },
                "minimumseedtime": {
                    "case": {
                        "img[title=\"Hit and Run\"]": 216000,
                        "*": 0
                    }
                }
            }
        }
    },
    "totheglory2fa": {
        "credentials": {
            "cookie": ""
        },
        "id": "totheglory2fa",
        "replaces": [
            "totheglorycookie"
        ],
        "name": "ToTheGlory2FA",
        "description": "ToTheGlory (TTG) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL. This indexer uses cookie login for 2FA.",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://totheglory.im/"
        ],
        "caps": {
            "categories": {
                "电影DVDRip": "Movies/SD",
                "电影720p": "Movies/HD",
                "电影1080i/p": "Movies/HD",
                "BluRay原盘": "Movies/BluRay",
                "影视2160p": "Movies/UHD",
                "UHD原盘": "Movies/UHD",
                "纪录片720p": "Movies/HD",
                "纪录片1080i/p": "Movies/HD",
                "纪录片BluRay原盘": "Movies/BluRay",
                "欧美剧720p": "TV/HD",
                "欧美剧1080i/p": "TV/HD",
                "高清日剧": "TV/HD",
                "大陆港台剧1080i/p": "TV/HD",
                "大陆港台剧720p": "TV/HD",
                "高清韩剧": "TV/HD",
                "欧美剧包": "TV/HD",
                "日剧包": "TV/HD",
                "韩剧包": "TV/HD",
                "华语剧包": "TV/HD",
                "(电影原声&Game)OST": "Audio",
                "无损音乐FLAC&APE": "Audio/Lossless",
                "MV&amp;演唱会": "Audio/Video",
                "高清体育节目": "TV/Sport",
                "高清动漫": "TV/Anime",
                "韩国综艺": "TV/HD",
                "高清综艺": "TV/HD",
                "日本综艺": "TV/HD",
                "MiniVideo": "Other",
                "补充音轨": "Audio",
                "iPhone/iPad视频": "PC/Mobile-Other",
                "动漫原盘": "Movies/Other",
                "PC": "PC/Games",
                "MAC": "PC/Mac",
                "XBOX360": "Console/XBox 360",
                "XBOX1": "Console/XBox",
                "XBLA": "Console/XBox",
                "XBOX+to+XBOX360": "Console/XBox",
                "PS2": "Console/Other",
                "PSP": "Console/PSP",
                "PS4": "Console/PS4",
                "PS3": "Console/PS3",
                "PSV": "Console/PS Vita",
                "WIIU": "Console/WiiU",
                "WII": "Console/Wii",
                "SWITCH": "Console/Other",
                "NDS": "Console/NDS",
                "NGC": "Console/Other",
                "PS3兼容高清": "Console/PS3",
                "PSP兼容高清&标清": "Console/PSP",
                "XBOX360兼容高清": "Console/XBox 360",
                "Game+Video": "Console/Other",
                "APPZ": "PC",
                "Game+Ebook": "Books/EBook",
                "Ebook": "Books/EBook",
                "iPhone/iPad游戏": "PC/Mobile-iOS",
                "iPad书籍": "Books/EBook",
                "iPhone/iPad软件": "PC/Mobile-iOS"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "my.php",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php",
                    "inputs": {
                        "c": "M"
                    }
                },
                {
                    "path": "browse.php",
                    "categories": [
                        1000,
                        1010,
                        1020,
                        1030,
                        1040,
                        1050,
                        1080,
                        1090,
                        1120,
                        1130,
                        1180,
                        4000,
                        4030,
                        4040,
                        4050,
                        4060,
                        7000,
                        7020
                    ],
                    "inputs": {
                        "c": "G"
                    }
                }
            ],
            "inputs": {
                "search_field": "{{ range .Categories }}分类:`{{.}}` {{end}}{{ if .Query.IMDBID }}imdb{{ .Query.IMDBIDShort }}{{ else }}{{ .Keywords }}{{ end }}"
            },
            "rows": {
                "selector": "table#torrent_table > tbody > tr[id]"
            },
            "fields": {
                "description": {
                    "selector": "div.name_left > a > b"
                },
                "title": {
                    "selector": "div.name_left > a > b",
                    "remove": "span"
                },
                "category": {
                    "selector": "tr[id] td:nth-child(1) > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "search_field"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "category:",
                                ""
                            ]
                        },
                        {
                            "name": "trim",
                            "args": "\""
                        }
                    ]
                },
                "details": {
                    "selector": "div.name_left > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a.dl_a",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(9)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(9)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "/",
                                1
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "\n",
                                ""
                            ]
                        }
                    ]
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "imdbid": {
                    "selector": "span.imdb_rate > a",
                    "attribute": "href"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[alt=\"free\"]": 0,
                        "img[alt=\"50%\"]": 0.5,
                        "img[alt=\"30%\"]": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[alt=\"200%\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "case": {
                        "img[title=\"Hit and Run\"]": 1,
                        "*": 0
                    }
                },
                "minimumseedtime": {
                    "case": {
                        "img[title=\"Hit and Run\"]": 216000,
                        "*": 0
                    }
                }
            }
        }
    },
    "tr4ker": {
        "credentials": {
            "apikey": ""
        },
        "id": "tr4ker",
        "name": "TR4KER",
        "description": "TR4KER is a FRENCH Semi-Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "semi-private",
        "encoding": "UTF-8",
        "requestDelay": 1,
        "links": [
            "https://tr4ker.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1000,
                    "cat": "Console",
                    "desc": "PC Games"
                },
                {
                    "id": 1010,
                    "cat": "Console/XBox",
                    "desc": "Xbox"
                },
                {
                    "id": 1020,
                    "cat": "Console/Wii",
                    "desc": "Nintendo"
                },
                {
                    "id": 1030,
                    "cat": "Console/PS4",
                    "desc": "PlayStation"
                },
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2010,
                    "cat": "Movies/Foreign",
                    "desc": "Films Foreign"
                },
                {
                    "id": 2040,
                    "cat": "Movies/HD",
                    "desc": "Movies/HD"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 3010,
                    "cat": "Audio/MP3",
                    "desc": "Audio/MP3"
                },
                {
                    "id": 3030,
                    "cat": "Audio/Audiobook",
                    "desc": "iobook"
                },
                {
                    "id": 3040,
                    "cat": "Audio/Lossless",
                    "desc": "Audio/Lossless"
                },
                {
                    "id": 4000,
                    "cat": "PC/0day",
                    "desc": "PC"
                },
                {
                    "id": 4030,
                    "cat": "PC/Mac",
                    "desc": "PC/Mac"
                },
                {
                    "id": 4070,
                    "cat": "PC/Mobile-Android",
                    "desc": "PC/Android"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 5040,
                    "cat": "TV/HD",
                    "desc": "TV/HD"
                },
                {
                    "id": 5060,
                    "cat": "TV/Sport",
                    "desc": "TV/Sport"
                },
                {
                    "id": 5070,
                    "cat": "TV/Anime",
                    "desc": "TV/Anime"
                },
                {
                    "id": 6000,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 7000,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 7010,
                    "cat": "Books/Mags",
                    "desc": "Books/Mags"
                },
                {
                    "id": 7020,
                    "cat": "Books/EBook",
                    "desc": "Books/eBook"
                },
                {
                    "id": 7030,
                    "cat": "Books/Comics",
                    "desc": "Books/Comics"
                },
                {
                    "id": 8000,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 8010,
                    "cat": "Other/Misc",
                    "desc": "Other/Misc"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowtvsearchimdb": true,
            "allowrawsearch": true
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API Key"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "You can find or generate a new API Key by accessing the <a href=\"https://tr4ker.net/mon-compte/parametres\" target=\"_blank\">TR4KER Paramètres</a> page and scrolling down to the <b>Clé API</b> section."
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi.FRENCH": "MULTi.FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi.ENGLISH": "MULTi.ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi.VOSTFR": "MULTi.VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            },
            {
                "name": "info_3x",
                "type": "info",
                "label": "Including 3X",
                "default": "IF you want to see 3x torrents access your <a href=\"https://tr4ker.net/mon-compte/parametres\" target=\"_blank\">TR4KER Paramètres</a> page and flick the <b>Contenu adulte (+18)</b> switch."
            }
        ],
        "login": {
            "path": "api/torznab",
            "method": "get",
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "search",
                "limit": 1
            }
        },
        "search": {
            "paths": [
                {
                    "path": "api/torznab",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "t": "{{ .Query.Type }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "imdbid": "{{ .Query.IMDBID }}",
                "tmdbid": "{{ .Query.TMDBID }}",
                "tvdbid": "{{ .Query.TVDBID }}",
                "limit": 100
            },
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title_phase1": {
                    "selector": "title"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR|VF2|VFF|VFQ|VOQ|VFI|VOF)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "details": {
                    "selector": "comments",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "/torrents/",
                                "/torrent/"
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "infohash": {
                    "selector": "[name=infohash]",
                    "attribute": "value"
                },
                "imdbid": {
                    "selector": "[name=imdbid]",
                    "attribute": "value"
                },
                "tmdbid": {
                    "selector": "[name=tmdbid]",
                    "attribute": "value"
                },
                "tvdbid": {
                    "selector": "[name=tvdbid]",
                    "attribute": "value"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "[name=size]",
                    "attribute": "value"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=peers]",
                    "attribute": "value"
                },
                "grabs": {
                    "selector": "[name=grabs]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "selector": "[name=downloadvolumefactor]",
                    "attribute": "value"
                },
                "uploadvolumefactor": {
                    "selector": "[name=uploadvolumefactor]",
                    "attribute": "value"
                },
                "minimumratio": {
                    "text": 0.51
                }
            }
        }
    },
    "trackermk": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "trackermk",
        "name": "TrackerMK",
        "description": "TrackerMK is a MACEDONIAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "mk-MK",
        "type": "private",
        "encoding": "UTF-8",
        "certificates": [
            "d37b3811042d0868c032a097857b1a98ad583c31"
        ],
        "links": [
            "https://trackermk.com/"
        ],
        "legacylinks": [
            "http://trackermk.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 75,
                    "cat": "Movies/UHD",
                    "desc": "Movies 4K"
                },
                {
                    "id": 49,
                    "cat": "Movies/DVD",
                    "desc": "Movies DVD-R"
                },
                {
                    "id": 68,
                    "cat": "PC/Mobile-Android",
                    "desc": "Андроид (Android)"
                },
                {
                    "id": 72,
                    "cat": "PC/Mobile-Android",
                    "desc": "Андроид - Апликации (Android)"
                },
                {
                    "id": 47,
                    "cat": "PC",
                    "desc": "Апликации (Software)"
                },
                {
                    "id": 71,
                    "cat": "PC/Mac",
                    "desc": "Апликации - Mac OS"
                },
                {
                    "id": 70,
                    "cat": "PC/0day",
                    "desc": "Апликации - Window 7/8.1/10/11"
                },
                {
                    "id": 63,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудио (Audiobooks)"
                },
                {
                    "id": 60,
                    "cat": "TV/Documentary",
                    "desc": "Документарци (Documentaries)"
                },
                {
                    "id": 61,
                    "cat": "TV",
                    "desc": "Домашни серии (TV Local)"
                },
                {
                    "id": 69,
                    "cat": "TV",
                    "desc": "Домашни серии - Српски / Хрватски / Босански (TV Local)"
                },
                {
                    "id": 57,
                    "cat": "Books/EBook",
                    "desc": "Е-Книги (EBooks)"
                },
                {
                    "id": 53,
                    "cat": "Console",
                    "desc": "Игри (Games)"
                },
                {
                    "id": 54,
                    "cat": "Audio/Video",
                    "desc": "Концерти (Concerts)"
                },
                {
                    "id": 52,
                    "cat": "Audio/Video",
                    "desc": "Музички Спотови (Music Videos)"
                },
                {
                    "id": 67,
                    "cat": "Other",
                    "desc": "Од се по нешто (VIP)"
                },
                {
                    "id": 73,
                    "cat": "Audio",
                    "desc": "Рип од Плоча (Music Rips)"
                },
                {
                    "id": 65,
                    "cat": "Other",
                    "desc": "Слики (pictures)"
                },
                {
                    "id": 55,
                    "cat": "TV/Sport",
                    "desc": "Спорт (sport)"
                },
                {
                    "id": 48,
                    "cat": "TV/Anime",
                    "desc": "Цртани (Animations)"
                },
                {
                    "id": 64,
                    "cat": "Audio/Lossless",
                    "desc": "FLAC"
                },
                {
                    "id": 62,
                    "cat": "Movies/HD",
                    "desc": "Movies HDTV"
                },
                {
                    "id": 50,
                    "cat": "Audio/MP3",
                    "desc": "Mp3"
                },
                {
                    "id": 56,
                    "cat": "Movies/SD",
                    "desc": "Movies Xvid"
                },
                {
                    "id": 59,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 74,
                    "cat": "XXX",
                    "desc": "XXX 4K"
                }
            ],
            "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": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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": "To keep records updated reguarly, all inactive accounts will be deleted after 60 days of inactivity."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": ""
            },
            "error": [
                {
                    "selector": "table:contains(\"Грешка!\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"/logout.php?logouthash=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[\\s]+",
                        "%"
                    ]
                }
            ],
            "inputs": {
                "do": "search",
                "keywords": "{{ .Keywords }}",
                "search_type": "t_name",
                "category": 0,
                "include_dead_torrents": true,
                "sort": "{{ if .Config.freeleech }}free{{ else }}{{ .Config.sort }}{{ end }}",
                "order": "{{ if .Config.freeleech }}asc{{ else }}{{ .Config.type }}{{ end }}"
            },
            "rows": {
                "selector": "table.sortable tr:has(a[href*=\"/download.php?id=\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"/browse.php?category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href*=\"/details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href*=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[src*=\"/torrents/images/\"]",
                    "attribute": "src"
                },
                "date": {
                    "selector": "td:nth-child(2)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{2}-\\d{2}-\\d{4} \\d{2}:\\d{2})"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/freedownload.gif\"]": 0,
                        "img[src$=\"/silverdownload.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"/x2.gif\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "trackerzero": {
        "credentials": {
            "apikey": "",
            "passkey": ""
        },
        "id": "trackerzero",
        "name": "TrackerZero",
        "description": "TrackerZero is an ITALIAN Private PAY2DL Torrent Tracker for MOVIES / TV / MUSIC / SOFTWARE",
        "language": "it-IT",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://trackerzero.it/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 4,
                    "cat": "Movies/UHD",
                    "desc": "4k"
                },
                {
                    "id": 25,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 22,
                    "cat": "PC/0day",
                    "desc": "App_Linux"
                },
                {
                    "id": 23,
                    "cat": "PC/Mac",
                    "desc": "App_Mac"
                },
                {
                    "id": 21,
                    "cat": "PC/0day",
                    "desc": "App_Windows"
                },
                {
                    "id": 28,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiolibri"
                },
                {
                    "id": 7,
                    "cat": "Movies/HD",
                    "desc": "BluRay"
                },
                {
                    "id": 24,
                    "cat": "TV/Anime",
                    "desc": "Cartoon"
                },
                {
                    "id": 12,
                    "cat": "TV/Documentary",
                    "desc": "Documentari"
                },
                {
                    "id": 11,
                    "cat": "TV/HD",
                    "desc": "DocuSerie"
                },
                {
                    "id": 8,
                    "cat": "Movies/DVD",
                    "desc": "DVD-R"
                },
                {
                    "id": 5,
                    "cat": "Movies/SD",
                    "desc": "DvdRiP"
                },
                {
                    "id": 14,
                    "cat": "Audio/Lossless",
                    "desc": "Flac"
                },
                {
                    "id": 19,
                    "cat": "PC/Games",
                    "desc": "Giochi_Linux"
                },
                {
                    "id": 20,
                    "cat": "Console/Other",
                    "desc": "Giochi_Mac"
                },
                {
                    "id": 18,
                    "cat": "PC/Games",
                    "desc": "Giochi_PC"
                },
                {
                    "id": 34,
                    "cat": "Console/PS4",
                    "desc": "Giochi PS4"
                },
                {
                    "id": 33,
                    "cat": "Console/PS4",
                    "desc": "Giochi PS5"
                },
                {
                    "id": 27,
                    "cat": "Books/EBook",
                    "desc": "Libri"
                },
                {
                    "id": 13,
                    "cat": "Audio/MP3",
                    "desc": "MP3"
                },
                {
                    "id": 6,
                    "cat": "Movies/SD",
                    "desc": "News_Cinema"
                },
                {
                    "id": 35,
                    "cat": "Console/NDS",
                    "desc": "Nintendo Switch"
                },
                {
                    "id": 30,
                    "cat": "TV/Other",
                    "desc": "Programmi tv"
                },
                {
                    "id": 26,
                    "cat": "Books/Mags",
                    "desc": "Quotidiani_Periodici"
                },
                {
                    "id": 17,
                    "cat": "Movies/HD",
                    "desc": "Saghe"
                },
                {
                    "id": 10,
                    "cat": "TV/HD",
                    "desc": "SerieTV_Italiane"
                },
                {
                    "id": 9,
                    "cat": "TV/HD",
                    "desc": "SerieTV_Straniere"
                },
                {
                    "id": 16,
                    "cat": "Movies/Other",
                    "desc": "Spettacoli_E_Teatro"
                },
                {
                    "id": 32,
                    "cat": "TV/Sport",
                    "desc": "SPORT"
                },
                {
                    "id": 29,
                    "cat": "Other",
                    "desc": "VideoCorsi_E_Guide"
                },
                {
                    "id": 15,
                    "cat": "Audio/Video",
                    "desc": "VideoMusicai"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "API key"
            },
            {
                "name": "info_apikey",
                "type": "info",
                "label": "About your API key",
                "default": "Find your API key by accessing your <a href=\"https://trackerzero.it/\" target=\"_blank\">TrackerZero</a> <i>Profile</i> page and scrolling down to the <b>img.trackerzero.it</b> section.<br>The API key expires monthly so if your search returns <b>Status=Unauthorized Response={\"detail\":\"Invalid token\"}</b> then fetch your new API key from the site."
            },
            {
                "name": "passkey",
                "type": "text",
                "label": "Passkey"
            },
            {
                "name": "info_passkey",
                "type": "info",
                "label": "About your Passkey",
                "default": "Find your Passkey by accessing your <a href=\"https://trackerzero.it/\" target=\"_blank\">TrackerZero</a> <i>Profile</i> page and scrolling down to the <b>Passkey</b> section."
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents/latest",
            "method": "get"
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "limit": 100,
                "page": 1,
                "q": "{{ .Keywords }}",
                "sort_by": "{{ .Config.sort }}",
                "sort_dir": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "diacritics",
                    "args": "replace"
                }
            ],
            "rows": {
                "selector": "items"
            },
            "fields": {
                "category": {
                    "selector": "category.id"
                },
                "title": {
                    "selector": "name"
                },
                "_id": {
                    "selector": "id"
                },
                "details": {
                    "text": "{{ .Config.sitelink }}torrent/{{ .Result._id }}"
                },
                "download": {
                    "text": "{{ .Config.sitelink }}api/torrents/{{ .Result._id }}/download-rss?passkey={{ .Config.passkey }}"
                },
                "poster": {
                    "selector": "poster"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "completed"
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "traht": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "traht",
        "name": "TrahT",
        "description": "TrahT is a RUSSIAN Semi-Private Torrent Tracker for 3X",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "windows-1251",
        "links": [
            "https://traht.org/"
        ],
        "legacylinks": [
            "http://traht.org/"
        ],
        "caps": {
            "categories": {
                "xxx": "XXX"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(div.error)"
                },
                {
                    "selector": "title:contains(\"403\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "cat": 0,
                "year": 0,
                "format": 0
            },
            "rows": {
                "selector": "div[id^=\"releases-table\"] table.embedded tbody tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "text": "xxx"
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "append",
                            "args": "&ok="
                        }
                    ]
                },
                "date": {
                    "text": "now"
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "seeders": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                0
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "split",
                            "args": [
                                "|",
                                1
                            ]
                        }
                    ]
                },
                "description": {
                    "selector": "img",
                    "attribute": "title"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "trancetraffic": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "trancetraffic",
        "name": "TranceTraffic",
        "description": "TranceTraffic is a Private Torrent Tracker for MUSIC",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://www.trancetraffic.com/"
        ],
        "caps": {
            "categories": {
                "1": "Audio"
            },
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "artist"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"failed\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "search": "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}",
                "includeFL": "{{ if .Config.freeleech }}on{{ else }}{{ end }}"
            },
            "rows": {
                "selector": "table.mainouter table > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "text": 1
                },
                "download": {
                    "selector": "a[href^=\"download.php/\"]",
                    "attribute": "href"
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "&hit=1",
                                ""
                            ]
                        }
                    ]
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss"
                        }
                    ]
                },
                "seeders": {
                    "selector": "td:nth-child(9)"
                },
                "leechers": {
                    "selector": "td:nth-child(10)"
                },
                "grabs": {
                    "selector": "td:nth-child(8)"
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "span:contains(\"FREELEECH\")": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "trezzor": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "trezzor",
        "name": "TreZzoR",
        "description": "TreZzoR is a CZECH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "cs-CZ",
        "type": "private",
        "encoding": "windows-1250",
        "links": [
            "https://tracker.czech-server.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 31,
                    "cat": "Movies/HD",
                    "desc": "HD CZ/SK Dabing"
                },
                {
                    "id": 33,
                    "cat": "Movies/HD",
                    "desc": "HD CZ/SK Titulky"
                },
                {
                    "id": 41,
                    "cat": "TV/HD",
                    "desc": "HD Seriály CZ/SK dabing"
                },
                {
                    "id": 42,
                    "cat": "TV/HD",
                    "desc": "HD Seriály CZ/SK titulky"
                },
                {
                    "id": 1,
                    "cat": "Movies/BluRay",
                    "desc": "Full disc CZ/SK dabing"
                },
                {
                    "id": 2,
                    "cat": "Movies/BluRay",
                    "desc": "Full disc CZ/SK titulky"
                },
                {
                    "id": 4,
                    "cat": "Movies/SD",
                    "desc": "SD CZ/SK dabing"
                },
                {
                    "id": 36,
                    "cat": "Movies/SD",
                    "desc": "SD CZ/SK titulky"
                },
                {
                    "id": 7,
                    "cat": "TV/SD",
                    "desc": "Seriály CZ/SK dabing"
                },
                {
                    "id": 37,
                    "cat": "TV/SD",
                    "desc": "Seriály CZ/SK titulky"
                },
                {
                    "id": 35,
                    "cat": "Audio/Video",
                    "desc": "Hudebni video"
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "XXX CZ/SK"
                },
                {
                    "id": 13,
                    "cat": "Audio",
                    "desc": "Hudba"
                },
                {
                    "id": 24,
                    "cat": "Audio/Audiobook",
                    "desc": "Mluv. slovo CZ/SK dabing"
                },
                {
                    "id": 14,
                    "cat": "PC/Games",
                    "desc": "Hry"
                },
                {
                    "id": 17,
                    "cat": "PC/0day",
                    "desc": "Programy"
                },
                {
                    "id": 15,
                    "cat": "PC/Games",
                    "desc": "Cestiny,patche,upgrady"
                },
                {
                    "id": 18,
                    "cat": "Books",
                    "desc": "Knihy CZ/SK lokalizace"
                },
                {
                    "id": 19,
                    "cat": "Books/Comics",
                    "desc": "Komiks CZ/SK lokalizace"
                },
                {
                    "id": 16,
                    "cat": "Other",
                    "desc": "Foto,obrázky"
                },
                {
                    "id": 21,
                    "cat": "PC/Mobile-Android",
                    "desc": "Mobilmánia"
                },
                {
                    "id": 20,
                    "cat": "Console",
                    "desc": "Konzole"
                },
                {
                    "id": 43,
                    "cat": "Other",
                    "desc": "Online tvorba"
                },
                {
                    "id": 22,
                    "cat": "Other",
                    "desc": "Ostatní CZ/SK scéna"
                },
                {
                    "id": 23,
                    "cat": "Other",
                    "desc": "Na prani non CZ/SK"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "year"
                ],
                "movie-search": [
                    "q",
                    "year"
                ],
                "music-search": [
                    "q"
                ],
                "book-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": "data",
                "options": {
                    "data": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "filename": "title"
                }
            },
            {
                "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>Torrentu na strance:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_xxx",
                "type": "info",
                "label": "XXX Results",
                "default": "To include XXX in results, click <b>Kategoria XXX sa nezobrazuje!!!. povolit zobrazenie</b> on the tracker search page."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Park your account to protect it against deletion due to the fact that you have not logged in at least once every 3 months."
            }
        ],
        "login": {
            "path": "prihlasenie.php",
            "method": "post",
            "inputs": {
                "uid": "{{ .Config.username }}",
                "pwd": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div > font:has(a[href=\"neregpodp.php\"])"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "category": 0,
                "active": 0,
                "rok": "{{ .Query.Year }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)S(\\d{2})E(\\d{2})",
                        "$1 $2"
                    ]
                }
            ],
            "rows": {
                "selector": "tr.torrenty_lista{{ if .Config.freeleech }}:has(a[href^=\"details.php?slug=\"] b span[style=\"color:darkmagenta\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrents.php?onlycat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "onlycat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?slug=\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^(Zobrazit detaily|View details|Detaily): ",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[\\s\\->]*FREELEECH.*",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                ".*?/ ",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1,3})x(\\d{1,3})\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:Sezona|Series?|Seria|Season)[\\s\\.]*(\\d{1,3}(?:-\\d+)?)[\\.,\\s]*Epizoda[\\s\\.]*(\\d+(?:-\\d+)?)\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1,3}(?:-\\d+)?)[\\s\\.]*(?:Sezona|Series?|Seria|Season)[\\.,\\s]*(\\d+(?:-\\d+)?)[\\s\\.]*Epizoda\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:Sezona|Series?|Seria|Season)[\\s\\.]*(\\d{1,3}(?:-\\d+)?)[\\.,\\s]+(\\d+(?:-\\d+)?)[\\s\\.]*Epizoda\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:Sezona|Series?|Seria|Season)[\\s\\.]*(\\d{1,3})[-\\+\\.,\\s]+(\\d+)\\b",
                                "S$1-$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1,3})[-\\+\\.\\s]+(\\d+)[\\s\\.]*(?:Sezona|Series?|Seria|Season)\\b",
                                "S$1-$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:Sezona|Series?|Seria|Season)[\\s\\.]*(\\d{1,3}(?:-\\d+)?)\\b",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1,3}(?:-\\d+)?)[\\s\\.]*(?:Sezona|Series?|Seria|Season)\\b",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bEpizoda[\\s\\.]*(\\d+)[-\\+\\.,\\s]+(\\d+)\\b",
                                "E$1-$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d+)[-\\+\\.,\\s]+(\\d+)[\\s\\.]*Epizoda\\b",
                                "E$1-$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bEpizoda[\\s\\.]*(\\d+(?:-\\d+)?)\\b",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d+(?:-\\d+)?)[\\s\\.]*Epizoda\\b",
                                "E$1"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?slug=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?slug=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "d/M/yyyy HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8) a"
                },
                "leechers": {
                    "selector": "td:nth-child(9) a"
                },
                "grabs": {
                    "selector": "td:nth-child(10)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "a[href^=\"details.php?slug=\"] b span[style=\"color:darkmagenta\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "a[href^=\"details.php?slug=\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^(Zobrazit detaily|View details|Detaily): ",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[\\s\\->]*FREELEECH.*",
                                ""
                            ]
                        }
                    ]
                }
            }
        }
    },
    "trezzorcookie": {
        "credentials": {
            "cookie": ""
        },
        "id": "trezzorcookie",
        "name": "TreZzoRCookie",
        "description": "TreZzoR is a CZECH Private Torrent Tracker for MOVIES / TV / GENERAL. This uses the cookie method for access",
        "language": "cs-CZ",
        "type": "private",
        "encoding": "windows-1250",
        "links": [
            "https://tracker.czech-server.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 31,
                    "cat": "Movies/HD",
                    "desc": "HD CZ/SK Dabing"
                },
                {
                    "id": 33,
                    "cat": "Movies/HD",
                    "desc": "HD CZ/SK Titulky"
                },
                {
                    "id": 41,
                    "cat": "TV/HD",
                    "desc": "HD Seriály CZ/SK dabing"
                },
                {
                    "id": 42,
                    "cat": "TV/HD",
                    "desc": "HD Seriály CZ/SK titulky"
                },
                {
                    "id": 1,
                    "cat": "Movies/BluRay",
                    "desc": "Full disc CZ/SK dabing"
                },
                {
                    "id": 2,
                    "cat": "Movies/BluRay",
                    "desc": "Full disc CZ/SK titulky"
                },
                {
                    "id": 4,
                    "cat": "Movies/SD",
                    "desc": "SD CZ/SK dabing"
                },
                {
                    "id": 36,
                    "cat": "Movies/SD",
                    "desc": "SD CZ/SK titulky"
                },
                {
                    "id": 7,
                    "cat": "TV/SD",
                    "desc": "Seriály CZ/SK dabing"
                },
                {
                    "id": 37,
                    "cat": "TV/SD",
                    "desc": "Seriály CZ/SK titulky"
                },
                {
                    "id": 35,
                    "cat": "Audio/Video",
                    "desc": "Hudebni video"
                },
                {
                    "id": 32,
                    "cat": "XXX",
                    "desc": "XXX CZ/SK"
                },
                {
                    "id": 13,
                    "cat": "Audio",
                    "desc": "Hudba"
                },
                {
                    "id": 24,
                    "cat": "Audio/Audiobook",
                    "desc": "Mluv. slovo CZ/SK dabing"
                },
                {
                    "id": 14,
                    "cat": "PC/Games",
                    "desc": "Hry"
                },
                {
                    "id": 17,
                    "cat": "PC/0day",
                    "desc": "Programy"
                },
                {
                    "id": 15,
                    "cat": "PC/Games",
                    "desc": "Cestiny,patche,upgrady"
                },
                {
                    "id": 18,
                    "cat": "Books",
                    "desc": "Knihy CZ/SK lokalizace"
                },
                {
                    "id": 19,
                    "cat": "Books/Comics",
                    "desc": "Komiks CZ/SK lokalizace"
                },
                {
                    "id": 16,
                    "cat": "Other",
                    "desc": "Foto,obrázky"
                },
                {
                    "id": 21,
                    "cat": "PC/Mobile-Android",
                    "desc": "Mobilmánia"
                },
                {
                    "id": 20,
                    "cat": "Console",
                    "desc": "Konzole"
                },
                {
                    "id": 43,
                    "cat": "Other",
                    "desc": "Online tvorba"
                },
                {
                    "id": 22,
                    "cat": "Other",
                    "desc": "Ostatní CZ/SK scéna"
                },
                {
                    "id": 23,
                    "cat": "Other",
                    "desc": "Na prani non CZ/SK"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "year"
                ],
                "movie-search": [
                    "q",
                    "year"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter FreeLeech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "data",
                "options": {
                    "data": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "filename": "title"
                }
            },
            {
                "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>Torrentu na strance:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_xxx",
                "type": "info",
                "label": "XXX Results",
                "default": "To include XXX in results, click <b>Kategoria XXX sa nezobrazuje!!!. povolit zobrazenie</b> on the tracker search page."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Park your account to protect it against deletion due to the fact that you have not logged in at least once every 3 months."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "category": 0,
                "active": 0,
                "rok": "{{ .Query.Year }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)S(\\d{2})E(\\d{2})",
                        "$1 $2"
                    ]
                }
            ],
            "rows": {
                "selector": "tr.torrenty_lista{{ if .Config.freeleech }}:has(a[href^=\"details.php?slug=\"] b span[style=\"color:darkmagenta\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"torrents.php?onlycat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "onlycat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?slug=\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^(Zobrazit detaily|View details|Detaily): ",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[\\s\\->]*FREELEECH.*",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                ".*?/ ",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1,3})x(\\d{1,3})\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:Sezona|Series?|Seria|Season)[\\s\\.]*(\\d{1,3}(?:-\\d+)?)[\\.,\\s]*Epizoda[\\s\\.]*(\\d+(?:-\\d+)?)\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1,3}(?:-\\d+)?)[\\s\\.]*(?:Sezona|Series?|Seria|Season)[\\.,\\s]*(\\d+(?:-\\d+)?)[\\s\\.]*Epizoda\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:Sezona|Series?|Seria|Season)[\\s\\.]*(\\d{1,3}(?:-\\d+)?)[\\.,\\s]+(\\d+(?:-\\d+)?)[\\s\\.]*Epizoda\\b",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:Sezona|Series?|Seria|Season)[\\s\\.]*(\\d{1,3})[-\\+\\.,\\s]+(\\d+)\\b",
                                "S$1-$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1,3})[-\\+\\.\\s]+(\\d+)[\\s\\.]*(?:Sezona|Series?|Seria|Season)\\b",
                                "S$1-$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(?:Sezona|Series?|Seria|Season)[\\s\\.]*(\\d{1,3}(?:-\\d+)?)\\b",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1,3}(?:-\\d+)?)[\\s\\.]*(?:Sezona|Series?|Seria|Season)\\b",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bEpizoda[\\s\\.]*(\\d+)[-\\+\\.,\\s]+(\\d+)\\b",
                                "E$1-$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d+)[-\\+\\.,\\s]+(\\d+)[\\s\\.]*Epizoda\\b",
                                "E$1-$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bEpizoda[\\s\\.]*(\\d+(?:-\\d+)?)\\b",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d+(?:-\\d+)?)[\\s\\.]*Epizoda\\b",
                                "E$1"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href^=\"details.php?slug=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?slug=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(6)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +02:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "d/M/yyyy HH:mm zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(7)"
                },
                "seeders": {
                    "selector": "td:nth-child(8) a"
                },
                "leechers": {
                    "selector": "td:nth-child(9) a"
                },
                "grabs": {
                    "selector": "td:nth-child(10)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "a[href^=\"details.php?slug=\"] b span[style=\"color:darkmagenta\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "description": {
                    "selector": "a[href^=\"details.php?slug=\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^(Zobrazit detaily|View details|Detaily): ",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[\\s\\->]*FREELEECH.*",
                                ""
                            ]
                        }
                    ]
                }
            }
        }
    },
    "tribalmixes": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "tribalmixes",
        "name": "TribalMixes",
        "description": "TribalMixes is a Semi-Private Torrent Tracker for DJ MIXES",
        "language": "en-GB",
        "type": "semi-private",
        "encoding": "ISO-8859-1",
        "links": [
            "https://www.tribalmixes.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Audio",
                    "desc": "tribal"
                },
                {
                    "id": 2,
                    "cat": "Audio",
                    "desc": "electro"
                },
                {
                    "id": 3,
                    "cat": "Audio",
                    "desc": "chillout"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "house"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "video"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "breaks"
                },
                {
                    "id": 7,
                    "cat": "Audio",
                    "desc": "trance"
                },
                {
                    "id": 8,
                    "cat": "Audio",
                    "desc": "deep house"
                },
                {
                    "id": 9,
                    "cat": "Audio",
                    "desc": "techno"
                },
                {
                    "id": 10,
                    "cat": "Audio",
                    "desc": "drum&bass"
                },
                {
                    "id": 11,
                    "cat": "Audio",
                    "desc": "classic"
                },
                {
                    "id": 12,
                    "cat": "Audio",
                    "desc": "minimal"
                },
                {
                    "id": 14,
                    "cat": "Audio",
                    "desc": "progressive"
                },
                {
                    "id": 15,
                    "cat": "Audio",
                    "desc": "tech house"
                },
                {
                    "id": 16,
                    "cat": "Audio",
                    "desc": "psy-goa trance"
                },
                {
                    "id": 17,
                    "cat": "Audio",
                    "desc": "electro-tribe"
                },
                {
                    "id": 18,
                    "cat": "Audio",
                    "desc": "mega-pack"
                },
                {
                    "id": 19,
                    "cat": "Audio",
                    "desc": "dark"
                },
                {
                    "id": 20,
                    "cat": "Audio",
                    "desc": "dubstep"
                },
                {
                    "id": 22,
                    "cat": "Audio",
                    "desc": "misc"
                },
                {
                    "id": 30,
                    "cat": "Audio",
                    "desc": "(tm) mixes"
                },
                {
                    "id": 31,
                    "cat": "Audio",
                    "desc": "(tm) ONLY"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-search": [
                    "q",
                    "artist"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "_",
                "options": {
                    "_": "created",
                    "8": "seeders",
                    "6": "size",
                    "1": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "div.alert-danger"
                }
            ],
            "test": {
                "path": "/",
                "selector": "a[href=\"/logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "search": "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}",
                "sort": "{{ re_replace .Config.sort \"_\" \"\" }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "div.row:has(a[href^=\"/download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href*=\"/details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href*=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/download.php?id=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "a[href^=\"/download.php?id=\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Size: (.+?)<"
                        }
                    ]
                },
                "files": {
                    "selector": "a[href^=\"/download.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": 1,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "\\((\\d+) files\\)"
                        }
                    ]
                },
                "seeders": {
                    "selector": "a[href^=\"/download.php?id=\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": ">(\\d+) seeder"
                        }
                    ]
                },
                "leechers": {
                    "selector": "a[href^=\"/download.php?id=\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": ", (\\d+) leecher"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "-1",
                                "0"
                            ]
                        }
                    ]
                },
                "date": {
                    "selector": "a[href^=\"/download.php?id=\"]",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "shared (.+?)<"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.8
                },
                "minimumseedtime": {
                    "text": 43200
                }
            }
        }
    },
    "turkseed-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "turkseed-api",
        "name": "TurkSeed (API)",
        "description": "TurkSeed (Aturk) is a TURKISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "tr-TR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://turkseed.com/"
        ],
        "legacylinks": [
            "https://turkseed.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies/Foreign",
                    "desc": "Yabancı Film"
                },
                {
                    "id": 2,
                    "cat": "Movies",
                    "desc": "Yerli Film"
                },
                {
                    "id": 24,
                    "cat": "Movies",
                    "desc": "Film (Boxet)"
                },
                {
                    "id": 6,
                    "cat": "TV",
                    "desc": "Dizi / Show (Yerli)"
                },
                {
                    "id": 5,
                    "cat": "TV/Foreign",
                    "desc": "Dizi / Show (Yabancı)"
                },
                {
                    "id": 18,
                    "cat": "TV",
                    "desc": "Dizi (Boxet)"
                },
                {
                    "id": 25,
                    "cat": "TV/Documentary",
                    "desc": "Belgesel"
                },
                {
                    "id": 28,
                    "cat": "Console",
                    "desc": "GAME - OYUN"
                },
                {
                    "id": 26,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 27,
                    "cat": "PC",
                    "desc": "PROGRAM"
                },
                {
                    "id": 30,
                    "cat": "Audio",
                    "desc": "Music"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://turkseed.com/\" target=\"_blank\">TurkSeed</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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 that do not download a 15GB torrent from our site within a month will receive a warning (will be closed)! Accounts that do not upload (seed, share) 20gb on our site within a month will receive a warning (will be closed)! The account that receives three warnings will be automatically closed! No objections are accepted to the deletion of accounts that have not been on our site for six months and have not been active in any way!"
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Bilim Kurgu)",
                                "Bilim_Kurgu"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Pembe Dizi)",
                                "Pembe_Dizi"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV film)",
                                "TV_film"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Vahşi Batı)",
                                "Vahşi_Batı"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "turktorrent": {
        "credentials": {
            "cookie": "",
            "useragent": ""
        },
        "id": "turktorrent",
        "name": "TurkTorrent",
        "description": "TurkTorrent (TT) is a TURKISH Private PAY2DL Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "tr-TR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://turktorrent.us/"
        ],
        "legacylinks": [
            "http://turktorrent1.in/",
            "http://turktorrent.us/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 36,
                    "cat": "Movies",
                    "desc": "Film"
                },
                {
                    "id": 59,
                    "cat": "Movies",
                    "desc": "Film Türk Filmi"
                },
                {
                    "id": 30,
                    "cat": "Movies/HD",
                    "desc": "Film X264"
                },
                {
                    "id": 28,
                    "cat": "Movies/HD",
                    "desc": "Film X265"
                },
                {
                    "id": 69,
                    "cat": "Movies/WEB-DL",
                    "desc": "Film H264 WEB-DL"
                },
                {
                    "id": 18,
                    "cat": "Movies",
                    "desc": "Anime - Çizgi"
                },
                {
                    "id": 76,
                    "cat": "Movies",
                    "desc": "Film Yabancı Dil - Altyazısız"
                },
                {
                    "id": 20,
                    "cat": "Movies",
                    "desc": "Film Boxset"
                },
                {
                    "id": 24,
                    "cat": "Movies/BluRay",
                    "desc": "Film 4K/1080P Bluray Disk"
                },
                {
                    "id": 63,
                    "cat": "Movies/SD",
                    "desc": "Film 3D/DVD/XviD"
                },
                {
                    "id": 51,
                    "cat": "Other",
                    "desc": "Diğer"
                },
                {
                    "id": 62,
                    "cat": "Other",
                    "desc": "Diğer Eğitim"
                },
                {
                    "id": 52,
                    "cat": "Other",
                    "desc": "Diğer Belgesel"
                },
                {
                    "id": 53,
                    "cat": "Other",
                    "desc": "Diğer Dini Yayınlar"
                },
                {
                    "id": 54,
                    "cat": "TV/Sport",
                    "desc": "Spor"
                },
                {
                    "id": 56,
                    "cat": "Other",
                    "desc": "Diğer Her Şey"
                },
                {
                    "id": 65,
                    "cat": "Books/EBook",
                    "desc": "E-Kitap"
                },
                {
                    "id": 35,
                    "cat": "TV",
                    "desc": "Netflix"
                },
                {
                    "id": 41,
                    "cat": "TV",
                    "desc": "Netflix Animasyon"
                },
                {
                    "id": 39,
                    "cat": "TV",
                    "desc": "Netflix Film"
                },
                {
                    "id": 38,
                    "cat": "TV",
                    "desc": "Netflix Dizi"
                },
                {
                    "id": 40,
                    "cat": "TV",
                    "desc": "Netflix Belgesel"
                },
                {
                    "id": 104,
                    "cat": "TV",
                    "desc": "Netflix Reality/Yarışma"
                },
                {
                    "id": 47,
                    "cat": "PC",
                    "desc": "Programlar"
                },
                {
                    "id": 48,
                    "cat": "PC",
                    "desc": "Programlar Windows"
                },
                {
                    "id": 96,
                    "cat": "PC",
                    "desc": "Programlar Linux"
                },
                {
                    "id": 49,
                    "cat": "PC",
                    "desc": "Programlar MaC"
                },
                {
                    "id": 50,
                    "cat": "PC",
                    "desc": "Programlar Mobile"
                },
                {
                    "id": 83,
                    "cat": "TV",
                    "desc": "Dijital Platform"
                },
                {
                    "id": 86,
                    "cat": "TV",
                    "desc": "Dijital Platform AMAZON"
                },
                {
                    "id": 102,
                    "cat": "TV",
                    "desc": "Dijital Platform ATVP"
                },
                {
                    "id": 85,
                    "cat": "TV",
                    "desc": "Dijital Platform BEiN/TOD"
                },
                {
                    "id": 84,
                    "cat": "TV",
                    "desc": "Dijital Platform BluTV"
                },
                {
                    "id": 98,
                    "cat": "TV",
                    "desc": "Dijital Platform DSNP"
                },
                {
                    "id": 77,
                    "cat": "TV",
                    "desc": "Dijital Platform EXXEN"
                },
                {
                    "id": 87,
                    "cat": "TV",
                    "desc": "Dijital Platform GAIN"
                },
                {
                    "id": 105,
                    "cat": "TV",
                    "desc": "Dijital Platform Max"
                },
                {
                    "id": 101,
                    "cat": "TV",
                    "desc": "Dijital Platform MUBi"
                },
                {
                    "id": 103,
                    "cat": "TV",
                    "desc": "Dijital Platform TABii"
                },
                {
                    "id": 88,
                    "cat": "TV",
                    "desc": "Dijital Platform TV+"
                },
                {
                    "id": 89,
                    "cat": "TV",
                    "desc": "Dijital Platform Diger"
                },
                {
                    "id": 31,
                    "cat": "TV",
                    "desc": "Dizi"
                },
                {
                    "id": 32,
                    "cat": "TV",
                    "desc": "Dizi Yerli"
                },
                {
                    "id": 33,
                    "cat": "TV",
                    "desc": "Dizi Yabancı / TR Dublaj"
                },
                {
                    "id": 34,
                    "cat": "TV",
                    "desc": "Dizi Boxset"
                },
                {
                    "id": 42,
                    "cat": "Audio",
                    "desc": "Müzik"
                },
                {
                    "id": 43,
                    "cat": "Audio",
                    "desc": "Müzik Yerli"
                },
                {
                    "id": 44,
                    "cat": "Audio",
                    "desc": "Müzik Yabancı"
                },
                {
                    "id": 45,
                    "cat": "Audio",
                    "desc": "Müzik Diskografi"
                },
                {
                    "id": 2,
                    "cat": "Console",
                    "desc": "Oyun"
                },
                {
                    "id": 46,
                    "cat": "Console",
                    "desc": "Oyun PC"
                },
                {
                    "id": 16,
                    "cat": "Console",
                    "desc": "Oyun Konsol"
                },
                {
                    "id": 57,
                    "cat": "Other",
                    "desc": "VIP"
                },
                {
                    "id": 66,
                    "cat": "Other",
                    "desc": "VIP Vip"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "useragent",
                "type": "text",
                "label": "User-Agent"
            },
            {
                "name": "info_useragent",
                "type": "info_useragent"
            },
            {
                "name": "info_profile",
                "type": "info",
                "label": "Layout",
                "default": "<ul><li>Only the English Classic profile is supported.</li><li>Make sure to set the <b>Torrent Listing (Listeleme Biçimi)</b> option in your profile to <b>Classic (Klasik)</b></li><li>And set the <b>Language (Dil)</b> to <b>English</b></li><li>Using the <i>Modern</i> theme will prevent results, and using <i>Turkish</i> will prevent upload dates.</li></ul>"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "?p=home&pid=1",
                "selector": "a#logout"
            }
        },
        "search": {
            "headers": {
                "User-Agent": [
                    "{{ .Config.useragent }}"
                ]
            },
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "p": "torrents",
                "pid": 32,
                "$raw": "{{ range .Categories }}cid[]={{.}}&{{end}}",
                "keywords": "{{ .Keywords }}",
                "search_type": "names",
                "sortOptions[sortBy]": "{{ .Config.sort }}",
                "sortOptions[sortOrder]": "{{ .Config.type }}"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\b(\\d{4})\\.(\\d{2})\\.(\\d{2})\\b",
                        "$3.$2.$1"
                    ]
                }
            ],
            "rows": {
                "selector": "table#torrents_tables_classic > tbody > tr:has(td.torrent_name){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "div.category_image > a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cid"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details\"]",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "\\b(\\d{2})\\.(\\d{2})\\.(\\d{4})\\b",
                                "$3.$2.$1"
                            ]
                        }
                    ]
                },
                "details": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=details\"]",
                    "attribute": "href"
                },
                "date_day": {
                    "selector": "td.torrent_name:contains(\" at \"):not(:has(abbr[data-time]))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "fuzzytime"
                        }
                    ]
                },
                "date_year": {
                    "selector": "td.torrent_name:not(:contains(\" at \")):not(:has(abbr[data-time]))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "Uploaded (.+?) by"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "date_unix": {
                    "selector": "abbr[data-time]",
                    "attribute": "data-time",
                    "optional": true
                },
                "date": {
                    "text": "{{ if or .Result.date_day .Result.date_year .Result.date_unix }}{{ or .Result.date_day .Result.date_year .Result.date_unix }}{{ else }}now{{ end }}"
                },
                "download": {
                    "selector": "a[href*=\"?p=torrents&pid=10&action=download\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "optional": true,
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "a[rel=\"torrent_size\"]"
                },
                "seeders": {
                    "selector": "a[rel=\"torrent_seeders\"]"
                },
                "leechers": {
                    "selector": "a[rel=\"torrent_leechers\"]"
                },
                "grabs": {
                    "selector": "a[rel=\"times_completed\"]"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"/freedownload.gif\"]": 0,
                        "img[src$=\"/silverdownload.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"/torrent_x2.png\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.5
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "u2": {
        "credentials": {
            "cookie": ""
        },
        "id": "u2",
        "name": "U2",
        "description": "U2 (U2分享園@動漫花園) is a CHINESE Private Torrent Tracker for ANIME",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://u2.dmhy.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 9,
                    "cat": "TV/Anime",
                    "desc": "U2-Rip"
                },
                {
                    "id": 411,
                    "cat": "TV/Anime",
                    "desc": "U2-RBD"
                },
                {
                    "id": 413,
                    "cat": "TV/Anime",
                    "desc": "Web"
                },
                {
                    "id": 12,
                    "cat": "TV/Anime",
                    "desc": "BDRip"
                },
                {
                    "id": 13,
                    "cat": "TV/Anime",
                    "desc": "DVDRip"
                },
                {
                    "id": 14,
                    "cat": "TV/Anime",
                    "desc": "HDTV"
                },
                {
                    "id": 15,
                    "cat": "TV/Anime",
                    "desc": "DVDISO"
                },
                {
                    "id": 16,
                    "cat": "TV/Anime",
                    "desc": "BDMV"
                },
                {
                    "id": 17,
                    "cat": "TV/Anime",
                    "desc": "LQRip"
                },
                {
                    "id": 410,
                    "cat": "TV/Anime",
                    "desc": "外挂结构 (TV Series)"
                },
                {
                    "id": 412,
                    "cat": "TV/Anime",
                    "desc": "加流重灌 (Modded Blu-rays)"
                },
                {
                    "id": 21,
                    "cat": "Books",
                    "desc": "原版漫画 (Raw Books)"
                },
                {
                    "id": 22,
                    "cat": "Books",
                    "desc": "翻译漫画 (Translated Books)"
                },
                {
                    "id": 30,
                    "cat": "Audio",
                    "desc": "Lossless Music"
                },
                {
                    "id": 40,
                    "cat": "Other",
                    "desc": "Others"
                },
                {
                    "id": 9,
                    "cat": "Movies/Other",
                    "desc": "U2-Rip"
                },
                {
                    "id": 411,
                    "cat": "Movies/Other",
                    "desc": "U2-RBD"
                },
                {
                    "id": 413,
                    "cat": "Movies/Other",
                    "desc": "Web"
                },
                {
                    "id": 12,
                    "cat": "Movies/HD",
                    "desc": "BDRip"
                },
                {
                    "id": 13,
                    "cat": "Movies/Other",
                    "desc": "DVDRip"
                },
                {
                    "id": 14,
                    "cat": "Movies/Other",
                    "desc": "HDTV"
                },
                {
                    "id": 15,
                    "cat": "Movies/Other",
                    "desc": "DVDISO"
                },
                {
                    "id": 16,
                    "cat": "Movies/BluRay",
                    "desc": "BDMV"
                },
                {
                    "id": 17,
                    "cat": "Movies/Other",
                    "desc": "LQRip"
                },
                {
                    "id": 412,
                    "cat": "Movies/BluRay",
                    "desc": "加流重灌 (Modded Blu-rays)"
                }
            ],
            "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_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?key=\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > time[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(time[title])",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img"
                }
            }
        }
    },
    "u3c3": {
        "id": "u3c3",
        "name": "U3C3",
        "description": "U3C3 is a CHINESE Public tracker focused on 3X Eastern Asian media",
        "language": "zh-CN",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://u3c3.com/",
            "https://u001.25img.com/",
            "https://u002.25img.com/",
            "https://u003.25img.com/",
            "https://m0m0m1m.mnmnmnmnmn.com/"
        ],
        "legacylinks": [
            "https://u3c3.in/",
            "https://a.u3c3.life/",
            "https://m0m0m0m.mnmnmnmnmn.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "國產原创",
                    "cat": "XXX",
                    "desc": "國產原创"
                },
                {
                    "id": "U3C3",
                    "cat": "XXX",
                    "desc": "U3C3"
                },
                {
                    "id": "Video",
                    "cat": "XXX",
                    "desc": "Video"
                },
                {
                    "id": "Photo",
                    "cat": "XXX/ImageSet",
                    "desc": "Photo"
                },
                {
                    "id": "Book",
                    "cat": "Books",
                    "desc": "Book"
                },
                {
                    "id": "Game",
                    "cat": "Console",
                    "desc": "Game"
                },
                {
                    "id": "Software",
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": "Other",
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "search2": "{{ if .Keywords }}eelja3lfe1a1{{ else }}{{ end }}",
                "search": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "table.torrent-list > tbody > tr:has(a[href^=\"/view?id=\"])",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/?type=\"]",
                    "attribute": "title"
                },
                "title": {
                    "selector": "a[href^=\"/view?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"/view?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(4)"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "ubits": {
        "credentials": {
            "cookie": ""
        },
        "id": "ubits",
        "name": "UBits",
        "description": "UBits is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://ubits.club/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影(Movie)"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片(Documentaries)"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫(Animations)"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧(TV Series)"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺（TV Shows）"
                },
                {
                    "id": 409,
                    "cat": "Audio/Video",
                    "desc": "演唱会(Music Videos"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育节目(Sports)"
                },
                {
                    "id": 406,
                    "cat": "Audio/Lossless",
                    "desc": "音乐CD(Music CD Tracker)"
                },
                {
                    "id": 415,
                    "cat": "Audio/Audiobook",
                    "desc": "有声书(Audiobook)"
                },
                {
                    "id": 408,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Userswith a parked account will be deleted if they do not log in for 180 consecutive days</li><li>Users with non-parked account will be deleted if they do not log in for 120 consecutive days</li><li>Users with no traffic (ie, upload/download data are both 0) will be deleted if they do not log in for 60 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "case": {
                        "img.hitandrun": 100,
                        "*": 0.8
                    }
                },
                "minimumseedtime": {
                    "case": {
                        "img.hitandrun": 259200,
                        "*": 8640000
                    }
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "uindex": {
        "id": "uindex",
        "name": "Uindex",
        "description": "Uindex is a Public Torrent Tracker for MOVIES / TV / MUSIC / GENERAL",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://uindex.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 4,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 5,
                    "cat": "PC",
                    "desc": "Apps"
                },
                {
                    "id": 6,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 7,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 8,
                    "cat": "Other",
                    "desc": "Other"
                },
                {
                    "id": 0,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "search.php"
                }
            ],
            "allowEmptyInputs": true,
            "inputs": {
                "search": "{{ .Keywords }}",
                "c": 0
            },
            "rows": {
                "selector": "table.sr-table > tbody > tr:has(a[href^=\"magnet:?xt=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/search.php?c=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "c"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td.sr-col-uploaded"
                },
                "size": {
                    "selector": "td.sr-col-size"
                },
                "seeders": {
                    "selector": "td.sr-col-seeders"
                },
                "leechers": {
                    "selector": "td.sr-col-leechers"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "ultrabits-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "ultrabits-api",
        "name": "Ultrabits (API)",
        "description": "Ultrabits is a NORDIC Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "sv-SE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://ultrabits.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "Movie-x264",
                    "cat": "Movies/HD",
                    "desc": "Movies/x264"
                },
                {
                    "id": "Movie-x265",
                    "cat": "Movies/HD",
                    "desc": "Movies/x265"
                },
                {
                    "id": "Movie-UHD",
                    "cat": "Movies/UHD",
                    "desc": "Movies/UHD"
                },
                {
                    "id": "Movie-Remux",
                    "cat": "Movies/UHD",
                    "desc": "Movies/Remux"
                },
                {
                    "id": "Movie-BD",
                    "cat": "Movies/BluRay",
                    "desc": "Movies/BluRay"
                },
                {
                    "id": "Movie-DVD",
                    "cat": "Movies/DVD",
                    "desc": "Movies/DVDR"
                },
                {
                    "id": "Movie-WEB",
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies/WEB-DL"
                },
                {
                    "id": "Movie-Subpack",
                    "cat": "Movies/Foreign",
                    "desc": "Movies/Subpack"
                },
                {
                    "id": "TV-x264",
                    "cat": "TV/HD",
                    "desc": "TV/x264"
                },
                {
                    "id": "TV-x265",
                    "cat": "TV/HD",
                    "desc": "TV/x265"
                },
                {
                    "id": "TV-UHD",
                    "cat": "TV/UHD",
                    "desc": "TV/UHD"
                },
                {
                    "id": "TV-WEB",
                    "cat": "TV/WEB-DL",
                    "desc": "TV/WEB-DL"
                },
                {
                    "id": "TV-DVD",
                    "cat": "TV/SD",
                    "desc": "TV/DVDR"
                },
                {
                    "id": "TV-Nordic",
                    "cat": "TV/Foreign",
                    "desc": "TV/Nordic"
                },
                {
                    "id": "TV-Remux",
                    "cat": "TV",
                    "desc": "TV/Remux"
                },
                {
                    "id": "TV-BD",
                    "cat": "TV/HD",
                    "desc": "TV/BluRay"
                },
                {
                    "id": "TV-Subpack",
                    "cat": "TV/Foreign",
                    "desc": "TV/Subpack"
                },
                {
                    "id": "FLAC",
                    "cat": "Audio/Lossless",
                    "desc": "Audio/FLAC"
                },
                {
                    "id": "MP3",
                    "cat": "Audio/MP3",
                    "desc": "Audio/MP3"
                },
                {
                    "id": "MusicVid",
                    "cat": "Audio/Video",
                    "desc": "Audio/Video"
                },
                {
                    "id": "MusicDisc",
                    "cat": "Audio/Lossless",
                    "desc": "Audio/Disc"
                },
                {
                    "id": "Podcast",
                    "cat": "Audio/Other",
                    "desc": "Audio/Podcast"
                },
                {
                    "id": "Game-PC",
                    "cat": "PC/Games",
                    "desc": "PC/Games"
                },
                {
                    "id": "Game-PS",
                    "cat": "Console/PS4",
                    "desc": "Console/PlayStation"
                },
                {
                    "id": "Game-Xbox",
                    "cat": "Console/XBox One",
                    "desc": "Console/Xbox"
                },
                {
                    "id": "Game-NSW",
                    "cat": "Console/Other",
                    "desc": "Console/Switch"
                },
                {
                    "id": "0DAY",
                    "cat": "PC/0day",
                    "desc": "PC/0DAY"
                },
                {
                    "id": "App-ISO",
                    "cat": "PC/ISO",
                    "desc": "PC/ISO"
                },
                {
                    "id": "App-Mobile",
                    "cat": "PC/Mobile-Android",
                    "desc": "PC/Mobile"
                },
                {
                    "id": "eBook",
                    "cat": "Books/EBook",
                    "desc": "Books/eBook"
                },
                {
                    "id": "AudioBook",
                    "cat": "Audio/Audiobook",
                    "desc": "Books/Audiobook"
                },
                {
                    "id": "Magazine",
                    "cat": "Books/Mags",
                    "desc": "Books/Magazine"
                },
                {
                    "id": "Comic",
                    "cat": "Books/Comics",
                    "desc": "Books/Comics"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Key by accessing your <a href=\"https://ultrabits.org/profile/settings/api-keys\" target=\"_blank\">Ultrabits</a> account <i>API keys</i> page."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size"
                }
            },
            {
                "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": "Log in to the website at least every 3 months to avoid account deactivation."
            }
        ],
        "login": {
            "path": "v1/jackett/search",
            "method": "get",
            "inputs": {
                "apikey": "{{ .Config.apikey }}",
                "limit": 1
            },
            "error": [
                {
                    "selector": "error",
                    "message": {
                        "selector": "description"
                    }
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "/v1/jackett/search",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "q": "{{ .Keywords }}",
                "apikey": "{{ .Config.apikey }}",
                "cat": "{{ join .Categories \",\" }}",
                "imdbid": "{{ .Query.IMDBIDShort }}",
                "tmdbid": "{{ .Query.TMDBID }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}",
                "sort": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}",
                "limit": 100
            },
            "rows": {
                "selector": "data",
                "count": {
                    "selector": "total"
                }
            },
            "fields": {
                "title": {
                    "selector": "name"
                },
                "details": {
                    "selector": "detailsUrl"
                },
                "download": {
                    "selector": "downloadUrl"
                },
                "category": {
                    "selector": "category"
                },
                "size": {
                    "selector": "size"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "grabs"
                },
                "date": {
                    "selector": "addedAt",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "infohash": {
                    "selector": "infoHash",
                    "optional": true
                },
                "imdb": {
                    "selector": "imdb"
                },
                "tmdbid": {
                    "selector": "tmdbId"
                },
                "downloadvolumefactor": {
                    "selector": "downloadvolumefactor"
                },
                "uploadvolumefactor": {
                    "selector": "uploadvolumefactor"
                },
                "minimumratio": {
                    "text": 1.1
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "ultrahd": {
        "credentials": {
            "cookie": ""
        },
        "id": "ultrahd",
        "name": "UltraHD",
        "description": "UltraHD is a CHINESE Private Torrent Tracker for UHD MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://ultrahd.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations"
                },
                {
                    "id": 416,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 417,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts (i.e. not logged in for a long time) are automatically deleted."
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"usercp.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "case": {
                        "img.hitandrun": 1209600,
                        "*": 604800
                    }
                },
                "minimumratio": {
                    "case": {
                        "img.hitandrun": 3,
                        "*": 2
                    }
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "unbreakable": {
        "credentials": {
            "username": "",
            "password": "",
            "pin": ""
        },
        "id": "unbreakable",
        "name": "Unbreakable",
        "description": "Unbreakable is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://unbreakable5.eu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 157,
                    "cat": "TV/Documentary",
                    "desc": "Doku 1080p"
                },
                {
                    "id": 167,
                    "cat": "TV/Documentary",
                    "desc": "Doku 2160p"
                },
                {
                    "id": 156,
                    "cat": "TV/Documentary",
                    "desc": "Doku 720p"
                },
                {
                    "id": 165,
                    "cat": "TV/Documentary",
                    "desc": "Doku Pack 1080p"
                },
                {
                    "id": 164,
                    "cat": "TV/Documentary",
                    "desc": "Doku Pack 720p"
                },
                {
                    "id": 163,
                    "cat": "TV/Documentary",
                    "desc": "Doku Pack SD"
                },
                {
                    "id": 135,
                    "cat": "TV/Documentary",
                    "desc": "Doku Packs 2160p"
                },
                {
                    "id": 155,
                    "cat": "TV/Documentary",
                    "desc": "Doku SD x264/x265"
                },
                {
                    "id": 152,
                    "cat": "Books/EBook",
                    "desc": "E-Books"
                },
                {
                    "id": 168,
                    "cat": "Movies/Other",
                    "desc": "Filme Anime"
                },
                {
                    "id": 103,
                    "cat": "Movies/BluRay",
                    "desc": "Filme Blu-Ray"
                },
                {
                    "id": 104,
                    "cat": "Movies/DVD",
                    "desc": "Filme DVD-R"
                },
                {
                    "id": 141,
                    "cat": "Movies/HD",
                    "desc": "Filme HD 1080p"
                },
                {
                    "id": 154,
                    "cat": "Movies/HD",
                    "desc": "Filme HD 720p"
                },
                {
                    "id": 166,
                    "cat": "Movies/Foreign",
                    "desc": "Filme International"
                },
                {
                    "id": 139,
                    "cat": "Movies/HD",
                    "desc": "Filme Packs HD 1080p"
                },
                {
                    "id": 106,
                    "cat": "Movies/HD",
                    "desc": "Filme Packs HD 720p"
                },
                {
                    "id": 105,
                    "cat": "Movies/SD",
                    "desc": "Filme Packs SD x264/x265"
                },
                {
                    "id": 119,
                    "cat": "Movies/UHD",
                    "desc": "Filme Packs UHD 2160p"
                },
                {
                    "id": 153,
                    "cat": "Movies/SD",
                    "desc": "Filme SD x264/x265"
                },
                {
                    "id": 140,
                    "cat": "Movies/UHD",
                    "desc": "Filme UHD 2160p"
                },
                {
                    "id": 102,
                    "cat": "Movies/Other",
                    "desc": "Filmklassiker"
                },
                {
                    "id": 127,
                    "cat": "Movies/Other",
                    "desc": "Filmklassiker Packs"
                },
                {
                    "id": 118,
                    "cat": "Audio/Audiobook",
                    "desc": "Hörbücher"
                },
                {
                    "id": 109,
                    "cat": "Audio/Lossless",
                    "desc": "Musik Flac"
                },
                {
                    "id": 129,
                    "cat": "Audio/MP3",
                    "desc": "Musik MP3"
                },
                {
                    "id": 111,
                    "cat": "Audio/Lossless",
                    "desc": "Musik Packs Flac"
                },
                {
                    "id": 112,
                    "cat": "Audio/MP3",
                    "desc": "Musik Packs MP3"
                },
                {
                    "id": 161,
                    "cat": "Console/NDS",
                    "desc": "Nintendo Switch"
                },
                {
                    "id": 162,
                    "cat": "Console/PS3",
                    "desc": "Playstation"
                },
                {
                    "id": 115,
                    "cat": "TV/Anime",
                    "desc": "Series Anime"
                },
                {
                    "id": 113,
                    "cat": "TV/HD",
                    "desc": "Serie HD 1080p"
                },
                {
                    "id": 125,
                    "cat": "TV/HD",
                    "desc": "Serie HD 720p"
                },
                {
                    "id": 144,
                    "cat": "TV/Anime",
                    "desc": "Serie Packs Anime"
                },
                {
                    "id": 138,
                    "cat": "TV/HD",
                    "desc": "Serie Packs HD 1080p"
                },
                {
                    "id": 116,
                    "cat": "TV/HD",
                    "desc": "Serie Packs HD 720p"
                },
                {
                    "id": 137,
                    "cat": "TV/SD",
                    "desc": "Serie Packs SD x264/x265"
                },
                {
                    "id": 143,
                    "cat": "TV/UHD",
                    "desc": "Serie Packs UHD 2160p"
                },
                {
                    "id": 133,
                    "cat": "TV/SD",
                    "desc": "Serie SD x264/x265"
                },
                {
                    "id": 114,
                    "cat": "TV/UHD",
                    "desc": "Serie UHD 2160p"
                },
                {
                    "id": 169,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 150,
                    "cat": "PC/0day",
                    "desc": "Windows Apps"
                },
                {
                    "id": 149,
                    "cat": "PC/Games",
                    "desc": "Windows Spiele"
                },
                {
                    "id": 69,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 151,
                    "cat": "Books/Mags",
                    "desc": "Zeitschriften"
                }
            ],
            "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": "pin",
                "type": "text",
                "label": "Pin"
            },
            {
                "name": "onlyupload",
                "type": "checkbox",
                "label": "Filter OnlyUpload only",
                "default": false
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About OnlyUpload at Unbreakable",
                "default": "<ul><li>OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Jackett dashboard search results these are tagged as Freeleech).</li></ul>"
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeds": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "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>Torrents pro Seite:</b> setting to <b>100</b> on your <b>UserCP</b> page. The default is <i>15</i>."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Inactive accounts are automatically deleted after 42 days."
            },
            {
                "name": "info_seedhours",
                "type": "info",
                "label": "Seeding Hours",
                "default": "Before using this indexer, make sure that you have set <b>Meine Seedzeit</b> on your <b>UserCP</b> page."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "cookies": [
                "JAVA=OK"
            ],
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "secure_pin": "{{ .Config.pin }}",
                "returnto": "/"
            },
            "error": [
                {
                    "selector": "table.tableinborder:contains(\"Anmeldung Gescheitert!\") > tbody > tr > td.tablea"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "showsearch": 1,
                "incldead": 1,
                "orderby": "{{ .Config.sort }}",
                "sort": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table.tableinborder[border=\"0\"][cellspacing=\"1\"][cellpadding=\"0\"][style=\"width:100%\"] > tbody > tr:has(a[href^=\"download.php?torrent=\"]){{ if .Config.onlyupload }}:has(img[src=\"pic/oupic.gif\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]:has(b)"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img#img-1",
                    "attribute": "src"
                },
                "size": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(1)"
                },
                "grabs": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(3) > b"
                },
                "files": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(2)"
                },
                "seeders": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(2) > b:nth-child(1)"
                },
                "leechers": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(2) > b:nth-child(3)"
                },
                "date": {
                    "selector": "td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(5)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd.MM.yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/oupic.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freeleech.gif\"]": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.7
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "unionfansub": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "unionfansub",
        "name": "Union Fansub",
        "description": "Union Fansub is a SPANISH Semi-Private torrent site focused on ANIME",
        "language": "es-ES",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://torrent.unionfansub.com/"
        ],
        "legacylinks": [
            "http://torrent.unionfansub.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 13,
                    "cat": "Movies",
                    "desc": "Animación"
                },
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 2,
                    "cat": "TV/Anime",
                    "desc": "Anime/ISO"
                },
                {
                    "id": 3,
                    "cat": "TV/Anime",
                    "desc": "Anime/RAW"
                },
                {
                    "id": 10,
                    "cat": "Audio",
                    "desc": "BSO / OST"
                },
                {
                    "id": 15,
                    "cat": "Movies",
                    "desc": "Cine"
                },
                {
                    "id": 14,
                    "cat": "TV/Documentary",
                    "desc": "Documentales"
                },
                {
                    "id": 9,
                    "cat": "TV/Anime",
                    "desc": "Dorama"
                },
                {
                    "id": 4,
                    "cat": "TV/Anime",
                    "desc": "Hentai"
                },
                {
                    "id": 18,
                    "cat": "TV/Anime",
                    "desc": "Hentai CG"
                },
                {
                    "id": 6,
                    "cat": "TV/Anime",
                    "desc": "Hentai/ISO"
                },
                {
                    "id": 5,
                    "cat": "TV/Anime",
                    "desc": "Hentai/RAW"
                },
                {
                    "id": 16,
                    "cat": "TV/Anime",
                    "desc": "J-Music"
                },
                {
                    "id": 7,
                    "cat": "TV/Anime",
                    "desc": "Manga"
                },
                {
                    "id": 8,
                    "cat": "TV/Anime",
                    "desc": "Manga/Hentai"
                },
                {
                    "id": 17,
                    "cat": "Books",
                    "desc": "Novelas"
                },
                {
                    "id": 12,
                    "cat": "TV/Other",
                    "desc": "Otros"
                },
                {
                    "id": 11,
                    "cat": "TV",
                    "desc": "Programas"
                }
            ],
            "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": "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"
                }
            }
        ],
        "login": {
            "path": "https://foro.unionfansub.com/member.php?action=login",
            "method": "form",
            "form": "form[action=\"member.php\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "action": "do_login",
                "url": "{{ .Config.sitelink }}",
                "remember": true
            },
            "error": [
                {
                    "selector": "td:contains(\"usuario/contraseña inválida\")"
                }
            ],
            "test": {
                "path": "/",
                "selector": "div#statusbar"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}&c{{.}}=1{{end}}",
                "incldead": 1,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "search": "{{ .Keywords }}"
            },
            "rows": {
                "selector": ".tlist tr:not(:first-child)"
            },
            "fields": {
                "category": {
                    "selector": "td:nth-child(1) a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_fansub": {
                    "selector": "td:nth-child(2) span",
                    "optional": true
                },
                "title_season": {
                    "selector": "td:nth-child(2) a",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d{1,4})([ºª])\\b",
                                "$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(Temporada|Season) (\\d+)\\b",
                                "S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(\\d+)(st|nd|rd|th) (Season|Temporada)\\b",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(Season|Temporada) (\\d+)(st|nd|rd|th)\\b",
                                "S$2"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ .Result.title_season }}{{ if .Result.title_fansub }} [{{ .Result.title_fansub }}]{{ else }}{{ end }}"
                },
                "details": {
                    "selector": "td:nth-child(2) a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "td:nth-child(2) a",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details.php?id=",
                                "download.php?torrent="
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "&hit=",
                                "&aviso="
                            ]
                        }
                    ]
                },
                "files": {
                    "selector": "td:nth-last-child(8)"
                },
                "size": {
                    "selector": "td:nth-last-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "date": {
                    "selector": "td:nth-last-child(6)",
                    "filters": [
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 1
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "unlimitz": {
        "credentials": {
            "username": "",
            "password": "",
            "staffpass": ""
        },
        "id": "unlimitz",
        "name": "Unlimitz",
        "description": "Unlimitz is a THAI Private Torrent Tracker for GENERAL",
        "language": "th-TH",
        "type": "private",
        "encoding": "windows-874",
        "links": [
            "https://www.unlimitz.biz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 84,
                    "cat": "Audio",
                    "desc": "ธรรมะ [Dharma]"
                },
                {
                    "id": 93,
                    "cat": "TV/Anime",
                    "desc": "การ์ตูน [Cartoon]"
                },
                {
                    "id": 112,
                    "cat": "TV/Sport",
                    "desc": "กีฬา [Sport]"
                },
                {
                    "id": 101,
                    "cat": "Other",
                    "desc": "ฟอนต์/ไอคอน/คลิปอาร์ท/เทมเพลท [Fonts, icons, clip art]"
                },
                {
                    "id": 90,
                    "cat": "TV",
                    "desc": "ซีรีย์ (หนังชุด) [Series]"
                },
                {
                    "id": 92,
                    "cat": "Console",
                    "desc": "เกมส์ (non PC) [games]"
                },
                {
                    "id": 91,
                    "cat": "PC/Games",
                    "desc": "เกมส์ (PC) [games]"
                },
                {
                    "id": 100,
                    "cat": "PC/Mobile-Other",
                    "desc": "โปรแกรมที่ใช้บน (มือถือ) [mobiles]"
                },
                {
                    "id": 82,
                    "cat": "PC",
                    "desc": "โปรแกรมที่ใช้บน (Linux)"
                },
                {
                    "id": 83,
                    "cat": "PC/0day",
                    "desc": "โปรแกรมที่ใช้บน (Windows)"
                },
                {
                    "id": 110,
                    "cat": "Audio",
                    "desc": "เพลงไทย [Thai music]"
                },
                {
                    "id": 119,
                    "cat": "Other",
                    "desc": "เลขเด็ด เลขดัง [lucky number]"
                },
                {
                    "id": 81,
                    "cat": "PC",
                    "desc": "ระบบปฏิบัติการ [PC]"
                },
                {
                    "id": 89,
                    "cat": "Movies/DVD",
                    "desc": "ภาพยนตร์  DVD Master [movies]"
                },
                {
                    "id": 120,
                    "cat": "Movies/3D",
                    "desc": "ภาพยนตร์ 3D [ movies]"
                },
                {
                    "id": 114,
                    "cat": "Movies/DVD",
                    "desc": "ภาพยนตร์ DVD Modified [movies]"
                },
                {
                    "id": 98,
                    "cat": "Movies/DVD",
                    "desc": "ภาพยนตร์ DVD Zoom [movies]"
                },
                {
                    "id": 107,
                    "cat": "Movies/DVD",
                    "desc": "ภาพยนตร์ DVD/VCD Rip [movies]"
                },
                {
                    "id": 103,
                    "cat": "Movies/HD",
                    "desc": "ภาพยนตร์ Hi-DeF [movies]"
                },
                {
                    "id": 113,
                    "cat": "Movies/HD",
                    "desc": "ภาพยนตร์ mini Hi-Def [movies]"
                },
                {
                    "id": 88,
                    "cat": "Movies",
                    "desc": "ภาพยนตร์ VCD Master [movies]"
                },
                {
                    "id": 115,
                    "cat": "Movies",
                    "desc": "ภาพยนตร์ VCD Modified [movies]"
                },
                {
                    "id": 99,
                    "cat": "Movies",
                    "desc": "ภาพยนตร์ VCD Zoom [movies]"
                },
                {
                    "id": 97,
                    "cat": "TV",
                    "desc": "รายการทีวี [TV]"
                },
                {
                    "id": 118,
                    "cat": "Audio",
                    "desc": "รายการวิทยุ [radio]"
                },
                {
                    "id": 111,
                    "cat": "Audio/Video",
                    "desc": "มิวสิค วีดีโอ/การแสดงสด/คาราโอเกะ/ทอล์คโชว์ [music video]"
                },
                {
                    "id": 94,
                    "cat": "Other",
                    "desc": "รูปภาพ (ไม่โป๊,ไม่วาบหวิว) [pictures]"
                },
                {
                    "id": 87,
                    "cat": "Books",
                    "desc": "หนังสือ/สื่อการเรียนรู้/นวนิยาย [books]"
                },
                {
                    "id": 96,
                    "cat": "TV/Documentary",
                    "desc": "สารคดี [documentary]"
                },
                {
                    "id": 108,
                    "cat": "Other/Misc",
                    "desc": "อื่นๆ [other]"
                },
                {
                    "id": 106,
                    "cat": "XXX",
                    "desc": "UnlimitZ Pink (Cartoon)"
                },
                {
                    "id": 104,
                    "cat": "XXX",
                    "desc": "UnlimitZ Pink (Censored)"
                },
                {
                    "id": 116,
                    "cat": "XXX",
                    "desc": "UnlimitZ Pink (Game)"
                },
                {
                    "id": 117,
                    "cat": "XXX",
                    "desc": "UnlimitZ Pink (Rated R)"
                },
                {
                    "id": 105,
                    "cat": "XXX",
                    "desc": "UnlimitZ Pink (Uncensored)"
                }
            ],
            "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": "staffpass",
                "type": "text",
                "label": "Staff Pass"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Filter freeleech only",
                "default": false
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img.cimage",
                "input": "captcha"
            },
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "staffpass": "{{ .Config.staffpass }}"
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"failed\"))"
                },
                {
                    "selector": "td.embedded:has(h2:contains(\"Error\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"d.php?keyalert1=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "d.php?keyalert1=",
                                "/dI.php/"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "&keyalert2=",
                                "/"
                            ]
                        }
                    ]
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ .Keywords }}",
                "blah": 0,
                "incldead": 1,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[border=1][cellspacing=0][cellpadding=5] > tbody > tr:has(a[href^=\"details.php?id=\"]){{ if .Config.freeleech }}:has(img[src=\"pic/freedownload.gif\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(4)"
                },
                "date": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(8)"
                },
                "grabs": {
                    "selector": "td:nth-child(9)"
                },
                "seeders": {
                    "selector": "td:nth-child(10)"
                },
                "leechers": {
                    "selector": "td:nth-child(11)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freedownload.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"icon/upl2.png\"]": 2,
                        "img[src=\"icon/upl3.png\"]": 3,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "uploadcx": {
        "credentials": {
            "apikey": ""
        },
        "id": "uploadcx",
        "name": "upload.cx (API)",
        "description": "upload.cx (ULCX) is a Private Torrent Tracker for MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://upload.cx/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://upload.cx/\" target=\"_blank\">upload.cx</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "All members must engage with the site, through either logging in or navigating upload.cx. Any account that remains inactive for over two months will be deactivated and pruned after an additional two months of deactivation."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "upscalevault-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "upscalevault-api",
        "name": "Upscale Vault (API)",
        "description": "Upscale Vault is a Private Torrent Tracker for AI upscaled and remastered MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://upscalevault.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio/Video",
                    "desc": "Music Videos"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://upscalevault.com/\" target=\"_blank\">Upscale Vault</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "infohash": {
                    "selector": "info_hash"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 1209600
                }
            }
        }
    },
    "utopia": {
        "credentials": {
            "apikey": ""
        },
        "id": "utopia",
        "name": "UTOPIA (API)",
        "description": "UTOPIA is a UKRAINIAN Private Tracker for HD MOVIES and TV",
        "language": "uk-UA",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://utp.to/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://utp.to/\" target=\"_blank\">UTOPIA</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "addukrainiantotitle",
                "type": "checkbox",
                "label": "Add UKR to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "If you stop visiting the site or downloading torrents your account will be automatically deactivated after 180 days."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "inputs": [],
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}",
                    "filters": [
                        {
                            "name": "append",
                            "args": "{{ if .Config.addukrainiantotitle }} UKR{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Екшн і Пригоди)",
                                "Екшн_і_Пригоди"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Мильна опера)",
                                "Мильна_опера"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Науково фантастичний)",
                                "Науково_фантастичний"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Політика та війна)",
                                "Політика_та_війна"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "uztracker": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "uztracker",
        "name": "UzTracker",
        "description": "UzTracker is an UZBEK Semi-Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "ru-RU",
        "type": "semi-private",
        "encoding": "UTF-8",
        "links": [
            "https://uztracker.me/"
        ],
        "legacylinks": [
            "https://uztracker.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 3,
                    "cat": "Movies/Foreign",
                    "desc": "Зарубежные кинофильмы"
                },
                {
                    "id": 13,
                    "cat": "Movies/Foreign",
                    "desc": " |- Новинки 2026"
                },
                {
                    "id": 12,
                    "cat": "Movies/Foreign",
                    "desc": " |- Фильмы 2021-2025 годов"
                },
                {
                    "id": 11,
                    "cat": "Movies/Foreign",
                    "desc": " |- Фильмы 2011-2020 годов"
                },
                {
                    "id": 10,
                    "cat": "Movies/Foreign",
                    "desc": " |- Зарубежные фильмы до 2011 года"
                },
                {
                    "id": 215,
                    "cat": "Movies/Foreign",
                    "desc": " |- Классика мирового кинематографа"
                },
                {
                    "id": 517,
                    "cat": "Movies/Foreign",
                    "desc": " |- Фильмы со смешным переводом"
                },
                {
                    "id": 5,
                    "cat": "Movies/Foreign",
                    "desc": " |- Фильмы (HDvideo)"
                },
                {
                    "id": 189,
                    "cat": "Movies/Foreign",
                    "desc": " |- Фильмы в 4K и 3D"
                },
                {
                    "id": 349,
                    "cat": "Movies/Foreign",
                    "desc": " |- Кинофильмы (48-120 FPS)"
                },
                {
                    "id": 8,
                    "cat": "Movies/Foreign",
                    "desc": " |- Фильмологии"
                },
                {
                    "id": 242,
                    "cat": "Movies/Foreign",
                    "desc": " |- Индийское кино"
                },
                {
                    "id": 7,
                    "cat": "Movies/Foreign",
                    "desc": " |- DVDScr, TS, CAMRip и т.п."
                },
                {
                    "id": 6,
                    "cat": "Movies/Foreign",
                    "desc": " |- HD-AVC"
                },
                {
                    "id": 33,
                    "cat": "Movies/Foreign",
                    "desc": " |- Перевод на узбекский"
                },
                {
                    "id": 14,
                    "cat": "Movies",
                    "desc": "Российские кинофильмы"
                },
                {
                    "id": 344,
                    "cat": "Movies",
                    "desc": " |- Новинки 2026"
                },
                {
                    "id": 24,
                    "cat": "Movies",
                    "desc": " |- Российские фильмы 2021-2025 годов"
                },
                {
                    "id": 430,
                    "cat": "Movies",
                    "desc": " |- Российские фильмы 2011-2020 годов"
                },
                {
                    "id": 223,
                    "cat": "Movies",
                    "desc": " |- Кино СССР"
                },
                {
                    "id": 16,
                    "cat": "Movies",
                    "desc": " |- Фильмы (HDvideo)"
                },
                {
                    "id": 190,
                    "cat": "Movies",
                    "desc": " |- Фильмы в 4K и 3D"
                },
                {
                    "id": 34,
                    "cat": "Movies",
                    "desc": " |- Перевод на узбекский"
                },
                {
                    "id": 25,
                    "cat": "Movies",
                    "desc": "Узбекские кинофильмы"
                },
                {
                    "id": 32,
                    "cat": "Movies",
                    "desc": " |- Пр-во Узбекфильм (на русском)"
                },
                {
                    "id": 30,
                    "cat": "Movies",
                    "desc": " |- Пр-во Узбекфильм (на узбекском языке)"
                },
                {
                    "id": 410,
                    "cat": "TV/Foreign",
                    "desc": "Зарубежные сериалы"
                },
                {
                    "id": 412,
                    "cat": "TV/Foreign",
                    "desc": " |- Зарубежные сериалы (HD)"
                },
                {
                    "id": 427,
                    "cat": "TV/Foreign",
                    "desc": " |- Зарубежные сериалы (FullHD)"
                },
                {
                    "id": 411,
                    "cat": "TV/Foreign",
                    "desc": " |- Зарубежные сериалы (UHD)"
                },
                {
                    "id": 333,
                    "cat": "TV",
                    "desc": " |- Игра престолов / Game of Thrones"
                },
                {
                    "id": 313,
                    "cat": "TV",
                    "desc": " |- Секретные материалы  The X-Files"
                },
                {
                    "id": 418,
                    "cat": "TV",
                    "desc": "Российские сериалы"
                },
                {
                    "id": 419,
                    "cat": "TV",
                    "desc": " |- Российские сериалы (HD)"
                },
                {
                    "id": 428,
                    "cat": "TV",
                    "desc": " |- Российские сериалы (FullHD)"
                },
                {
                    "id": 420,
                    "cat": "TV",
                    "desc": " |- Российские сериалы (UHD)"
                },
                {
                    "id": 421,
                    "cat": "TV/Foreign",
                    "desc": "Азиатские сериалы"
                },
                {
                    "id": 423,
                    "cat": "TV/Foreign",
                    "desc": " |- Азиатские сериалы (HD)"
                },
                {
                    "id": 429,
                    "cat": "TV/Foreign",
                    "desc": " |- Азиатские сериалы (FullHD)"
                },
                {
                    "id": 422,
                    "cat": "TV/Foreign",
                    "desc": " |- Азиатские сериалы (UHD)"
                },
                {
                    "id": 97,
                    "cat": "TV",
                    "desc": "Сериалы"
                },
                {
                    "id": 100,
                    "cat": "TV",
                    "desc": " |- Турецкие сериалы"
                },
                {
                    "id": 99,
                    "cat": "TV",
                    "desc": " |- Узбекские сериалы"
                },
                {
                    "id": 398,
                    "cat": "TV",
                    "desc": " |- Подготовка и оформления раздач R.G. Serials"
                },
                {
                    "id": 36,
                    "cat": "TV/Foreign",
                    "desc": "Зарубежные мультфильмы"
                },
                {
                    "id": 48,
                    "cat": "TV/Foreign",
                    "desc": " |- Новинки 2026"
                },
                {
                    "id": 61,
                    "cat": "TV/Foreign",
                    "desc": " |- Мультфильмы 2011-2025 годов"
                },
                {
                    "id": 60,
                    "cat": "TV/Foreign",
                    "desc": " |- Мультфильмы 2000-2010 годов"
                },
                {
                    "id": 59,
                    "cat": "TV/Foreign",
                    "desc": " |- Мультфильмы до 2000 года"
                },
                {
                    "id": 46,
                    "cat": "TV/Foreign",
                    "desc": " |- Полнометражные мультфильмы"
                },
                {
                    "id": 45,
                    "cat": "TV/Foreign",
                    "desc": " |- Короткометражные мультфильмы"
                },
                {
                    "id": 41,
                    "cat": "TV/Foreign",
                    "desc": " |- Иностранные мультфильмы (HD Video)"
                },
                {
                    "id": 188,
                    "cat": "TV/Foreign",
                    "desc": " |- Мультфильмы 4K, 3D"
                },
                {
                    "id": 39,
                    "cat": "TV/Foreign",
                    "desc": " |- Перевод на узбекский"
                },
                {
                    "id": 37,
                    "cat": "TV",
                    "desc": "Российские мультфильмы"
                },
                {
                    "id": 58,
                    "cat": "TV",
                    "desc": " |- Новинки 2025"
                },
                {
                    "id": 56,
                    "cat": "TV",
                    "desc": " |- Полнометражные мультфильмы"
                },
                {
                    "id": 54,
                    "cat": "TV",
                    "desc": " |- Короткометражные мультфильмы"
                },
                {
                    "id": 51,
                    "cat": "TV",
                    "desc": " |- Мультфильмы (HDvideo)"
                },
                {
                    "id": 187,
                    "cat": "TV",
                    "desc": " |- Мультфильмы 4K, 3D"
                },
                {
                    "id": 49,
                    "cat": "TV",
                    "desc": " |- Перевод на узбекский"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": " |- Узбекские мультфильмы"
                },
                {
                    "id": 98,
                    "cat": "TV",
                    "desc": " |- Мультсериалы"
                },
                {
                    "id": 462,
                    "cat": "TV",
                    "desc": " |- Мультсериалы (HD)"
                },
                {
                    "id": 461,
                    "cat": "TV",
                    "desc": " |- Мультсериалы (FullHD)"
                },
                {
                    "id": 460,
                    "cat": "TV",
                    "desc": " |- Мультсериалы (UHD)"
                },
                {
                    "id": 467,
                    "cat": "TV/Documentary",
                    "desc": "Документальные фильмы и телепередачи"
                },
                {
                    "id": 480,
                    "cat": "TV/Documentary",
                    "desc": " |- Аварии / Катастрофы / Катаклизмы"
                },
                {
                    "id": 479,
                    "cat": "TV/Documentary",
                    "desc": " |- Космос / Авиация"
                },
                {
                    "id": 478,
                    "cat": "TV/Documentary",
                    "desc": " |- Криминальная документалистика"
                },
                {
                    "id": 477,
                    "cat": "TV/Documentary",
                    "desc": " |- Научно-популярная документалистика"
                },
                {
                    "id": 476,
                    "cat": "TV/Documentary",
                    "desc": " |- Военные хроник"
                },
                {
                    "id": 475,
                    "cat": "TV/Documentary",
                    "desc": " |- Тайны века / Спецслужбы / Теории Заговоров"
                },
                {
                    "id": 474,
                    "cat": "TV/Documentary",
                    "desc": " |- Паранормальные явления"
                },
                {
                    "id": 473,
                    "cat": "TV/Documentary",
                    "desc": " |- Биографии. Личности и кумиры"
                },
                {
                    "id": 472,
                    "cat": "TV/Documentary",
                    "desc": " |- История"
                },
                {
                    "id": 468,
                    "cat": "TV/Documentary",
                    "desc": " |- BBC"
                },
                {
                    "id": 471,
                    "cat": "TV/Documentary",
                    "desc": " |- Discovery"
                },
                {
                    "id": 470,
                    "cat": "TV/Documentary",
                    "desc": " |- National Geographic"
                },
                {
                    "id": 469,
                    "cat": "TV/Documentary",
                    "desc": " |- Разное"
                },
                {
                    "id": 499,
                    "cat": "TV",
                    "desc": "Развлекательные телепередачи и шоу"
                },
                {
                    "id": 504,
                    "cat": "TV",
                    "desc": " |- Интеллектуальные игры и викторины"
                },
                {
                    "id": 501,
                    "cat": "TV",
                    "desc": " |- КВН"
                },
                {
                    "id": 500,
                    "cat": "TV",
                    "desc": " |-  Уральские Пельмени"
                },
                {
                    "id": 503,
                    "cat": "TV",
                    "desc": " |- Сатирики и юмористы"
                },
                {
                    "id": 502,
                    "cat": "TV",
                    "desc": " |- Реалити и ток-шоу"
                },
                {
                    "id": 505,
                    "cat": "TV",
                    "desc": " |- Comedy Club"
                },
                {
                    "id": 481,
                    "cat": "TV/Sport",
                    "desc": "Спортивные фильмы и телепередачи"
                },
                {
                    "id": 493,
                    "cat": "TV/Sport",
                    "desc": " |- 🚗 Автоспорт"
                },
                {
                    "id": 510,
                    "cat": "TV/Sport",
                    "desc": " |- 🏍️ Мотоспорт"
                },
                {
                    "id": 492,
                    "cat": "TV/Sport",
                    "desc": " |- 🥊 Бокс"
                },
                {
                    "id": 491,
                    "cat": "TV/Sport",
                    "desc": " |- 🤼‍♂️ Смешанные единоборства и K-1"
                },
                {
                    "id": 490,
                    "cat": "TV/Sport",
                    "desc": " |- 💪 Рестлинг"
                },
                {
                    "id": 489,
                    "cat": "TV/Sport",
                    "desc": " |- 🚴 Велоспорт"
                },
                {
                    "id": 488,
                    "cat": "TV/Sport",
                    "desc": " |- ⚽ Футбол"
                },
                {
                    "id": 487,
                    "cat": "TV/Sport",
                    "desc": " |- 🏀 Баскетбол"
                },
                {
                    "id": 486,
                    "cat": "TV/Sport",
                    "desc": " |- 🏒 Хоккей"
                },
                {
                    "id": 485,
                    "cat": "TV/Sport",
                    "desc": " |- 🎾 Теннис"
                },
                {
                    "id": 484,
                    "cat": "TV/Sport",
                    "desc": " |- 🎿 Лыжи"
                },
                {
                    "id": 483,
                    "cat": "TV/Sport",
                    "desc": " |- ⛷️ Сноуборд"
                },
                {
                    "id": 482,
                    "cat": "TV/Sport",
                    "desc": "|- 💪🏻 Бодибилдинг"
                },
                {
                    "id": 345,
                    "cat": "TV/Anime",
                    "desc": "Сериалы"
                },
                {
                    "id": 346,
                    "cat": "TV/Anime",
                    "desc": " |- Новинки (Онгоинги)"
                },
                {
                    "id": 347,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме Сериалы"
                },
                {
                    "id": 348,
                    "cat": "TV/Anime",
                    "desc": " |- Аниме Сериалы (HD)"
                },
                {
                    "id": 365,
                    "cat": "TV/Anime",
                    "desc": " |- OVA"
                },
                {
                    "id": 361,
                    "cat": "Movies/Other",
                    "desc": "Фильмы"
                },
                {
                    "id": 366,
                    "cat": "Movies/Other",
                    "desc": " |- Новинки"
                },
                {
                    "id": 364,
                    "cat": "Movies/Other",
                    "desc": " |- Аниме Фильмы (HD)"
                },
                {
                    "id": 362,
                    "cat": "Movies/Other",
                    "desc": " |- OVA"
                },
                {
                    "id": 508,
                    "cat": "Audio",
                    "desc": " |- Звуковые дорожки и переводы (Аниме)"
                },
                {
                    "id": 507,
                    "cat": "Books",
                    "desc": " |- Манга, Манхва, Рэнобе, Артбуки, Журналы"
                },
                {
                    "id": 509,
                    "cat": "Other",
                    "desc": " |- Обои, сканы, аватары, арт (Аниме)"
                },
                {
                    "id": 225,
                    "cat": "Audio/MP3",
                    "desc": "♫ Российские исполнители ♫ (Mp3)♫"
                },
                {
                    "id": 228,
                    "cat": "Audio/MP3",
                    "desc": " |- Поп музыка России и стран бывшего СССР"
                },
                {
                    "id": 229,
                    "cat": "Audio/MP3",
                    "desc": " |- Русские поп сборники"
                },
                {
                    "id": 226,
                    "cat": "Audio/MP3",
                    "desc": " |- Русский шансон и авторская песня"
                },
                {
                    "id": 308,
                    "cat": "Audio/MP3",
                    "desc": " |- Военная песня"
                },
                {
                    "id": 227,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники Русского шансона"
                },
                {
                    "id": 230,
                    "cat": "Audio/MP3",
                    "desc": " |- Русский Rap, Hip-Hop"
                },
                {
                    "id": 450,
                    "cat": "Audio/MP3",
                    "desc": " |- Российский джаз и блюз"
                },
                {
                    "id": 343,
                    "cat": "Audio/MP3",
                    "desc": " |- 🎵 МУЗЫКА ИИ и НЕЙРОСЕТЕЙ (MP3, FLAC)"
                },
                {
                    "id": 122,
                    "cat": "Audio/MP3",
                    "desc": "♫ Зарубежная музыка (Mp3)"
                },
                {
                    "id": 315,
                    "cat": "Audio/MP3",
                    "desc": " |- Зарубежные Сборники DISCO, ITALO-DISCO"
                },
                {
                    "id": 239,
                    "cat": "Audio/MP3",
                    "desc": " |- Зарубежная поп музыка (альбомы, дискографии)"
                },
                {
                    "id": 128,
                    "cat": "Audio/MP3",
                    "desc": " |- Зарубежные сборники поп музыки"
                },
                {
                    "id": 244,
                    "cat": "Audio/MP3",
                    "desc": " |- Зарубежный Chanson"
                },
                {
                    "id": 131,
                    "cat": "Audio/MP3",
                    "desc": " |- Джаз и блюз"
                },
                {
                    "id": 245,
                    "cat": "Audio/MP3",
                    "desc": " |- Инструментальная музыка"
                },
                {
                    "id": 129,
                    "cat": "Audio/MP3",
                    "desc": " |- Рэп, Хип-Хоп, R'n'B"
                },
                {
                    "id": 126,
                    "cat": "Audio/MP3",
                    "desc": " |- Reggae, Ska, Dub"
                },
                {
                    "id": 132,
                    "cat": "Audio/MP3",
                    "desc": " |- Классическая музыка"
                },
                {
                    "id": 125,
                    "cat": "Audio/MP3",
                    "desc": " |- New Age, Relax, Meditative & Flamenco"
                },
                {
                    "id": 124,
                    "cat": "Audio/MP3",
                    "desc": " |- Фольклор, Народная и Этническая музыка"
                },
                {
                    "id": 338,
                    "cat": "Audio/MP3",
                    "desc": " |- Country"
                },
                {
                    "id": 231,
                    "cat": "Audio/MP3",
                    "desc": " |- 🎵 Сборники и альбомы выходившие неофициальными изданиями."
                },
                {
                    "id": 201,
                    "cat": "Audio/MP3",
                    "desc": " |- Русский Rock, Metal (mp3)"
                },
                {
                    "id": 202,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники Русского рока (mp3)"
                },
                {
                    "id": 156,
                    "cat": "Audio/MP3",
                    "desc": " |- Classic & Hard Rock"
                },
                {
                    "id": 334,
                    "cat": "Audio/MP3",
                    "desc": " |- Progressive & Art-Rock"
                },
                {
                    "id": 213,
                    "cat": "Audio/MP3",
                    "desc": " |- Melodic & Folk Rock"
                },
                {
                    "id": 214,
                    "cat": "Audio/MP3",
                    "desc": " |- Soft & Pop-Rock"
                },
                {
                    "id": 212,
                    "cat": "Audio/MP3",
                    "desc": " |- Instrumental & Guitar Rock"
                },
                {
                    "id": 241,
                    "cat": "Audio/MP3",
                    "desc": " |- Rock'n'Roll, Rockabilly, Psychobilly"
                },
                {
                    "id": 211,
                    "cat": "Audio/MP3",
                    "desc": " |- Сборники зарубежного Рока"
                },
                {
                    "id": 394,
                    "cat": "Audio/MP3",
                    "desc": " |- Зарубежный Metal (альбомы, дискографии)"
                },
                {
                    "id": 154,
                    "cat": "Audio/MP3",
                    "desc": " |- Зарубежный Metal (сборники)"
                },
                {
                    "id": 216,
                    "cat": "Audio/MP3",
                    "desc": "♫ Alternative, Punk, Industrial, Gothic ♫ (Mp3)♫"
                },
                {
                    "id": 219,
                    "cat": "Audio/MP3",
                    "desc": " |- Alternative"
                },
                {
                    "id": 220,
                    "cat": "Audio/MP3",
                    "desc": " |- Punk"
                },
                {
                    "id": 217,
                    "cat": "Audio/MP3",
                    "desc": " |- Hardcore"
                },
                {
                    "id": 309,
                    "cat": "Audio/MP3",
                    "desc": " |- Indie Rock, Indie Pop"
                },
                {
                    "id": 310,
                    "cat": "Audio/MP3",
                    "desc": " |- Post-Rock, Post-Punk"
                },
                {
                    "id": 218,
                    "cat": "Audio/MP3",
                    "desc": " |- Industrial"
                },
                {
                    "id": 311,
                    "cat": "Audio/MP3",
                    "desc": " |- Metalcore, Post-hardcore"
                },
                {
                    "id": 221,
                    "cat": "Audio/MP3",
                    "desc": " |- Gothic Rock"
                },
                {
                    "id": 292,
                    "cat": "Audio/MP3",
                    "desc": "♫ Электронная музыка ♫(Mp3)♫"
                },
                {
                    "id": 298,
                    "cat": "Audio/MP3",
                    "desc": " |- Trance, Psy-Trance"
                },
                {
                    "id": 318,
                    "cat": "Audio/MP3",
                    "desc": " |- Hardcore, Hardstyle, Jumpstyle"
                },
                {
                    "id": 296,
                    "cat": "Audio/MP3",
                    "desc": " |- House"
                },
                {
                    "id": 297,
                    "cat": "Audio/MP3",
                    "desc": " |- Techno"
                },
                {
                    "id": 299,
                    "cat": "Audio/MP3",
                    "desc": " |- Drum & Bass, Breakbeat"
                },
                {
                    "id": 301,
                    "cat": "Audio/MP3",
                    "desc": " |- Synthpop"
                },
                {
                    "id": 302,
                    "cat": "Audio/MP3",
                    "desc": " |- Downtempo, Chillout"
                },
                {
                    "id": 300,
                    "cat": "Audio/MP3",
                    "desc": " |- EBM, Industrial"
                },
                {
                    "id": 303,
                    "cat": "Audio/MP3",
                    "desc": " |- Остальные жанры и направления"
                },
                {
                    "id": 234,
                    "cat": "Audio/Lossless",
                    "desc": "♫ HI-RES Audio ♫"
                },
                {
                    "id": 312,
                    "cat": "Audio/Lossless",
                    "desc": " |- ♫ Classics in processing (Hi-Res)"
                },
                {
                    "id": 235,
                    "cat": "Audio/Lossless",
                    "desc": " |- ♫ Поп-музыка Hi-Res"
                },
                {
                    "id": 238,
                    "cat": "Audio/Lossless",
                    "desc": " |- ♫ Электронная музыка Hi-Res"
                },
                {
                    "id": 237,
                    "cat": "Audio/Lossless",
                    "desc": " |- ♫ Рок-музыка Hi-Res"
                },
                {
                    "id": 236,
                    "cat": "Audio/Lossless",
                    "desc": " |- ♫ Джаз и Блюз\tHi-Res"
                },
                {
                    "id": 324,
                    "cat": "Audio",
                    "desc": "Оцифровки с аналоговых носителей"
                },
                {
                    "id": 330,
                    "cat": "Audio",
                    "desc": " |- ♫ Зарубежная поп музыка (оцифровки)"
                },
                {
                    "id": 466,
                    "cat": "Audio",
                    "desc": " |- Советская и Российская эстрада (оцифровки)"
                },
                {
                    "id": 453,
                    "cat": "Audio",
                    "desc": " |- ♫ Шансон и авторская песня (оцифровки"
                },
                {
                    "id": 455,
                    "cat": "Audio",
                    "desc": " |- ♫ Зарубежный и Отечественный Metal (оцифровки)"
                },
                {
                    "id": 331,
                    "cat": "Audio",
                    "desc": " |- ♫ Русский рок (оцифровки)"
                },
                {
                    "id": 326,
                    "cat": "Audio",
                    "desc": " |- ♫ Rock (оцифровки)"
                },
                {
                    "id": 325,
                    "cat": "Audio",
                    "desc": " |- ♫ Электронная музыка (оцифрофки)"
                },
                {
                    "id": 454,
                    "cat": "Audio",
                    "desc": " |- ♫ Джаз и блюз (оцифровки)"
                },
                {
                    "id": 452,
                    "cat": "Audio",
                    "desc": " |- ♫ Classical (оцифровки)"
                },
                {
                    "id": 451,
                    "cat": "Audio",
                    "desc": " |- ♫ Easy Listening (оцифровки)"
                },
                {
                    "id": 133,
                    "cat": "Audio/Lossless",
                    "desc": "♫ Музыка в формате ♫ (lossless)"
                },
                {
                    "id": 203,
                    "cat": "Audio/Lossless",
                    "desc": " |- Музыка России и стран бывшего СССР (lossless)"
                },
                {
                    "id": 139,
                    "cat": "Audio/Lossless",
                    "desc": " |- Поп музыка, Eurodance, Disco (lossless)"
                },
                {
                    "id": 339,
                    "cat": "Audio/Lossless",
                    "desc": " |- Rock, Metal (Lossless)"
                },
                {
                    "id": 340,
                    "cat": "Audio/Lossless",
                    "desc": " |- Русский Rock, Metal (Lossless)"
                },
                {
                    "id": 141,
                    "cat": "Audio/Lossless",
                    "desc": " |- Электронная музыка (lossless)"
                },
                {
                    "id": 142,
                    "cat": "Audio/Lossless",
                    "desc": " |- Джаз и блюз (lossless)"
                },
                {
                    "id": 138,
                    "cat": "Audio/Lossless",
                    "desc": " |- Шансон и Военная песня (lossless)"
                },
                {
                    "id": 157,
                    "cat": "Audio/Video",
                    "desc": "Музыкальные видеоклипы и концерты"
                },
                {
                    "id": 161,
                    "cat": "Audio/Video",
                    "desc": " |- Поп"
                },
                {
                    "id": 160,
                    "cat": "Audio/Video",
                    "desc": " |- Электронная музыка"
                },
                {
                    "id": 159,
                    "cat": "Audio/Video",
                    "desc": " |- Рэп, Хип-Хоп, R'n'B"
                },
                {
                    "id": 295,
                    "cat": "Audio/Video",
                    "desc": " |- Рок музыка (Video)"
                },
                {
                    "id": 294,
                    "cat": "Audio/Video",
                    "desc": " |- Музыкальные шоу"
                },
                {
                    "id": 158,
                    "cat": "Audio/Video",
                    "desc": " |- Другие направления"
                },
                {
                    "id": 167,
                    "cat": "Audio/Audiobook",
                    "desc": "Аудиокниги"
                },
                {
                    "id": 464,
                    "cat": "Audio/Audiobook",
                    "desc": " |- ♫ История"
                },
                {
                    "id": 335,
                    "cat": "Audio/Audiobook",
                    "desc": " |- ♫ Русская литература ХХ-ХХI века"
                },
                {
                    "id": 232,
                    "cat": "Audio/Audiobook",
                    "desc": " |- ♫ Детективы, приключения, триллеры"
                },
                {
                    "id": 337,
                    "cat": "Audio/Audiobook",
                    "desc": " |- ♫ Детективы  Дарьи Донцовой"
                },
                {
                    "id": 210,
                    "cat": "Audio/Audiobook",
                    "desc": " |- ♫ Зарубежные авторы. Романы, повести, рассказы"
                },
                {
                    "id": 233,
                    "cat": "Audio/Audiobook",
                    "desc": " |- ♫ Любовные романы"
                },
                {
                    "id": 176,
                    "cat": "Audio/Audiobook",
                    "desc": " |- ♫ Мистика, фантастика, ужасы"
                },
                {
                    "id": 175,
                    "cat": "Audio/Audiobook",
                    "desc": " |- ♫ Любовно-фантастический роман"
                },
                {
                    "id": 174,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Аудиокниги на других языках (Audio)"
                },
                {
                    "id": 319,
                    "cat": "Audio/Audiobook",
                    "desc": " |- Аудиокниги для детей"
                },
                {
                    "id": 166,
                    "cat": "Books",
                    "desc": "Книги FB2"
                },
                {
                    "id": 173,
                    "cat": "Books",
                    "desc": " |- Художественная литература"
                },
                {
                    "id": 314,
                    "cat": "Books",
                    "desc": " |- Учебно-техническая литература"
                },
                {
                    "id": 434,
                    "cat": "Books/Mags",
                    "desc": "Журналы"
                },
                {
                    "id": 456,
                    "cat": "Books/Mags",
                    "desc": " |- Музыка"
                },
                {
                    "id": 435,
                    "cat": "Books/Mags",
                    "desc": " |- Авто-мото"
                },
                {
                    "id": 437,
                    "cat": "Books/Mags",
                    "desc": " |- Строительство и ремонт"
                },
                {
                    "id": 441,
                    "cat": "Books/Mags",
                    "desc": " |- Сад и огород"
                },
                {
                    "id": 436,
                    "cat": "Books/Mags",
                    "desc": " |- Кулинория"
                },
                {
                    "id": 442,
                    "cat": "Books/Mags",
                    "desc": " |- Наука"
                },
                {
                    "id": 440,
                    "cat": "Books/Mags",
                    "desc": " |- Космос"
                },
                {
                    "id": 439,
                    "cat": "Books/Mags",
                    "desc": " |- История"
                },
                {
                    "id": 438,
                    "cat": "Books/Mags",
                    "desc": " |- Хобби"
                },
                {
                    "id": 350,
                    "cat": "Books",
                    "desc": "Медицина и здоровье"
                },
                {
                    "id": 351,
                    "cat": "Books",
                    "desc": " |- Клиническая медицина до 1980 года"
                },
                {
                    "id": 352,
                    "cat": "Books",
                    "desc": " |- Клиническая медицина с 1980 по 2000 год"
                },
                {
                    "id": 353,
                    "cat": "Books",
                    "desc": " |- Клиническая медицина после 2000 года"
                },
                {
                    "id": 354,
                    "cat": "Books/Mags",
                    "desc": " |- Научная медицинская периодика (газеты и журналы)"
                },
                {
                    "id": 357,
                    "cat": "Books/Mags",
                    "desc": " |- Популярная медицинская периодика (газеты и журналы)"
                },
                {
                    "id": 355,
                    "cat": "Books",
                    "desc": " |- Медико-биологические науки"
                },
                {
                    "id": 356,
                    "cat": "Books",
                    "desc": " |- Фармация и фармакология"
                },
                {
                    "id": 358,
                    "cat": "Books",
                    "desc": " |- Нетрадиционная, народная медицина и популярные книг..."
                },
                {
                    "id": 360,
                    "cat": "Books",
                    "desc": " |- Видеоуроки и лекции по медицине"
                },
                {
                    "id": 359,
                    "cat": "Books",
                    "desc": " |- Ветеринария, разное"
                },
                {
                    "id": 105,
                    "cat": "PC/Games",
                    "desc": "Игры для ПК"
                },
                {
                    "id": 120,
                    "cat": "PC/Games",
                    "desc": " |- Горячие новинки (License`s)"
                },
                {
                    "id": 119,
                    "cat": "PC/Games",
                    "desc": " |- Горячие новинки (Repack`s)"
                },
                {
                    "id": 118,
                    "cat": "PC/Games",
                    "desc": " |- Early Access, Demo, Alpha, Beta версии"
                },
                {
                    "id": 117,
                    "cat": "PC/Games",
                    "desc": " |- Action"
                },
                {
                    "id": 116,
                    "cat": "PC/Games",
                    "desc": " |- RPG"
                },
                {
                    "id": 289,
                    "cat": "PC/Games",
                    "desc": " |- Horror"
                },
                {
                    "id": 307,
                    "cat": "PC/Games",
                    "desc": " |- Logic"
                },
                {
                    "id": 304,
                    "cat": "PC/Games",
                    "desc": " |- Lifestyle"
                },
                {
                    "id": 336,
                    "cat": "PC/Games",
                    "desc": " |- Sports"
                },
                {
                    "id": 306,
                    "cat": "PC/Games",
                    "desc": " |- Exploration"
                },
                {
                    "id": 305,
                    "cat": "PC/Games",
                    "desc": " |- Management"
                },
                {
                    "id": 115,
                    "cat": "PC/Games",
                    "desc": " |- Аркады"
                },
                {
                    "id": 114,
                    "cat": "PC/Games",
                    "desc": " |- Стратегии"
                },
                {
                    "id": 113,
                    "cat": "PC/Games",
                    "desc": " |- Гоночные симуляторы"
                },
                {
                    "id": 112,
                    "cat": "PC/Games",
                    "desc": " |- Другие симуляторы"
                },
                {
                    "id": 111,
                    "cat": "PC/Games",
                    "desc": " |- Приключения и квесты"
                },
                {
                    "id": 110,
                    "cat": "PC/Games",
                    "desc": " |- Мини-игры"
                },
                {
                    "id": 109,
                    "cat": "PC/Games",
                    "desc": " |- Многопользовательские и онлайн игры"
                },
                {
                    "id": 108,
                    "cat": "PC/Games",
                    "desc": " |- Старые игры"
                },
                {
                    "id": 107,
                    "cat": "PC/Games",
                    "desc": " |- Игровое видео"
                },
                {
                    "id": 106,
                    "cat": "PC/Games",
                    "desc": " |- Патчи, моды, дополнения, DLC и т.п."
                },
                {
                    "id": 414,
                    "cat": "Console/PS4",
                    "desc": " |- PS4 / PS5"
                },
                {
                    "id": 402,
                    "cat": "Console/PS3",
                    "desc": " |- PS/PS2/PS3"
                },
                {
                    "id": 415,
                    "cat": "Console/PSP",
                    "desc": " |- PSP / Игры PS1 для PSP"
                },
                {
                    "id": 431,
                    "cat": "Console/Other",
                    "desc": " |- Switch"
                },
                {
                    "id": 416,
                    "cat": "Console/XBox 360",
                    "desc": " |- Xbox 360"
                },
                {
                    "id": 417,
                    "cat": "PC/Games",
                    "desc": " |- SteamMachine"
                },
                {
                    "id": 76,
                    "cat": "PC/ISO",
                    "desc": "Операционные системы"
                },
                {
                    "id": 80,
                    "cat": "PC/ISO",
                    "desc": " |- Windows 11"
                },
                {
                    "id": 79,
                    "cat": "PC/ISO",
                    "desc": " |- Windows 10"
                },
                {
                    "id": 78,
                    "cat": "PC/ISO",
                    "desc": " |- Windows 8.x"
                },
                {
                    "id": 77,
                    "cat": "PC/ISO",
                    "desc": " |- Windows 7"
                },
                {
                    "id": 250,
                    "cat": "PC/ISO",
                    "desc": " |- Windows Vista , Windows XP , Windows выпущенные до 20..."
                },
                {
                    "id": 81,
                    "cat": "PC/ISO",
                    "desc": " |- Серверные ОС от Microsoft"
                },
                {
                    "id": 83,
                    "cat": "PC/ISO",
                    "desc": " |- Linux, Unix, Mac и другие ОС"
                },
                {
                    "id": 82,
                    "cat": "PC/ISO",
                    "desc": " |- Разное (RC, Beta, Service Packs, Cracks)"
                },
                {
                    "id": 93,
                    "cat": "PC/0day",
                    "desc": "Системные программы"
                },
                {
                    "id": 86,
                    "cat": "PC/0day",
                    "desc": " |- Драйверы и ресурсные библиотеки"
                },
                {
                    "id": 251,
                    "cat": "PC/0day",
                    "desc": " |- Обслуживание и диагностика компьютера"
                },
                {
                    "id": 252,
                    "cat": "PC/0day",
                    "desc": " |- Работа с жёсткими дисками"
                },
                {
                    "id": 457,
                    "cat": "PC/0day",
                    "desc": " |- Резервирование и восстановление данных"
                },
                {
                    "id": 253,
                    "cat": "PC/0day",
                    "desc": " |- Работа с внешними носителями информации"
                },
                {
                    "id": 254,
                    "cat": "PC/0day",
                    "desc": " |- Архиваторы и файловые менеджеры"
                },
                {
                    "id": 91,
                    "cat": "PC/0day",
                    "desc": " |- Программы для интернета и сетей"
                },
                {
                    "id": 256,
                    "cat": "PC/0day",
                    "desc": " |- Настройка и оптимизация, изменение интерфейса ОС"
                },
                {
                    "id": 257,
                    "cat": "PC/0day",
                    "desc": " |- WPI и прочие сборники программ"
                },
                {
                    "id": 258,
                    "cat": "PC/0day",
                    "desc": " |- LiveCD/DVD/USB"
                },
                {
                    "id": 92,
                    "cat": "PC/0day",
                    "desc": "Безопасность"
                },
                {
                    "id": 259,
                    "cat": "PC/0day",
                    "desc": " |- Антивирусы, брандмауэры"
                },
                {
                    "id": 260,
                    "cat": "PC/0day",
                    "desc": " |- Антишпионское, антирекламное и антиблокировочное ПО"
                },
                {
                    "id": 261,
                    "cat": "PC/0day",
                    "desc": " |- Средства шифрования и защиты информации"
                },
                {
                    "id": 262,
                    "cat": "PC/0day",
                    "desc": " |- Комплексная защита ПК"
                },
                {
                    "id": 263,
                    "cat": "PC/0day",
                    "desc": "Программы для бизнеса, офиса, научной и проектной работы"
                },
                {
                    "id": 272,
                    "cat": "PC/0day",
                    "desc": " |- Офисные системы"
                },
                {
                    "id": 271,
                    "cat": "PC/0day",
                    "desc": " |- Системы для бизнеса"
                },
                {
                    "id": 270,
                    "cat": "PC/0day",
                    "desc": " |- Системы для научной работы"
                },
                {
                    "id": 269,
                    "cat": "PC/0day",
                    "desc": " |- САПР, софт для архитекторов, дизайнеров и пр."
                },
                {
                    "id": 268,
                    "cat": "PC/0day",
                    "desc": " |- Справочные системы, базы данных"
                },
                {
                    "id": 267,
                    "cat": "PC/0day",
                    "desc": " |- Программы для верстки, печати и работы со шрифтами"
                },
                {
                    "id": 266,
                    "cat": "PC/0day",
                    "desc": " |- Работа с PDF, DjVu, FB2, EPUB, MOBI и пр."
                },
                {
                    "id": 265,
                    "cat": "PC/0day",
                    "desc": " |- Словари, переводчики, программы обучения языкам"
                },
                {
                    "id": 264,
                    "cat": "PC/0day",
                    "desc": " |- Распознавание текста, звука и синтез речи"
                },
                {
                    "id": 273,
                    "cat": "PC/0day",
                    "desc": "Программирование и веб-разработка"
                },
                {
                    "id": 89,
                    "cat": "PC/0day",
                    "desc": " |- Среды программирования, компиляторы и вспомогател..."
                },
                {
                    "id": 276,
                    "cat": "PC/0day",
                    "desc": " |- Текстовые редакторы с подсветкой кода"
                },
                {
                    "id": 275,
                    "cat": "PC/0day",
                    "desc": " |- Системы управления базами данных (СУБД)"
                },
                {
                    "id": 277,
                    "cat": "PC/0day",
                    "desc": " |- WYSIWYG-редакторы для веб-дизайна"
                },
                {
                    "id": 274,
                    "cat": "PC/0day",
                    "desc": " |- Скрипты и шаблоны"
                },
                {
                    "id": 278,
                    "cat": "PC/0day",
                    "desc": "Графика и мультимедиа"
                },
                {
                    "id": 316,
                    "cat": "PC/0day",
                    "desc": " |- 3D моделирование, рендеринг и плагины для них"
                },
                {
                    "id": 287,
                    "cat": "PC/0day",
                    "desc": " |- Графические редакторы и каталогизаторы"
                },
                {
                    "id": 288,
                    "cat": "PC/0day",
                    "desc": " |- Графические грабберы и конвертеры"
                },
                {
                    "id": 286,
                    "cat": "PC/0day",
                    "desc": " |- Аудио- Видео- редакторы"
                },
                {
                    "id": 284,
                    "cat": "PC/0day",
                    "desc": " |- Аудио- Видео- проигрыватели и каталогизаторы"
                },
                {
                    "id": 283,
                    "cat": "PC/0day",
                    "desc": " |- Аудио- Видео- грабберы, рипперы и конвертеры"
                },
                {
                    "id": 282,
                    "cat": "PC/0day",
                    "desc": " |- Анимация"
                },
                {
                    "id": 281,
                    "cat": "PC/0day",
                    "desc": " |- Программные комплекты"
                },
                {
                    "id": 279,
                    "cat": "PC/0day",
                    "desc": " |- Разное (Графика и мультимедиа)"
                },
                {
                    "id": 332,
                    "cat": "PC/0day",
                    "desc": "Системы навигации и карты"
                },
                {
                    "id": 94,
                    "cat": "PC/0day",
                    "desc": " |- Утилиты"
                },
                {
                    "id": 88,
                    "cat": "PC/0day",
                    "desc": " |- Мультимедия"
                },
                {
                    "id": 178,
                    "cat": "Other",
                    "desc": "Графические изображения"
                },
                {
                    "id": 184,
                    "cat": "Other",
                    "desc": " |- Обои"
                },
                {
                    "id": 183,
                    "cat": "Other",
                    "desc": " |- Картинки"
                },
                {
                    "id": 182,
                    "cat": "Other",
                    "desc": " |- Фотографии"
                },
                {
                    "id": 181,
                    "cat": "Other",
                    "desc": " |- Обложки"
                },
                {
                    "id": 180,
                    "cat": "Other",
                    "desc": " |- Аватарки, Иконки и пр."
                },
                {
                    "id": 179,
                    "cat": "Other",
                    "desc": "Дизайнерские материалы"
                },
                {
                    "id": 186,
                    "cat": "Other",
                    "desc": " |- Всё для 2d графики"
                },
                {
                    "id": 185,
                    "cat": "Other",
                    "desc": " |- Всё для 3d графики"
                },
                {
                    "id": 376,
                    "cat": "PC/Mobile-Other",
                    "desc": "Помощь по разделу (Мобильные устройства)"
                },
                {
                    "id": 375,
                    "cat": "PC/Mobile-Other",
                    "desc": "Игры"
                },
                {
                    "id": 393,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Java"
                },
                {
                    "id": 390,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Windows Mobile / Windows Phone"
                },
                {
                    "id": 387,
                    "cat": "PC/Mobile-iOS",
                    "desc": " |- iOS"
                },
                {
                    "id": 383,
                    "cat": "PC/Mobile-Android",
                    "desc": " |- Android"
                },
                {
                    "id": 380,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Symbian"
                },
                {
                    "id": 374,
                    "cat": "PC/Mobile-Other",
                    "desc": "Приложения"
                },
                {
                    "id": 392,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Java"
                },
                {
                    "id": 389,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Windows Mobile / Windows Phone"
                },
                {
                    "id": 386,
                    "cat": "PC/Mobile-iOS",
                    "desc": " |- iOS"
                },
                {
                    "id": 382,
                    "cat": "PC/Mobile-Android",
                    "desc": " |- Android"
                },
                {
                    "id": 379,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Symbian"
                },
                {
                    "id": 367,
                    "cat": "PC/Mobile-Other",
                    "desc": "Дополнительно"
                },
                {
                    "id": 373,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Прошивки"
                },
                {
                    "id": 368,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Софт для работы с телефоном"
                },
                {
                    "id": 370,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Видео для КПК"
                },
                {
                    "id": 369,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Темы и Обои"
                },
                {
                    "id": 426,
                    "cat": "PC/Mobile-Other",
                    "desc": " |- Подготовка и оформления раздач R.G. Mobile"
                },
                {
                    "id": 205,
                    "cat": "Other",
                    "desc": "Ресурсы для TorrentPier"
                },
                {
                    "id": 209,
                    "cat": "Other",
                    "desc": " |- Модификации для TorrentPier"
                },
                {
                    "id": 207,
                    "cat": "Other",
                    "desc": " |- Графика и стили для TorrentPier"
                },
                {
                    "id": 206,
                    "cat": "Other",
                    "desc": " |- Шаблоны для TorrentPier"
                },
                {
                    "id": 449,
                    "cat": "Other",
                    "desc": " |- Ресурсы для скачивания"
                },
                {
                    "id": 163,
                    "cat": "Other",
                    "desc": "Временные раздачи"
                }
            ],
            "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": "stripcyrillic",
                "type": "checkbox",
                "label": "Strip Cyrillic Letters",
                "default": false
            },
            {
                "name": "addrussiantotitle",
                "type": "checkbox",
                "label": "Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": 1,
                "options": {
                    "1": "created",
                    "10": "seeders",
                    "7": "size",
                    "2": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": 2,
                "options": {
                    "2": "desc",
                    "1": "asc"
                }
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "form": "form[action=\"/login\"]",
            "inputs": {
                "login_username": "{{ .Config.username }}",
                "login_password": "{{ .Config.password }}",
                "autologin": 1,
                "redirect": "/",
                "login": "Вход"
            },
            "selectorinputs": {
                "_token": {
                    "selector": "input[name=\"_token\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "table.error"
                }
            ],
            "test": {
                "path": "search",
                "selector": "a[href=\"/login?logout=1\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "tracker"
                }
            ],
            "inputs": {
                "$raw": "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}",
                "prev_allw": 1,
                "prev_a": 0,
                "prev_dla": 0,
                "prev_dlc": 0,
                "prev_dld": 0,
                "prev_dlw": 0,
                "prev_my": 0,
                "prev_new": 0,
                "prev_sd": 0,
                "prev_da": 1,
                "prev_dc": 0,
                "prev_df": 1,
                "prev_ds": 0,
                "prev_tor_type": 0,
                "o": "{{ .Config.sort }}",
                "s": "{{ .Config.type }}",
                "tm": -1,
                "sns": -1,
                "srg": -1,
                "dc": 0,
                "df": 1,
                "da": 1,
                "ds": 0,
                "nm": "{{ .Keywords }}",
                "allw": 0
            },
            "keywordsfilters": [
                {
                    "name": "diacritics",
                    "args": "replace"
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)\\b",
                        "сезон $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bE0*(\\d+)\\b",
                        "сери $1"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)\\bS0*(\\d+)E0*(\\d+)\\b",
                        "сезон $1 сери $2"
                    ]
                }
            ],
            "rows": {
                "selector": "tr[id^=\"tor_\"]:has(a[href^=\"/dl/\"]), tr[id^=\"tor_\"]:has(a[href^=\"magnet:?xt=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a.gen",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)$"
                        }
                    ]
                },
                "title": {
                    "selector": "a.tLink",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "S$1E$2 of $3"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "S$1E$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?",
                                "S$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)",
                                "E$1 of $2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))",
                                "E$1"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)",
                                "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bHDTV[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSAT[-\\s]?Rip\\b",
                                "HDTV"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sRip\\b",
                                "WEBRip"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWEB\\sDL\\b",
                                "WEB-DL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
                        }
                    ]
                },
                "details": {
                    "selector": "a.tLink",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/dl/\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(6) > u"
                },
                "seeders": {
                    "selector": "td.seedmed > b"
                },
                "leechers": {
                    "selector": "td.leechmed > b"
                },
                "grabs": {
                    "selector": "td:nth-child(9) p.med"
                },
                "date": {
                    "selector": "td:last-child > u"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"images/tor_gold.gif\"]": 0,
                        "img[src=\"images/tor_silver.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "vault-network": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "vault-network",
        "name": "Vault network",
        "description": "Vault network is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "certificates": [
            "b0d73bb07c3b4cc1f8eb9231a4443e34e876d79e"
        ],
        "links": [
            "https://vault-network.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 5,
                    "cat": "PC/Mobile-Android",
                    "desc": "Apps Android"
                },
                {
                    "id": 4,
                    "cat": "PC/Mac",
                    "desc": "Apps Mac"
                },
                {
                    "id": 3,
                    "cat": "PC/0day",
                    "desc": "Apps Windows"
                },
                {
                    "id": 35,
                    "cat": "Audio",
                    "desc": "Audio Boxsets"
                },
                {
                    "id": 33,
                    "cat": "Audio",
                    "desc": "Audio Discography"
                },
                {
                    "id": 18,
                    "cat": "Audio",
                    "desc": "Audio DMC"
                },
                {
                    "id": 15,
                    "cat": "Audio/Lossless",
                    "desc": "Audio flac"
                },
                {
                    "id": 19,
                    "cat": "Audio",
                    "desc": "Audio Mastermix"
                },
                {
                    "id": 14,
                    "cat": "Audio/MP3",
                    "desc": "Audio mp3"
                },
                {
                    "id": 16,
                    "cat": "Audio",
                    "desc": "Audio Packs / Weekly Packs"
                },
                {
                    "id": 17,
                    "cat": "Audio/Video",
                    "desc": "Audio Video"
                },
                {
                    "id": 31,
                    "cat": "Audio/Lossless",
                    "desc": "Audio WAV"
                },
                {
                    "id": 23,
                    "cat": "Audio/Audiobook",
                    "desc": "Books Audio Books"
                },
                {
                    "id": 24,
                    "cat": "Books/EBook",
                    "desc": "Books eBooks"
                },
                {
                    "id": 25,
                    "cat": "Books/Mags",
                    "desc": "Books Magazines"
                },
                {
                    "id": 37,
                    "cat": "Other",
                    "desc": "Christmas"
                },
                {
                    "id": 38,
                    "cat": "Audio",
                    "desc": "Christmas Audio"
                },
                {
                    "id": 39,
                    "cat": "Movies",
                    "desc": "Christmas Movie"
                },
                {
                    "id": 40,
                    "cat": "TV",
                    "desc": "Christmas TV"
                },
                {
                    "id": 29,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 42,
                    "cat": "PC/Games",
                    "desc": "Games PC"
                },
                {
                    "id": 43,
                    "cat": "Console/Wii",
                    "desc": "Games Wii"
                },
                {
                    "id": 28,
                    "cat": "Audio",
                    "desc": "Karaoke"
                },
                {
                    "id": 7,
                    "cat": "Movies/HD",
                    "desc": "Movie 1080p"
                },
                {
                    "id": 6,
                    "cat": "Movies/UHD",
                    "desc": "Movie 4K"
                },
                {
                    "id": 8,
                    "cat": "Movies/HD",
                    "desc": "Movie 720p"
                },
                {
                    "id": 11,
                    "cat": "Movies",
                    "desc": "Movie Animated"
                },
                {
                    "id": 12,
                    "cat": "Movies",
                    "desc": "Movie Boxsets"
                },
                {
                    "id": 10,
                    "cat": "Movies/SD",
                    "desc": "Movie Cam/TS"
                },
                {
                    "id": 13,
                    "cat": "TV/Documentary",
                    "desc": "Movie Documentaries"
                },
                {
                    "id": 9,
                    "cat": "Movies/SD",
                    "desc": "Movie SD"
                },
                {
                    "id": 30,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 21,
                    "cat": "TV/Documentary",
                    "desc": "TV Documentaries"
                },
                {
                    "id": 20,
                    "cat": "TV",
                    "desc": "TV Episodes"
                },
                {
                    "id": 22,
                    "cat": "TV",
                    "desc": "TV Packs"
                },
                {
                    "id": 27,
                    "cat": "Other",
                    "desc": "VIP"
                }
            ],
            "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": "Filter freeleech only",
                "default": false
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "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_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>40</b> on your account profile. The default is <i>20</i>."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logout": ""
            },
            "error": [
                {
                    "selector": "table:contains(\"error has occured\")"
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href*=\"/logout.php\"]"
            }
        },
        "download": {
            "before": {
                "path": "takethanks.php",
                "method": "post",
                "inputs": {
                    "torrentid": "{{ .DownloadUri.Query.id }}"
                }
            },
            "selectors": [
                {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[\\s]+",
                        "%"
                    ]
                }
            ],
            "inputs": {
                "do": "search",
                "keywords": "{{ .Keywords }}",
                "search_type": "t_name",
                "category": 0,
                "include_dead_torrents": true,
                "sort": "{{ if .Config.freeleech }}free{{ else }}{{ .Config.sort }}{{ end }}",
                "order": "{{ if .Config.freeleech }}asc{{ else }}{{ .Config.type }}{{ end }}"
            },
            "rows": {
                "selector": "table.sortable tr:has(a[href*=\"/download.php?id=\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"/browse.php?category=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "category"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"/details.php?id=\"]"
                },
                "title": {
                    "selector": "div.tooltip-content > div",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"/details.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div.tooltip-content > img",
                    "attribute": "src"
                },
                "date": {
                    "selector": "td:nth-child(2)",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d{2}-\\d{2}-\\d{4} \\d{2}:\\d{2})"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd-MM-yyyy HH:mm"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src$=\"freedownload.gif\"]": 0,
                        "img[src$=\"silverdownload.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src$=\"x2.gif\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "vietmediaf": {
        "credentials": {
            "apikey": ""
        },
        "id": "vietmediaf",
        "name": "VietMediaF",
        "description": "VietMediaF is a VIETNAMESE Private Torrent Tracker for MOVIES / TV",
        "language": "vi-VN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://tracker.vietmediaf.store/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 3,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 4,
                    "cat": "Books/Comics",
                    "desc": "Manga"
                },
                {
                    "id": 5,
                    "cat": "Other",
                    "desc": "Recycle Bin"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://tracker.vietmediaf.store/\" target=\"_blank\">VietMediaF</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 604800
                }
            }
        }
    },
    "vsthouse": {
        "id": "vsthouse",
        "name": "VSTHouse",
        "description": "VSTHouse is a RUSSIAN Public site for AUDIO apps, plugins and samples",
        "language": "ru-RU",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://vsthouse.ru/"
        ],
        "legacylinks": [
            "http://vsthouse.ru/"
        ],
        "caps": {
            "categories": {
                "PC": "PC"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "a[title^=\"Скачать:\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "search"
                }
            ],
            "inputs": {
                "q": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "m": "load",
                "t": 0
            },
            "rows": {
                "selector": "table.eBlock:has(div.eDetails:contains(\":\"))",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": "PC"
                },
                "title": {
                    "selector": "div.eTitle a"
                },
                "details": {
                    "selector": "div.eTitle a",
                    "attribute": "href"
                },
                "download": {
                    "selector": "div.eTitle a",
                    "attribute": "href"
                },
                "description": {
                    "selector": "div.eDetails"
                },
                "date": {
                    "selector": "div.eDetails",
                    "remove": "a, span",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "- ",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "text": "512 MB"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "vstorrent": {
        "id": "vstorrent",
        "name": "VSTorrent",
        "description": "VSTorrent is a Public site for AUDIO apps, plugins and samples",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://vstorrent.org/"
        ],
        "caps": {
            "categories": {
                "PC": "PC"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "date",
                "options": {
                    "date": "created",
                    "relevance": "relevance"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "DESC",
                "options": {
                    "DESC": "desc",
                    "ASC": "asc"
                }
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?xt\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "allowEmptyInputs": true,
            "inputs": {
                "s": "{{ .Keywords }}",
                "orderby": "{{ .Config.sort }}",
                "order": "{{ .Config.type }}",
                "post_type": "post"
            },
            "rows": {
                "selector": "article:has(a)",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": "PC"
                },
                "title": {
                    "selector": ".entry-title"
                },
                "details": {
                    "selector": ".entry-title > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": ".entry-title > a",
                    "attribute": "href"
                },
                "description": {
                    "selector": ".entry-summary"
                },
                "date": {
                    "selector": "span.date"
                },
                "size": {
                    "text": "512 MB"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "vsttorrents": {
        "id": "vsttorrents",
        "name": "VST Torrentz",
        "description": "VST Torrentz is a Public site for AUDIO apps, plugins and samples",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://vsttorrentz.net/"
        ],
        "legacylinks": [
            "https://vsttorrents.net/",
            "https://looptorrent.net/"
        ],
        "caps": {
            "categories": {
                "PC": "PC"
            },
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "download": {
            "selectors": [
                {
                    "selector": "div.wp-block-file a",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "/"
                }
            ],
            "inputs": {
                "s": "{{ .Keywords }}"
            },
            "rows": {
                "selector": "article:has(.entry-title)",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": "PC"
                },
                "title": {
                    "selector": ".entry-title"
                },
                "details": {
                    "selector": ".entry-title > a",
                    "attribute": "href"
                },
                "download": {
                    "selector": ".entry-title > a",
                    "attribute": "href"
                },
                "poster": {
                    "selector": ".wp-post-image",
                    "attribute": "data-src"
                },
                "description": {
                    "selector": ".entry-summary"
                },
                "date_year": {
                    "selector": ".post-date",
                    "optional": true
                },
                "date_time": {
                    "selector": "time",
                    "attribute": "datetime",
                    "optional": true
                },
                "date": {
                    "text": "{{ if or .Result.date_year .Result.date_time }}{{ or .Result.date_year .Result.date_time }}{{ else }}now{{ end }}"
                },
                "size": {
                    "text": "512 MB"
                },
                "seeders": {
                    "text": 1
                },
                "leechers": {
                    "text": 1
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "whiteangel": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "whiteangel",
        "name": "White Angel",
        "description": "White Angel is a HUNGARIAN Private Tracker for MOVIES / TV",
        "language": "hu-HU",
        "type": "private",
        "encoding": "ISO-8859-2",
        "links": [
            "https://white-angel.hu/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 39,
                    "cat": "Books/EBook",
                    "desc": "E-book"
                },
                {
                    "id": 53,
                    "cat": "XXX",
                    "desc": "Film (XXX)"
                },
                {
                    "id": 74,
                    "cat": "TV/Anime",
                    "desc": "Film (Animáció cam)"
                },
                {
                    "id": 72,
                    "cat": "TV/Anime",
                    "desc": "Film (Animáció)"
                },
                {
                    "id": 44,
                    "cat": "Movies/SD",
                    "desc": "Film (Cam Hun)"
                },
                {
                    "id": 40,
                    "cat": "Movies/DVD",
                    "desc": "Film (DVD Eng)"
                },
                {
                    "id": 41,
                    "cat": "Movies/DVD",
                    "desc": "Film (DVD Hun)"
                },
                {
                    "id": 57,
                    "cat": "Movies/HD",
                    "desc": "Film (HD Eng)"
                },
                {
                    "id": 38,
                    "cat": "Movies/HD",
                    "desc": "Film (HD Hun)"
                },
                {
                    "id": 42,
                    "cat": "Movies/SD",
                    "desc": "Film (Xvid Eng)"
                },
                {
                    "id": 73,
                    "cat": "Movies/SD",
                    "desc": "Film (Xvid Eng-Hun)"
                },
                {
                    "id": 43,
                    "cat": "Movies/SD",
                    "desc": "Film (Xvid Hun)"
                },
                {
                    "id": 69,
                    "cat": "XXX/x264",
                    "desc": "Film (XXX HD)"
                },
                {
                    "id": 63,
                    "cat": "Movies/SD",
                    "desc": "Film (Cam Eng)"
                },
                {
                    "id": 71,
                    "cat": "Audio/Audiobook",
                    "desc": "Hangos könyv"
                },
                {
                    "id": 45,
                    "cat": "PC/Games",
                    "desc": "Játék ISO"
                },
                {
                    "id": 46,
                    "cat": "Console/PS3",
                    "desc": "Játék Ps2"
                },
                {
                    "id": 66,
                    "cat": "PC/Games",
                    "desc": "Játék Rip"
                },
                {
                    "id": 47,
                    "cat": "Console/XBox",
                    "desc": "Játék Xbox"
                },
                {
                    "id": 70,
                    "cat": "XXX/Other",
                    "desc": "Játék XXX"
                },
                {
                    "id": 48,
                    "cat": "Other",
                    "desc": "Képek"
                },
                {
                    "id": 65,
                    "cat": "TV/Anime",
                    "desc": "Mese Eng"
                },
                {
                    "id": 49,
                    "cat": "TV/Anime",
                    "desc": "Mese Hun"
                },
                {
                    "id": 50,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobil"
                },
                {
                    "id": 52,
                    "cat": "TV",
                    "desc": "Sorozat (Hun Xvid)"
                },
                {
                    "id": 59,
                    "cat": "TV",
                    "desc": "Sorozat (Xvid Eng)"
                },
                {
                    "id": 68,
                    "cat": "PC/ISO",
                    "desc": "Win/Program/ISO"
                },
                {
                    "id": 51,
                    "cat": "PC/0day",
                    "desc": "Win/Program/Rip"
                },
                {
                    "id": 54,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX/Kép"
                },
                {
                    "id": 55,
                    "cat": "Audio",
                    "desc": "Zene/Eng"
                },
                {
                    "id": 56,
                    "cat": "Audio",
                    "desc": "Zene/Hun"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "book-search": [
                    "q"
                ],
                "music-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": 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."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "table:contains(\"bejelentkezés nem sikerült\")"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href^=\"logout.php?k=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[cellpadding=\"5\"] tbody tr:has(a[href^=\"download.php?torrent=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"javascript:torrent\"] b"
                },
                "title": {
                    "selector": "a[href^=\"javascript:torrent\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "_id": {
                    "selector": "a[href^=\"javascript:torrent\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d+)"
                        }
                    ]
                },
                "details": {
                    "text": "details.php?id={{ .Result._id }}"
                },
                "poster": {
                    "selector": "a[onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "src=(.*?) "
                        },
                        {
                            "name": "prepend",
                            "args": "https:"
                        }
                    ]
                },
                "download": {
                    "selector": "a[href^=\"download.php?torrent=\"]",
                    "attribute": "href"
                },
                "genre": {
                    "selector": "font[color=\"#C0C0C0\"]",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                ""
                            ]
                        }
                    ]
                },
                "description": {
                    "text": "{{ .Result.genre }}"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:nth-last-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +01:00"
                        },
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(2)"
                },
                "leechers": {
                    "selector": "td:last-child"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/ingyen.gif\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "font:contains(\"[x2]\")": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 1
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "wihd": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "wihd",
        "name": "World-In-HD",
        "description": "World-In-HD is a Private Torrent Tracker. Your world in HD",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://world-in-hd.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "565af82b1fd35761568b4572",
                    "cat": "Movies/HD",
                    "desc": "1080p"
                },
                {
                    "id": "565af82b1fd35761568b4574",
                    "cat": "Movies/HD",
                    "desc": "720p"
                },
                {
                    "id": "565af82b1fd35761568b4576",
                    "cat": "Movies/HD",
                    "desc": "HDTV"
                },
                {
                    "id": "565af82b1fd35761568b4578",
                    "cat": "Movies/HD",
                    "desc": "Bluray"
                },
                {
                    "id": "565af82b1fd35761568b457a",
                    "cat": "Movies/HD",
                    "desc": "Bluray Remux"
                },
                {
                    "id": "565af82b1fd35761568b457c",
                    "cat": "Movies/HD",
                    "desc": "Bluray 3D"
                },
                {
                    "id": "565af82d1fd35761568b4587",
                    "cat": "TV/HD",
                    "desc": "1080p"
                },
                {
                    "id": "565af82d1fd35761568b4589",
                    "cat": "TV/HD",
                    "desc": "720p"
                },
                {
                    "id": "565af82d1fd35761568b458b",
                    "cat": "TV/HD",
                    "desc": "HDTV"
                },
                {
                    "id": "565af82d1fd35761568b458d",
                    "cat": "TV/HD",
                    "desc": "Bluray"
                },
                {
                    "id": "565af82d1fd35761568b458f",
                    "cat": "TV/HD",
                    "desc": "Bluray Remux"
                },
                {
                    "id": "565af82d1fd35761568b4591",
                    "cat": "TV/HD",
                    "desc": "Bluray 3D"
                },
                {
                    "id": "565af82d1fd35761568b459c",
                    "cat": "TV/Anime",
                    "desc": "1080p"
                },
                {
                    "id": "565af82d1fd35761568b459e",
                    "cat": "TV/Anime",
                    "desc": "720p"
                },
                {
                    "id": "565af82d1fd35761568b45a0",
                    "cat": "TV/Anime",
                    "desc": "HDTV"
                },
                {
                    "id": "565af82d1fd35761568b45a2",
                    "cat": "TV/Anime",
                    "desc": "Bluray"
                },
                {
                    "id": "565af82d1fd35761568b45a4",
                    "cat": "TV/Anime",
                    "desc": "Bluray Remux"
                },
                {
                    "id": "565af82d1fd35761568b45a6",
                    "cat": "TV/Anime",
                    "desc": "Bluray 3D"
                },
                {
                    "id": "565af82d1fd35761568b45af",
                    "cat": "PC/0day",
                    "desc": "software"
                },
                {
                    "id": "565af82d1fd35761568b45b1",
                    "cat": "Audio/Video",
                    "desc": "clips"
                },
                {
                    "id": "565af82d1fd35761568b45b3",
                    "cat": "Audio/Other",
                    "desc": "Audio tracks"
                },
                {
                    "id": "565af82d1fd35761568b45b5",
                    "cat": "TV/Documentary",
                    "desc": "documentaries"
                },
                {
                    "id": "565af82d1fd35761568b45b7",
                    "cat": "Movies/HD",
                    "desc": "Bluray"
                },
                {
                    "id": "59591f0807fd301b6eaa7a8f",
                    "cat": "Movies/HD",
                    "desc": "1080p"
                },
                {
                    "id": "595cd82e07fd301b6eaa7a90",
                    "cat": "Movies/HD",
                    "desc": "720p"
                },
                {
                    "id": "59e67c0ed5b6a3e689dd1e1f",
                    "cat": "Movies/UHD",
                    "desc": "Bluray 4K"
                },
                {
                    "id": "59e488174a23a800358b4567",
                    "cat": "Movies/UHD",
                    "desc": "Bluray Remux 4K"
                },
                {
                    "id": "5a64af02ee30983a7e596aed",
                    "cat": "Movies/HD",
                    "desc": "WEB-DL"
                },
                {
                    "id": "5cd19d6c3fc7af3ea2491037",
                    "cat": "Movies/UHD",
                    "desc": "2160p"
                },
                {
                    "id": "5cd1a01f3fc7af3ea2491038",
                    "cat": "TV/Anime",
                    "desc": "2160p"
                },
                {
                    "id": "5cd1a0b73fc7af3ea2491039",
                    "cat": "Movies/Other",
                    "desc": "2160p"
                },
                {
                    "id": "5cd19f753fc7af3ea249103a",
                    "cat": "TV/UHD",
                    "desc": "2160p"
                }
            ],
            "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": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi FRENCH": "MULTi FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi ENGLISH": "MULTi ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi VOSTFR": "MULTi VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "form": "form#login-form",
            "inputs": {
                "_username": "{{ .Config.username }}",
                "_password": "{{ .Config.password }}",
                "_remember_me": true
            },
            "error": [
                {
                    "selector": ":contains(\"\\\"success\\\":false\")"
                }
            ],
            "test": {
                "path": "torrents",
                "selector": "a[href*=\"logout\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrent/ajaxfiltertorrent/{{ if .Keywords }}{{ .Keywords }}{{ else }}null{{ end }}"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}subcat[]={{.}}&{{end}}",
                "exclu": 0,
                "freeleech": "{{ if .Config.freeleech }}1{{ else }}0{{ end }}",
                "reseed": 0
            },
            "rows": {
                "selector": "div.torrent-item",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "title_phase1": {
                    "selector": "a.torrentlink",
                    "attribute": "title",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(SEASON|SAISON) (\\d\\d)",
                                "S$2"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(SEASON|SAISON) (\\d)",
                                "S0$2"
                            ]
                        }
                    ]
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "poster": {
                    "selector": "a.torrentlink > img.img-responsive",
                    "attribute": "src"
                },
                "details": {
                    "selector": "a.torrentlink",
                    "attribute": "href"
                },
                "category": {
                    "selector": "div.category",
                    "case": {
                        ":contains(\"Films\"):contains(\"1080p\")": "565af82b1fd35761568b4572",
                        ":contains(\"Films\"):contains(\"720p\")": "565af82b1fd35761568b4574",
                        ":contains(\"Films\"):contains(\"HDTV\")": "565af82b1fd35761568b4576",
                        ":contains(\"Films\"):contains(\"Bluray Remux\")": "565af82b1fd35761568b457a",
                        ":contains(\"Films\"):contains(\"Bluray 3D\")": "565af82b1fd35761568b457c",
                        ":contains(\"Films\"):contains(\"Bluray Remux 4K\")": "59e488174a23a800358b4567",
                        ":contains(\"Films\"):contains(\"Bluray 4K\")": "59e67c0ed5b6a3e689dd1e1f",
                        ":contains(\"Films\"):contains(\"Bluray\")": "565af82b1fd35761568b4578",
                        ":contains(\"Films\"):contains(\"WEB-DL\")": "5a64af02ee30983a7e596aed",
                        ":contains(\"Séries\"):contains(\"1080p\")": "565af82d1fd35761568b4587",
                        ":contains(\"Séries\"):contains(\"720p\")": "565af82d1fd35761568b4589",
                        ":contains(\"Séries\"):contains(\"HDTV\")": "565af82d1fd35761568b458b",
                        ":contains(\"Séries\"):contains(\"Bluray Remux\")": "565af82d1fd35761568b458f",
                        ":contains(\"Séries\"):contains(\"Bluray 3D\")": "565af82d1fd35761568b4591",
                        ":contains(\"Séries\"):contains(\"Bluray\")": "565af82d1fd35761568b458d",
                        ":contains(\"Animations\"):contains(\"1080p\")": "565af82d1fd35761568b459c",
                        ":contains(\"Animations\"):contains(\"720p\")": "565af82d1fd35761568b459e",
                        ":contains(\"Animations\"):contains(\"HDTV\")": "565af82d1fd35761568b45a0",
                        ":contains(\"Animations\"):contains(\"Bluray Remux\")": "565af82d1fd35761568b45a4",
                        ":contains(\"Animations\"):contains(\"Bluray 3D\")": "565af82d1fd35761568b45a6",
                        ":contains(\"Animations\"):contains(\"Bluray\")": "565af82d1fd35761568b45a2",
                        ":contains(\"Divers\"):contains(\"Logiciels\")": "565af82d1fd35761568b45af",
                        ":contains(\"Divers\"):contains(\"Clips\")": "565af82d1fd35761568b45b1",
                        ":contains(\"Divers\"):contains(\"Pistes audios\")": "565af82d1fd35761568b45b3",
                        ":contains(\"Divers\"):contains(\"Documentaires\")": "565af82d1fd35761568b45b5",
                        ":contains(\"Divers\"):contains(\"Bluray\")": "565af82d1fd35761568b45b7",
                        ":contains(\"Divers\"):contains(\"1080p\")": "59591f0807fd301b6eaa7a8f",
                        ":contains(\"Divers\"):contains(\"720p\")": "595cd82e07fd301b6eaa7a90",
                        ":contains(\"Films\"):contains(\"2160p\")": "5cd19d6c3fc7af3ea2491037",
                        ":contains(\"Animations\"):contains(\"2160p\")": "5cd1a01f3fc7af3ea2491038",
                        ":contains(\"Divers\"):contains(\"2160p\")": "5cd1a0b73fc7af3ea2491039",
                        ":contains(\"Séries\"):contains(\"2160p\")": "5cd19f753fc7af3ea249103a",
                        "*": ""
                    }
                },
                "size": {
                    "selector": "div.category",
                    "case": {
                        ":contains(\"Films\"):contains(\"1080p\")": "5GB",
                        ":contains(\"Films\"):contains(\"720p\")": "4GB",
                        ":contains(\"Films\"):contains(\"HDTV\")": "3GB",
                        ":contains(\"Films\"):contains(\"Bluray Remux\")": "20GB",
                        ":contains(\"Films\"):contains(\"Bluray 3D\")": "20GB",
                        ":contains(\"Films\"):contains(\"Bluray Remux 4K\")": "40GB",
                        ":contains(\"Films\"):contains(\"Bluray 4K\")": "40GB",
                        ":contains(\"Films\"):contains(\"Bluray\")": "20GB",
                        ":contains(\"Films\"):contains(\"WEB-DL\")": "5GB",
                        ":contains(\"Séries\"):contains(\"1080p\")": "3GB",
                        ":contains(\"Séries\"):contains(\"720p\")": "2GB",
                        ":contains(\"Séries\"):contains(\"HDTV\")": "1GB",
                        ":contains(\"Séries\"):contains(\"Bluray Remux\")": "20GB",
                        ":contains(\"Séries\"):contains(\"Bluray 3D\")": "20GB",
                        ":contains(\"Séries\"):contains(\"Bluray\")": "20GB",
                        ":contains(\"Animations\"):contains(\"1080p\")": "3GB",
                        ":contains(\"Animations\"):contains(\"720p\")": "2GB",
                        ":contains(\"Animations\"):contains(\"HDTV\")": "1GB",
                        ":contains(\"Animations\"):contains(\"Bluray Remux\")": "20GB",
                        ":contains(\"Animations\"):contains(\"Bluray 3D\")": "20GB",
                        ":contains(\"Animations\"):contains(\"Bluray\")": "20GB",
                        ":contains(\"Divers\"):contains(\"Logiciels\")": "0",
                        ":contains(\"Divers\"):contains(\"Clips\")": "1GB",
                        ":contains(\"Divers\"):contains(\"Pistes audios\")": "1GB",
                        ":contains(\"Divers\"):contains(\"Documentaires\")": "1GB",
                        ":contains(\"Divers\"):contains(\"Bluray\")": "20GB",
                        ":contains(\"Divers\"):contains(\"1080p\")": "5GB",
                        ":contains(\"Divers\"):contains(\"720p\")": "4GB",
                        ":contains(\"Films\"):contains(\"2160p\")": "20GB",
                        ":contains(\"Animations\"):contains(\"2160p\")": "20GB",
                        ":contains(\"Divers\"):contains(\"2160p\")": "20GB",
                        ":contains(\"Séries\"):contains(\"2160p\")": "20GB",
                        "*": ""
                    }
                },
                "date": {
                    "text": "now"
                },
                "download": {
                    "selector": "div.download-item > a",
                    "attribute": "href"
                },
                "seeders": {
                    "selector": "div.seeders",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^$",
                                "999"
                            ]
                        }
                    ]
                },
                "leechers": {
                    "selector": "div.leechers",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^$",
                                "999"
                            ]
                        }
                    ]
                },
                "grabs": {
                    "selector": "div.completed"
                },
                "downloadvolumefactor": {
                    "case": {
                        "div.fl-label": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "wintersakura": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "wintersakura",
        "name": "WinterSakura",
        "description": "WinterSakura is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://wintersakura.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc其他",
                    "default": true
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports体育",
                    "default": true
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos音乐MV",
                    "default": true
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio无损音乐",
                    "default": true
                },
                {
                    "id": 418,
                    "cat": "TV",
                    "desc": "TV Shows综艺(分集)",
                    "default": true
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows综艺(Packs合集)",
                    "default": true
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series剧集(分集)",
                    "default": true
                },
                {
                    "id": 414,
                    "cat": "TV",
                    "desc": "TV Series剧集(Packs合集)",
                    "default": true
                },
                {
                    "id": 413,
                    "cat": "TV/Anime",
                    "desc": "Animation series动漫剧集(分集)",
                    "default": true
                },
                {
                    "id": 423,
                    "cat": "TV/Anime",
                    "desc": "Animation series动漫剧集(Packs合集)",
                    "default": true
                },
                {
                    "id": 422,
                    "cat": "TV/Anime",
                    "desc": "Animation flims动漫电影",
                    "default": true
                },
                {
                    "id": 410,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries纪录片",
                    "default": true
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies电影",
                    "default": true
                },
                {
                    "id": 427,
                    "cat": "PC",
                    "desc": "Software软件/程序/代码",
                    "default": false
                },
                {
                    "id": 426,
                    "cat": "Books/Technical",
                    "desc": "Papers期刊/论文",
                    "default": false
                },
                {
                    "id": 428,
                    "cat": "Books/EBook",
                    "desc": "Books图书",
                    "default": false
                },
                {
                    "id": 425,
                    "cat": "Other",
                    "desc": "Database数据/数据库",
                    "default": false
                },
                {
                    "id": 424,
                    "cat": "Other",
                    "desc": "Course课程",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the WinterSakura Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        409,
                        407,
                        406,
                        408,
                        418,
                        403,
                        402,
                        414,
                        413,
                        423,
                        422,
                        410,
                        401
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        427,
                        426,
                        428,
                        425,
                        424
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }} {{ else }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }} {{ else }}{{ end }}{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if or .Query.IMDBID .Query.DoubanID }}1{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.4
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "world-of-tomorrow": {
        "credentials": {
            "username": "",
            "password": "",
            "pin": ""
        },
        "id": "world-of-tomorrow",
        "name": "World-of-Tomorrow",
        "description": "World-of-Tomorrow is a GERMAN Private tracker",
        "language": "de-DE",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://w-o-t.pro/"
        ],
        "legacylinks": [
            "https://world-of-tomorrow.eu/",
            "https://wotreworked.xyz/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1107,
                    "cat": "PC/Mac",
                    "desc": "MAC"
                },
                {
                    "id": 1018,
                    "cat": "PC",
                    "desc": "Sonstige"
                },
                {
                    "id": 1028,
                    "cat": "PC/0day",
                    "desc": "Windows"
                },
                {
                    "id": 1036,
                    "cat": "Audio/Audiobook",
                    "desc": "Hörbücher"
                },
                {
                    "id": 1072,
                    "cat": "Audio",
                    "desc": "Musik-Packs"
                },
                {
                    "id": 1093,
                    "cat": "Audio/Video",
                    "desc": "Musik-Videos"
                },
                {
                    "id": 1070,
                    "cat": "Audio/Lossless",
                    "desc": "Musik/Flac"
                },
                {
                    "id": 1014,
                    "cat": "Audio/MP3",
                    "desc": "Musik/MP3"
                },
                {
                    "id": 1071,
                    "cat": "Audio",
                    "desc": "Soundtracks"
                },
                {
                    "id": 1110,
                    "cat": "Audio",
                    "desc": "WOTT"
                },
                {
                    "id": 1049,
                    "cat": "Movies/HD",
                    "desc": "1080p"
                },
                {
                    "id": 1090,
                    "cat": "Movies/3D",
                    "desc": "3D"
                },
                {
                    "id": 1048,
                    "cat": "Movies/HD",
                    "desc": "720p"
                },
                {
                    "id": 1087,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 1047,
                    "cat": "Movies/BluRay",
                    "desc": "BluRay"
                },
                {
                    "id": 1011,
                    "cat": "Movies/DVD",
                    "desc": "DVD"
                },
                {
                    "id": 1060,
                    "cat": "Movies/HD",
                    "desc": "HDTV"
                },
                {
                    "id": 1091,
                    "cat": "Movies",
                    "desc": "Packs"
                },
                {
                    "id": 1062,
                    "cat": "Movies/SD",
                    "desc": "SD"
                },
                {
                    "id": 1089,
                    "cat": "Movies/UHD",
                    "desc": "UHD"
                },
                {
                    "id": 1089,
                    "cat": "Movies/UHD",
                    "desc": "2160p"
                },
                {
                    "id": 1108,
                    "cat": "Movies",
                    "desc": "WOTT"
                },
                {
                    "id": 1079,
                    "cat": "TV/HD",
                    "desc": "1080p"
                },
                {
                    "id": 1095,
                    "cat": "TV/UHD",
                    "desc": "2160p"
                },
                {
                    "id": 1078,
                    "cat": "TV/HD",
                    "desc": "720p"
                },
                {
                    "id": 1105,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 1100,
                    "cat": "TV/HD",
                    "desc": "Packs HD"
                },
                {
                    "id": 1016,
                    "cat": "TV/SD",
                    "desc": "Packs-SD"
                },
                {
                    "id": 1077,
                    "cat": "TV/SD",
                    "desc": "SD"
                },
                {
                    "id": 1109,
                    "cat": "TV",
                    "desc": "WOTT"
                },
                {
                    "id": 1064,
                    "cat": "TV/Documentary",
                    "desc": "Dokus"
                },
                {
                    "id": 1019,
                    "cat": "Books/EBook",
                    "desc": "Ebooks"
                },
                {
                    "id": 1111,
                    "cat": "Books/EBook",
                    "desc": "English Section"
                },
                {
                    "id": 1101,
                    "cat": "TV",
                    "desc": "Kids"
                },
                {
                    "id": 1096,
                    "cat": "Other",
                    "desc": "Sonstiges"
                },
                {
                    "id": 1092,
                    "cat": "Console",
                    "desc": "Wimmelbild"
                },
                {
                    "id": 1088,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 1106,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX Bilder"
                },
                {
                    "id": 1102,
                    "cat": "XXX/Other",
                    "desc": "XXX HENTAI"
                },
                {
                    "id": 1005,
                    "cat": "Console",
                    "desc": "Konsolen"
                },
                {
                    "id": 1004,
                    "cat": "PC/Games",
                    "desc": "Windows"
                },
                {
                    "id": 1075,
                    "cat": "TV/Sport",
                    "desc": "Formel 1"
                },
                {
                    "id": 1074,
                    "cat": "TV/Sport",
                    "desc": "Fussball"
                },
                {
                    "id": 1073,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 1023,
                    "cat": "TV/Sport",
                    "desc": "Wrestling"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "pin",
                "type": "text",
                "label": "Pin"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search FreeLeech",
                "default": false
            },
            {
                "name": "onlyupload",
                "type": "checkbox",
                "label": "Search OnlyUpload",
                "default": false
            },
            {
                "name": "info_free",
                "type": "info",
                "label": "About Freeleech and OnlyUpload at World-of-Tomorrow",
                "default": "<ul><li>FreeLeech are torrents where neither the download or upload is counted.</li><li>OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up.</li></ul>"
            },
            {
                "name": "sortby",
                "type": "select",
                "label": "Sort requested from site",
                "default": "added",
                "options": {
                    "added": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "typeby",
                "type": "select",
                "label": "Order requested from site",
                "default": "DESC",
                "options": {
                    "DESC": "desc",
                    "ASC": "asc"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "All accounts up to platinum users that are inactive for more than 8 weeks will be deleted!"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "pin": "{{ .Config.pin }}",
                "remember": 1
            },
            "error": [
                {
                    "selector": "div#loginStatus"
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"], title:contains(\"APRILSCHERZ\")"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "search_query.php",
                    "method": "post"
                }
            ],
            "inputs": {
                "name": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "searchMethod": "wildcard",
                "maxAge": "added",
                "sortBy": "{{ .Config.sortby }}",
                "sortByType": "{{ .Config.typeby }}",
                "myTorrents": false,
                "highlight": false,
                "onlyupload": "{{ if .Config.onlyupload }}yes{{ else }}no{{ end }}",
                "freeleech": "{{ if .Config.freeleech }}yes{{ else }}no{{ end }}",
                "offset": 0,
                "limit": 100
            },
            "rows": {
                "selector": "div.sr-card, div.sr-dup-item",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "categorydesc": {
                    "selector": "div.sr-badge-cat, div.sr-dup-meta span:nth-child(5)",
                    "remove": "span.sr-badge-lang",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^(Filme|Serien|Musik|Audio|Spiele|Games|Apps|Software|Sonstiges)\\s+",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "\\s*\\[[^\\]]+\\]\\s*$",
                                ""
                            ]
                        },
                        {
                            "name": "trim"
                        }
                    ]
                },
                "title": {
                    "selector": "div.sr-title-row a[href^=\"torrent.php?id=\"], a.sr-dup-title"
                },
                "details": {
                    "selector": "div.sr-title-row a[href^=\"torrent.php?id=\"], a.sr-dup-title",
                    "attribute": "href"
                },
                "download": {
                    "selector": "input[data-url^=\"download.php?torrent=\"]",
                    "attribute": "data-url"
                },
                "poster": {
                    "selector": "div.sr-cover img",
                    "attribute": "src"
                },
                "imdbid": {
                    "selector": "a.sr-link-badge[href*=\"imdb.com\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "span.sr-detail-size, div.sr-dup-meta span:nth-child(1)"
                },
                "grabs": {
                    "selector": "span.sr-detail-dl",
                    "optional": true
                },
                "seeders": {
                    "selector": "span.sr-detail-seed, div.sr-dup-meta span:nth-child(2)"
                },
                "leechers": {
                    "selector": "span.sr-detail-leech, div.sr-dup-meta span:nth-child(3)"
                },
                "date": {
                    "selector": "span.sr-detail-time, div.sr-dup-meta span:nth-child(4)",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)^\\s*vor\\s+(.+)$",
                                "$1 ago"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bund\\b",
                                ""
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bSekunde(n)?\\b",
                                "seconds"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bMinute(n)?\\b",
                                "minutes"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bStunde(n)?\\b",
                                "hours"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bTag(e|en)?\\b",
                                "days"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bWoche(n)?\\b",
                                "weeks"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bMonat(e|en)?\\b",
                                "months"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\bJahr(e|en)?\\b",
                                "years"
                            ]
                        },
                        {
                            "name": "trim"
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "span.sr-status-onlyupload": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "span.sr-status-freeleech": 0,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.7
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "world-torrent": {
        "id": "world-torrent",
        "replaces": [
            "zetorrents",
            "torrent9clone",
            "torrent9-tel",
            "nortorrent"
        ],
        "name": "World-torrent",
        "description": "World-torrent is a FRENCH Public site for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://www.darkfox4.cc/",
            "https://www.vidlox4.cc/",
            "https://www.sharework3.cc/",
            "https://www.worldivx.cc/",
            "https://www.wikibox3.cc/",
            "https://www.sharkibox.cc/",
            "https://www.workino.cc/",
            "https://www.oxtorrent3.ws/",
            "https://www.torrent911.wiki/"
        ],
        "legacylinks": [
            "https://www.rantop.xyz/",
            "https://www.site-torrent.cc/",
            "https://www.torrent-site.cc/",
            "https://www.torrent-p2p.cc/",
            "https://www.protege-torrent.com/",
            "https://www.torrent.ws/",
            "https://www.protege-liens.com/",
            "https://www.protege-liens.net/",
            "https://www.torrent.onl/",
            "https://www.site-torrent.com/",
            "https://www.rantop.my/",
            "https://www.torrent-site.com/",
            "https://www.rantop.org/",
            "https://www.darkflix.cc/",
            "https://darkfox5.cc/",
            "https://ww1.fit/darkfox/",
            "https://www.darkfox2.cc/",
            "https://www.darkfox3.cc/",
            "https://vidlox5.cc/",
            "https://ww1.fit/vidlox/",
            "https://www.vidlox2.cc/",
            "https://www.vidlox3.cc/",
            "https://sharework5.cc/",
            "https://ww1.fit/sharework/",
            "https://www.sharework1.cc/",
            "https://www.sharework2.cc/",
            "https://wikibox3.cc/",
            "https://wikibox5.cc/",
            "https://ww1.fit/wikibox/",
            "https://www.wikibox1.cc/",
            "https://www.wikibox2.cc/",
            "https://www.sharkibox1.cc/",
            "https://www.worldivx1.cc/",
            "https://oxtorrent5.ws/",
            "https://ww1.fit/oxtorrent/",
            "https://www.oxtorrent2.ws/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "Films",
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": "Animes",
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": "Documentaires",
                    "cat": "TV/Documentary",
                    "desc": "Documentaires"
                },
                {
                    "id": "Séries",
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": "Musiques",
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": "Ebooks",
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": "Livres",
                    "cat": "Books",
                    "desc": "Livres"
                },
                {
                    "id": "Logiciels",
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": "Applications",
                    "cat": "PC",
                    "desc": "Applications"
                },
                {
                    "id": "Jeux-PC",
                    "cat": "PC/Games",
                    "desc": "PC Games"
                },
                {
                    "id": "Jeux-Consoles",
                    "cat": "Console/XBox 360",
                    "desc": "Console Games"
                },
                {
                    "id": "Porno",
                    "cat": "XXX",
                    "desc": "Porno"
                },
                {
                    "id": "Pornfilm",
                    "cat": "XXX",
                    "desc": "Pornfilm"
                },
                {
                    "id": "Pornbook",
                    "cat": "XXX",
                    "desc": "Pornbook"
                },
                {
                    "id": "Spectacles",
                    "cat": "TV/Other",
                    "desc": "Spectacles"
                },
                {
                    "id": "Sports",
                    "cat": "TV/Sport",
                    "desc": "Sports"
                },
                {
                    "id": "Formations",
                    "cat": "Other",
                    "desc": "Formations"
                },
                {
                    "id": "Vidéos",
                    "cat": "TV",
                    "desc": "Vidéos"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            },
            "allowrawsearch": true
        },
        "settings": [
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi FRENCH": "MULTi FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi ENGLISH": "MULTi ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi VOSTFR": "MULTi VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"magnet:?\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "{{ if .Keywords }}recherche/{{ .Keywords }}{{ else }}derniers{{ end }}"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)(S0)(\\d{1,2})$",
                        "saison $2"
                    ]
                },
                {
                    "name": "re_replace",
                    "args": [
                        "(?i)(S)(\\d{1,3})$",
                        "saison $2"
                    ]
                }
            ],
            "rows": {
                "selector": "table.table > tbody > tr:has(a[href^=\"/detail/\"])"
            },
            "fields": {
                "category": {
                    "selector": "td:nth-child(1)",
                    "attribute": "title"
                },
                "title_phase1": {
                    "selector": "a[href^=\"/detail/\"]",
                    "remove": "span",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "WEBRIP",
                                "WEBDL"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b((19|20)\\d{2})\\b)$",
                                "$3 $1$2"
                            ]
                        }
                    ]
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "details": {
                    "selector": "a[href^=\"/detail/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/detail/\"]",
                    "attribute": "href"
                },
                "size": {
                    "selector": "td:nth-child(3)"
                },
                "seeders": {
                    "selector": "td:nth-child(4)"
                },
                "leechers": {
                    "selector": "td:nth-child(5)"
                },
                "grabs": {
                    "selector": "td:nth-child(6)"
                },
                "date": {
                    "selector": "td:nth-child(7)",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "heures",
                                "hours"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "heure",
                                "hour"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "jours",
                                "days"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "jour",
                                "day"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "semaines",
                                "weeks"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "semaine",
                                "week"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "mois",
                                "months"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "ans",
                                "years"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "an",
                                "year"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " ago"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "xingtan": {
        "credentials": {
            "username": "",
            "password": "",
            "2facode": ""
        },
        "id": "xingtan",
        "name": "Xingtan (杏坛)",
        "description": "Xingtan (杏坛) is a CHINESE Torrent Tracker focusing on Medical Resources EBOOKS",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://xingtan.one/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "EBooks",
                    "cat": "Books",
                    "desc": "EBooks"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "username",
                "type": "text",
                "label": "Username"
            },
            {
                "name": "password",
                "type": "password",
                "label": "Password"
            },
            {
                "name": "2facode",
                "type": "text",
                "label": "2FA code"
            },
            {
                "name": "info_2fa",
                "type": "info",
                "label": "About 2FA code",
                "default": "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the HDClone Web Site. Otherwise just leave it empty."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Extreme User and above will be retained forever</li><li>Crazy User and above will not have their account deleted after parking (in the control panel)</li><li> Users with a parked account will be deleted if they do not log in for 120 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 60 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 30 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "captcha": {
                "type": "image",
                "selector": "img[alt=\"CAPTCHA\"]",
                "input": "imagestring"
            },
            "inputs": {
                "secret": "",
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "two_step_code": "{{ .Config.2facode }}",
                "logout": "",
                "securelogin": "",
                "ssl": true,
                "trackerssl": true
            },
            "error": [
                {
                    "selector": "td.embedded:has(h2:contains(\"失败\"))",
                    "message": {
                        "selector": "td.text"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href$=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "search": "{{ .Keywords }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": 0,
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(table.torrentname)"
            },
            "fields": {
                "category": {
                    "text": "EBooks"
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 864000
                },
                "description": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "xingwan": {
        "credentials": {
            "cookie": ""
        },
        "id": "xingwan",
        "name": "Xingwan (星湾)",
        "description": "Xingwan (星湾) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://xingwan.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "Movies（🎬 电影）"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "TV Series（📺 电视剧）"
                },
                {
                    "id": 410,
                    "cat": "TV",
                    "desc": "ShortDrama（📱 短剧）"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "Animations（🌸 动漫）"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "TV Shows（🎤 综艺）"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "Documentaries（🌍 纪录片）"
                },
                {
                    "id": 416,
                    "cat": "Books/Comics",
                    "desc": "Comics（📖 漫画）"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "Music Videos（🎵 音乐视频）"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "HQ Audio（🎧 无损音乐）"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "Sports（⚽ 体育）"
                },
                {
                    "id": 411,
                    "cat": "Console",
                    "desc": "Games（🎮 游戏）"
                },
                {
                    "id": 412,
                    "cat": "PC",
                    "desc": "Software（💻 软件）"
                },
                {
                    "id": 413,
                    "cat": "Books",
                    "desc": "Ebooks（📚 电子书）"
                },
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "Misc（📦 其他杂项）"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href$=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href*=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "xingyung": {
        "credentials": {
            "cookie": ""
        },
        "id": "xingyung",
        "name": "Xingyung (星陨阁)",
        "description": "Xingyung (星陨阁) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://pt.xingyungept.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他/Misc"
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音频/HQ Audio"
                },
                {
                    "id": 406,
                    "cat": "Audio/Video",
                    "desc": "MV/Music Videos"
                },
                {
                    "id": 407,
                    "cat": "TV/Sport",
                    "desc": "体育/Sports"
                },
                {
                    "id": 410,
                    "cat": "TV",
                    "desc": "短剧/Playlet"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片/Documentary"
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动漫/Animations"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺/TV Shows"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧/TVSeries"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影/Movies"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href*=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 2
                },
                "minimumseedtime": {
                    "text": 172800
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "xloli": {
        "credentials": {
            "cookie": ""
        },
        "id": "xloli",
        "replaces": [
            "ilolicon"
        ],
        "name": "xloli",
        "description": "xloli (ilolicon PT) is a CHINESE Private Torrent Tracker for LOLICON / MOVIES / 3X",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2,
        "links": [
            "https://mua.xloli.cc/"
        ],
        "legacylinks": [
            "https://share.ilolicon.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影(Movie)",
                    "default": true
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧(TV Series)",
                    "default": true
                },
                {
                    "id": 430,
                    "cat": "TV",
                    "desc": "综艺(TV Show)",
                    "default": true
                },
                {
                    "id": 405,
                    "cat": "TV/Anime",
                    "desc": "动画(Animation)",
                    "default": true
                },
                {
                    "id": 408,
                    "cat": "Audio",
                    "desc": "音乐(Music)",
                    "default": true
                },
                {
                    "id": 410,
                    "cat": "Audio/Video",
                    "desc": "舞台演出(Stage Performance)",
                    "default": true
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "纪录片(Documentary)",
                    "default": true
                },
                {
                    "id": 412,
                    "cat": "Console",
                    "desc": "游戏(Game)",
                    "default": true
                },
                {
                    "id": 413,
                    "cat": "PC",
                    "desc": "软件(Software)",
                    "default": true
                },
                {
                    "id": 411,
                    "cat": "Other",
                    "desc": "漫画/CG杂图/动漫杂志(Photo)",
                    "default": true
                },
                {
                    "id": 420,
                    "cat": "XXX",
                    "desc": "AV(有码/Censored)",
                    "default": false
                },
                {
                    "id": 419,
                    "cat": "XXX",
                    "desc": "AV(无码/Uncensored)",
                    "default": false
                },
                {
                    "id": 423,
                    "cat": "XXX/Other",
                    "desc": "里番(Hanime)",
                    "default": false
                },
                {
                    "id": 425,
                    "cat": "XXX/Other",
                    "desc": "H-2D同人动画(H 2D doujin anime)",
                    "default": false
                },
                {
                    "id": 426,
                    "cat": "XXX/Other",
                    "desc": "H-3D同人动画(H 3D doujin anime)",
                    "default": false
                },
                {
                    "id": 424,
                    "cat": "XXX/Other",
                    "desc": "H-漫画(H Manga)",
                    "default": false
                },
                {
                    "id": 427,
                    "cat": "XXX/ImageSet",
                    "desc": "H-CG杂图(H-CG)",
                    "default": false
                },
                {
                    "id": 418,
                    "cat": "XXX/ImageSet",
                    "desc": "写真(Picture)",
                    "default": false
                },
                {
                    "id": 429,
                    "cat": "XXX/Other",
                    "desc": "音声(Audio)",
                    "default": false
                },
                {
                    "id": 428,
                    "cat": "XXX/Other",
                    "desc": "H-游戏(H Game)",
                    "default": false
                },
                {
                    "id": 422,
                    "cat": "XXX",
                    "desc": "H-综艺(H TV Show)",
                    "default": false
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.</br>Choosing more may cause the web site to fail to deliver complete results."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Veteran User or above would never be deleted.</li><li>Elite User or above would never be deleted if parked (at User CP).</li><li>Parked accounts would be deleted if users have not logged in for more than 400 days in a row.</li><li>Unparked accounts would be deleted if users have not logged in for more than 150 days in a row.</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php",
                    "categories": [
                        401,
                        402,
                        430,
                        405,
                        408,
                        410,
                        404,
                        412,
                        413,
                        411
                    ]
                },
                {
                    "path": "special.php",
                    "categories": [
                        420,
                        419,
                        423,
                        425,
                        426,
                        424,
                        427,
                        418,
                        429,
                        428,
                        422
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2) td:nth-child(2)",
                    "remove": "a, b, font, img"
                }
            }
        }
    },
    "xtorrenty": {
        "credentials": {
            "cookie": ""
        },
        "id": "xtorrenty",
        "name": "xTorrenty",
        "description": "xTorrenty is a POLISH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "pl-PL",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://xtorrenty.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 15,
                    "cat": "Movies/SD",
                    "desc": "Filmy XviD/DivX"
                },
                {
                    "id": 20,
                    "cat": "Movies/Other",
                    "desc": "Filmy/Bajki"
                },
                {
                    "id": 21,
                    "cat": "Movies/DVD",
                    "desc": "Filmy DVD"
                },
                {
                    "id": 22,
                    "cat": "Movies/SD",
                    "desc": "Filmy RMVB"
                },
                {
                    "id": 23,
                    "cat": "Movies/HD",
                    "desc": "Filmy x264"
                },
                {
                    "id": 24,
                    "cat": "Movies/UHD",
                    "desc": "Filmy 4K UHD"
                },
                {
                    "id": 25,
                    "cat": "Movies/HD",
                    "desc": "Filmy HD"
                },
                {
                    "id": 26,
                    "cat": "Movies/3D",
                    "desc": "Filmy 3D"
                },
                {
                    "id": 27,
                    "cat": "Movies/HD",
                    "desc": "Filmy x265"
                },
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "Filmy TS/CAM"
                },
                {
                    "id": 84,
                    "cat": "PC/0day",
                    "desc": "Programy"
                },
                {
                    "id": 85,
                    "cat": "Console",
                    "desc": "Konsole"
                },
                {
                    "id": 16,
                    "cat": "PC/Games",
                    "desc": "Gry"
                },
                {
                    "id": 86,
                    "cat": "Audio",
                    "desc": "Muzyka"
                },
                {
                    "id": 88,
                    "cat": "Audio/Video",
                    "desc": "Teledyski"
                },
                {
                    "id": 89,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 90,
                    "cat": "XXX",
                    "desc": "Erotyka"
                },
                {
                    "id": 91,
                    "cat": "Books/EBook",
                    "desc": "Książki"
                },
                {
                    "id": 92,
                    "cat": "Books/Comics",
                    "desc": "Komiksy"
                },
                {
                    "id": 93,
                    "cat": "PC/Mac",
                    "desc": "Linux/Mac"
                },
                {
                    "id": 94,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 95,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 96,
                    "cat": "Other",
                    "desc": "Dla dzieci"
                },
                {
                    "id": 97,
                    "cat": "PC/Mobile-Other",
                    "desc": "GSM/PDA"
                },
                {
                    "id": 344,
                    "cat": "Other/Misc",
                    "desc": "Inne"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "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"
                }
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "date",
                "options": {
                    "date": "created",
                    "title": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "/",
                "selector": "a[href$=\"/index.php?action=logout\"]"
            }
        },
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"/engine/download.php?id=\"]",
                    "attribute": "href"
                },
                {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "index.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}catlist[]={{.}}&{{end}}",
                "do": "search",
                "subaction": "search",
                "showposts": 0,
                "titleonly": "{{ if .Query.IMDBID }}0{{ else }}3{{ end }}",
                "story": "{{ if or .Query.IMDBID .Keywords }}{{ or .Query.IMDBID .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}",
                "sortby": "{{ .Config.sort }}",
                "resorder": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table > tbody > tr:has(td[class=\"colhead\"])"
            },
            "fields": {
                "category": {
                    "selector": "td",
                    "case": {
                        "td:contains(\"XviD/DivX\")": 15,
                        "td:contains(\"Filmy/Bajki\")": 20,
                        "td:contains(\"DVD\")": 21,
                        "td:contains(\"RMVB\")": 22,
                        "td:contains(\"x264\")": 23,
                        "td:contains(\"4K UHD\")": 24,
                        "td:contains(\"HD\")": 25,
                        "td:contains(\"3D\")": 26,
                        "td:contains(\"x265\")": 27,
                        "td:contains(\"TS/CAM\")": 28,
                        "td:contains(\"Programy\")": 84,
                        "td:contains(\"Konsole\")": 85,
                        "td:contains(\"Gry\")": 16,
                        "td:contains(\"Muzyka\")": 86,
                        "td:contains(\"Teledyski\")": 88,
                        "td:contains(\"TV\")": 89,
                        "td:contains(\"Erotyka\")": 90,
                        "td:contains(\"Książki\")": 91,
                        "td:contains(\"Komiksy\")": 92,
                        "td:contains(\"Linux/Mac\")": 93,
                        "td:contains(\"Sport\")": 94,
                        "td:contains(\"Anime\")": 95,
                        "td:contains(\"Dla dzieci\")": 96,
                        "td:contains(\"GSM/PDA\")": 97,
                        "*": 344
                    }
                },
                "title_phase1": {
                    "selector": "a"
                },
                "title_multilang": {
                    "selector": "a",
                    "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",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a",
                    "attribute": "href"
                },
                "date": {
                    "text": "now"
                },
                "seeders": {
                    "selector": "td:nth-child(4)"
                },
                "leechers": {
                    "selector": "td:nth-child(5)"
                },
                "size": {
                    "selector": "td:nth-child(3)",
                    "filters": [
                        {
                            "name": "append",
                            "args": "B"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "xtremebytes": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "xtremebytes",
        "replaces": [
            "torrentsurf"
        ],
        "name": "Xtreme Bytes",
        "description": "Xtreme Bytes (TorrentSurf) is a Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://xtremebytes.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Anime",
                    "desc": "Anime"
                },
                {
                    "id": 13,
                    "cat": "PC/Mac",
                    "desc": "Appz/Mac"
                },
                {
                    "id": 3,
                    "cat": "PC/0day",
                    "desc": "Appz/PC"
                },
                {
                    "id": 35,
                    "cat": "TV",
                    "desc": "Big Brother"
                },
                {
                    "id": 28,
                    "cat": "Books/Comics",
                    "desc": "Comics"
                },
                {
                    "id": 4,
                    "cat": "Books/EBook",
                    "desc": "E-Book"
                },
                {
                    "id": 39,
                    "cat": "Console",
                    "desc": "Games/Console"
                },
                {
                    "id": 33,
                    "cat": "PC/Games",
                    "desc": "Games/PC"
                },
                {
                    "id": 27,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 37,
                    "cat": "Movies/SD",
                    "desc": "Movies/Cam/TS"
                },
                {
                    "id": 14,
                    "cat": "Movies/DVD",
                    "desc": "Movies/DVD-R"
                },
                {
                    "id": 18,
                    "cat": "Movies/HD",
                    "desc": "Movies/HD"
                },
                {
                    "id": 19,
                    "cat": "Movies/SD",
                    "desc": "Movies/SD"
                },
                {
                    "id": 42,
                    "cat": "Movies/HD",
                    "desc": "Movies/x264"
                },
                {
                    "id": 41,
                    "cat": "Movies/SD",
                    "desc": "Movies/Xvid"
                },
                {
                    "id": 29,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 30,
                    "cat": "TV",
                    "desc": "Packs"
                },
                {
                    "id": 24,
                    "cat": "TV/HD",
                    "desc": "TV/HD"
                },
                {
                    "id": 25,
                    "cat": "TV/SD",
                    "desc": "TV/SD"
                },
                {
                    "id": 44,
                    "cat": "TV/HD",
                    "desc": "TV/x264"
                },
                {
                    "id": 43,
                    "cat": "TV/SD",
                    "desc": "TV/Xvid"
                },
                {
                    "id": 36,
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "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": "seedbox",
                "type": "checkbox",
                "label": "Use SeedBox Download Link",
                "default": false
            },
            {
                "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"
                }
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "returnto": "/"
            },
            "error": [
                {
                    "selector": "table.main:contains(\"Login failed!\")",
                    "message": {
                        "selector": "table tr td.text"
                    }
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "search": "{{ .Keywords }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[border=\"0\"][cellspacing=\"0\"][cellpadding=\"5\"] tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download_1": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "download_2": {
                    "selector": "a[href^=\"download2.php\"]",
                    "attribute": "href"
                },
                "download": {
                    "text": "{{ if .Config.seedbox }}{{ .Result.download_2 }}{{ else }}{{ .Result.download_1 }}{{ end }}"
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freeleech.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.8
                }
            }
        }
    },
    "xwtclassics": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "xwtclassics",
        "name": "XWT-Classics",
        "description": "XWT-Classics is a Private Torrent Tracker for CLASSIC PROFESSIONAL WRESTLING",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://xwt-classics.net/"
        ],
        "legacylinks": [
            "http://xwt-classics.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "TV/Sport",
                    "desc": "DVD"
                },
                {
                    "id": 9,
                    "cat": "TV/Sport",
                    "desc": "Florida"
                },
                {
                    "id": 7,
                    "cat": "TV/Sport",
                    "desc": "International"
                },
                {
                    "id": 6,
                    "cat": "TV/Sport",
                    "desc": "Japan"
                },
                {
                    "id": 8,
                    "cat": "TV/Sport",
                    "desc": "Misc"
                },
                {
                    "id": 11,
                    "cat": "TV/Sport",
                    "desc": "NWA"
                },
                {
                    "id": 4,
                    "cat": "TV/Sport",
                    "desc": "UWF/Mid-South"
                },
                {
                    "id": 12,
                    "cat": "TV/Sport",
                    "desc": "WCW"
                },
                {
                    "id": 5,
                    "cat": "TV/Sport",
                    "desc": "World Class"
                },
                {
                    "id": 10,
                    "cat": "TV/Sport",
                    "desc": "WWE 24/7"
                },
                {
                    "id": 13,
                    "cat": "TV/Sport",
                    "desc": "WWE Network"
                },
                {
                    "id": 2,
                    "cat": "TV/Sport",
                    "desc": "WWF"
                }
            ],
            "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": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "seedbox",
                "type": "checkbox",
                "label": "Use SeedBox Download Link",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Accounts inactive for more than 42 days are automatically deleted."
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}"
            },
            "error": [
                {
                    "selector": "table.main:contains(\"Login failed!\")",
                    "message": {
                        "selector": "table tr td.text"
                    }
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "search": "{{ .Keywords }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[border=\"0\"][cellspacing=\"0\"][cellpadding=\"5\"] tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category_optional": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "optional": true,
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "category": {
                    "text": "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}8{{ end }}"
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title"
                },
                "download_1": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "download_2": {
                    "selector": "a[href^=\"download2.php\"]",
                    "attribute": "href"
                },
                "download": {
                    "text": "{{ if .Config.seedbox }}{{ .Result.download_2 }}{{ else }}{{ .Result.download_1 }}{{ end }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freeleech.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.7
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "xwtorrents": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "xwtorrents",
        "name": "XWtorrents",
        "description": "XtremeWrestlingTorrents (XWT) is a Private Torrent Tracker for PROFESSIONAL WRESTLING / MMA",
        "language": "en-US",
        "type": "private",
        "encoding": "windows-1252",
        "links": [
            "https://xtremewrestlingtorrents.net/"
        ],
        "legacylinks": [
            "http://xtremewrestlingtorrents.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 82,
                    "cat": "TV/Sport",
                    "desc": "AEW Collision"
                },
                {
                    "id": 83,
                    "cat": "TV/Sport",
                    "desc": "AEW Collision HD"
                },
                {
                    "id": 74,
                    "cat": "TV/Sport",
                    "desc": "AEW Dynamite"
                },
                {
                    "id": 75,
                    "cat": "TV/Sport",
                    "desc": "AEW Dynamite HD"
                },
                {
                    "id": 78,
                    "cat": "TV/Sport",
                    "desc": "AEW PPV's"
                },
                {
                    "id": 79,
                    "cat": "TV/Sport",
                    "desc": "AEW PPV's HD"
                },
                {
                    "id": 76,
                    "cat": "TV/Sport",
                    "desc": "AEW Rampage"
                },
                {
                    "id": 77,
                    "cat": "TV/Sport",
                    "desc": "AEW Rampage HD"
                },
                {
                    "id": 47,
                    "cat": "TV/Sport",
                    "desc": "Boxing"
                },
                {
                    "id": 14,
                    "cat": "Movies",
                    "desc": "Documentary"
                },
                {
                    "id": 20,
                    "cat": "TV/Sport",
                    "desc": "DVD"
                },
                {
                    "id": 88,
                    "cat": "Books",
                    "desc": "eBooks"
                },
                {
                    "id": 2,
                    "cat": "TV/Sport",
                    "desc": "ECW Original"
                },
                {
                    "id": 26,
                    "cat": "TV/Sport",
                    "desc": "ECW Weekly"
                },
                {
                    "id": 21,
                    "cat": "TV/Sport",
                    "desc": "Int Indy's"
                },
                {
                    "id": 69,
                    "cat": "TV/Sport",
                    "desc": "Lucha Libre"
                },
                {
                    "id": 70,
                    "cat": "TV/Sport",
                    "desc": "Lucha Libre HD"
                },
                {
                    "id": 23,
                    "cat": "TV/Sport",
                    "desc": "Misc"
                },
                {
                    "id": 24,
                    "cat": "TV/Sport",
                    "desc": "MMA"
                },
                {
                    "id": 59,
                    "cat": "TV/Sport",
                    "desc": "MMA HD"
                },
                {
                    "id": 86,
                    "cat": "TV/Sport",
                    "desc": "Netflix"
                },
                {
                    "id": 87,
                    "cat": "TV/Sport",
                    "desc": "Netflix HD"
                },
                {
                    "id": 30,
                    "cat": "TV/Sport",
                    "desc": "Packs"
                },
                {
                    "id": 68,
                    "cat": "TV/Sport",
                    "desc": "Podcasts"
                },
                {
                    "id": 29,
                    "cat": "TV/Sport",
                    "desc": "Puro"
                },
                {
                    "id": 18,
                    "cat": "TV/Sport",
                    "desc": "ROH"
                },
                {
                    "id": 52,
                    "cat": "TV/Sport",
                    "desc": "ROH HD"
                },
                {
                    "id": 45,
                    "cat": "TV/Sport",
                    "desc": "Shoot Interviews"
                },
                {
                    "id": 4,
                    "cat": "TV/Sport",
                    "desc": "Single Matches"
                },
                {
                    "id": 7,
                    "cat": "TV/Sport",
                    "desc": "TNA Impact"
                },
                {
                    "id": 49,
                    "cat": "TV/Sport",
                    "desc": "TNA Impact HD"
                },
                {
                    "id": 6,
                    "cat": "TV/Sport",
                    "desc": "TNA PPV's"
                },
                {
                    "id": 55,
                    "cat": "TV/Sport",
                    "desc": "TNA PPV's HD"
                },
                {
                    "id": 66,
                    "cat": "TV/Sport",
                    "desc": "Total Divas"
                },
                {
                    "id": 67,
                    "cat": "TV/Sport",
                    "desc": "Total Divas HD"
                },
                {
                    "id": 57,
                    "cat": "TV/Sport",
                    "desc": "Tough Enough"
                },
                {
                    "id": 58,
                    "cat": "TV/Sport",
                    "desc": "Tough Enough HD"
                },
                {
                    "id": 22,
                    "cat": "TV/Sport",
                    "desc": "USA Indy's"
                },
                {
                    "id": 12,
                    "cat": "TV/Sport",
                    "desc": "WCW"
                },
                {
                    "id": 71,
                    "cat": "TV/Sport",
                    "desc": "Womens Wrestling"
                },
                {
                    "id": 15,
                    "cat": "TV/Sport",
                    "desc": "Wrestling Films"
                },
                {
                    "id": 72,
                    "cat": "TV/Sport",
                    "desc": "WWE 205 Live"
                },
                {
                    "id": 73,
                    "cat": "TV/Sport",
                    "desc": "WWE 205 Live HD"
                },
                {
                    "id": 16,
                    "cat": "TV/Sport",
                    "desc": "WWE Heat"
                },
                {
                    "id": 63,
                    "cat": "TV/Sport",
                    "desc": "WWE Main Event"
                },
                {
                    "id": 64,
                    "cat": "TV/Sport",
                    "desc": "WWE Network"
                },
                {
                    "id": 65,
                    "cat": "TV/Sport",
                    "desc": "WWE Network HD"
                },
                {
                    "id": 46,
                    "cat": "TV/Sport",
                    "desc": "WWE NXT"
                },
                {
                    "id": 50,
                    "cat": "TV/Sport",
                    "desc": "WWE NXT HD"
                },
                {
                    "id": 9,
                    "cat": "TV/Sport",
                    "desc": "WWE PPV's"
                },
                {
                    "id": 56,
                    "cat": "TV/Sport",
                    "desc": "WWE PPV's HD"
                },
                {
                    "id": 10,
                    "cat": "TV/Sport",
                    "desc": "WWE RAW"
                },
                {
                    "id": 51,
                    "cat": "TV/Sport",
                    "desc": "WWE RAW HD"
                },
                {
                    "id": 11,
                    "cat": "TV/Sport",
                    "desc": "WWE Smackdown"
                },
                {
                    "id": 53,
                    "cat": "TV/Sport",
                    "desc": "WWE Smackdown HD"
                },
                {
                    "id": 43,
                    "cat": "TV/Sport",
                    "desc": "WWE Superstars"
                },
                {
                    "id": 54,
                    "cat": "TV/Sport",
                    "desc": "WWE Superstars HD"
                },
                {
                    "id": 89,
                    "cat": "TV/Sport",
                    "desc": "WWE Vault"
                },
                {
                    "id": 19,
                    "cat": "TV/Sport",
                    "desc": "WWE Velocity"
                },
                {
                    "id": 31,
                    "cat": "TV/Sport",
                    "desc": "WWE Vintage"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-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": "seedbox",
                "type": "checkbox",
                "label": "Use SeedBox Download Link",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "login": {
            "path": "takelogin.php",
            "method": "post",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "returnto": "/"
            },
            "error": [
                {
                    "selector": "table.main:contains(\"Login failed!\")",
                    "message": {
                        "selector": "table tr td.text"
                    }
                }
            ],
            "test": {
                "path": "browse.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "incldead": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "search": "{{ .Keywords }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[border=\"0\"][cellspacing=\"0\"][cellpadding=\"5\"] tr:has(a[href^=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"browse.php?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "download_1": {
                    "selector": "a[href^=\"download.php\"]",
                    "attribute": "href"
                },
                "title_default": {
                    "text": "{{ .Result.download_1 }}",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "name"
                        },
                        {
                            "name": "replace",
                            "args": [
                                ".torrent",
                                ""
                            ]
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "download_2": {
                    "selector": "a[href^=\"download2.php\"]",
                    "attribute": "href"
                },
                "download": {
                    "text": "{{ if .Config.seedbox }}{{ .Result.download_2 }}{{ else }}{{ .Result.download_1 }}{{ end }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(3)"
                },
                "grabs": {
                    "selector": "td:nth-child(7)"
                },
                "size": {
                    "selector": "td:nth-child(6)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "date": {
                    "selector": "td:nth-child(5)",
                    "filters": [
                        {
                            "name": "append",
                            "args": " -07:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"pic/freeleech.png\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "text": 1
                },
                "minimumratio": {
                    "text": 0.7
                },
                "minimumseedtime": {
                    "text": 86400
                }
            }
        }
    },
    "xxxclub": {
        "id": "xxxclub",
        "name": "XXXClub",
        "description": "XXXClub is a Public torrent site for 3X",
        "language": "en-US",
        "type": "public",
        "encoding": "UTF-8",
        "requestDelay": 3,
        "links": [
            "https://xxxclub.to/",
            "https://xxxclub.cc/",
            "https://xxxclub.me/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 0,
                    "cat": "XXX/SD",
                    "desc": "XXX 480p/SD"
                },
                {
                    "id": 1,
                    "cat": "XXX/x264",
                    "desc": "XXX 720p/HD"
                },
                {
                    "id": 2,
                    "cat": "XXX/x264",
                    "desc": "XXX 1080p/FullHD"
                },
                {
                    "id": 4,
                    "cat": "XXX/UHD",
                    "desc": "XXX 2160p/UHD/4K"
                },
                {
                    "id": 3,
                    "cat": "XXX/WEB-DL",
                    "desc": "XXX Movies/DVD/WEB"
                },
                {
                    "id": 5,
                    "cat": "XXX/ImageSet",
                    "desc": "XXX IMAGESET"
                },
                {
                    "id": 6,
                    "cat": "XXX/Other",
                    "desc": "XXX VR/VirtualReality"
                },
                {
                    "id": 7,
                    "cat": "XXX/Pack",
                    "desc": "XXX Pack/MegaPack"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "info_flaresolverr",
                "type": "info_flaresolverr"
            }
        ],
        "download": {
            "selectors": [
                {
                    "selector": "a[href^=\"/torrents/download/\"], a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "torrents/{{ if .Keywords }}search/all/{{ .Keywords }}{{ else }}browse/all/{{ end }}"
                }
            ],
            "headers": {
                "User-Agent": [
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203"
                ]
            },
            "rows": {
                "selector": "div.browsetableinside > ul > li:not(:first-child)"
            },
            "fields": {
                "category": {
                    "selector": "a.catah",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "(\\d)"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href^=\"/torrents/details/\"]"
                },
                "details": {
                    "selector": "a[href^=\"/torrents/details/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/torrents/details/\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img",
                    "attribute": "src"
                },
                "date": {
                    "selector": "span.adde",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "dd MMM yyyy HH:mm:ss"
                        }
                    ]
                },
                "size": {
                    "selector": "span.siz"
                },
                "seeders": {
                    "selector": "span.see"
                },
                "leechers": {
                    "selector": "span.lee"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "xxxtor": {
        "id": "xxxtor",
        "name": "xxxtor",
        "description": "xxxtor is a RUSSIAN Public Torrent Tracker for 3X",
        "language": "ru-RU",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://xxxtor.com/"
        ],
        "legacylinks": [
            "https://xxxtor.org/",
            "https://xxxtor.info/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": "XXX",
                    "cat": "XXX",
                    "desc": "XXX"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "search": {
            "paths": [
                {
                    "path": "b.php"
                }
            ],
            "inputs": {
                "search": "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
            },
            "rows": {
                "selector": "table > tbody > tr.gai",
                "filters": [
                    {
                        "name": "andmatch"
                    }
                ]
            },
            "fields": {
                "category": {
                    "text": "XXX"
                },
                "title": {
                    "selector": "a[href^=\"/torrent/\"]"
                },
                "details": {
                    "selector": "a[href^=\"/torrent/\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"/download/\"]",
                    "attribute": "href"
                },
                "magnet": {
                    "selector": "a[href^=\"magnet:?xt=\"]",
                    "attribute": "href"
                },
                "date": {
                    "selector": "td:first-of-type",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "Янв",
                                "Jan"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Фев",
                                "Feb"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Мар",
                                "Mar"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Апр",
                                "Apr"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Май",
                                "May"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июн",
                                "Jun"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Июл",
                                "Jul"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Авг",
                                "Aug"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Сен",
                                "Sep"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Окт",
                                "Oct"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ноя",
                                "Nov"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Дек",
                                "Dec"
                            ]
                        },
                        {
                            "name": "append",
                            "args": " +03:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "dd MMM yy zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-of-type(3)"
                },
                "seeders": {
                    "selector": "td:last-of-type span:first-of-type"
                },
                "leechers": {
                    "selector": "td:last-of-type span:last-of-type"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "yggreborn-api": {
        "credentials": {
            "passkey": "",
            "apiurl": ""
        },
        "id": "yggreborn-api",
        "name": "YggReborn (API)",
        "description": "YggReborn is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "fr-FR",
        "type": "private",
        "encoding": "UTF-8",
        "requestDelay": 2.1,
        "links": [
            "https://www.yggreborn.org/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1000,
                    "cat": "PC/Games",
                    "desc": "PC/Games"
                },
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2010,
                    "cat": "Movies/Foreign",
                    "desc": "Movies/Foreign"
                },
                {
                    "id": 2020,
                    "cat": "Movies/Other",
                    "desc": "Movies/Other"
                },
                {
                    "id": 2030,
                    "cat": "Movies/SD",
                    "desc": "Movies/SD"
                },
                {
                    "id": 2040,
                    "cat": "Movies/HD",
                    "desc": "Movies/HD"
                },
                {
                    "id": 2045,
                    "cat": "Movies/UHD",
                    "desc": "Movies/UHD"
                },
                {
                    "id": 2050,
                    "cat": "Movies/BluRay",
                    "desc": "Movies/BluRay"
                },
                {
                    "id": 2060,
                    "cat": "Movies/3D",
                    "desc": "Movies/3D"
                },
                {
                    "id": 2070,
                    "cat": "Movies/DVD",
                    "desc": "Movies/DVD"
                },
                {
                    "id": 2080,
                    "cat": "Movies/WEB-DL",
                    "desc": "Movies/WEB-DL"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 4000,
                    "cat": "PC",
                    "desc": "PC"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 5010,
                    "cat": "TV/WEB-DL",
                    "desc": "TV/WEB-DL"
                },
                {
                    "id": 5020,
                    "cat": "TV/Foreign",
                    "desc": "TV/Foreign"
                },
                {
                    "id": 5030,
                    "cat": "TV/SD",
                    "desc": "TV/SD"
                },
                {
                    "id": 5040,
                    "cat": "TV/HD",
                    "desc": "TV/HD"
                },
                {
                    "id": 5045,
                    "cat": "TV/UHD",
                    "desc": "TV/UHD"
                },
                {
                    "id": 5050,
                    "cat": "TV/Other",
                    "desc": "TV/Other"
                },
                {
                    "id": 5060,
                    "cat": "TV/Sport",
                    "desc": "TV/Sport"
                },
                {
                    "id": 5070,
                    "cat": "TV/Anime",
                    "desc": "TV/Anime"
                },
                {
                    "id": 5080,
                    "cat": "TV/Documentary",
                    "desc": "TV/Documentary"
                },
                {
                    "id": 7000,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 8000,
                    "cat": "Other",
                    "desc": "Other"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "passkey",
                "type": "text",
                "label": "PassKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your PassKey",
                "default": "You can find the API PassKey Key by accessing the <a href=\"https://www.yggreborn.org/guide-api\" target=\"_blank\">YggReborn Guide API</a> page and scrolling down to the <b>Authentification</b> section."
            },
            {
                "name": "apiurl",
                "label": "API URL",
                "type": "text",
                "default": "api.yggreborn.org"
            },
            {
                "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": "FRENCH",
                "options": {
                    "FRENCH": "FRENCH",
                    "MULTi.FRENCH": "MULTi.FRENCH",
                    "ENGLISH": "ENGLISH",
                    "MULTi.ENGLISH": "MULTi.ENGLISH",
                    "VOSTFR": "VOSTFR",
                    "MULTi.VOSTFR": "MULTi.VOSTFR"
                }
            },
            {
                "name": "vostfr",
                "type": "checkbox",
                "label": "Replace VOSTFR and SUBFRENCH with ENGLISH",
                "default": false
            }
        ],
        "login": {
            "path": "https://{{ .Config.apiurl }}/api",
            "method": "get",
            "inputs": {
                "t": "search",
                "apikey": "{{ .Config.passkey }}",
                "limit": 1
            },
            "error": [
                {
                    "selector": ":contains(\"invalid api key\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "https://{{ .Config.apiurl }}/api",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "apikey": "{{ .Config.passkey }}",
                "t": "{{ if .Keywords }}{{ .Query.Type }}{{ else }}search{{ end }}",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "season": "{{ .Query.Season }}",
                "ep": "{{ .Query.Ep }}",
                "limit": 50
            },
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title_phase1": {
                    "selector": "title"
                },
                "title_vostfr": {
                    "text": "{{ .Result.title_phase1 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(vostfr|subfrench)\\b",
                                "ENGLISH"
                            ]
                        }
                    ]
                },
                "title_phase2": {
                    "text": "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}"
                },
                "title_multilang": {
                    "text": "{{ .Result.title_phase2 }}",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR|VF2|VFF|VFQ|VOQ|VFI|VOF)))\\b",
                                "{{ .Config.multilanguage }}"
                            ]
                        }
                    ]
                },
                "title": {
                    "text": "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
                },
                "details": {
                    "selector": "comments"
                },
                "download": {
                    "selector": "enclosure",
                    "attribute": "url"
                },
                "infohash": {
                    "selector": "[name=infohash]",
                    "attribute": "value"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "[name=size]",
                    "attribute": "value"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=leechers]",
                    "attribute": "value"
                },
                "grabs": {
                    "selector": "[name=grabs]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "selector": "[name=downloadvolumefactor]",
                    "attribute": "value"
                },
                "uploadvolumefactor": {
                    "selector": "[name=uploadvolumefactor]",
                    "attribute": "value"
                },
                "minimumratio": {
                    "text": 1
                }
            }
        }
    },
    "yts": {
        "id": "yts",
        "name": "YTS",
        "description": "YTS is a Public torrent site specialising in HD movies of small size",
        "type": "public",
        "language": "en-US",
        "encoding": "UTF-8",
        "requestDelay": 2.5,
        "links": [
            "https://yts.gg/",
            "https://yts.ninjaproxy1.com/",
            "https://yts.proxyninja.org/",
            "https://yts.proxyninja.net/",
            "https://yts.torrentbay.st/",
            "https://yts.torrentsbay.org/"
        ],
        "legacylinks": [
            "https://yts.bz/",
            "https://yts.am/",
            "https://yts.ag/",
            "https://yts.lt/",
            "https://yts.mx/",
            "https://yts.mrunblock.bond/",
            "https://yts.nocensor.cloud/",
            "https://yts.unblockit.download/",
            "https://yts.unblockninja.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 45,
                    "cat": "Movies/HD",
                    "desc": "Movies/x264/720p"
                },
                {
                    "id": 44,
                    "cat": "Movies/HD",
                    "desc": "Movies/x264/1080p"
                },
                {
                    "id": 46,
                    "cat": "Movies/UHD",
                    "desc": "Movies/x264/2160p"
                },
                {
                    "id": 47,
                    "cat": "Movies/3D",
                    "desc": "Movies/x264/3D"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "apiurl",
                "label": "API URL",
                "type": "text",
                "default": "movies-api.accel.li"
            }
        ],
        "search": {
            "paths": [
                {
                    "path": "https://{{ .Config.apiurl }}/api/v2/list_movies.json",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "inputs": {
                "query_term": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "limit": 50,
                "sort_by": "date_added",
                "order_by": "desc"
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[^\\w]+",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data.movies",
                "attribute": "torrents",
                "multiple": true,
                "missingAttributeEqualsNoResults": true,
                "count": {
                    "selector": "data.movie_count"
                }
            },
            "fields": {
                "_quality": {
                    "selector": "quality"
                },
                "category": {
                    "selector": "quality",
                    "case": {
                        "720p": 45,
                        "1080p": 44,
                        "2160p": 46,
                        "3D": 47,
                        "*": 45
                    }
                },
                "_audio": {
                    "selector": "audio_channels"
                },
                "_depth": {
                    "selector": "bit_depth"
                },
                "_type": {
                    "selector": "type"
                },
                "_codec": {
                    "selector": "video_codec"
                },
                "year": {
                    "selector": "..year"
                },
                "title_default": {
                    "selector": "..title",
                    "filters": [
                        {
                            "name": "append",
                            "args": " ({{ .Result.year }})"
                        }
                    ]
                },
                "title": {
                    "selector": "..title_long",
                    "optional": true,
                    "default": "{{ .Result.title_default }}",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                ":",
                                ""
                            ]
                        },
                        {
                            "name": "append",
                            "args": " {{ .Result._quality }} {{ if eq .Result._type \"web\" }}WEBRip{{ else }}BRRip{{ end }} {{ if eq .Result._audio \"5.1\" }}5.1 {{ else }}{{ end }}{{ if eq .Result._depth \"10\" }}10Bit {{ else }}{{ end }}{{ .Result._codec }} -YTS"
                        }
                    ]
                },
                "details": {
                    "selector": "..url",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^https?:\\/\\/yts\\.(mx|lt|bz|gg)\\/",
                                "{{ .Config.sitelink }}"
                            ]
                        }
                    ]
                },
                "download": {
                    "selector": "url",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^https?:\\/\\/yts\\.(mx|lt|bz|gg)\\/",
                                "{{ .Config.sitelink }}"
                            ]
                        }
                    ]
                },
                "infohash": {
                    "selector": "hash"
                },
                "poster": {
                    "selector": "..large_cover_image",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "^https?:\\/\\/yts\\.(mx|lt|bz|gg)\\/",
                                "{{ .Config.sitelink }}"
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "..imdb_code"
                },
                "date": {
                    "selector": "date_uploaded_unix"
                },
                "size": {
                    "selector": "size_bytes"
                },
                "seeders": {
                    "selector": "seeds"
                },
                "leechers": {
                    "selector": "peers"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "yuscene-api": {
        "credentials": {
            "apikey": ""
        },
        "id": "yuscene-api",
        "name": "YUSCENE (API)",
        "description": "YUSCENE is a Private Tracker for MOVIES / TV",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://yu-scene.net/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 7,
                    "cat": "Console",
                    "desc": "Game"
                },
                {
                    "id": 8,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 9,
                    "cat": "PC",
                    "desc": "Application"
                },
                {
                    "id": 10,
                    "cat": "Audio/Video",
                    "desc": "Music Video"
                },
                {
                    "id": 11,
                    "cat": "TV/Sport",
                    "desc": "Sport"
                },
                {
                    "id": 12,
                    "cat": "Books",
                    "desc": "eBook"
                },
                {
                    "id": 13,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobook"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://yu-scene.net/\" target=\"_blank\">YUSCENE</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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": "You must log in once every 90 days or seed at least 1 torrent to not get disabled. Disabled accounts become eligible for pruning 275 days after being disabled."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 432000
                }
            }
        }
    },
    "zamundarip": {
        "id": "zamundarip",
        "name": "Zamunda RIP",
        "description": "Zamunda RIP is a BULGARIAN Public Torrent Archive for MOVIES / TV / GENERAL",
        "language": "bg-BG",
        "type": "public",
        "encoding": "UTF-8",
        "links": [
            "https://zamunda.rip/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1000,
                    "cat": "Console",
                    "desc": "Console"
                },
                {
                    "id": 1050,
                    "cat": "Console/XBox",
                    "desc": "Игри/Xbox"
                },
                {
                    "id": 2000,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2040,
                    "cat": "Movies/HD",
                    "desc": "Филми/HD"
                },
                {
                    "id": 2030,
                    "cat": "Movies/SD",
                    "desc": "Филми/SD"
                },
                {
                    "id": 2010,
                    "cat": "Movies",
                    "desc": "Филми/Русия"
                },
                {
                    "id": 2020,
                    "cat": "Movies/Other",
                    "desc": "Филми/Документални"
                },
                {
                    "id": 2050,
                    "cat": "Movies/BluRay",
                    "desc": "Blu-ray"
                },
                {
                    "id": 2060,
                    "cat": "Movies/3D",
                    "desc": "Филми/3D"
                },
                {
                    "id": 3000,
                    "cat": "Audio",
                    "desc": "Audio"
                },
                {
                    "id": 3010,
                    "cat": "Audio",
                    "desc": "Музика"
                },
                {
                    "id": 3020,
                    "cat": "Audio/Video",
                    "desc": "Музика/DVD-R"
                },
                {
                    "id": 3040,
                    "cat": "Audio",
                    "desc": "Музика/DTS"
                },
                {
                    "id": 4000,
                    "cat": "PC",
                    "desc": "PC"
                },
                {
                    "id": 4050,
                    "cat": "PC/Games",
                    "desc": "Игри/PC ISO"
                },
                {
                    "id": 4030,
                    "cat": "PC/Mac",
                    "desc": "Игри/Mac"
                },
                {
                    "id": 4020,
                    "cat": "PC/ISO",
                    "desc": "Програми/PC ISO"
                },
                {
                    "id": 4010,
                    "cat": "PC",
                    "desc": "Програми/други"
                },
                {
                    "id": 4040,
                    "cat": "PC/Mobile-Other",
                    "desc": "Mobile/GSM"
                },
                {
                    "id": 4070,
                    "cat": "PC/Mobile-Android",
                    "desc": "Андроид/Игри"
                },
                {
                    "id": 5000,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 5070,
                    "cat": "TV/Anime",
                    "desc": "Анимации/Аниме"
                },
                {
                    "id": 5030,
                    "cat": "TV",
                    "desc": "Сериали"
                },
                {
                    "id": 5040,
                    "cat": "TV/HD",
                    "desc": "Сериали/HD"
                },
                {
                    "id": 5020,
                    "cat": "TV",
                    "desc": "Сериали/Русия"
                },
                {
                    "id": 5060,
                    "cat": "TV/Sport",
                    "desc": "Спорт/TV"
                },
                {
                    "id": 6000,
                    "cat": "XXX",
                    "desc": "XXX"
                },
                {
                    "id": 6040,
                    "cat": "XXX/x264",
                    "desc": "XXX"
                },
                {
                    "id": 7000,
                    "cat": "Books",
                    "desc": "Other"
                },
                {
                    "id": 7030,
                    "cat": "Books/Comics",
                    "desc": "Книги/Комикси"
                },
                {
                    "id": 8000,
                    "cat": "Other",
                    "desc": "Misc"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep"
                ],
                "movie-search": [
                    "q"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [],
        "search": {
            "paths": [
                {
                    "path": "api/torznab/api",
                    "response": {
                        "type": "xml"
                    }
                }
            ],
            "inputs": {
                "t": "search",
                "q": "{{ .Keywords }}",
                "cat": "{{ join .Categories \",\" }}",
                "limit": 100
            },
            "rows": {
                "selector": "rss > channel > item"
            },
            "fields": {
                "category": {
                    "selector": "[name=category]",
                    "attribute": "value"
                },
                "title": {
                    "selector": "title"
                },
                "details": {
                    "text": "{{ .Config.sitelink }}"
                },
                "download": {
                    "selector": "link"
                },
                "date": {
                    "selector": "pubDate",
                    "filters": [
                        {
                            "name": "dateparse",
                            "args": "ddd, dd MMM yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "[name=size]",
                    "attribute": "value"
                },
                "seeders": {
                    "selector": "[name=seeders]",
                    "attribute": "value"
                },
                "leechers": {
                    "selector": "[name=peers]",
                    "attribute": "value"
                },
                "downloadvolumefactor": {
                    "text": 0
                },
                "uploadvolumefactor": {
                    "text": 1
                }
            }
        }
    },
    "zappateers": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "zappateers",
        "name": "Zappateers",
        "description": "Zappateers is a Private Torrent Tracker for Frank Zappa MUSIC",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://zappateers.com/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Audio",
                    "desc": "FZ Audio"
                },
                {
                    "id": 6,
                    "cat": "Audio",
                    "desc": "Samples & Fills"
                },
                {
                    "id": 7,
                    "cat": "Audio",
                    "desc": "FZ Outtakes/Unreleased"
                },
                {
                    "id": 8,
                    "cat": "Audio",
                    "desc": "FZ Liberated Boots"
                },
                {
                    "id": 2,
                    "cat": "Audio/Video",
                    "desc": "FZ Video"
                },
                {
                    "id": 9,
                    "cat": "Audio/Video",
                    "desc": "FZ Related"
                },
                {
                    "id": 10,
                    "cat": "Audio",
                    "desc": "FZ Interviews/Radio"
                },
                {
                    "id": 11,
                    "cat": "Other",
                    "desc": "Misc"
                },
                {
                    "id": 12,
                    "cat": "Audio",
                    "desc": "The Beefheart Corner"
                },
                {
                    "id": 13,
                    "cat": "Audio/Video",
                    "desc": "The Mike Keneally Corner"
                },
                {
                    "id": 14,
                    "cat": "Audio",
                    "desc": "The Shoebox"
                },
                {
                    "id": 16,
                    "cat": "Audio",
                    "desc": "The Shoebox Archive"
                },
                {
                    "id": 15,
                    "cat": "Other",
                    "desc": "Covers"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "music-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": "created_at",
                "options": {
                    "created_at": "created",
                    "seeders": "seeders",
                    "size": "size",
                    "name": "title"
                }
            },
            {
                "name": "type",
                "type": "select",
                "label": "Order requested from site",
                "default": "desc",
                "options": {
                    "desc": "desc",
                    "asc": "asc"
                }
            }
        ],
        "login": {
            "path": "login",
            "method": "form",
            "form": "form[action$=\"/login\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "remember": true
            },
            "selectorinputs": {
                "_token": {
                    "selector": "input[name=\"_token\"]",
                    "attribute": "value"
                }
            },
            "error": [
                {
                    "selector": "div#ERROR_COPY"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "torrents/filter"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}categories[]={{.}}&{{end}}",
                "search": "{{ .Keywords }}",
                "sorting": "{{ .Config.sort }}",
                "direction": "{{ .Config.type }}",
                "qty": 50,
                "page": 0,
                "view": "list",
                "freeleech": "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
            },
            "rows": {
                "selector": "table > tbody > tr"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"/categories/\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "/categories/(\\d+)"
                        }
                    ]
                },
                "title": {
                    "selector": "a.view-torrent"
                },
                "download": {
                    "selector": "a[href*=\"/download/\"]",
                    "attribute": "href"
                },
                "details": {
                    "selector": "a.view-torrent",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "div.torrent-poster img",
                    "attribute": "src",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "https://images.weserv.nl/?url="
                        },
                        {
                            "name": "append",
                            "args": "&w=180&h=270"
                        },
                        {
                            "name": "replace",
                            "args": [
                                "https://images.weserv.nl/?url=https://via.placeholder.com/600x900&w=180&h=270",
                                ""
                            ]
                        }
                    ]
                },
                "size": {
                    "selector": "td:nth-last-child(4)"
                },
                "seeders": {
                    "selector": "td:nth-last-child(3)"
                },
                "leechers": {
                    "selector": "td:nth-last-child(2)"
                },
                "grabs": {
                    "selector": "td:nth-last-child(1)"
                },
                "date": {
                    "selector": "time",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(önce|tagasi|geleden|fa|temu|siden|há|atrás|nazpět|назад|acum|în urmă|hace|il y a|vor|преди|前|sedan)",
                                " ago"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(saniye|sekundit|sekunder|secondi|sekund|segundos|sekundami|секунд|secunde|secondes|Sekunden|секунди|seconden|秒前)",
                                "seconds"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(minutit|minutter|minuti|minuty|minutos|минуты|минут|Minuten|минути|minuten|minuter)",
                                "minutes"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(dakika|minut|minuto|minuta|minutt|минута|Minute|minuut|分钟|分)",
                                " minute"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(tundi|timer|ore|godziny|horas|hodiny|hoden|часа|часов|ore|heures|Stunden|timmar)",
                                "hours"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(saat|tund|time|ora|godzina|hora|hodina|час|oră|heure|Stunde|uur|小时|時間|timme)",
                                " hour"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(päeva|dage|giorni|dni|dias|dny|дня|дней|zile|días|jours|Tagen|дни|dagen|dagar)",
                                "days"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(gün|päev|dag|giorno|dzień|dia|den|день|zi|día|jour|Tag|ден|天|日)",
                                " day"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(nädalat|uger|settimane|tygodnie|uker|semanas|týdny|недели|недель|săptămâni|semaines|Wochen|седмици|weken|veckor)",
                                "weeks"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(hafta|nädal|uge|settimana|tydzień|uke|semana|týden|неделю|săptămână|semaine|Woche|седмица|周|週間|vecka)",
                                " week"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i) (ay)",
                                "month"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(kuud|måneder|mesi|miesiące|meses|měsíce|месяца|месяцев|luni|meses|mois|Monaten|месеца|maanden|månader)",
                                "months"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(kuu|måned|mese|miesiąc|mês|měsíc|месяц|lună|mes|Monat|месец|maand|个月|ヶ月|månad)",
                                " month"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(aastat|anni|lata|anos|roky|года|ani|años|ans|Jahren|години)",
                                " years"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(yil|aasta|år|anno|rok|ano|год|año|Jahr|година|jaar|年)",
                                " year"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i) (an)",
                                "year"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(För |und)",
                                ""
                            ]
                        },
                        {
                            "name": "timeago"
                        }
                    ]
                },
                "downloadvolumefactor": {
                    "case": {
                        "i[class*=\"fa-id-badge text-orange\"]": 0,
                        "i[class*=\"fa-star text-bold\"]": 0,
                        "i[class*=\"fa-coins text-bold\"]": 0,
                        "i[class*=\"fa-globe text-blue\"]": 0,
                        "i[class*=\"fa-star text-gold\"]": 0,
                        "i[class*=\"fa-certificate text-pink\"]": 0,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "i[class*=\"fa-gem text-green\"]": 2,
                        "i[class*=\"fa-globe text-green\"]": 2,
                        "i[class*=\"fa-certificate text-pink\"]": 2,
                        "i[class*=\"fa-trophy text-purple\"]": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 172800
                }
            }
        }
    },
    "zenith": {
        "credentials": {
            "apikey": ""
        },
        "id": "zenith",
        "name": "Zenith",
        "description": "Zenith is an Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "en-US",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://znth.cx/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 1,
                    "cat": "Movies",
                    "desc": "Movies"
                },
                {
                    "id": 2,
                    "cat": "TV",
                    "desc": "TV"
                },
                {
                    "id": 5,
                    "cat": "Audio",
                    "desc": "Music"
                },
                {
                    "id": 6,
                    "cat": "Books",
                    "desc": "Books"
                },
                {
                    "id": 7,
                    "cat": "Audio/Audiobook",
                    "desc": "Audiobooks"
                },
                {
                    "id": 3,
                    "cat": "Console",
                    "desc": "Games"
                },
                {
                    "id": 8,
                    "cat": "PC",
                    "desc": "Software"
                },
                {
                    "id": 9,
                    "cat": "Other",
                    "desc": "Misc"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "tvdbid",
                    "tmdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "tmdbid"
                ],
                "music-search": [
                    "q"
                ],
                "book-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "apikey",
                "type": "text",
                "label": "APIKey"
            },
            {
                "name": "info_key",
                "type": "info",
                "label": "About your API key",
                "default": "Find or Generate a new API Token by accessing your <a href=\"https://znth.cx/\" target=\"_blank\">Zenith</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "name": "single_file_release_use_filename",
                "type": "checkbox",
                "label": "Use filename as title for single file releases",
                "default": true
            },
            {
                "name": "sort",
                "type": "select",
                "label": "Sort requested from site",
                "default": "created_at",
                "options": {
                    "created_at": "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 get disabled after 90 days of no logins or any sort of activity. Accounts will also get soft deleted after 120 days."
            }
        ],
        "login": {
            "path": "api/torrents",
            "method": "get",
            "error": [
                {
                    "selector": "a[href*=\"/login\"]",
                    "message": {
                        "text": "The API key was not accepted by {{ .Config.sitelink }}."
                    }
                },
                {
                    "selector": ":root:contains(\"Account is Banned\")"
                }
            ]
        },
        "search": {
            "paths": [
                {
                    "path": "api/torrents/filter",
                    "response": {
                        "type": "json"
                    }
                }
            ],
            "headers": {
                "Authorization": [
                    "Bearer {{ .Config.apikey }}"
                ]
            },
            "inputs": {
                "$raw": "{{ range .Categories }}&categories[]={{.}}{{end}}",
                "name": "{{ .Keywords }}",
                "seasonNumber": "{{ .Query.Season }}",
                "episodeNumber": "{{ .Query.Ep }}",
                "imdbId": "{{ .Query.IMDBIDShort }}",
                "tmdbId": "{{ .Query.TMDBID }}",
                "tvdbId": "{{ .Query.TVDBID }}",
                "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}",
                "sortField": "{{ .Config.sort }}",
                "sortDirection": "{{ .Config.type }}",
                "perPage": 100
            },
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "\\.",
                        " "
                    ]
                }
            ],
            "rows": {
                "selector": "data",
                "attribute": "attributes"
            },
            "fields": {
                "category": {
                    "selector": "category_id"
                },
                "title_optional": {
                    "selector": "name"
                },
                "title_filename": {
                    "selector": "files[0].name",
                    "optional": true
                },
                "files": {
                    "selector": "num_file"
                },
                "title": {
                    "text": "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
                },
                "details": {
                    "selector": "details_link"
                },
                "download": {
                    "selector": "download_link"
                },
                "poster": {
                    "selector": "meta.poster",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "https://via.placeholder.com/90x135",
                                ""
                            ]
                        }
                    ]
                },
                "imdbid": {
                    "selector": "imdb_id"
                },
                "tmdbid": {
                    "selector": "tmdb_id"
                },
                "tvdbid": {
                    "selector": "tvdb_id"
                },
                "genre": {
                    "selector": "meta.genres",
                    "filters": [
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(Science Fiction)",
                                "Science_Fiction"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "(?i)(TV Movie)",
                                "TV_Movie"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                " & ",
                                "_&_"
                            ]
                        }
                    ]
                },
                "_internal": {
                    "selector": "internal",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "description": {
                    "text": "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
                },
                "seeders": {
                    "selector": "seeders"
                },
                "leechers": {
                    "selector": "leechers"
                },
                "grabs": {
                    "selector": "times_completed"
                },
                "date": {
                    "selector": "created_at",
                    "filters": [
                        {
                            "name": "append",
                            "args": " +00:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "MM/dd/yyyy HH:mm:ss zzz"
                        }
                    ]
                },
                "size": {
                    "selector": "size"
                },
                "_featured": {
                    "selector": "featured",
                    "case": [
                        "{{ .False }}",
                        "{{ .True }}"
                    ]
                },
                "downloadvolumefactor_freeleech": {
                    "selector": "freeleech",
                    "case": {
                        "0%": 1,
                        "25%": 0.75,
                        "50%": 0.5,
                        "75%": 0.25,
                        "100%": 0,
                        "*": 0
                    }
                },
                "downloadvolumefactor": {
                    "text": "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
                },
                "uploadvolumefactor_double_upload": {
                    "selector": "double_upload",
                    "case": [
                        1,
                        2
                    ]
                },
                "uploadvolumefactor": {
                    "text": "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
                },
                "minimumseedtime": {
                    "text": 259200
                }
            }
        }
    },
    "zmpt": {
        "credentials": {
            "cookie": ""
        },
        "id": "zmpt",
        "name": "ZmPT (织梦)",
        "description": "ZmPT (织梦) is a CHINESE Private Torrent Tracker for MOVIES / TV / GENERAL",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://zmpt.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 409,
                    "cat": "Other",
                    "desc": "其他 / Misc"
                },
                {
                    "id": 422,
                    "cat": "TV/Documentary",
                    "desc": "纪录片 / documentary"
                },
                {
                    "id": 417,
                    "cat": "TV/Anime",
                    "desc": "动漫 / Anime"
                },
                {
                    "id": 427,
                    "cat": "Audio/Video",
                    "desc": "短剧 / Short Play"
                },
                {
                    "id": 401,
                    "cat": "Movies",
                    "desc": "电影 / Movies"
                },
                {
                    "id": 402,
                    "cat": "TV",
                    "desc": "电视剧 / TV Series"
                },
                {
                    "id": 403,
                    "cat": "TV",
                    "desc": "综艺 / TV Shows"
                },
                {
                    "id": 423,
                    "cat": "Audio",
                    "desc": "音乐 / Music"
                },
                {
                    "id": 424,
                    "cat": "Audio/Audiobook",
                    "desc": "有声书 / Audiobook"
                },
                {
                    "id": 425,
                    "cat": "PC",
                    "desc": "软件 / Software"
                },
                {
                    "id": 426,
                    "cat": "Console",
                    "desc": "游戏 / Game"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid",
                    "doubanid"
                ],
                "movie-search": [
                    "q",
                    "imdbid",
                    "doubanid"
                ],
                "music-search": [
                    "q"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Dou Sheng users and above will be retained forever</li><li>Dou Huang and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 180 consecutive days</li><li>Users with a non-parked account will be banned if they do not log in for 45 consecutive days</li><li>Users with no traffic (ie, upload/download data are both 0) will be banned if they do not log in for 7 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}{{ .Keywords }}{{ else }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if and .Query.DoubanID (eq .Query.IMDBID .False) }}1{{ else }}{{ end }}{{ if and (eq .Query.IMDBID .False) (eq .Query.DoubanID .False) }}0{{ else }}{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href^=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href^=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href^=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href^=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href^=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "doubanid": {
                    "selector": "a[href*=\"movie.douban.com/subject/\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "case": {
                        "img[title=\"H&R\"]": 1,
                        "*": 0.4
                    }
                },
                "minimumseedtime": {
                    "case": {
                        "img[title=\"H&R\"]": 259200,
                        "*": 86400
                    }
                },
                "description_verified": {
                    "case": {
                        "span[title=\"通过\"], span[title=\"通過\"], span[title=\"Allowed\"]": "Verified:",
                        "span[title=\"未审\"], span[title=\"未審\"], span[title=\"Not reviewed\"]": "Unverified:",
                        "span[title=\"拒绝\"], span[title=\"拒絕\"], span[title=\"Denied\"]": "Banned:"
                    }
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span",
                    "filters": [
                        {
                            "name": "prepend",
                            "args": "{{ .Result.description_verified }} "
                        }
                    ]
                }
            }
        }
    },
    "zrpt": {
        "credentials": {
            "cookie": ""
        },
        "id": "zrpt",
        "name": "ZRPT (自然)",
        "description": "ZRPT (自然) is a CHINESE Private Torrent Tracker for Documentaries",
        "language": "zh-CN",
        "type": "private",
        "encoding": "UTF-8",
        "links": [
            "https://zrpt.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 412,
                    "cat": "TV/Documentary",
                    "desc": "Nature"
                },
                {
                    "id": 413,
                    "cat": "TV/Documentary",
                    "desc": "NatureWeb"
                },
                {
                    "id": 401,
                    "cat": "TV/Documentary",
                    "desc": "军事纪实"
                },
                {
                    "id": 402,
                    "cat": "TV/Documentary",
                    "desc": "生物自然"
                },
                {
                    "id": 403,
                    "cat": "TV/Documentary",
                    "desc": "餐饮美食"
                },
                {
                    "id": 404,
                    "cat": "TV/Documentary",
                    "desc": "人文记录"
                },
                {
                    "id": 405,
                    "cat": "TV/Documentary",
                    "desc": "宇宙星球"
                },
                {
                    "id": 406,
                    "cat": "TV/Documentary",
                    "desc": "音乐视频"
                },
                {
                    "id": 407,
                    "cat": "TV/Documentary",
                    "desc": "体育运动"
                },
                {
                    "id": 409,
                    "cat": "TV/Documentary",
                    "desc": "其它"
                },
                {
                    "id": 415,
                    "cat": "TV/Documentary",
                    "desc": "旅游风景"
                },
                {
                    "id": 416,
                    "cat": "TV/Documentary",
                    "desc": "纪录片"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ]
            }
        },
        "settings": [
            {
                "name": "cookie",
                "type": "text",
                "label": "Cookie"
            },
            {
                "name": "info_cookie",
                "type": "info_cookie"
            },
            {
                "name": "freeleech",
                "type": "checkbox",
                "label": "Search freeleech only",
                "default": false
            },
            {
                "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"
                }
            },
            {
                "name": "info_tpp",
                "type": "info",
                "label": "Results Per Page",
                "default": "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."
            },
            {
                "name": "info_activity",
                "type": "info",
                "label": "Account Inactivity",
                "default": "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e. upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
            }
        ],
        "login": {
            "method": "cookie",
            "inputs": {
                "cookie": "{{ .Config.cookie }}"
            },
            "test": {
                "path": "index.php",
                "selector": "a[href=\"logout.php\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "torrents.php"
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}cat{{.}}=1&{{end}}",
                "search": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "incldead": 0,
                "spstate": "{{ if .Config.freeleech }}2{{ else }}0{{ end }}",
                "search_area": "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}",
                "search_mode": 0,
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}",
                "notnewword": 1
            },
            "rows": {
                "selector": "table.torrents > tbody > tr:has(a[href*=\"download.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href*=\"?cat=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title_default": {
                    "selector": "a[href*=\"details.php?id=\"]"
                },
                "title": {
                    "selector": "a[title][href*=\"details.php?id=\"]",
                    "attribute": "title",
                    "optional": true,
                    "default": "{{ .Result.title_default }}"
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"download.php?id=\"]",
                    "attribute": "href"
                },
                "poster": {
                    "selector": "img[data-src]",
                    "attribute": "data-src"
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "date_elapsed": {
                    "selector": "td.rowfollow:nth-child(4) > span[title]",
                    "attribute": "title",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-dd HH:mm:ss zzz"
                        }
                    ]
                },
                "date_added": {
                    "selector": "td.rowfollow:nth-child(4):not(:has(span))",
                    "optional": true,
                    "filters": [
                        {
                            "name": "append",
                            "args": " +08:00"
                        },
                        {
                            "name": "dateparse",
                            "args": "yyyy-MM-ddHH:mm:ss zzz"
                        }
                    ]
                },
                "date": {
                    "text": "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
                },
                "size": {
                    "selector": "td.rowfollow:nth-child(5)",
                    "optional": true,
                    "default": "512MB"
                },
                "seeders": {
                    "selector": "td.rowfollow:nth-child(6)",
                    "optional": true,
                    "default": 0
                },
                "leechers": {
                    "selector": "td.rowfollow:nth-child(7)",
                    "optional": true,
                    "default": 0
                },
                "grabs": {
                    "selector": "td.rowfollow:nth-child(8)",
                    "optional": true,
                    "default": 0
                },
                "downloadvolumefactor": {
                    "case": {
                        "img.pro_free": 0,
                        "img.pro_free2up": 0,
                        "img.pro_50pctdown": 0.5,
                        "img.pro_50pctdown2up": 0.5,
                        "img.pro_30pctdown": 0.3,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img.pro_50pctdown2up": 2,
                        "img.pro_free2up": 2,
                        "img.pro_2up": 2,
                        "*": 1
                    }
                },
                "minimumseedtime": {
                    "text": 86400
                },
                "description": {
                    "selector": "td.rowfollow:nth-child(2)",
                    "remove": "a, b, font, img, span"
                }
            }
        }
    },
    "ztracker": {
        "credentials": {
            "username": "",
            "password": ""
        },
        "id": "ztracker",
        "name": "Ztracker",
        "description": "Ztracker is a HUNGARIAN Semi-Private Torrent Tracker for 0DAY / GENERAL",
        "language": "hu-HU",
        "type": "semi-private",
        "encoding": "ISO-8859-2",
        "links": [
            "https://ztracker.cc/"
        ],
        "legacylinks": [
            "http://ztracker.org/",
            "http://ztracker.cc/"
        ],
        "caps": {
            "categorymappings": [
                {
                    "id": 29,
                    "cat": "Movies/SD",
                    "desc": "CAM/EN"
                },
                {
                    "id": 30,
                    "cat": "Movies/SD",
                    "desc": "CAM/HUN"
                },
                {
                    "id": 49,
                    "cat": "Books",
                    "desc": "EBOOK/EN"
                },
                {
                    "id": 3,
                    "cat": "Books",
                    "desc": "EBOOK/HU"
                },
                {
                    "id": 37,
                    "cat": "Movies/UHD",
                    "desc": "FILM/4K/EN"
                },
                {
                    "id": 32,
                    "cat": "Movies/UHD",
                    "desc": "FILM/4K/HU"
                },
                {
                    "id": 36,
                    "cat": "Movies/DVD",
                    "desc": "FILM/DVD/EN"
                },
                {
                    "id": 34,
                    "cat": "Movies/DVD",
                    "desc": "FILM/DVD/HU"
                },
                {
                    "id": 35,
                    "cat": "Movies/HD",
                    "desc": "FILM/HD/EN"
                },
                {
                    "id": 31,
                    "cat": "Movies/HD",
                    "desc": "FILM/HD/HU"
                },
                {
                    "id": 8,
                    "cat": "Movies/SD",
                    "desc": "FILM/SD/EN"
                },
                {
                    "id": 28,
                    "cat": "Movies/SD",
                    "desc": "|-- Mese/Külf."
                },
                {
                    "id": 26,
                    "cat": "TV/SD",
                    "desc": "|-- SOROZAT/SD/EN"
                },
                {
                    "id": 7,
                    "cat": "Movies/SD",
                    "desc": "FILM/SD/HU"
                },
                {
                    "id": 27,
                    "cat": "Movies/SD",
                    "desc": "|-- Mese/Hun"
                },
                {
                    "id": 25,
                    "cat": "TV/SD",
                    "desc": "|-- SOROZAT/SD/HU"
                },
                {
                    "id": 45,
                    "cat": "Console",
                    "desc": "JÁTÉK/KONZOL"
                },
                {
                    "id": 4,
                    "cat": "PC/Games",
                    "desc": "JÁTÉK/PC/ISO"
                },
                {
                    "id": 18,
                    "cat": "Other",
                    "desc": "Képek"
                },
                {
                    "id": 17,
                    "cat": "XXX",
                    "desc": "|-- XXX/IMAGESET"
                },
                {
                    "id": 24,
                    "cat": "PC/Mobile-Other",
                    "desc": "PROG/MOBIL"
                },
                {
                    "id": 1,
                    "cat": "PC/0day",
                    "desc": "PROG/PC/ISO"
                },
                {
                    "id": 47,
                    "cat": "TV/UHD",
                    "desc": "SOROZAT/4K/EN"
                },
                {
                    "id": 48,
                    "cat": "TV/UHD",
                    "desc": "SOROZAT/4K/HU"
                },
                {
                    "id": 51,
                    "cat": "TV/SD",
                    "desc": "SOROZAT/DVD/EN"
                },
                {
                    "id": 50,
                    "cat": "TV/SD",
                    "desc": "SOROZAT/DVD/HU"
                },
                {
                    "id": 46,
                    "cat": "TV/HD",
                    "desc": "SOROZAT/HD/EN"
                },
                {
                    "id": 44,
                    "cat": "TV/HD",
                    "desc": "SOROZAT/HD/HU"
                },
                {
                    "id": 41,
                    "cat": "XXX",
                    "desc": "XXX/4K"
                },
                {
                    "id": 40,
                    "cat": "XXX",
                    "desc": "XXX/DVD"
                },
                {
                    "id": 16,
                    "cat": "XXX",
                    "desc": "XXX/HD"
                },
                {
                    "id": 15,
                    "cat": "XXX",
                    "desc": "XXX/SD"
                },
                {
                    "id": 12,
                    "cat": "Audio/MP3",
                    "desc": "ZENE/MP3/EN"
                },
                {
                    "id": 11,
                    "cat": "Audio/MP3",
                    "desc": "ZENE/MP3/HU"
                }
            ],
            "modes": {
                "search": [
                    "q"
                ],
                "tv-search": [
                    "q",
                    "season",
                    "ep",
                    "imdbid"
                ],
                "movie-search": [
                    "q",
                    "imdbid"
                ],
                "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": 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"
                }
            }
        ],
        "login": {
            "path": "login.php",
            "method": "form",
            "form": "form[action=\"takelogin.php\"]",
            "inputs": {
                "username": "{{ .Config.username }}",
                "password": "{{ .Config.password }}",
                "logintype": true
            },
            "error": [
                {
                    "selector": "div.error"
                },
                {
                    "selector": "table:has(img[src=\"/pic/ts_error/error.jpg\"])",
                    "message": {
                        "selector": "table:has(img[src=\"/pic/ts_error/error.jpg\"])",
                        "remove": "style"
                    }
                }
            ],
            "test": {
                "path": "index.php",
                "selector": "a[href*=\"/logout.php?logouthash=\"]"
            }
        },
        "search": {
            "paths": [
                {
                    "path": "browse_old.php"
                }
            ],
            "keywordsfilters": [
                {
                    "name": "re_replace",
                    "args": [
                        "[^a-zA-Z0-9]+",
                        "%"
                    ]
                }
            ],
            "inputs": {
                "$raw": "{{ range .Categories }}c{{.}}=1&{{end}}",
                "keywords": "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}",
                "search_type": "{{ if .Query.IMDBID }}t_description{{ else }}t_name{{ end }}",
                "ts_type": "{{ if .Config.freeleech }}3{{ else }}1{{ end }}",
                "sort": "{{ .Config.sort }}",
                "type": "{{ .Config.type }}"
            },
            "rows": {
                "selector": "table[border=\"1\"] > tbody > tr:has(a[href*=\"details.php?id=\"])"
            },
            "fields": {
                "category": {
                    "selector": "a[href^=\"/browse_old.php?cat=\"]",
                    "attribute": "href",
                    "optional": true,
                    "default": 18,
                    "filters": [
                        {
                            "name": "querystring",
                            "args": "cat"
                        }
                    ]
                },
                "title": {
                    "selector": "a[href*=\"details.php?id=\"][onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "<font class=\\\\'smalltext\\\\'>(.*?)</font>"
                        }
                    ]
                },
                "details": {
                    "selector": "a[href*=\"details.php?id=\"][onmouseover]",
                    "attribute": "href"
                },
                "download": {
                    "selector": "a[href*=\"details.php?id=\"]",
                    "attribute": "href",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                "details.php",
                                "download.php"
                            ]
                        }
                    ]
                },
                "poster": {
                    "selector": "a[href*=\"details.php?id=\"][onmouseover]",
                    "attribute": "onmouseover",
                    "filters": [
                        {
                            "name": "regexp",
                            "args": "img src=\\\\'(.*?)\\\\'"
                        }
                    ]
                },
                "imdbid": {
                    "selector": "a[href*=\"imdb.com/title/tt\"]",
                    "attribute": "href"
                },
                "files": {
                    "selector": "td:nth-child(5)"
                },
                "size": {
                    "selector": "td:nth-child(11):has(b)",
                    "optional": true,
                    "default": "0 B",
                    "remove": "b"
                },
                "seeders": {
                    "selector": "td:nth-child(7)"
                },
                "leechers": {
                    "selector": "td:nth-child(8)"
                },
                "downloadvolumefactor": {
                    "case": {
                        "img[src=\"./pic/freedownload.gif\"]": 0,
                        "img[src=\"./pic/silverdownload.gif\"]": 0.5,
                        "*": 1
                    }
                },
                "uploadvolumefactor": {
                    "case": {
                        "img[src=\"./pic/x2.gif\"]": 2,
                        "*": 1
                    }
                },
                "minimumratio": {
                    "text": 0.8
                },
                "minimumseedtime": {
                    "text": 259200
                },
                "date": {
                    "selector": "td:nth-child(2)",
                    "remove": "a, img",
                    "filters": [
                        {
                            "name": "replace",
                            "args": [
                                " ",
                                " "
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Ma",
                                "Today"
                            ]
                        },
                        {
                            "name": "replace",
                            "args": [
                                "Tegnap",
                                "Yesterday"
                            ]
                        },
                        {
                            "name": "re_replace",
                            "args": [
                                "12:(\\d\\d) PM",
                                "00:$1 PM"
                            ]
                        }
                    ]
                }
            }
        }
    }
}