aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-12-05 14:31:54 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-12-05 14:31:54 +0100
commita1ef7e85d6834d5e8a9a2171b220a9e3b93dd2cf (patch)
treef63b2fe5875ea9d47f37a04defbc9f66f0042446 /youtube_dl
parentef2fac6f4ae5191abed1962b155aec0bb0f17802 (diff)
Remove unused imports
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/smotri.py1
-rw-r--r--youtube_dl/extractor/theplatform.py1
-rw-r--r--youtube_dl/extractor/viddler.py3
-rw-r--r--youtube_dl/extractor/yahoo.py2
-rw-r--r--youtube_dl/utils.py1
5 files changed, 1 insertions, 7 deletions
diff --git a/youtube_dl/extractor/smotri.py b/youtube_dl/extractor/smotri.py
index f035a3214..5a28bc820 100644
--- a/youtube_dl/extractor/smotri.py
+++ b/youtube_dl/extractor/smotri.py
@@ -6,7 +6,6 @@ import hashlib
from .common import InfoExtractor
from ..utils import (
- determine_ext,
ExtractorError
)
diff --git a/youtube_dl/extractor/theplatform.py b/youtube_dl/extractor/theplatform.py
index 920689511..61452e47d 100644
--- a/youtube_dl/extractor/theplatform.py
+++ b/youtube_dl/extractor/theplatform.py
@@ -4,7 +4,6 @@ import json
from .common import InfoExtractor
from ..utils import (
xpath_with_ns,
- find_xpath_attr,
)
_x = lambda p: xpath_with_ns(p, {'smil': 'http://www.w3.org/2005/SMIL21/Language'})
diff --git a/youtube_dl/extractor/viddler.py b/youtube_dl/extractor/viddler.py
index 138a35b2a..9328ef4a2 100644
--- a/youtube_dl/extractor/viddler.py
+++ b/youtube_dl/extractor/viddler.py
@@ -2,9 +2,6 @@ import json
import re
from .common import InfoExtractor
-from ..utils import (
- determine_ext,
-)
class ViddlerIE(InfoExtractor):
diff --git a/youtube_dl/extractor/yahoo.py b/youtube_dl/extractor/yahoo.py
index e457c4707..5c9c361b9 100644
--- a/youtube_dl/extractor/yahoo.py
+++ b/youtube_dl/extractor/yahoo.py
@@ -47,7 +47,7 @@ class YahooIE(InfoExtractor):
# The 'meta' field is not always in the video webpage, we request it
# from another page
long_id = info['id']
- return self._get_info(info['id'], video_id)
+ return self._get_info(long_id, video_id)
def _get_info(self, long_id, video_id):
query = ('SELECT * FROM yahoo.media.video.streams WHERE id="%s"'
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index c486ef8ec..77609f7ca 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -17,7 +17,6 @@ import ssl
import socket
import sys
import traceback
-import xml.etree.ElementTree
import zlib
try: