Skip to content

Commit

Permalink
Fix indent from suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
bartbroere committed Mar 15, 2024
1 parent 007bbea commit a60972e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions youtube_dl/extractor/npo.py
Expand Up @@ -44,8 +44,8 @@ def _get_token(self, video_id):
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',
Expand Down

0 comments on commit a60972e

Please sign in to comment.