nadimkobeissi / mkbsd

Download all the wallpapers in MKBHD's "Panels" app
Do What The F*ck You Want To Public License
2.43k stars 180 forks source link

Image URLs Expiring in 12 Days #11

Open markwinap opened 1 day ago

markwinap commented 1 day ago

based on imgix API documentation. We need to find a way to validate that the image collection will remain active after the expiration date, either by decompiling the app to get the latest API version and collection URLs or re-fetching the bucket content.

_https://panels-cdn.imgix.net/content/a~hytha_7a08fefe/121~Bolluck~s~Wilshire~4k.jpg?expires=1728262583176&fm=jpg&s=fbdca389b0abf6c643334f31808e111c

lvanish commented 1 day ago

Expiry is associated with the signed url, image collection would still be present even when the signed url has expired. We can regenerate a new signed url in case of an expired one but that will expose the signing key. One way could be to keep the url re-signing process authenticated somewhere else or look for some auto regeneration of expired signed urls at the assets storage end.