• Programmer Belch@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    13 days ago

    As far as I know, the website doesn’t have an API but I just download the HTML and format the result with a simple Python script, it makes around 10 to 20 requests, one for each series I’m following at each time.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 days ago

      That might/might not be much.
      Depends upon the site, I’d say.

      e.g. If it’s something like Netflix, I wouldn’t think much, because they have the means to serve the requests.
      But for some PeerTube instance, even a single request seems to be too heavy for them. So if that server does not respond to my request, I usually wait for an hour or so before refreshing the page.