mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-05 06:42:53 +08:00
update format_id
update format_id because there are two subdomain for download, not only ones
This commit is contained in:
parent
71d03fdbb9
commit
ff55036835
@ -52,7 +52,7 @@ class VoissaIE(InfoExtractor):
|
|||||||
url = v.get('url')
|
url = v.get('url')
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': url,
|
'url': url,
|
||||||
'format_id': self._search_regex(r'http://download\.voissa\.fr/html5/([^/]+)/', url, 'Quality'),
|
'format_id': self._search_regex(r'http://download.*\.voissa\.fr/html5/([^/]+)/', url, 'Quality'),
|
||||||
'preference': n - i
|
'preference': n - i
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user