1
0
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:
tiburce 2015-10-13 12:58:52 +02:00
parent 71d03fdbb9
commit ff55036835

View File

@ -52,7 +52,7 @@ class VoissaIE(InfoExtractor):
url = v.get('url')
formats.append({
'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
})