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?

  • dicksteele@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    23 hours ago

    yt-dlp streams those chunks into the final file tbh so it should be fine.

    I was wrong about this part. I doubt the isp would do anything about it though, just for different reasons

    • Xanza@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day 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.

      • dicksteele@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        23 hours 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.