Adhere to code style
Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
parent
bc86c5f73b
commit
4c90b2f587
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user