mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-03 19:57:31 +01:00
[lynda] PEP 8
This commit is contained in:
parent
ea8ed40b2f
commit
ae4ddf9efa
@ -227,9 +227,8 @@ def _real_extract(self, url):
|
|||||||
if video.get('HasAccess') is False:
|
if video.get('HasAccess') is False:
|
||||||
unaccessible_videos += 1
|
unaccessible_videos += 1
|
||||||
continue
|
continue
|
||||||
video_id = video.get('ID')
|
if video.get('ID'):
|
||||||
if video_id:
|
videos.append(video['ID'])
|
||||||
videos.append(video_id)
|
|
||||||
|
|
||||||
if unaccessible_videos > 0:
|
if unaccessible_videos > 0:
|
||||||
self._downloader.report_warning(
|
self._downloader.report_warning(
|
||||||
|
Loading…
Reference in New Issue
Block a user