aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2014-08-06 19:48:45 +0700
committerSergey M. <dstftw@gmail.com>2014-08-06 19:48:45 +0700
commitf87b3500c5afa5d425c52858ad64b1349a0d2ad9 (patch)
tree1e3e25b09eeaf2eaaf4b9e29fe2143af440a74c6 /youtube_dl/extractor
parent6de0595eb845bc913f3bcae9126a5a8476048e5c (diff)
parent6b8492a782464fabfc8412790f01d934ea5b6631 (diff)
Merge pull request #3453 from naglis/firedrive_fix
[firedrive] fix broken extractor
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/firedrive.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/firedrive.py b/youtube_dl/extractor/firedrive.py
index 6d73c8a4a..af439ccfe 100644
--- 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',