Giter VIP home page Giter VIP logo

Comments (4)

DiegoFleitas avatar DiegoFleitas commented on June 22, 2024 1

fly.io is great! I Highly recommend it, they don't even charge you if your bill is less than 5 USD.

Regarding Letterboxd posters, those are loaded using AJAX & to get them I needed to make an extra request with a special "cache-busting" key that is found on the first request HTML. Also they seem to come in 125x187 & 230x345

https://github.com/DiegoFleitas/movie-justwatch/blob/master/controllers/letterboxdWatchlist.js#L31-L44

I'm not caching posters but maybe I should!

from letterboxd-justwatch.

sidward35 avatar sidward35 commented on June 22, 2024 1

My approach was to simply have the user specify how many pages they want to scrape 😆 Not super convenient though, I like that on yours you just fetch everything automatically.

I did take a look at your site and love the UI, great work @DiegoFleitas 👏

from letterboxd-justwatch.

sidward35 avatar sidward35 commented on June 22, 2024

@DiegoFleitas Thanks for the call out! Great to see another approach to the same problem 😁 And I didn't know about fly.io, will give it a try sometime.

Appreciate the suggestion, supporting other countries is one of my remaining TODOs for this project. Curious how you're fetching movie posters (is that also exported and stored in redis?), as that's something I'm trying to display nicely as well.

from letterboxd-justwatch.

DiegoFleitas avatar DiegoFleitas commented on June 22, 2024

My biggest issue right now is big watchlists, some people have like 1800+ movies on them & that's ~60+ pages.
That's just too much for my good ol server. I'm thinking of implementing a limit of 20 pages & force the user to infinite scroll if they want more

PS: You are welcome to try my demo if you haven't already

from letterboxd-justwatch.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.