mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 12:57:24 +01:00
Merge pull request #3453 from naglis/firedrive_fix
[firedrive] fix broken extractor
This commit is contained in:
commit
f87b3500c5
@ -42,7 +42,6 @@ def _real_extract(self, url):
|
||||
fields = dict(re.findall(r'''(?x)<input\s+
|
||||
type="hidden"\s+
|
||||
name="([^"]+)"\s+
|
||||
(?:id="[^"]+"\s+)?
|
||||
value="([^"]*)"
|
||||
''', webpage))
|
||||
|
||||
@ -66,7 +65,7 @@ def _real_extract(self, url):
|
||||
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',
|
||||
|
Loading…
Reference in New Issue
Block a user