1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-20 07:17:31 +08:00

[ellentube] Break loop after video was found

This commit is contained in:
Alex Seiler 2017-10-26 04:09:00 +02:00
parent 40d43e940c
commit 061b47ce71

View File

@ -28,7 +28,7 @@ class EllenTubeBaseIE(InfoExtractor):
formats = self._extract_m3u8_formats(entry.get(
'url'), video_id, 'mp4', entry_protocol='m3u8_native', m3u8_id='hls')
duration = int_or_none(entry.get('duration'))
break
break
self._sort_formats(formats)
return {