logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 957c65b9eaeaf181d76c6aa815a8f946c090129b
parent 5e95e18ce949e759e8e26de76c386c44e50b2abd
Author: Remita Amine <remitamine@gmail.com>
Date:   Fri,  4 Dec 2020 18:05:27 +0100

[nrk] fix typo

Diffstat:

Myoutube_dl/extractor/nrk.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py @@ -365,7 +365,7 @@ class NRKTVIE(NRKBaseIE): } message_type = data.get('messageType', '') # Can be ProgramIsGeoBlocked or ChannelIsGeoBlocked* - if 'IsGeoBlocked' in message_type or try_get(data, lambda x: x['usageRights']['isGeoBlocked']) is Trues: + if 'IsGeoBlocked' in message_type or try_get(data, lambda x: x['usageRights']['isGeoBlocked']) is True: self.raise_geo_restricted( msg=MESSAGES.get('ProgramIsGeoBlocked'), countries=self._GEO_COUNTRIES)