• PriorProject@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 years ago

    … they don’t understand that we don’t use their API

    I’m only casually familiar with Invidious. How does it play YouTube videos without interacting with the YouTube API?

    • scoobford@lemmy.one
      link
      fedilink
      English
      arrow-up
      15
      ·
      2 years ago

      Probably by scraping. Scraping is what you implement an API to avoid, its basically the client masquerading as a web browser and then extracting the data it wants from whatever the website sends out.

      It’s bad for services because iy involves sending much more data and filling more requests. It’s bad for the developer of the client because scraping is more complex and breaks whenever they revise the website layout or anything like that.

      But if you’re going to pull a twitter, you get what you deserve.