]> git.bitcoin.ninja Git - youtube-dl/commit
[YoutubeDL] urlopen: use build_opener again
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 14 Jan 2016 07:14:01 +0000 (08:14 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 14 Jan 2016 07:16:39 +0000 (08:16 +0100)
commit6240b0a278781a3b584a9dd6d57191b2472c0fd8
tree2629cbbb4c4689f9a543270ff097267d9d6e38a1
parente37afbe0b8a1222cb214ad0bec9a53bb7953531d
[YoutubeDL] urlopen: use build_opener again

Otherwise we would need to manually add handlers like HTTPRedirectHandler, instead we add a customized FileHandler instance that raises an error.
youtube_dl/YoutubeDL.py