1
0
Fork 0

Minor bugfixes

This commit is contained in:
pukkandan 2022-08-02 03:40:47 +05:30
commit 0647d9251f
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
8 changed files with 26 additions and 15 deletions

View file

@ -1,4 +1,5 @@
from .common import InfoExtractor
from ..utils import make_archive_id
class HTML5MediaEmbedIE(InfoExtractor):
@ -23,7 +24,7 @@ class HTML5MediaEmbedIE(InfoExtractor):
'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}',
make_archive_id('generic', f'{video_id}-{num}' if len(entries) > 1 else video_id),
],
})
self._sort_formats(entry['formats'])