projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae12bc3
)
[extractor/common] Make ie_key and IE_NAME return unicode string
author
Sergey M․
<dstftw@gmail.com>
Sat, 31 Oct 2015 17:12:57 +0000
(23:12 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 31 Oct 2015 17:12:57 +0000
(23:12 +0600)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 10c0d5d1f91f49846176d28a0edfb8f3cfa61801..59c3fa8dc6925ac2a482dcc4a1f80e162d730c47 100644
(file)
--- a/
youtube_dl/extractor/common.py
+++ b/
youtube_dl/extractor/common.py
@@
-310,11
+310,11
@@
class InfoExtractor(object):
@classmethod
def ie_key(cls):
"""A string for getting the InfoExtractor with get_info_extractor"""
- return c
ls.__name__[:-2]
+ return c
ompat_str(cls.__name__[:-2])
@property
def IE_NAME(self):
- return
type(self).__name__[:-2]
+ return
compat_str(type(self).__name__[:-2])
def _request_webpage(self, url_or_request, video_id, note=None, errnote=None, fatal=True):
""" Returns the response handle """