Jackhammer9 / RedDownloader

A python library to simplify downloading different types of media from reddit
GNU General Public License v3.0
83 stars 15 forks source link

Pictures from galleries are not named in order #47

Closed Ganymede23 closed 1 year ago

Ganymede23 commented 1 year ago

Hello! I was testing this and tried downloading a couple submissions with galleries and found that they're not named/downloaded in order:

I've tested it multiple times and the order repeats itself. Doesn't seem to be random. It would be nice to have the files named in order, so it's easier to manage.

I hope this is helpful. Thank you!

Jackhammer9 commented 1 year ago

Greetings,

Thank you for bringing this to my attention, i have gone through and it looked like reddit doesn't return pictures in order via API calls nonetheless i am now sorting the media by their ids before downloading so that seems to be working fine.

I will be closing this issue but please don't hesitate to reopen if you should face any issue