TheKonka / instagram-download-browser-extension

A browser extension for Instagram. Help you download images and videos.
MIT License
208 stars 13 forks source link

Request: Customising output format #32

Open phere-x opened 4 months ago

phere-x commented 4 months ago

Allow setting our own naming pattern

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

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.

TheKonka commented 4 months ago

QQ_1721976565797

I've added the ability to customize filenames in the latest version 2.2.0, don't know if the current implementation meets your needs.

joelpeapen commented 3 months ago

It'd be nice to customize the output the same way the original userscript did, instead of dragging elements. Just use text.

The current method doesn't allow the postId to be removed, & it uses jpeg instead of jpg. ig.jpg

phere-x commented 3 months ago

I have those options on the add-on available but when I go to download a post, I get this output 20240726_130107-An82BfeA8sFuf2wkQ4SkEzfow-KAj74Eo1ntNWv4mx6gpC8IIHkXhqmgQIUs3gxrsjXwyUwZFgqrCzs-EQnMcOhm_cristiano (post example: https://www.instagram.com/p/C94o7TLAcz0/)

There may be a misunderstanding, I wanted to customise the same way gallery-dl allows (and as seen in joelpeapen's screenshot). I want to be able to add hyphens in between the date & period's for the time. & maybe get the smaller post ID instead of that long one

TheKonka commented 2 months ago

image

Thanks to your suggestions, in the latest version(2.2.2), you can customize the filename in a more free way.

Ecdldaiiere commented 2 months ago

Just want to say this is a godsend. I really love the customizing of the file name. Just today, Insta Media Downloader by hawkynawa stopped working. Having the extension on would stop Instagram from loading.

I've been using that one for years so when I have an organized folder of all files with a structured filename format (i.e., username posts YYYY-MM-DD HH.MM), I can't just use any other downloader that spits out different filenames that I would manually have to edit lest the folder be completely disorganized.

Now with this extension, I can maintain the same filename format I've had for years. Thank you so much for this and hopefully this will live long into the future!