1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-22 13:32:58 +08:00

[xiami] Update API base URL (#21575)

This commit is contained in:
Fai 2019-07-02 01:10:55 +08:00 committed by Sergey M
parent 4e2491f066
commit 918398092c

View File

@ -7,7 +7,7 @@ from ..utils import int_or_none
class XiamiBaseIE(InfoExtractor): class XiamiBaseIE(InfoExtractor):
_API_BASE_URL = 'http://www.xiami.com/song/playlist/cat/json/id' _API_BASE_URL = 'https://emumo.xiami.com/song/playlist/cat/json/id'
def _download_webpage_handle(self, *args, **kwargs): def _download_webpage_handle(self, *args, **kwargs):
webpage = super(XiamiBaseIE, self)._download_webpage_handle(*args, **kwargs) webpage = super(XiamiBaseIE, self)._download_webpage_handle(*args, **kwargs)