mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
Merge pull request #3453 from naglis/firedrive_fix
[firedrive] fix broken extractor
This commit is contained in:
commit
f87b3500c5
|
@ -42,7 +42,6 @@ class FiredriveIE(InfoExtractor):
|
||||||
fields = dict(re.findall(r'''(?x)<input\s+
|
fields = dict(re.findall(r'''(?x)<input\s+
|
||||||
type="hidden"\s+
|
type="hidden"\s+
|
||||||
name="([^"]+)"\s+
|
name="([^"]+)"\s+
|
||||||
(?:id="[^"]+"\s+)?
|
|
||||||
value="([^"]*)"
|
value="([^"]*)"
|
||||||
''', webpage))
|
''', webpage))
|
||||||
|
|
||||||
|
@ -66,7 +65,7 @@ class FiredriveIE(InfoExtractor):
|
||||||
ext = self._search_regex(r'type:\s?\'([^\']+)\',',
|
ext = self._search_regex(r'type:\s?\'([^\']+)\',',
|
||||||
webpage, 'extension', fatal=False)
|
webpage, 'extension', fatal=False)
|
||||||
video_url = self._search_regex(
|
video_url = self._search_regex(
|
||||||
r'file:\s?\'(http[^\']+)\',', webpage, 'file url')
|
r'file:\s?loadURL\(\'(http[^\']+)\'\),', webpage, 'file url')
|
||||||
|
|
||||||
formats = [{
|
formats = [{
|
||||||
'format_id': 'sd',
|
'format_id': 'sd',
|
||||||
|
|
Loading…
Reference in a new issue