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

Wish: customize download filename template #11

Open
sincere-music opened this issue Nov 21, 2023 · 12 comments
Open

Wish: customize download filename template #11

sincere-music opened this issue Nov 21, 2023 · 12 comments

Comments

@sincere-music
Copy link

I always save images in a folder named after the account name, so I’d like to remove that first item from the template. Great to find a working download extension again!

@TheKonka
Copy link
Owner

image

This feature has been implemented, thanks for using.

@sincere-music
Copy link
Author

sincere-music commented Jan 8, 2024

Great! I can’t see it in the live version though (1.5.0, updated 7 January, in Firefox), is this yet to be included in a release?

@TheKonka
Copy link
Owner

TheKonka commented Jan 9, 2024

image

Maybe you're looking in the wrong place, I put it in the popup, you just need to click on this icon in Toolbar.

@DumbIdiot
Copy link

DumbIdiot commented Mar 15, 2024

I'm on Firefox 123.0.1 and extension version 2.0.5 and none of the filename settings work. It always downloads with the original filename.

@TheKonka
Copy link
Owner

TheKonka commented Mar 15, 2024

I'm on Firefox 123.0.1 and extension version 2.0.5 and none of the filename settings work. It always downloads with the original filename.

image

image

Hello, what media did you download? Except for the cover of videos and reels ( for now, I'm keeping their default filenames ), the downloaded file name will have username and date by default.

@DumbIdiot
Copy link

DumbIdiot commented Mar 15, 2024

Videos and images, both single posts and carousels.

I just tried saving the same image as your example and it doesn't work for me for some reason. Yes, I have the filename settings turned on.

Screenshot 2024-03-15 074416

Edit:
I found that some videos work but most don't and images never work so far.
Link 1 doesn't work: https://www.instagram.com/p/C4f5-ObC1BT/
Link 2 does work: https://www.instagram.com/p/C4dwrPSCGbG/
Screenshot 2024-03-15 083058

@TheKonka
Copy link
Owner

@DumbIdiot Ok, thanks ,I have reproduced the problem. I will fix it later.

@TheKonka
Copy link
Owner

@DumbIdiot Hello, the latest version 2.0.6 is available now. You can try it !

@DumbIdiot
Copy link

@DumbIdiot Hello, the latest version 2.0.6 is available now. You can try it !

The filenames work correctly now, but now opening/saving carousels doesn't work anymore. It only opens/saves the first one.

@DumbIdiot
Copy link

@TheKonka I had a look at the last commit and in src/content/utils.ts @ row 168 you seem to forgotten to change url: getImgOrVedioUrl(data), to url: getImgOrVedioUrl(item),

@TheKonka
Copy link
Owner

@TheKonka I had a look at the last commit and in src/content/utils.ts @ row 168 you seem to forgotten to change url: getImgOrVedioUrl(data), to url: getImgOrVedioUrl(item),

Oh, thanks! Sorry for the mistake. I have fixed it. Please waiting the review..

@phere-x
Copy link

phere-x commented Jul 15, 2024

is there a way to change the format of the filename? I prefer to have the datetime at the beginning followed by the ID & then username, with separators of my chosing to make it more readable. It also follows the naming pattern I've used with gallery-dl.

e.g. 2024-07-06 16.56.58 449985739_1113835120103027_7993016259701057299 cristiano

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

No branches or pull requests

4 participants