projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7515830
)
[extractor/common] Return unicode string from _match_id
author
Sergey M․
<dstftw@gmail.com>
Thu, 8 Jun 2017 17:40:03 +0000
(
00:40
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 8 Jun 2017 17:40:03 +0000
(
00:40
+0700)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index fec39da8b6ec498b7a50674f692180570f8c0dac..f027447c81922c4ab0f0974f6703be739de515ea 100644
(file)
--- 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):