projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3ef2da2
)
[soundcloud:user] Update tests
author
Sergey M․
<dstftw@gmail.com>
Fri, 1 Feb 2019 21:11:32 +0000
(
04:11
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 1 Feb 2019 21:11:32 +0000
(
04:11
+0700)
youtube_dl/extractor/soundcloud.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/soundcloud.py
b/youtube_dl/extractor/soundcloud.py
index 030840fd8d8e92e38367e2af93cfe2b636a5f7be..13463ae4fe867d2a0697b536d189d3fabc344ef7 100644
(file)
--- a/
youtube_dl/extractor/soundcloud.py
+++ b/
youtube_dl/extractor/soundcloud.py
@@
-438,40
+438,47
@@
class SoundcloudUserIE(SoundcloudPagedPlaylistBaseIE):
'''
IE_NAME = 'soundcloud:user'
_TESTS = [{
'''
IE_NAME = 'soundcloud:user'
_TESTS = [{
- 'url': 'https://soundcloud.com/
the-akashic-chronicler
',
+ 'url': 'https://soundcloud.com/
soft-cell-official
',
'info_dict': {
'info_dict': {
- 'id': '
114582580
',
- 'title': '
The Akashic Chronicler
(All)',
+ 'id': '
207965082
',
+ 'title': '
Soft Cell
(All)',
},
},
- 'playlist_mincount':
74
,
+ 'playlist_mincount':
28
,
}, {
}, {
- 'url': 'https://soundcloud.com/
the-akashic-chronicler
/tracks',
+ 'url': 'https://soundcloud.com/
soft-cell-official
/tracks',
'info_dict': {
'info_dict': {
- 'id': '
114582580
',
- 'title': '
The Akashic Chronicler
(Tracks)',
+ 'id': '
207965082
',
+ 'title': '
Soft Cell
(Tracks)',
},
},
- 'playlist_mincount':
3
7,
+ 'playlist_mincount':
2
7,
}, {
}, {
- 'url': 'https://soundcloud.com/the-akashic-chronicler/sets',
+ 'url': 'https://soundcloud.com/soft-cell-official/albums',
+ 'info_dict': {
+ 'id': '207965082',
+ 'title': 'Soft Cell (Albums)',
+ },
+ 'playlist_mincount': 1,
+ }, {
+ 'url': 'https://soundcloud.com/jcv246/sets',
'info_dict': {
'info_dict': {
- 'id': '1
14582580
',
- 'title': '
The Akashic Chronicler
(Playlists)',
+ 'id': '1
2982173
',
+ 'title': '
Jordi / cv
(Playlists)',
},
'playlist_mincount': 2,
}, {
},
'playlist_mincount': 2,
}, {
- 'url': 'https://soundcloud.com/
the-akashic-chronicler
/reposts',
+ 'url': 'https://soundcloud.com/
jcv246
/reposts',
'info_dict': {
'info_dict': {
- 'id': '1
14582580
',
- 'title': '
The Akashic Chronicler
(Reposts)',
+ 'id': '1
2982173
',
+ 'title': '
Jordi / cv
(Reposts)',
},
},
- 'playlist_mincount':
7
,
+ 'playlist_mincount':
6
,
}, {
}, {
- 'url': 'https://soundcloud.com/
the-akashic-chronicler
/likes',
+ 'url': 'https://soundcloud.com/
clalberg
/likes',
'info_dict': {
'info_dict': {
- 'id': '11
4582580
',
- 'title': '
The Akashic Chronicler
(Likes)',
+ 'id': '11
817582
',
+ 'title': '
clalberg
(Likes)',
},
},
- 'playlist_mincount':
321
,
+ 'playlist_mincount':
5
,
}, {
'url': 'https://soundcloud.com/grynpyret/spotlight',
'info_dict': {
}, {
'url': 'https://soundcloud.com/grynpyret/spotlight',
'info_dict': {
@@
-479,9
+486,6
@@
class SoundcloudUserIE(SoundcloudPagedPlaylistBaseIE):
'title': 'Grynpyret (Spotlight)',
},
'playlist_mincount': 1,
'title': 'Grynpyret (Spotlight)',
},
'playlist_mincount': 1,
- }, {
- 'url': 'https://soundcloud.com/soft-cell-official/albums',
- 'only_matching': True,
}]
_BASE_URL_MAP = {
}]
_BASE_URL_MAP = {