From 8660a6b1b1ab07739a5d50bad49d01fd273dc3a3 Mon Sep 17 00:00:00 2001 From: John Hawkinson Date: Sat, 25 Mar 2017 12:11:22 -0400 Subject: [PATCH] [cbs.com:playlist] Remove enduser guidance on filtering clips --- youtube_dl/extractor/cbs.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/youtube_dl/extractor/cbs.py b/youtube_dl/extractor/cbs.py index 21c2f190a..e4bc2ad2c 100644 --- a/youtube_dl/extractor/cbs.py +++ b/youtube_dl/extractor/cbs.py @@ -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']