qsniyg / maxurl

Finds larger/original versions of images and videos
https://qsniyg.github.io/maxurl/
Apache License 2.0
1.09k stars 66 forks source link

add instagram photo number to file name #721

Open ghost opened 3 years ago

ghost commented 3 years ago

I see there is lots of options for Instagram, some of which I may find useful for this ({filename} is unique for example), but can I add just photo index number on current page to file name. For multiple images per post (id). For example for this url: https://www.instagram.com/p/CN9P-d0sjWN/ When I use preset filename: {author_username} {id} That images are named like: gg.swimwear CN9P-d0sjWN.jpg gg.swimwear CN9P-d0sjWN 2.jpg gg.swimwear CN9P-d0sjWN 3.jpg gg.swimwear CN9P-d0sjWN 4.jpg ... depending on which order on imageset.

qsniyg commented 3 years ago

It should be possible once https://github.com/qsniyg/maxurl/issues/645 is implemented.

The main problem is that it requires rewriting formatting (and all the code around it) to be async, which might prove to be a relatively large amount of work unfortunately.

I do plan to implement it at some point though, and I agree it'd be quite useful :)