Skip to content

Commit

Permalink
Implement option to download all profiles in just one folder
Browse files Browse the repository at this point in the history
- Add option to download all profiles in just one folder, instead of creating subdirectories
- Add option to open the downloads folder when the code finishes
  • Loading branch information
Alphka committed Sep 17, 2024
1 parent c981afe commit fc9638b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Options:
-v, --version Display program version
-o, --output [path] Output directory
-f, --force Force creation of output directory
-O, --open Open output folders when finished
-uf, --unifolder Downloads the contents in the parent folder, instead of subdirectories.
-q, --queue <number> Set how many items to get from Instagram API (default: 12)
-l, --limit <number> Set how many items to download in total
-ns, --no-stories Disable stories download
Expand Down
14 changes: 14 additions & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ const config = {
description: "Force creation of output directory",
defaultValue: false
},
{
option: "open",
alternative: "O",
description: "Open output folders when finished",
defaultValue: false
},
{
option: "unifolder",
alternative: "uf",
description: "Downloads the contents in the parent folder, instead of subdirectories.",
defaultValue: false
},
{
option: "queue",
alternative: "q",
Expand Down Expand Up @@ -59,4 +71,6 @@ const config = {
]
}

// TODO: Add reels' download

export default config

0 comments on commit fc9638b

Please sign in to comment.