projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
6de0595
)
Merge pull request #3453 from naglis/firedrive_fix
author
Sergey M.
<dstftw@gmail.com>
Wed, 6 Aug 2014 12:48:45 +0000
(19:48 +0700)
committer
Sergey M.
<dstftw@gmail.com>
Wed, 6 Aug 2014 12:48:45 +0000
(19:48 +0700)
[firedrive] fix broken extractor
youtube_dl/extractor/firedrive.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/firedrive.py
b/youtube_dl/extractor/firedrive.py
index 6d73c8a4a32f83975025a0b1ed932fc291176f8a..af439ccfeefeade46f75b693627b09ba6ed830d6 100644
(file)
--- a/
youtube_dl/extractor/firedrive.py
+++ b/
youtube_dl/extractor/firedrive.py
@@
-42,7
+42,6
@@
class FiredriveIE(InfoExtractor):
fields = dict(re.findall(r'''(?x)<input\s+
type="hidden"\s+
name="([^"]+)"\s+
- (?:id="[^"]+"\s+)?
value="([^"]*)"
''', webpage))
@@
-66,7
+65,7
@@
class FiredriveIE(InfoExtractor):
ext = self._search_regex(r'type:\s?\'([^\']+)\',',
webpage, 'extension', fatal=False)
video_url = self._search_regex(
- r'file:\s?
\'(http[^\']+)\'
,', webpage, 'file url')
+ r'file:\s?
loadURL\(\'(http[^\']+)\'\)
,', webpage, 'file url')
formats = [{
'format_id': 'sd',