projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8d8cce
)
[rai] Skip not found content item id
author
Sergey M․
<dstftw@gmail.com>
Sat, 1 Apr 2017 19:24:13 +0000
(
02:24
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 1 Apr 2017 19:24:13 +0000
(
02:24
+0700)
youtube_dl/extractor/rai.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/rai.py
b/youtube_dl/extractor/rai.py
index b77b0a08e61f7969e182ffe41a749767c0a1d0bf..077546a733091568ca974488f80e9fedcd8afbc5 100644
(file)
--- a/
youtube_dl/extractor/rai.py
+++ b/
youtube_dl/extractor/rai.py
@@
-362,7
+362,8
@@
class RaiIE(RaiBaseIE):
webpage, 'content item id', default=None, group='id')
content_item_ids = set()
- content_item_ids.add(content_item_id)
+ if content_item_id:
+ content_item_ids.add(content_item_id)
if video_id not in content_item_ids:
content_item_ids.add(video_id)