aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2026-06-06 19:26:35 +0300
committerA Farzat <a@farzat.xyz>2026-06-06 19:26:53 +0300
commit1020098497c37b7acfe3ff70845db58c3de22f98 (patch)
tree967ac065c5d0798ba71428599b36650c5c3cb007
parent594955bdff1e29b649ffde7ab85146d14021adcc (diff)
downloadoreilly-epub-1020098497c37b7acfe3ff70845db58c3de22f98.tar.gz
oreilly-epub-1020098497c37b7acfe3ff70845db58c3de22f98.zip
Specify download directory in READMEHEADmaster
Closes #6.
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 71540a6..96f2215 100644
--- a/README.md
+++ b/README.md
@@ -83,6 +83,16 @@ Requires:
- A **`cookies.json`** file for `learning.oreilly.com` (see below).
- Network access to O'Reilly's API while running the tool.
+### Download directory
+
+This depends on the platform, as below:
+
+|Platform|Value|Example|
+|--------|-----|-------|
+|Linux|`$XDG_DOWNLOAD_DIR`/oreilly-epub or `$HOME`/Downloads/oreilly-epub|/home/alice/Downloads/oreilly-epub|
+|macOS|`$HOME`/Downloads/oreilly-epub|/Users/Alice/Downloads/oreilly-epub|
+|Windows|`{FOLDERID_Downloads}`\oreilly-epub|C:\Users\Alice\Downloads\oreilly-epub|
+
### Cookies setup (`cookies.json`)
Place a `cookies.json` file in the current working directory or config directory