]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/xiami.py
New upstream version 2016.12.01
[youtubedl] / youtube_dl / extractor / xiami.py
index a6dfc4af98e6baafbe254579ebe060c208d6cd06..86abef25704bbc9e8a1494ecc2146b5c5bfabe32 100644 (file)
@@ -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')
         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']
 
     def _extract_track(self, track, track_id=None):
         title = track['title']