Skip to content

Commit

Permalink
Fix #467 KeyError: 'url_encoded_fmt_stream_map'
Browse files Browse the repository at this point in the history
  • Loading branch information
swiftyy-mage committed Dec 26, 2019
1 parent 66b3380 commit 6372a50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytube/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from urllib2 import unquote
from urllib2 import urlopen
from urlparse import parse_qsl
from urlparse import parse_qs
from HTMLParser import HTMLParser

def install_proxy(proxy_handler):
Expand All @@ -44,6 +45,7 @@ def unicode(s):
elif PY3:
from urllib.error import URLError
from urllib.parse import parse_qsl
from urllib.parse import parse_qs
from urllib.parse import quote
from urllib.parse import unquote
from urllib.parse import urlencode
Expand Down

0 comments on commit 6372a50

Please sign in to comment.