mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-01-04 05:07:42 +01:00
[cleanup] Misc
This commit is contained in:
@@ -444,6 +444,7 @@ class YoutubeDL:
|
||||
* index: Section number (Optional)
|
||||
force_keyframes_at_cuts: Re-encode the video when downloading ranges to get precise cuts
|
||||
noprogress: Do not print the progress bar
|
||||
live_from_start: Whether to download livestreams videos from the start
|
||||
|
||||
The following parameters are not used by YoutubeDL itself, they are used by
|
||||
the downloader (see yt_dlp/downloader/common.py):
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -320,7 +320,7 @@ class ZattooRecordingsIE(ZattooBaseIE):
|
||||
|
||||
|
||||
class NetPlusTVBaseIE(ZattooPlatformBaseIE):
|
||||
_NETRC = 'netplus'
|
||||
_NETRC_MACHINE = 'netplus'
|
||||
_HOST = 'netplus.tv'
|
||||
_API_HOST = 'www.%s' % _HOST
|
||||
|
||||
|
||||
Reference in New Issue
Block a user