Serene-Arc / bulk-downloader-for-reddit

Downloads and archives content from reddit
https://pypi.org/project/bdfr
GNU General Public License v3.0
2.27k stars 211 forks source link

[BUG] The filename_restriction_scheme option is not implemented for YAML files #933

Closed ZapperDJ closed 1 week ago

ZapperDJ commented 10 months ago

Description

When using the filename-restriction-scheme option on a YAML file the program doesn't recognize the option

Command

folder_scheme: "{REDDITOR}/{SUBREDDIT}"
no_dupes: true
sort: new
authenticate: true
log: "bdfr.log"
config: "myconf.cfg"
submitted: true
exclude_id_file: [downloadedids]
filename_restriction_scheme: windows
max_wait_time: 0
user:
  - somerandomuser

Environment (please complete the following information)

Logs

Ignoring an unknown YAML argument: filename_restriction_scheme
Serene-Arc commented 1 month ago

That...is strange. Does it still happen when you put 'windows' in quotes? Also are you sure you're using the latest version?

ZapperDJ commented 1 week ago

It was my fault, I had twoo different versions of python installed and the one I was using was running an older version of bdfr