aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-08-14 02:30:50 +0800
committerGitHub <noreply@github.com>2016-08-14 02:30:50 +0800
commit409760a932ebd9d90d5566b86f2bdc4942672757 (patch)
treed71f9843e14331b327b1c979f530e616f93c1e88
parent73a85620eeb2d595cd86f73357bc4cb081cb3bc9 (diff)
parent097eba019d0d5cab93e9ce66e1b727b782d48250 (diff)
downloadyoutube-dl-409760a932ebd9d90d5566b86f2bdc4942672757.tar.xz
Merge pull request #10342 from muphil/patch-1
[xiami] bug fix for extractor xiami.py
-rw-r--r--youtube_dl/extractor/xiami.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/xiami.py b/youtube_dl/extractor/xiami.py
index a6dfc4af9..86abef257 100644
--- a/youtube_dl/extractor/xiami.py
+++ b/youtube_dl/extractor/xiami.py
@@ -13,6 +13,7 @@ class XiamiBaseIE(InfoExtractor):
webpage = super(XiamiBaseIE, self)._download_webpage(*args, **kwargs)
if '>Xiami is currently not available in your country.<' in webpage:
self.raise_geo_restricted('Xiami is currently not available in your country')
+ return webpage
def _extract_track(self, track, track_id=None):
title = track['title']