Commit Graph

10 Commits

Author SHA1 Message Date
Yevhen Odynets ebb86d094a feat(prescene): parse single scnlog release for --single-uri page::1m
Handle the page::1m marker before the generic single-uri branch
(previously unreachable):

- select the latest prescene source from external_sources with meta IS NULL
  (sql.ErrNoRows -> no-op)
- parse article.single: type_id from post-(\d+), size_mb, genre,
  unique artists, tracks count and total duration (h:M:s)
- download the release NFO (anchor "Download NFO" -> onclick href)
  and save it to <nfo_dir>/<first-letter-of-title>/<title>.nfo
- update external_sources.meta with compact JSON by id via db.Exec,
  writing {} when every field is empty

Add model.ScnlogMeta / model.ScnlogSource structures.
2026-10-01 07:27:26 +03:00
Yevhen Odynets 332d143f1f change dump output for prescene 2026-09-29 08:17:11 +03:00
Yevhen Odynets f53a624004 chnage dump output to pretty 2026-09-27 01:59:03 +03:00
Yevhen Odynets 39aa8e2e81 fixed a new prescene layout 2026-09-27 01:12:52 +03:00
Yevhen Odynets fedb470da6 minor changes 2026-08-31 19:00:09 +03:00
yevhen 879b33d385 all fixed 2025-10-28 11:36:11 +02:00
yevhen b26c43ee4b change git imports 2025-10-06 12:28:15 +03:00
yevhen 1544b943fc cahnge git server and fixed time parsing 2025-10-06 12:21:22 +03:00
yevhen 203f834f65 upadted to 1.24.0; fixed stb and spiddped doubles in precene 2025-03-03 09:28:41 +02:00
yevhen 0ecf0ddec1 preset scraper added 2024-09-10 15:57:48 +03:00