[vice] remove unused import and variable
authorremitamine <remitamine@gmail.com>
Sun, 17 Apr 2016 13:06:19 +0000 (14:06 +0100)
committerremitamine <remitamine@gmail.com>
Sun, 17 Apr 2016 13:06:19 +0000 (14:06 +0100)
youtube_dl/extractor/vice.py

index ec1245b0e8ec290f8371eb3618fc7fed6633b3a1..95daf4dfdf2155dbbab26f2896cf3c42e0f33e2f 100644 (file)
@@ -3,7 +3,6 @@ from __future__ import unicode_literals
 import re
 
 from .common import InfoExtractor
-from .ooyala import OoyalaIE
 from ..utils import ExtractorError
 
 
@@ -49,7 +48,6 @@ class ViceIE(InfoExtractor):
                 r'embedCode=([^&\'"]+)', webpage,
                 'ooyala embed code', default=None)
             if embed_code:
-                ooyala_url = OoyalaIE._url_for_embed_code(embed_code)
                 return self.url_result('ooyala:%s' % embed_code, 'Ooyala')
             youtube_id = self._search_regex(
                 r'data-youtube-id="([^"]+)"', webpage, 'youtube id')