[rai] Skip not found content item id

pull/12278/merge
Sergey M․ 2017-04-02 02:24:13 +07:00
parent b8d8cced9b
commit 361f293ab8
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 1 deletions

View File

@ -362,7 +362,8 @@ class RaiIE(RaiBaseIE):
webpage, 'content item id', default=None, group='id') webpage, 'content item id', default=None, group='id')
content_item_ids = set() 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: if video_id not in content_item_ids:
content_item_ids.add(video_id) content_item_ids.add(video_id)