mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-26 02:37:41 +00:00
Adhere to code style
Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
parent
bc86c5f73b
commit
4c90b2f587
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue