projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea8ed40
)
[lynda] PEP 8
author
Sergey M․
<dstftw@gmail.com>
Fri, 6 Nov 2015 17:27:38 +0000
(23:27 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 6 Nov 2015 17:27:38 +0000
(23:27 +0600)
youtube_dl/extractor/lynda.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/lynda.py
b/youtube_dl/extractor/lynda.py
index c8a16842eb49f172d9a49b3c36e408ee82e40a94..9a207b2cd425ba2f1b173d9bd52730e511a52fa0 100644
(file)
--- a/
youtube_dl/extractor/lynda.py
+++ b/
youtube_dl/extractor/lynda.py
@@
-227,9
+227,8
@@
class LyndaCourseIE(LyndaBaseIE):
if video.get('HasAccess') is False:
unaccessible_videos += 1
continue
- video_id = video.get('ID')
- if video_id:
- videos.append(video_id)
+ if video.get('ID'):
+ videos.append(video['ID'])
if unaccessible_videos > 0:
self._downloader.report_warning(