mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-02-18 18:17:55 +01:00
Update youtube_dl/extractor/picta.py
This commit is contained in:
parent
06ee244086
commit
51c0a46e96
@ -10,6 +10,9 @@ class PictaBaseIE(InfoExtractor):
|
||||
|
||||
@staticmethod
|
||||
def _extract_video(video, video_id=None, require_title=True):
|
||||
if len(video["results"]) == 0:
|
||||
raise ExtractorError("Cannot find video!")
|
||||
|
||||
title = (
|
||||
video["results"][0]["nombre"]
|
||||
if require_title
|
||||
|
Loading…
Reference in New Issue
Block a user