projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bad8475
)
[tapely] Improve _VALID_URL
author
Naglis Jonaitis
<njonaitis@gmail.com>
Sat, 3 Oct 2015 13:25:33 +0000
(16:25 +0300)
committer
Naglis Jonaitis
<njonaitis@gmail.com>
Sat, 3 Oct 2015 13:25:33 +0000
(16:25 +0300)
youtube_dl/extractor/tapely.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tapely.py
b/youtube_dl/extractor/tapely.py
index f1f43d0a7113cbf40e5dfd3ffb71af5e900fab78..744f9db38d53b0829ed34d342ba618927ae7db08 100644
(file)
--- a/
youtube_dl/extractor/tapely.py
+++ b/
youtube_dl/extractor/tapely.py
@@
-16,7
+16,7
@@
from ..utils import (
class TapelyIE(InfoExtractor):
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:}'
_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',
},
},
'ext': 'm4a',
},
},
+ {
+ 'url': 'https://tapely.com/my-grief-as-told-by-water',
+ 'only_matching': True,
+ },
]
def _real_extract(self, url):
]
def _real_extract(self, url):