diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-06-09 00:40:03 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-06-09 00:40:03 +0700 |
commit | 1afd0b0da70b6ed709c610aff98786d71511a629 (patch) | |
tree | 70892b333d8f1e65caf608c476ef2080d56ff3bb /youtube_dl/extractor/common.py | |
parent | 751583042299138ef4deef5862e6fe2ada078417 (diff) |
[extractor/common] Return unicode string from _match_id
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r-- | youtube_dl/extractor/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index fec39da8b..f027447c8 100644 --- a/youtube_dl/extractor/common.py +++ b/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): |