Skip to content

When choosing PATH the video will not be saved in the choosen path unless it already exists. #20

@JacoboGuijar

Description

@JacoboGuijar

Describe the bug
When selecting a path where the video will be downloaded to it saves it in the parent folder if the selected folder does not exist.

To Reproduce

reddit = Downloader(max_q = True) 
reddit.log = False
reddit.path = 'C:\\Users\\MyUser\\Desktop\\bot\\NonExistentFolder\\'
reddit.url = 'https://www.reddit.com/r/pythonforengineers/comments/hfmo98/what_kind_of_hawk_is_this/'
reddit.download()

Expected behavior
The propper way to implement the path functionality should be to create a folder in case it does not exist.

Desktop:

  • OS: Windows 10

I know this is not super important but your library is super useful and I thought this might help with it.
Also, is there a way to change the file name or get it's name once it has been downloaded?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions