aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-12-09 04:53:23 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-12-09 04:53:23 +0100
commit2101830c0d27e6d9ad2f564ff004565e71da1ec5 (patch)
treed27d170d5aa1d0238cde2cee81efe6d60f19668f /youtube_dl/extractor
parent977887469c3ebb7a6d6a7fee3bcd7bcc046f21e3 (diff)
Remove unused imports
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/metacafe.py1
-rw-r--r--youtube_dl/extractor/stanfordoc.py2
-rw-r--r--youtube_dl/extractor/wimp.py3
3 files changed, 1 insertions, 5 deletions
diff --git a/youtube_dl/extractor/metacafe.py b/youtube_dl/extractor/metacafe.py
index bd044fb60..99d3c83a5 100644
--- a/youtube_dl/extractor/metacafe.py
+++ b/youtube_dl/extractor/metacafe.py
@@ -5,7 +5,6 @@ from ..utils import (
compat_parse_qs,
compat_urllib_parse,
compat_urllib_request,
- compat_str,
determine_ext,
ExtractorError,
)
diff --git a/youtube_dl/extractor/stanfordoc.py b/youtube_dl/extractor/stanfordoc.py
index d0d0989f0..44c52c718 100644
--- a/youtube_dl/extractor/stanfordoc.py
+++ b/youtube_dl/extractor/stanfordoc.py
@@ -2,8 +2,6 @@ import re
from .common import InfoExtractor
from ..utils import (
- compat_str,
-
ExtractorError,
orderedSet,
unescapeHTML,
diff --git a/youtube_dl/extractor/wimp.py b/youtube_dl/extractor/wimp.py
index 3635691e7..82a626e0e 100644
--- a/youtube_dl/extractor/wimp.py
+++ b/youtube_dl/extractor/wimp.py
@@ -20,10 +20,9 @@ class WimpIE(InfoExtractor):
mobj = re.match(self._VALID_URL, url)
video_id = mobj.group(1)
webpage = self._download_webpage(url, video_id)
- title = self._html_search_meta('description', webpage, u'video title')
googleString = self._search_regex("googleCode = '(.*?)'", webpage, 'file url')
googleString = base64.b64decode(googleString).decode('ascii')
- final_url = self._search_regex('","(.*?)"', googleString,'final video url')
+ final_url = self._search_regex('","(.*?)"', googleString, u'final video url')
return {
'id': video_id,