Coder Social home page Coder Social logo

Comments (4)

vezaynk avatar vezaynk commented on July 17, 2024 1

The resolutions seem hard-coded into the embedded player js file. Extracting it would be a pain.

The solution would be to try the higher resolution first, then fall back to the lower one.

This seems like the ideal solution. I unfortunately have a lot on my plate at the moment, but PRs are welcome!

from pluralsight-scraper.

vezaynk avatar vezaynk commented on July 17, 2024

I kind of expected this error to arise, but couldn't find a place where it happened. Do you have any idea where we can retrieve the available resolution information?

from pluralsight-scraper.

heinrich-ulbricht avatar heinrich-ulbricht commented on July 17, 2024

I don't know where to get the available resolutions, but the web video player of Pluralsight does neither. It tries 1280x720 first (the 404 in the screenshot), then 1024x768:

image

So doing the same seems appropriate - with a proper delay between requests. Rate limiting seems to kick in fairly quickly.

from pluralsight-scraper.

heinrich-ulbricht avatar heinrich-ulbricht commented on July 17, 2024

Good find. Same here, and yes :D

from pluralsight-scraper.

Related Issues (20)

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.