Browse Source

[vice] remove unused import and variable

master
remitamine 8 years ago
parent
commit
7bab22a402
1 changed files with 0 additions and 2 deletions
  1. 2
      youtube_dl/extractor/vice.py

2
youtube_dl/extractor/vice.py

@ -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')

Loading…
Cancel
Save