mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 05:47:24 +01:00
Apply suggestions from code review
This commit is contained in:
parent
8ab50693a1
commit
2ef8a19f6b
@ -2385,7 +2385,7 @@
|
|||||||
from .wat import WatIE
|
from .wat import WatIE
|
||||||
from .watchertv import (
|
from .watchertv import (
|
||||||
WatcherTVSeasonIE,
|
WatcherTVSeasonIE,
|
||||||
WatcherTVIE
|
WatcherTVIE,
|
||||||
)
|
)
|
||||||
from .wdr import (
|
from .wdr import (
|
||||||
WDRIE,
|
WDRIE,
|
||||||
|
@ -120,7 +120,7 @@ class DropoutIE(DropoutBaseIE):
|
|||||||
'duration': 1180,
|
'duration': 1180,
|
||||||
'uploader_id': 'user80538407',
|
'uploader_id': 'user80538407',
|
||||||
'uploader_url': 'https://vimeo.com/user80538407',
|
'uploader_url': 'https://vimeo.com/user80538407',
|
||||||
'uploader': 'OTT Videos'
|
'uploader': 'OTT Videos',
|
||||||
},
|
},
|
||||||
'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest'],
|
'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest'],
|
||||||
},
|
},
|
||||||
@ -143,7 +143,7 @@ class DropoutIE(DropoutBaseIE):
|
|||||||
'duration': 135,
|
'duration': 135,
|
||||||
'uploader_id': 'user80538407',
|
'uploader_id': 'user80538407',
|
||||||
'uploader_url': 'https://vimeo.com/user80538407',
|
'uploader_url': 'https://vimeo.com/user80538407',
|
||||||
'uploader': 'OTT Videos'
|
'uploader': 'OTT Videos',
|
||||||
},
|
},
|
||||||
'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest'],
|
'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest'],
|
||||||
},
|
},
|
||||||
@ -162,7 +162,7 @@ class DropoutIE(DropoutBaseIE):
|
|||||||
'duration': 11698,
|
'duration': 11698,
|
||||||
'uploader_id': 'user80538407',
|
'uploader_id': 'user80538407',
|
||||||
'uploader_url': 'https://vimeo.com/user80538407',
|
'uploader_url': 'https://vimeo.com/user80538407',
|
||||||
'uploader': 'OTT Videos'
|
'uploader': 'OTT Videos',
|
||||||
},
|
},
|
||||||
'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest'],
|
'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest'],
|
||||||
},
|
},
|
||||||
|
@ -27,9 +27,9 @@ class WatcherTVIE(DropoutBaseIE):
|
|||||||
'duration': 3853,
|
'duration': 3853,
|
||||||
'uploader_id': 'user80538407',
|
'uploader_id': 'user80538407',
|
||||||
'uploader_url': 'https://vimeo.com/user80538407',
|
'uploader_url': 'https://vimeo.com/user80538407',
|
||||||
'uploader': 'OTT Videos'
|
'uploader': 'OTT Videos',
|
||||||
},
|
},
|
||||||
'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest']
|
'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'url': 'https://www.watchertv.com/road-files/season:1/videos/rf101',
|
'url': 'https://www.watchertv.com/road-files/season:1/videos/rf101',
|
||||||
@ -50,9 +50,9 @@ class WatcherTVIE(DropoutBaseIE):
|
|||||||
'duration': 516,
|
'duration': 516,
|
||||||
'uploader_id': 'user80538407',
|
'uploader_id': 'user80538407',
|
||||||
'uploader_url': 'https://vimeo.com/user80538407',
|
'uploader_url': 'https://vimeo.com/user80538407',
|
||||||
'uploader': 'OTT Videos'
|
'uploader': 'OTT Videos',
|
||||||
},
|
},
|
||||||
'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest']
|
'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'url': 'https://www.watchertv.com/videos/welcome-beta-users',
|
'url': 'https://www.watchertv.com/videos/welcome-beta-users',
|
||||||
@ -69,7 +69,7 @@ class WatcherTVIE(DropoutBaseIE):
|
|||||||
'duration': 92,
|
'duration': 92,
|
||||||
'uploader_id': 'user80538407',
|
'uploader_id': 'user80538407',
|
||||||
'uploader_url': 'https://vimeo.com/user80538407',
|
'uploader_url': 'https://vimeo.com/user80538407',
|
||||||
'uploader': 'OTT Videos'
|
'uploader': 'OTT Videos',
|
||||||
},
|
},
|
||||||
'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest']
|
'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest']
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user