Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insert underscore in generic extractor folder name. #6580

Closed
jadedgnome opened this issue Dec 1, 2024 · 3 comments
Closed

insert underscore in generic extractor folder name. #6580

jadedgnome opened this issue Dec 1, 2024 · 3 comments

Comments

@jadedgnome
Copy link

jadedgnome commented Dec 1, 2024

I updated from 1.27.1 and the file naming scheme changed for generic extractor. it's not all bad but it's annoying that the "/" of an url that made up the username is no longer replaced by an underscore which improves readability and double click highlighting of parts of the folder name. instead of example.com\folder_subfolder_extrapath it's now example.com\foldersubfolderextrapath.

Installing collected packages: gallery-dl
Attempting uninstall: gallery-dl
Found existing installation: gallery_dl 1.27.1
Uninstalling gallery_dl-1.27.1:
Successfully uninstalled gallery_dl-1.27.1
Successfully installed gallery-dl-1.27.7

@mikf
Copy link
Owner

mikf commented Dec 1, 2024

Default directory names for generic extractors got updated in v1.27.4 (#6104)

You can restore the old names with

    "directory": ["{category}", "{pageurl}"]

@jadedgnome
Copy link
Author

how do i use that on the command line ?

@mikf
Copy link
Owner

mikf commented Dec 1, 2024

-o "directory=[\"{category}\",\"{pageurl}\"]"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants