From 2f66504571defe98d6d9bf2f23af6f7b773b7a29 Mon Sep 17 00:00:00 2001
From: zer0-delta <172248380+zer0-delta@users.noreply.github.com>
Date: Wed, 12 Jun 2024 05:49:31 +0100
Subject: [PATCH] Ran hatch fmt
---
yt_dlp/extractor/bbcmaestro.py | 44 ++++++++++++++++------------------
1 file changed, 20 insertions(+), 24 deletions(-)
diff --git a/yt_dlp/extractor/bbcmaestro.py b/yt_dlp/extractor/bbcmaestro.py
index df3f74bf1f..704de0c1a8 100644
--- a/yt_dlp/extractor/bbcmaestro.py
+++ b/yt_dlp/extractor/bbcmaestro.py
@@ -1,9 +1,7 @@
-# coding: utf-8
-from __future__ import unicode_literals
import re
-from ..utils import orderedSet, smuggle_url, unsmuggle_url
from .common import InfoExtractor
+from ..utils import orderedSet, smuggle_url, unsmuggle_url
class BBCMaestroComIE(InfoExtractor):
@@ -15,11 +13,11 @@ class BBCMaestroComIE(InfoExtractor):
'info_dict': {
'id': 'julia-donaldson/writing-children-s-picture-books/trailer',
'ext': 'mp4',
- 'title': 'Course trailer'
+ 'title': 'Course trailer',
},
'params': {
- 'skip_download': True
- }
+ 'skip_download': True,
+ },
}]
def _do_extract_video(self, url, webpage, video_id):
@@ -30,13 +28,13 @@ class BBCMaestroComIE(InfoExtractor):
r'
]*lesson[^>]*title[^>]*>\s*(.+?)\s*
',
webpage,
name='title',
- flags=re.RegexFlag.S
+ flags=re.RegexFlag.S,
)
m3u8_url = self._html_search_regex(
r'