[kuwo:song] Correct song ID extraction (fixes #9033)

Bug introduced in daef04a4e7.
This commit is contained in:
Yen Chi Hsuan 2016-03-31 01:54:08 +08:00
parent afca767d19
commit 597d52fadb

View File

@ -55,7 +55,7 @@ def _get_formats(self, song_id, tolerate_ip_deny=False):
class KuwoIE(KuwoBaseIE): class KuwoIE(KuwoBaseIE):
IE_NAME = 'kuwo:song' IE_NAME = 'kuwo:song'
IE_DESC = '酷我音乐' IE_DESC = '酷我音乐'
_VALID_URL = r'https?://www\.kuwo\.cn/yinyue/(?P<id>\d+?)' _VALID_URL = r'https?://www\.kuwo\.cn/yinyue/(?P<id>\d+)'
_TESTS = [{ _TESTS = [{
'url': 'http://www.kuwo.cn/yinyue/635632/', 'url': 'http://www.kuwo.cn/yinyue/635632/',
'info_dict': { 'info_dict': {