DownloadRedditImages
ved Reliability, Better Codebase
이 스크립트 사용 :
파일을 다운로드하고 파일을 실행하기 만하면 아무 것도 설정할 필요가 없습니다!
터미널을 통해 다운로드하려면 :
git clone https://github.com/tsarjak/WallpapersFromReddit.git
# Next step is Fully Optional - to use tqdm progress bar. Without this, native progress bar will show up with exact same features, just a little less pretty.
pip install tqdm터미널에서 :
# In the Home Directory or the Directory in which you cloned/downloaded the script
cd ~ /DownloadRedditImages
python download.py
--subreddit < your choice of subreddit >
--sort_type < hot | new | rising | top >
--sort_time < all | year | month | week | day >
--download_dir < Directory where you want to store the images. For Max/Linux, the script can identify home directory and sets a RedditMedia folder there. For Windows, a path MUST be provided >
--max_post_downloads < Maximum number of posts media to download. Default= 10>
--max_simultaneous_downloads < Maximum number of simultaneous downloads to run using multiple CPU cores. Default=16. >
--max_trials < Maximum number of trials to fetch subreddit data. Sometimes the response is slow and multiple attempts are needed. Default=20. > python download.py --subreddit pics --sort_type top --sort_time all --max_post_downloads 40 --download_dir /Users/user_me/Pictures/RedditMedia/
# This will download top 50 posts of all time from earthporn subreddit to /Users/user_me/Pictures/RedditMedia folder.

hot 만 지원되었지만 이제는 hot, top, new, controversial 여지가 있습니다.day 만 지원되었지만 현재 day, week, month, year, all 지원됩니다.DownloadDitimages v2.0.0 -https://github.com/tsarjak/wallpapersfromeddit/releases/tag/v2.0.0