1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01: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,6 +362,7 @@ 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()
if content_item_id:
content_item_ids.add(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)