Reddit image source
Bug #1380108 reported by
Peter Levi
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Variety |
Fix Released
|
High
|
Peter Levi |
Bug Description
Subreddits like /r/wallpapers, /r/EarthPorn, etc. have 80% imgur submissions that are accessible at
http://
Add a GUI in the Add Sources list for adding such sources.
Changed in variety: | |
status: | New → Won't Fix |
status: | Won't Fix → New |
Changed in variety: | |
status: | New → Fix Committed |
Changed in variety: | |
milestone: | none → 0.5.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We will add dedicated Reddit support, not fallback to MediaRSS. This will allow us to sort by top for a given time period, and we will also be able to fetch titles, over_18 rating, origin URL to reddit post, etc.
The format of the URLs to get posts in json is described here: http:// www.reddit. com/dev/ api#GET_{sort} stackoverflow. com/questions/ 15009422/ what-are- the-different- sorting- types-allowed- in-reddits- json-api
http://
Basically either: www.reddit. com/r/AutumnPor n.json? limit=100 www.reddit. com/r/AutumnPor n/top.json? t=all&limit= 100
http://
or
http://
We can either provide a GUI to set sorting to top or not, or we may let the user choose the sorting on the site and paste the URL with proper sorting, and we'll just append ".json" and "limit=100" where they should be.
We need to filter only links to direct images (skip gifs as they might be animated). /imgur. com/VBnRRaR. We may either try to append "i.XXX.jpg" directly and fail if this is not the correct link, or we may use Imgur's API to get the direct link, but their API enforces limits: https:/ /api.imgur. com/models/ image
Some Imgur links point not to the image, but to the Imgur page like https:/