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

file name option for query string parameters #452

Open
owanneke opened this issue May 15, 2023 · 1 comment
Open

file name option for query string parameters #452

owanneke opened this issue May 15, 2023 · 1 comment
Labels
enhancement New feature or request P2 Priority 2

Comments

@owanneke
Copy link

owanneke commented May 15, 2023

I frequently download files without a specific filename, but identified by query string parameters:
eg. https://somesite.com/index.php?module=Photos&id=[36992:37776]&img_type=original

I'd like the option to use the querystring parameters, in this example "id" in the filename.

using * name * . * ext * with the rename option will create 700+ files called "index (123).jpg"
something like * qs:id * . * ext * could create files 36992.jpg, 36993.jpg, 36994.jpg... refering back to the original site reference.

@d7415
Copy link

d7415 commented May 15, 2023

As an interim you could use *qstring* to get the whole query string (which would include the ID, but also module/img_type). It's not a great solution, but would probably be better than index (123).jpg.

@nmaier nmaier added enhancement New feature or request P2 Priority 2 labels May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2 Priority 2
Projects
None yet
Development

No branches or pull requests

3 participants