Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Unused field from info_dict in FileDownloader #938
Comments
|
That looks like a mistake. Feel free to remove after checking that the code that uses |
|
If I understand it well (I haven't dive deeply in the downloader) the if count == 0 and 'urlhandle' in info_dict:
data = info_dict['urlhandle']
else:
data = compat_urllib_request.urlopen(request)I would like to test it, but only Blip.tv uses this field and only with some videos, and I can't find any of them. |
|
Fixed in 1538eff, thanks. |
I was reading the code in FileDownloader.py and I see this piece of code (source):
If I'm not wrong, the info_dict['urlhandle'] is being overwritten always, so it's never used. Is that the intended behaviour, or it's just that I have misundestoond something?