I know YouTube is a terrible provider of pirated content and also that it is almost impossible to pirate without a VPN, but I would like to know: if I download a movie from YouTube (directly from it, of course) without a VPN, will I receive “that type of message” from my ISP?

  • @[email protected]
    link
    fedilink
    English
    116 days ago

    yt-dlp streams those chunks into the final file

    This is entirely incorrect;

    --http-chunk-size SIZE          Size of a chunk for chunk-based HTTP
                                                    downloading, e.g. 10485760 or 10M (default
                                                    is disabled).
    

    Chunks are disabled by default with yt-dlp. You’re thinking of fragments, which are not how the video file is captured, just how its saved.

    • @[email protected]
      link
      fedilink
      English
      1
      edit-2
      16 days ago

      I was basing what I said on the http.py file:

      while True:
                      try:
                          # Download and write
                          data_block = ctx.data.read(block_size if not is_test else min(block_size, data_len - byte_counter))
                      except TransportError as err:
                          retry(err)
      
                      byte_counter += len(data_block)
      

      I might still be wrong but that’s how I thought it downloaded any video file over http

      Edit. After reading the code a bit more I see that you were correct.