mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 08:54:33 +01:00
[cbs.com:playlist] Remove enduser guidance on filtering clips
This commit is contained in:
parent
a019668cbd
commit
8660a6b1b1
@ -93,19 +93,6 @@ class CBSShowIE(InfoExtractor):
|
||||
except RegexNotFoundError:
|
||||
clips = { 'entries': [] }
|
||||
|
||||
# We separately retrieve a carousel of full episodes, and also one of clips.
|
||||
# Clips are identifiable as such because they lack an "episode_number" field,
|
||||
# unlike full episodes.
|
||||
#
|
||||
# It might be desirable to specify only retrieving a playlist of one or the other,
|
||||
# but there isn't a good way for users to pass such parameters to InfoExtractors
|
||||
# (custom URLs, maybe? With cbs: URLs?).
|
||||
#
|
||||
# But since the playlist is filterable, only full episodes can be returned with:
|
||||
# youtube_dl --match-filter 'episode_number' http://...
|
||||
# and similarly, only clips can be returned with:
|
||||
# youtube_dl --match-filter '!episode_number' http://...
|
||||
|
||||
playlist = self.carousel_playlist(episodes_url, 'episodes')
|
||||
playlist['entries'] += clips['entries']
|
||||
playlist['id'] = show['id']
|
||||
|
Loading…
Reference in New Issue
Block a user