diff options
author | Remita Amine <[email protected]> | 2019-08-02 19:38:35 +0100 |
---|---|---|
committer | Remita Amine <[email protected]> | 2019-08-02 19:38:35 +0100 |
commit | 5efbc1366f4e4d9d4969cbfb404657349a5b3f99 (patch) | |
tree | 83dd7259e6f574e3d8bd85eb5fb78a2897f62687 | |
parent | 995f319b0605188d145c78b88319d38b69130132 (diff) | |
download | youtube-dl-5efbc1366f4e4d9d4969cbfb404657349a5b3f99.tar.gz youtube-dl-5efbc1366f4e4d9d4969cbfb404657349a5b3f99.zip |
[roosterteeth] add support for watch URLs
-rw-r--r-- | youtube_dl/extractor/roosterteeth.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/roosterteeth.py b/youtube_dl/extractor/roosterteeth.py index d3eeeba62..8d88ee499 100644 --- a/youtube_dl/extractor/roosterteeth.py +++ b/youtube_dl/extractor/roosterteeth.py @@ -17,7 +17,7 @@ from ..utils import ( class RoosterTeethIE(InfoExtractor): - _VALID_URL = r'https?://(?:.+?\.)?roosterteeth\.com/episode/(?P<id>[^/?#&]+)' + _VALID_URL = r'https?://(?:.+?\.)?roosterteeth\.com/(?:episode|watch)/(?P<id>[^/?#&]+)' _LOGIN_URL = 'https://roosterteeth.com/login' _NETRC_MACHINE = 'roosterteeth' _TESTS = [{ @@ -49,6 +49,9 @@ class RoosterTeethIE(InfoExtractor): # only available for FIRST members 'url': 'http://roosterteeth.com/episode/rt-docs-the-world-s-greatest-head-massage-the-world-s-greatest-head-massage-an-asmr-journey-part-one', 'only_matching': True, + }, { + 'url': 'https://roosterteeth.com/watch/million-dollars-but-season-2-million-dollars-but-the-game-announcement', + 'only_matching': True, }] def _login(self): |