diff options
Diffstat (limited to 'youtube_dl/InfoExtractors.py')
| -rw-r--r-- | youtube_dl/InfoExtractors.py | 13 | 
1 files changed, 2 insertions, 11 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index ae98e1264..256d106b1 100644 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -12,23 +12,14 @@ import time  import urllib  import urllib2  import email.utils +import xml.etree.ElementTree +from urlparse import parse_qs  try:  	import cStringIO as StringIO  except ImportError:  	import StringIO -# parse_qs was moved from the cgi module to the urlparse module recently. -try: -	from urlparse import parse_qs -except ImportError: -	from cgi import parse_qs - -try: -	import xml.etree.ElementTree -except ImportError: # Python<2.5: Not officially supported, but let it slip -	warnings.warn('xml.etree.ElementTree support is missing. Consider upgrading to Python >= 2.5 if you get related errors.') -  from utils import *  | 
