collegehumor: able to download a single f4f file (not yet playable)
[youtube-dl] / youtube_dl / utils.py
index 8361382774c372c714d1de4cc1c839bdbbce9bf4..4600dc9670f50d192d9352b79950c68118f33972 100644 (file)
@@ -26,6 +26,11 @@ try:
 except ImportError: # Python 2
     import urllib as compat_urllib_parse
 
+try:
+    from urllib.parse import urlparse as compat_urllib_parse_urlparse
+except ImportError: # Python 2
+    from urlparse import urlparse as compat_urllib_parse_urlparse
+
 try:
     import http.cookiejar as compat_cookiejar
 except ImportError: # Python 2