[cleanup] Misc

This commit is contained in:
pukkandan
2022-08-19 04:58:54 +05:30
parent be13a6e525
commit a831c2ea90
5 changed files with 6 additions and 5 deletions

View File

@@ -868,7 +868,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
else None),
'live_status': ('is_upcoming' if scheduled_timestamp is not None
else 'was_live' if 'streamed' in time_text.lower()
else 'is_live' if overlay_style is not None and overlay_style == 'LIVE' or 'live now' in badges
else 'is_live' if overlay_style == 'LIVE' or 'live now' in badges
else None),
'release_timestamp': scheduled_timestamp,
'availability': self._availability(needs_premium='premium' in badges, needs_subscription='members only' in badges)

View File

@@ -320,7 +320,7 @@ class ZattooRecordingsIE(ZattooBaseIE):
class NetPlusTVBaseIE(ZattooPlatformBaseIE):
_NETRC = 'netplus'
_NETRC_MACHINE = 'netplus'
_HOST = 'netplus.tv'
_API_HOST = 'www.%s' % _HOST