ififfy / flipflip

Random slideshow of local images. Electron app for Mac/Windows/Linux
MIT License
153 stars 41 forks source link

Future: Remote Sources #107

Closed StarrHelixx closed 3 years ago

StarrHelixx commented 5 years ago

This is a continuation of our previous work, but to add more remote sources:

Sources to Implement:

StarrHelixx commented 5 years ago

Closing this until this becomes relevant again (neither of these sources are scrape-able at the moment)

ItsExtra commented 3 years ago

I'd really like bdsmlr to be available, especially with authentication. It's a very strange site... I have no idea who is running it or even why.... but anyway lots of people are over there. Here is some research I have collected which may or may not be useful toward this end.

Their support forum has posts complaining about rss feeds, but I can't figure out where the feeds actually are.

There is another project here on gh called @RSS-Bridge where someone asked for bdsmlr to be included but it doesn't look like it got anywhere.

StarrHelixx commented 3 years ago

@ItsExtra Thanks for the report! I didn't know they had RSS feeds available! It seems you can access any page's RSS feed by going to https://<blog_name>.bdsmlr.com/rss (provided they haven't turned it off for their blog). And it looks like it includes paging so we can actually get all of the images!!! I'm actually super psyched, I've been waiting for them to provide and external way to access blogs for awhile.

This will be implemented and available in v3.1-beta! If I run into any issues, I'll post here.

Thanks again!

StarrHelixx commented 3 years ago

Good news! This has now been implemented and is available on the master branch! (https://github.com/ififfy/flipflip/commit/0bf3c741f74093632593e5bbe8435fb372582e08) Feel free to test it out and let me know if there's any perceivable issues.

EDIT: And also, there's unfortunately no authentication, so you there's no way to access a user's followed blogs at this time, so you'll have to manually add them to your library. But let's hope they add that in the (near) future.

Please note, that in order for a blog to work, it requires the images be directly available in the RSS feed. You'll notice some blogs do not have them and only have links to each post. Due to JavaScript requirements, scrapers can't access images through those links.

I did find an indexed page in Google for Sharesome API, but it's currently unavailable: https://sharesome.com/developers/rest-api . Closing this issue for now, will check back in the future.