From fb2b4e2894171825c6c85d813a8120b679eadf52 Mon Sep 17 00:00:00 2001 From: Bart Broere Date: Fri, 31 Mar 2023 12:46:05 +0200 Subject: [PATCH] Add line comment --- youtube_dl/extractor/npo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.py index dba422058..646b0f433 100644 --- a/youtube_dl/extractor/npo.py +++ b/youtube_dl/extractor/npo.py @@ -207,7 +207,7 @@ class NPOIE(NPOBaseIE): 'pageUrl': url, 'isFavourite': "false", 'hasAdConsent': 0, - },)) + })) player_token = player['token'] @@ -223,7 +223,8 @@ class NPOIE(NPOBaseIE): 'quality': 'npo', 'tokenId': player_token, 'streamType': 'broadcast', - }, data=b"") + }, + data=b"") # empty byte string to force a POST request instead of GET, without it HTTP 405 will happen if not streams: continue stream = streams.get('stream')