1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-21 08:55:19 +00:00

Minor bugfixes

This commit is contained in:
pukkandan
2022-08-02 03:40:47 +05:30
parent be5c1ae862
commit 0647d9251f
8 changed files with 26 additions and 15 deletions

View File

@@ -19,6 +19,7 @@ from ..utils import (
dict_get,
float_or_none,
int_or_none,
make_archive_id,
parse_duration,
parse_iso8601,
parse_qs,
@@ -1166,7 +1167,7 @@ class TwitchClipsIE(TwitchBaseIE):
return {
'id': clip.get('id') or video_id,
'_old_archive_ids': [f'{self.ie_key()} {old_id}'] if old_id else None,
'_old_archive_ids': [make_archive_id(self, old_id)] if old_id else None,
'display_id': video_id,
'title': clip.get('title') or video_id,
'formats': formats,