diff options
author | Naglis Jonaitis <njonaitis@gmail.com> | 2015-10-03 16:25:33 +0300 |
---|---|---|
committer | Naglis Jonaitis <njonaitis@gmail.com> | 2015-10-03 16:25:33 +0300 |
commit | 60d23e5e592aebe4a77dfb4ab70e87337967721c (patch) | |
tree | 5bfedf8e563eac8085ce5afc86e2e82d3c762798 /youtube_dl | |
parent | bad84757eb135b85d5a1b29524a064d23ab4e1e9 (diff) |
[tapely] Improve _VALID_URL
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/tapely.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/tapely.py b/youtube_dl/extractor/tapely.py index f1f43d0a7..744f9db38 100644 --- a/youtube_dl/extractor/tapely.py +++ b/youtube_dl/extractor/tapely.py @@ -16,7 +16,7 @@ from ..utils import ( class TapelyIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?tape\.ly/(?P<id>[A-Za-z0-9\-_]+)(?:/(?P<songnr>\d+))?' + _VALID_URL = r'https?://(?:www\.)?(?:tape\.ly|tapely\.com)/(?P<id>[A-Za-z0-9\-_]+)(?:/(?P<songnr>\d+))?' _API_URL = 'http://tape.ly/showtape?id={0:}' _S3_SONG_URL = 'http://mytape.s3.amazonaws.com/{0:}' _SOUNDCLOUD_SONG_URL = 'http://api.soundcloud.com{0:}' @@ -42,6 +42,10 @@ class TapelyIE(InfoExtractor): 'ext': 'm4a', }, }, + { + 'url': 'https://tapely.com/my-grief-as-told-by-water', + 'only_matching': True, + }, ] def _real_extract(self, url): |