1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-24 03:01:53 +00: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') 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)