Closed StarrHelixx closed 5 years ago
I've made the initial changes and pushed a new branch v2.0_Work
HeadlessScenePlayer
to use a single method for choosing what to do with a source URL.posts.photos.original_size.url
or posts.body
, but there may be other cases I didn't find while testing.CancelablePromise
to be a data-holder for looping sources.gifInfo
when using remote gifs (need to read into ArrayBuffer
object for gifInfo
to work)
request
library, but another could be used. I tried to find a way to do this with wretch
but couldn't find a way to read a url into a bufferOne thing to look out for is how the image loading queue interacts with the remote source loading queue, and whether it causes any weird side effects in the player. Gooninator would behave weirdly if you had a long delay (~10s) where it would load 100 images really quick from the first tumblr API page, and then show them to you really slowly, so it would take ages to see a wider variety.
Reddit works now! 😁
Sources to Implement:
We can use RipMe as as reference for code to scrape these sites if needed.