1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 16:55:36 +08:00

[rai] Skip not found content item id

This commit is contained in:
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

View File

@ -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)