1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-22 22:47:55 +01:00

[soundgasm] Clarify extractors' IE_NAMEs

This commit is contained in:
Sergey M․ 2015-02-23 21:27:56 +06:00
parent 3cc57f9645
commit 80af2b73ab

View File

@ -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',