projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[youtube] Add format 266 (Fixes #4055)
[youtube-dl]
/
youtube_dl
/
extractor
/
firedrive.py
diff --git
a/youtube_dl/extractor/firedrive.py
b/youtube_dl/extractor/firedrive.py
index d26145db1cc399e1202ef5ca41ce5a167e4bdaeb..af439ccfeefeade46f75b693627b09ba6ed830d6 100644
(file)
--- a/
youtube_dl/extractor/firedrive.py
+++ b/
youtube_dl/extractor/firedrive.py
@@
-8,7
+8,6
@@
from ..utils import (
ExtractorError,
compat_urllib_parse,
compat_urllib_request,
ExtractorError,
compat_urllib_parse,
compat_urllib_request,
- determine_ext,
)
)
@@
-43,7
+42,6
@@
class FiredriveIE(InfoExtractor):
fields = dict(re.findall(r'''(?x)<input\s+
type="hidden"\s+
name="([^"]+)"\s+
fields = dict(re.findall(r'''(?x)<input\s+
type="hidden"\s+
name="([^"]+)"\s+
- (?:id="[^"]+"\s+)?
value="([^"]*)"
''', webpage))
value="([^"]*)"
''', webpage))
@@
-67,7
+65,7
@@
class FiredriveIE(InfoExtractor):
ext = self._search_regex(r'type:\s?\'([^\']+)\',',
webpage, 'extension', fatal=False)
video_url = self._search_regex(
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',
formats = [{
'format_id': 'sd',