diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-04-02 02:24:13 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-04-02 02:24:13 +0700 |
commit | 361f293ab85c29ab62cb91577d2be34814d5c552 (patch) | |
tree | b180b68c7340ae183748b5855bc951bf123bcd63 /youtube_dl | |
parent | b8d8cced9b55c57f3b09e83972be9d6318a459ee (diff) |
[rai] Skip not found content item id
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/rai.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/rai.py b/youtube_dl/extractor/rai.py index b77b0a08e..077546a73 100644 --- 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) |