Is that possible to fetch only a number of bytes from some URL and then close the connection with urllib/urllib2? Or even may be a part from n-th byte to k-th? There is a page on that side and I don’t need to load the whole page, only a piece of it.
Share
You can set the
Rangeheader to request a certain range of bytes, butyou are dependent on the server to honor the request: