[extractor] Support multiple archive ids for one video (#4307)
Closes #4352
This commit is contained in:
parent
f14a2d8382
commit
1e8fe57e5c
6 changed files with 13 additions and 7 deletions
|
|
@ -22,6 +22,9 @@ class HTML5MediaEmbedIE(InfoExtractor):
|
|||
entry.update({
|
||||
'id': f'{video_id}-{num}',
|
||||
'title': f'{title} ({num})',
|
||||
'_old_archive_ids': [
|
||||
f'Generic {f"{video_id}-{num}" if len(entries) > 1 else video_id}',
|
||||
],
|
||||
})
|
||||
self._sort_formats(entry['formats'])
|
||||
yield entry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue