0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

Apply suggestions from code review

This commit is contained in:
bashonly 2024-06-12 06:47:04 +00:00 committed by GitHub
parent 8ab50693a1
commit 2ef8a19f6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 9 deletions

View file

@ -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,

View file

@ -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'],
}, },

View file

@ -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']
} }