Skip to content

Commit

Permalink
[charlierose] Add support for episodes (closes #14062)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Aug 30, 2017
1 parent 53647df commit 5b4bfbf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion youtube_dl/extractor/charlierose.py
Expand Up @@ -5,7 +5,7 @@


class CharlieRoseIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?charlierose\.com/video(?:s|/player)/(?P<id>\d+)'
_VALID_URL = r'https?://(?:www\.)?charlierose\.com/(?:video|episode)(?:s|/player)/(?P<id>\d+)'
_TESTS = [{
'url': 'https://charlierose.com/videos/27996',
'md5': 'fda41d49e67d4ce7c2411fd2c4702e09',
Expand All @@ -24,6 +24,9 @@ class CharlieRoseIE(InfoExtractor):
}, {
'url': 'https://charlierose.com/videos/27996',
'only_matching': True,
}, {
'url': 'https://charlierose.com/episodes/30887?autoplay=true',
'only_matching': True,
}]

_PLAYER_BASE = 'https://charlierose.com/video/player/%s'
Expand Down

0 comments on commit 5b4bfbf

Please sign in to comment.