bulk-downloader-for-reddit icon indicating copy to clipboard operation
bulk-downloader-for-reddit copied to clipboard

[BUG] Script closes after running tool from yaml file

Open BeachNL opened this issue 1 year ago • 5 comments

  • [ Yes] I am reporting a bug.
  • [ Yes] I am running the latest version of BDfR
  • [ Yes ] I have read the Opening an issue

Description

Script doesn't download users from .yaml

Command

bdfr download /Volumes/Adult/Web/Reddit/Users --opts opts_users.yaml 

opt_users.yaml

skip: [txt]
file_scheme: "{REDDITOR}_{DATE}_{TITLE}_{POSTID}"
limit: 50
no_dupes: true
user:
  - mmmmmadi

Environment (please complete the following information)

  • OS: Macos Ventura
  • Python version: 3.9

Logs

[2023-02-21 18:51:54,482 - root - INFO] - Program complete

BeachNL avatar Feb 21 '23 17:02 BeachNL

Please provide the logs from the file. What you have provided is not what will be in the file. See the guide on opening an issue for its location.

Serene-Arc avatar Feb 22 '23 06:02 Serene-Arc

[2023-02-22 08:13:37,926 - bdfr.connector - DEBUG] - Setting maximum download wait time to 120 seconds [2023-02-22 08:13:37,926 - bdfr.connector - DEBUG] - Setting datetime format string to ISO [2023-02-22 08:13:37,926 - bdfr.connector - DEBUG] - Disabling the following modules: [2023-02-22 08:13:37,926 - bdfr.connector - Level 9] - Created download filter [2023-02-22 08:13:37,926 - bdfr.connector - Level 9] - Created time filter [2023-02-22 08:13:37,926 - bdfr.connector - Level 9] - Created sort filter [2023-02-22 08:13:37,926 - bdfr.connector - Level 9] - Create file name formatter [2023-02-22 08:13:37,926 - bdfr.connector - DEBUG] - Using unauthenticated Reddit instance [2023-02-22 08:13:37,927 - bdfr.connector - Level 9] - Created site authenticator [2023-02-22 08:13:37,927 - bdfr.connector - Level 9] - Retrieved subreddits [2023-02-22 08:13:37,927 - bdfr.connector - Level 9] - Retrieved multireddits [2023-02-22 08:13:37,927 - bdfr.connector - Level 9] - Retrieved user data [2023-02-22 08:13:37,927 - bdfr.connector - Level 9] - Retrieved submissions for given links [2023-02-22 08:13:37,927 - root - INFO] - Program complete

BeachNL avatar Feb 22 '23 07:02 BeachNL

Issue solved by using this command (Not written in the readme that -submitted is required for users when using yaml options):

bdfr download /Volumes/Adult/Web/Reddit/Users --submitted --opts opts_users.yaml

BeachNL avatar Feb 22 '23 11:02 BeachNL

This shouldn't be the case, so it is a bug. I'll look into it, thanks.

Serene-Arc avatar Feb 23 '23 01:02 Serene-Arc

Issue solved by using this command (Not written in the readme that -submitted is required for users when using yaml options):

bdfr download /Volumes/Adult/Web/Reddit/Users --submitted --opts opts_users.yaml

Brill, couldn't find an answer to this up until now, everytime I ran the script it just said program complete.

Subreddits download fine, but users seem to need --submitted added to kickstart the download.

BluesFanUK avatar Aug 05 '23 17:08 BluesFanUK