1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-14 05:15:37 +00:00

Fix indent from suggestion

This commit is contained in:
Bart Broere 2024-03-15 13:02:56 +01:00
parent 007bbeacd7
commit a60972e253

View file

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