projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cc57f9
)
[soundgasm] Clarify extractors' IE_NAMEs
author
Sergey M․
<dstftw@gmail.com>
Mon, 23 Feb 2015 15:27:56 +0000
(21:27 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 23 Feb 2015 15:27:56 +0000
(21:27 +0600)
youtube_dl/extractor/soundgasm.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/soundgasm.py
b/youtube_dl/extractor/soundgasm.py
index e11d999f3cb86975e80b57f56a599a5c9d264d38..26e96a120a39c93dd07ad514ae1527d715424d29 100644
(file)
--- a/
youtube_dl/extractor/soundgasm.py
+++ b/
youtube_dl/extractor/soundgasm.py
@@
-8,6
+8,7
@@
from ..utils import clean_html
class SoundgasmIE(InfoExtractor):
+ IE_NAME = 'soundgasm'
_VALID_URL = r'https?://(?:www\.)?soundgasm\.net/u/(?P<user>[0-9a-zA-Z_\-]+)/(?P<title>[0-9a-zA-Z_\-]+)'
_TEST = {
'url': 'http://soundgasm.net/u/ytdl/Piano-sample',
@@
-41,6
+42,7
@@
class SoundgasmIE(InfoExtractor):
}
class SoundgasmProfileIE(InfoExtractor):
+ IE_NAME = 'soundgasm:profile'
_VALID_URL = r'https?://(?:www\.)?soundgasm\.net/u/(?P<id>[^/]+)'
_TEST = {
'url': 'http://soundgasm.net/u/ytdl',