a small service to automate the searching and downloading of eBooks from irchighway.net
  • Python 62.1%
  • JavaScript 16.9%
  • CSS 11.1%
  • Shell 6.2%
  • HTML 3.4%
  • Other 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Leigh 7833a2aec8 Clean bot result lines: hash prefixes, archive exts, redundant tags
Each bot formats result lines differently; auditing 635 cached rows showed
hash/ID prefixes (TrainFiles/artemis "hex | ", Firebound %HEX%, Ashurbanipal
base64 ids), trailing genre lists, archive extensions, and (retail)/(epub)
tags surviving into clean_title — and format='?' for 34% of rows because
rar-serving bots hide the real format in a parens tag.

- search_parser: ordered cleanup pipeline (structure-keyed, not bot-keyed);
  format falls back ext -> parens tag -> archive type; htm normalized to HTML
- results_store: PRAGMA user_version migration re-derives clean fields from
  stored raw titles on init, FTS reindexes via the existing trigger
- tests: 11 real per-bot fixture lines, prefix/genre guards, migration test

Live cache verified: unknown formats 214 -> 0, genre words no longer produce
false FTS cache hits, zero junk rows in a full post-migration sweep.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 12:57:36 +08:00
backend Clean bot result lines: hash prefixes, archive exts, redundant tags 2026-07-15 12:57:36 +08:00
frontend Cap book-info table at ~20 rows, make it collapsible 2026-07-15 08:09:41 +08:00
scripts Add book-info search: Open Library + Wikidata series, cache-first 2026-07-15 07:55:51 +08:00
tests Clean bot result lines: hash prefixes, archive exts, redundant tags 2026-07-15 12:57:36 +08:00
.gitignore Ignore .claude/ session settings 2026-07-14 13:01:49 +08:00
agents.md Clean bot result lines: hash prefixes, archive exts, redundant tags 2026-07-15 12:57:36 +08:00
CLAUDE.md Add on-demand IRC connection with idle disconnect 2026-07-14 13:19:23 +08:00
CODE_REVIEW.md Fix code review findings: DCC security, progress correlation, robustness 2026-07-14 12:40:12 +08:00
docker-compose.yml Add results-cache DB: instant cached results with live IRC merge 2026-07-15 07:32:41 +08:00
Dockerfile Upgrade to Python 3.13, add unit tests and live smoke script 2026-07-14 13:01:49 +08:00
PLAN.md Clean bot result lines: hash prefixes, archive exts, redundant tags 2026-07-15 12:57:36 +08:00
requirements.txt Add book-info search: Open Library + Wikidata series, cache-first 2026-07-15 07:55:51 +08:00