Fix indent from suggestion
This commit is contained in:
parent
007bbeacd7
commit
a60972e253
@ -44,8 +44,8 @@ class NPOIE(InfoExtractor):
|
|||||||
note='Downloading token')['token']
|
note='Downloading token')['token']
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
# Remove /afspelen and/or any trailing `/`s
|
# Remove /afspelen and/or any trailing `/`s
|
||||||
url = re.sub(r'/(?:afspelen)?/*$', '', url)
|
url = re.sub(r'/(?:afspelen)?/*$', '', url)
|
||||||
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',
|
||||||
|
Loading…
Reference in New Issue
Block a user