This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
So, I’ve been having a go at using the Reddit api praw and I’ve been able to download images for posts that are a link to a single image, but for gallery posts, I’m having trouble.
Gallery posts (posts with multiple images) have a link to a html page instead of an image. When opened locally, the page doesn’t seem to work at all, but when the gallery link is opened in a browser, it basically takes you to the post.
The html file seems too big to read manually, and I couldn’t find any image links by searching, so I’m guessing I’ll have to send more requests based on the content of the gallery html page to get the image links, but I’m still not sure what to look for in the gallery html file.
How should I get the images or image urls using these gallery files?
Subreddit
Post Details
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/redditdev/c...