Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I use this as a separate reddit only plugin after copying everything over to another folder.
This scrapper fetches every jpg and png from reddit's homepage (this includes my personal feed code if you see in the source code).
You should make it so that when description is empty you don't show the transparent description panel at the bottom which darkens the photograph/picture for no reason at all.
Anyways you can add more configuration options for this like subreddits/personal feed code found in reddit preferences etc.
Also I changed the theme a little bit in my personal version so that the picture begins right after the title panel and not behind it
Just writing all this info because I'm not seeing myself extending this or generating a valid distributable plugin and will only use it for me personally. If anyone wants to fix all that stuff you're welcome!
Also you might wanna look into developing a system that fetches next pages on the fly when you're at the end of the current picture buffer (reddit has almost infinite pages and I just fetch 3 of them here because I can't find any other solution to this)