overbyrn / docker-bdfr

a wrapper container for bulk-downloader-for-reddit
MIT License
4 stars 2 forks source link

How do I specify to just grab one users content? #1

Open jaxjexjox opened 1 year ago

jaxjexjox commented 1 year ago

EDIT, fixed first issue entirely which this post was originally!

I'm running your container, with "-d" to keep it running. Them I'm injecting this command into it.

docker exec -it bdfr python3 -m bdfr download /downloads/USERNAME --filename-restriction-scheme windows -- --user USERNAME --submitted -L 10

It's worked well so far, until I've added the command

"--filename-restriction-scheme" Which it spits back with

Error: No such option: --filename-restriction-scheme Did you mean --file-scheme?

Is this broken in the core app (not just your container?) - I don't want it outputting files which my windows PC can't see.

overbyrn commented 1 year ago

Hi, I'm not familiar with that parameter, but I quickly checked the docs from the core app and it feels like that might be a parameter that can go into the config.cfg file, but perhaps it's not intended to be used as a command line arg.

configuration file "--filename-restriction-scheme" is listed as an optional key that can go into config.cfg

jaxjexjox commented 1 year ago

The information is located here:

https://pypi.org/project/bdfr/

At the command-line, this is done with --filename-restriction-scheme windows

and here:

https://github.com/aliparlakci/bulk-downloader-for-reddit

None the less, I solved this (sorry!) with your filename cleanse command, which I've entirely forgotten - detox I think? So thank you regardless.