zeroone2numeral2 / reddit-test

3 stars 1 forks source link

Support reddit's multi-image posts (galleries) #143

Closed RememberTheAir closed 4 years ago

RememberTheAir commented 4 years ago

Example: https://redd.it/i0klwe

To check: how these submissions' url looks

IDs of the medias: submission.gallery_data.items[0].media_id

Actual data: submission.media_metadata[media_id]['s']['u'] (largest/original), submission.media_metadata[media_id]['p'][-1]['u'] (better to use this one, otherwise the image is too large)

RememberTheAir commented 4 years ago

To do: support videos and gifs (need to find examples)

RememberTheAir commented 4 years ago

Closed in favour of #153