mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-02 01:19:10 -05:00
fixed import formatting, trailing whitespace
This commit is contained in:
parent
0cc88e810b
commit
7f7356078c
1 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
from ..utils import traverse_obj, str_or_none, url_or_none
|
from ..utils import (
|
||||||
|
str_or_none,
|
||||||
|
traverse_obj,
|
||||||
|
url_or_none,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class ElPaisIE(InfoExtractor):
|
class ElPaisIE(InfoExtractor):
|
||||||
|
@ -40,7 +44,7 @@ class ElPaisIE(InfoExtractor):
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
video_info = self._search_json_ld(webpage, video_id)
|
video_info = self._search_json_ld(webpage, video_id)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
|
Loading…
Reference in a new issue