mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-04 15:33:16 +00:00
[vice] remove unused import and variable
This commit is contained in:
parent
0f97fb4d00
commit
7bab22a402
|
@ -3,7 +3,6 @@
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
from .ooyala import OoyalaIE
|
|
||||||
from ..utils import ExtractorError
|
from ..utils import ExtractorError
|
||||||
|
|
||||||
|
|
||||||
|
@ -49,7 +48,6 @@ def _real_extract(self, url):
|
||||||
r'embedCode=([^&\'"]+)', webpage,
|
r'embedCode=([^&\'"]+)', webpage,
|
||||||
'ooyala embed code', default=None)
|
'ooyala embed code', default=None)
|
||||||
if embed_code:
|
if embed_code:
|
||||||
ooyala_url = OoyalaIE._url_for_embed_code(embed_code)
|
|
||||||
return self.url_result('ooyala:%s' % embed_code, 'Ooyala')
|
return self.url_result('ooyala:%s' % embed_code, 'Ooyala')
|
||||||
youtube_id = self._search_regex(
|
youtube_id = self._search_regex(
|
||||||
r'data-youtube-id="([^"]+)"', webpage, 'youtube id')
|
r'data-youtube-id="([^"]+)"', webpage, 'youtube id')
|
||||||
|
|
Loading…
Reference in a new issue