chore: ship empty downloading/ and finished/ dirs

Track them with .gitkeep instead of relying on the script to create
them on first run.
This commit is contained in:
2026-08-24 04:09:10 +02:00
parent 822f8acd68
commit 91d0640dd6
4 changed files with 5 additions and 3 deletions

6
.gitignore vendored
View File

@@ -6,6 +6,8 @@ venv/
# Runtime data, not meant to be versioned
links.txt
downloading/
finished/
downloading/*
finished/*
!downloading/.gitkeep
!finished/.gitkeep
.env

View File

@@ -43,7 +43,7 @@ Then run the downloader:
python3 run.py
```
The `downloading/` and `finished/` folders are created automatically. Downloads are saved to `downloading/`, then extracted into `finished/`, and the original archive is deleted once extraction succeeds. Any URL that fails to resolve is kept in `links.txt` so you can retry later.
Downloads are saved to `downloading/`, then extracted into `finished/`, and the original archive is deleted once extraction succeeds. Any URL that fails to resolve is kept in `links.txt` so you can retry later.
### Optional: session cookie

0
downloading/.gitkeep Normal file
View File

0
finished/.gitkeep Normal file
View File