1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

bdfr: add page (#14535)

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
Tonda39 2024-11-02 16:12:58 +01:00 committed by GitHub
parent c7786754fd
commit 9c7d0ecfbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
pages/common/bdfr.md Normal file
View file

@ -0,0 +1,28 @@
# bdfr
> Bulk downloader for Reddit.
> More information: <https://github.com/Serene-Arc/bulk-downloader-for-reddit>.
- Download videos/images from the specified [l]inks to URL or ID's of posts:
`bdfr download {{path/to/output_directory}} -l {{post_url}}`
- Download the maximum possible number (roughly 1000) of videos/images from a specified [u]ser:
`bdfr download {{path/to/output_directory}} -u {{reddit_user}} --submitted`
- Download submission data (text, upvotes, comments, etc.) [L]imited to 10 submissions for each [s]ubreddit (30 total):
`bdfr archive {{path/to/output_directory}} -s '{{Python, all, mindustry}}' -L 10`
- Download videos/images from the [s]ubreddit r/Python [S]orted by top (default is hot) using [t]ime filter all, [L]imited to 10 submissions:
`bdfr download {{path/to/output_directory}} -s Python -S top -t all -L 10`
- Download the maximum possible number of both submission data and videos/images from [s]ubreddit r/Python skipping over submissions with mp4 or gif file extensions and creating hard links for duplicate files:
`bdfr clone {{path/to/output_directory}} -s Python --skip mp4 --skip gif --make-hard-links`
- Download saved posts of the authenticated user, naming each file according to a specified format. Avoid downloading duplicates and posts already present in the output directory:
`bdfr download {{path/to/output_directory}} --user me --saved --authenticate --file-scheme '{{ {POSTID}_{TITLE}_{UPVOTES} }}' --no-dupes --search-existing`