Browse Source
[extractor/common] Return unicode string from _match_id
master
Sergey M․
7 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
1 additions and
1 deletions
-
youtube_dl/extractor/common.py
|
|
@ -376,7 +376,7 @@ class InfoExtractor(object): |
|
|
|
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): |
|
|
|