From 77ff644f892025f3b902e3681a01bfed584a9440 Mon Sep 17 00:00:00 2001 From: Dmitrii Krosh Date: Tue, 7 Jul 2026 05:35:14 +0300 Subject: [PATCH] init commit --- IDEA.md | 329 ++++++++++++++++++ README.md | 72 +++- r34vault_downloader.py | 543 ++++++++++++++++++++++++++++++ requirements.txt | 3 + tests/test_r34vault_downloader.py | 85 +++++ 5 files changed, 1031 insertions(+), 1 deletion(-) create mode 100644 IDEA.md create mode 100644 r34vault_downloader.py create mode 100644 requirements.txt create mode 100644 tests/test_r34vault_downloader.py diff --git a/IDEA.md b/IDEA.md new file mode 100644 index 0000000..3add7d0 --- /dev/null +++ b/IDEA.md @@ -0,0 +1,329 @@ +# rule34vault downloader ideas + +## User requirements / comments to keep + +- Download bookmarks for a public username; no authorization required. +- Bookmark pages are available as `https://rule34vault.com/u/?page=`. +- Only username should be required for normal use. +- Use browser-like headers to reduce chance of request blocking/blocklisting. +- Do **not** rely on `HEAD` only. Some servers may reject or mis-handle `HEAD`; use `GET` with streaming/range checks when needed. +- For normal image posts, first try predictable original-file URLs: + - `https://rule34vault.com/posts///.jpg` + - `https://r34xyz.b-cdn.net/posts///.jpg` +- `` is the first digits group from the post id path. Example: post `1263322` uses prefix `1263`. +- Some videos require opening the post page and extracting real `