mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
Merge pull request #10342 from muphil/patch-1
[xiami] bug fix for extractor xiami.py
This commit is contained in:
commit
409760a932
|
@ -13,6 +13,7 @@ class XiamiBaseIE(InfoExtractor):
|
||||||
webpage = super(XiamiBaseIE, self)._download_webpage(*args, **kwargs)
|
webpage = super(XiamiBaseIE, self)._download_webpage(*args, **kwargs)
|
||||||
if '>Xiami is currently not available in your country.<' in webpage:
|
if '>Xiami is currently not available in your country.<' in webpage:
|
||||||
self.raise_geo_restricted('Xiami is currently not available in your country')
|
self.raise_geo_restricted('Xiami is currently not available in your country')
|
||||||
|
return webpage
|
||||||
|
|
||||||
def _extract_track(self, track, track_id=None):
|
def _extract_track(self, track, track_id=None):
|
||||||
title = track['title']
|
title = track['title']
|
||||||
|
|
Loading…
Reference in a new issue