projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c610f38
)
[cracked] Modernize
author
Sergey M․
<dstftw@gmail.com>
Thu, 23 Apr 2015 15:59:18 +0000
(21:59 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 23 Apr 2015 15:59:18 +0000
(21:59 +0600)
youtube_dl/extractor/cracked.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/cracked.py
b/youtube_dl/extractor/cracked.py
index b2b151558c9bb88e27143756089640a6ca31c85e..94d03ce2af108a4a711f09f3db9fecd5bd62566e 100644
(file)
--- a/
youtube_dl/extractor/cracked.py
+++ b/
youtube_dl/extractor/cracked.py
@@
-37,8
+37,7
@@
class CrackedIE(InfoExtractor):
}]
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
- video_id = mobj.group('id')
+ video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)