diff --git a/__pycache__/torrent_vahti.cpython-311.pyc b/__pycache__/torrent_vahti.cpython-311.pyc index d6a9893..91f690b 100644 Binary files a/__pycache__/torrent_vahti.cpython-311.pyc and b/__pycache__/torrent_vahti.cpython-311.pyc differ diff --git a/hakulista.json b/hakulista.json index 3955505..c29cbb4 100644 --- a/hakulista.json +++ b/hakulista.json @@ -9,25 +9,49 @@ "filemood" ], "hakukohteet": [ - { - "jackett_haku": "motogp 2026 720p jff", - "regex_suodatin": "motogp.*?2026.*?720p.*?jff.*?", - "kohdekansio": "MotoGP" - }, { "jackett_haku": "motogp 2026 tntsportshd 1080p", - "regex_suodatin": "motogp.*?2026.*?tntsportshd.*?1080p.*?", - "kohdekansio": "MotoGP" + "regex_suodatin": ".*", + "kohdekansio": "MotoGP", + "paivat": [ + 3, + 4, + 5, + 6 + ] }, { "jackett_haku": "Formula 1 2026 1080p SS", - "regex_suodatin": "\tFormula.*?1.*?2026.*?1080p.*?SS.*?", - "kohdekansio": "Formula1" + "regex_suodatin": ".*", + "kohdekansio": "Formula1", + "paivat": [ + 3, + 4, + 5, + 6 + ] }, { "jackett_haku": "Formula 1 2026 SkyF1HD 1080p", - "regex_suodatin": "(?i)Formula.?1.*2026.*SkyF1HD.*1080p", - "kohdekansio": "Formula1" + "regex_suodatin": ".*", + "kohdekansio": "Formula1", + "paivat": [ + 3, + 4, + 5, + 6 + ] + }, + { + "jackett_haku": "motogp 2026 720p jff", + "regex_suodatin": ".*", + "kohdekansio": "MotoGP", + "paivat": [ + 3, + 4, + 5, + 6 + ] } ], "asetukset": { @@ -36,6 +60,6 @@ "qbit_url": "http://192.168.1.40:8080/", "qbit_user": "admin", "qbit_pass": "qbt_uFxc7gqD7sJsBk9FJdH38bLIyapr", - "haku_vali": 10 + "haku_vali": 900 } } \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index c38e733..0957c6e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -132,7 +132,22 @@ document.getElementById('tila-badge').className = "badge bg-success"; const lista = document.getElementById('hakukohteet-lista'); - lista.innerHTML = data.hakukohteet.map((k, i) => `