Adhere to code style

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
Bart Broere 2024-03-14 13:39:59 +01:00 committed by GitHub
parent bc86c5f73b
commit 4c90b2f587
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,8 +55,7 @@ class NPOIE(InfoExtractor):
slug = url.split('/')[-1] slug = url.split('/')[-1]
program_metadata = self._download_json('https://npo.nl/start/api/domain/program-detail', program_metadata = self._download_json('https://npo.nl/start/api/domain/program-detail',
slug, slug, query={'slug': slug})
query={'slug': slug})
product_id = program_metadata.get('productId') product_id = program_metadata.get('productId')
images = program_metadata.get('images') images = program_metadata.get('images')
thumbnail = None thumbnail = None