Does Python throttle individual bandwidth by default?

Viewed 73
  • My average download speed on the wifi I'm currently using runs up to 200 Megabits/s.

I noticed that when downloading an .mp4 file with requests:

My Code:

with open(path, "wb") as f:
    for chunk in res.iter_content(1024):
        f.write(chunk)

In my Task Manager, it shows Python using only 8 Megabits/s on average when downloading this file. I was just wondering if Python or Requests throttles download speeds by default when it comes to larger files.

1 Answers

Ok, it seems that the host that I was downloading from was limiting the bandwidth for their public downloads to 1MB. I've done some research on if Python limits bandwidth and I'm positive that it does not.

Related