Browse Source

Merge pull request #10342 from muphil/patch-1

[xiami] bug fix for extractor xiami.py
totalwebcasting
Yen Chi Hsuan 8 years ago
committed by GitHub
parent
commit
409760a932
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/xiami.py

+ 1
- 0
youtube_dl/extractor/xiami.py View 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')
return webpage
def _extract_track(self, track, track_id=None):
title = track['title']


Loading…
Cancel
Save