aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-07 12:22:06 +0200
committerDanilo M. <danix@danix.xyz>2026-10-07 12:22:06 +0200
commit9348fb7b74e1c82c9e02bdc40c0c0c48faa2911f (patch)
treee7a748c13da4c25f93682d430a911ff7197e106f /AGENTS.md
parentc3386f19b31706cd1deb427b521b151baf652edc (diff)
downloadbunkr_dl-9348fb7b74e1c82c9e02bdc40c0c0c48faa2911f.tar.gz
bunkr_dl-9348fb7b74e1c82c9e02bdc40c0c0c48faa2911f.zip
Show colored album and file progress bars
Use rich for two live bars: the album (files done, elapsed time) and the current file (percent, size, speed, ETA). The file bar starts at the resumed offset and is removed when the file finishes; album bars stay as a record. Messages go through console.out so they print above the bars. Adds rich as a runtime dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 3919287..75a0929 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -5,8 +5,8 @@ Guidance for AI coding agents working in this repository.
## What this is
`bunkr_dl`: single-file Python script that downloads Bunkr albums and search
-results. Runtime dependencies: `requests`, `beautifulsoup4`, `lxml`. Keep it a
-single file and do not add dependencies.
+results. Runtime dependencies: `requests`, `beautifulsoup4`, `lxml`, `rich`.
+Keep it a single file and do not add dependencies without asking.
On the maintainer's machine the script is installed as a symlink into the repo,
so edits are live immediately:
@@ -31,6 +31,8 @@ finds nothing, re-inspect the live pages with `curl` before changing code.
## Conventions
+- Output goes through `console.out`, never `print`, so messages do not tear
+ the `rich` progress bars.
- New options go in the `argparse` setup in `main()` and in the README usage
table.
- `download_file` resumes with a per-request `Range` header. Never mutate the