mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[extractor/common] Return unicode string from _match_id
This commit is contained in:
parent
7515830422
commit
1afd0b0da7
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ def _match_id(cls, url):
|
|||
cls._VALID_URL_RE = re.compile(cls._VALID_URL)
|
||||
m = cls._VALID_URL_RE.match(url)
|
||||
assert m
|
||||
return m.group('id')
|
||||
return compat_str(m.group('id'))
|
||||
|
||||
@classmethod
|
||||
def working(cls):
|
||||
|
|
Loading…
Reference in a new issue