From 2ef8a19f6b378405fe9ed766ce324d1116e66300 Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Wed, 12 Jun 2024 06:47:04 +0000 Subject: [PATCH] Apply suggestions from code review --- yt_dlp/extractor/_extractors.py | 2 +- yt_dlp/extractor/dropout.py | 6 +++--- yt_dlp/extractor/watchertv.py | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/yt_dlp/extractor/_extractors.py b/yt_dlp/extractor/_extractors.py index 05896f061f..a2c82dfc3d 100644 --- a/yt_dlp/extractor/_extractors.py +++ b/yt_dlp/extractor/_extractors.py @@ -2385,7 +2385,7 @@ from .washingtonpost import ( from .wat import WatIE from .watchertv import ( WatcherTVSeasonIE, - WatcherTVIE + WatcherTVIE, ) from .wdr import ( WDRIE, diff --git a/yt_dlp/extractor/dropout.py b/yt_dlp/extractor/dropout.py index 48e4eacae2..3458a0d485 100644 --- a/yt_dlp/extractor/dropout.py +++ b/yt_dlp/extractor/dropout.py @@ -120,7 +120,7 @@ class DropoutIE(DropoutBaseIE): 'duration': 1180, 'uploader_id': 'user80538407', 'uploader_url': 'https://vimeo.com/user80538407', - 'uploader': 'OTT Videos' + 'uploader': 'OTT Videos', }, 'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest'], }, @@ -143,7 +143,7 @@ class DropoutIE(DropoutBaseIE): 'duration': 135, 'uploader_id': 'user80538407', 'uploader_url': 'https://vimeo.com/user80538407', - 'uploader': 'OTT Videos' + 'uploader': 'OTT Videos', }, 'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest'], }, @@ -162,7 +162,7 @@ class DropoutIE(DropoutBaseIE): 'duration': 11698, 'uploader_id': 'user80538407', 'uploader_url': 'https://vimeo.com/user80538407', - 'uploader': 'OTT Videos' + 'uploader': 'OTT Videos', }, 'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest'], }, diff --git a/yt_dlp/extractor/watchertv.py b/yt_dlp/extractor/watchertv.py index a031007669..8c01814c0f 100644 --- a/yt_dlp/extractor/watchertv.py +++ b/yt_dlp/extractor/watchertv.py @@ -27,9 +27,9 @@ class WatcherTVIE(DropoutBaseIE): 'duration': 3853, 'uploader_id': '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', @@ -50,9 +50,9 @@ class WatcherTVIE(DropoutBaseIE): 'duration': 516, 'uploader_id': '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', @@ -69,7 +69,7 @@ class WatcherTVIE(DropoutBaseIE): 'duration': 92, 'uploader_id': 'user80538407', 'uploader_url': 'https://vimeo.com/user80538407', - 'uploader': 'OTT Videos' + 'uploader': 'OTT Videos', }, 'expected_warnings': ['Ignoring subtitle tracks found in the HLS manifest'] }