mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-31 12:32:27 +01:00
Formatting fixes. 'Skip download test' parameter to self-documenting one.
This commit is contained in:
parent
c7a9c4d250
commit
f333ff8f7c
1 changed files with 6 additions and 14 deletions
|
@ -1,10 +1,6 @@
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
from ..networking.exceptions import HTTPError
|
from ..networking.exceptions import HTTPError
|
||||||
from ..utils import (
|
from ..utils import ExtractorError, float_or_none, traverse_obj
|
||||||
ExtractorError,
|
|
||||||
float_or_none,
|
|
||||||
traverse_obj
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class RedBullTVIE(InfoExtractor):
|
class RedBullTVIE(InfoExtractor):
|
||||||
|
@ -173,9 +169,7 @@ class RedBullIE(InfoExtractor):
|
||||||
'description': 'md5:5546aa612958c08a98faaad4abce484d',
|
'description': 'md5:5546aa612958c08a98faaad4abce484d',
|
||||||
'duration': 904.0,
|
'duration': 904.0,
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {'skip_download': 'm3u8'},
|
||||||
'skip_download': True,
|
|
||||||
},
|
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://www.redbull.com/int-en/films/kilimanjaro-mountain-of-greatness',
|
'url': 'https://www.redbull.com/int-en/films/kilimanjaro-mountain-of-greatness',
|
||||||
'md5': 'db8271a7200d40053a1809ed0dd574ff',
|
'md5': 'db8271a7200d40053a1809ed0dd574ff',
|
||||||
|
@ -186,9 +180,7 @@ class RedBullIE(InfoExtractor):
|
||||||
'description': 'md5:e44aedc87ff8587307a4a20fdfe8db61',
|
'description': 'md5:e44aedc87ff8587307a4a20fdfe8db61',
|
||||||
'duration': 1834.0,
|
'duration': 1834.0,
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {'skip_download': 'm3u8'},
|
||||||
'skip_download': True,
|
|
||||||
},
|
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://www.redbull.com/int-en/recap-videos/uci-mountain-bike-world-cup-2017-mens-xco-finals-from-vallnord',
|
'url': 'https://www.redbull.com/int-en/recap-videos/uci-mountain-bike-world-cup-2017-mens-xco-finals-from-vallnord',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
|
Loading…
Add table
Reference in a new issue