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:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -6,6 +6,8 @@ venv/
|
|||||||
|
|
||||||
# Runtime data, not meant to be versioned
|
# Runtime data, not meant to be versioned
|
||||||
links.txt
|
links.txt
|
||||||
downloading/
|
downloading/*
|
||||||
finished/
|
finished/*
|
||||||
|
!downloading/.gitkeep
|
||||||
|
!finished/.gitkeep
|
||||||
.env
|
.env
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ Then run the downloader:
|
|||||||
python3 run.py
|
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
|
### Optional: session cookie
|
||||||
|
|
||||||
|
|||||||
0
downloading/.gitkeep
Normal file
0
downloading/.gitkeep
Normal file
0
finished/.gitkeep
Normal file
0
finished/.gitkeep
Normal file
Reference in New Issue
Block a user