From a60972e253dfe88c81601eaa2e2899afbc4c29fd Mon Sep 17 00:00:00 2001 From: Bart Broere Date: Fri, 15 Mar 2024 13:02:56 +0100 Subject: [PATCH] Fix indent from suggestion --- youtube_dl/extractor/npo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.py index 545e58509..4dbab16ab 100644 --- a/youtube_dl/extractor/npo.py +++ b/youtube_dl/extractor/npo.py @@ -44,8 +44,8 @@ class NPOIE(InfoExtractor): note='Downloading token')['token'] def _real_extract(self, url): - # Remove /afspelen and/or any trailing `/`s - url = re.sub(r'/(?:afspelen)?/*$', '', url) + # Remove /afspelen and/or any trailing `/`s + url = re.sub(r'/(?:afspelen)?/*$', '', url) slug = url.split('/')[-1] program_metadata = self._download_json('https://npo.nl/start/api/domain/program-detail',