replace old compat_urllib_parse_unquote with backport from python3's function
authorfnord <fnord@fnord.mobi>
Fri, 17 Jul 2015 06:31:29 +0000 (01:31 -0500)
committerfnord <fnord@fnord.mobi>
Fri, 17 Jul 2015 06:31:29 +0000 (01:31 -0500)
commitc9c854cea7fa5992356dee5eab0d3615b4d40dc6
treefbefe3269b902d2e14ddb17bea9f990f300f2d26
parent45eedbe58c8ab6344f11f1e1376d01648c1967ee
replace old compat_urllib_parse_unquote with backport from python3's function

  * required unquote_to_bytes function ported as well
    (uses .decode('hex') instead of dynamically populated _hextobyte global)
  * required implicit conversion to bytes and/or unicode in places due to
    differing type assumptions in p3
youtube_dl/compat.py