diff --git a/Contents/Services/URL/MUVIO/ServiceCode.pys b/Contents/Services/URL/MUVIO/ServiceCode.pys index b9fccb5..85d6b57 100644 --- a/Contents/Services/URL/MUVIO/ServiceCode.pys +++ b/Contents/Services/URL/MUVIO/ServiceCode.pys @@ -30,7 +30,13 @@ def PlayVideo(url, resolution='720', **kwargs): video_url_high = None video_url_med = None - page = HTTP.Request(url.replace('muvio://', 'https://'), cacheTime=CACHE_1HOUR).content + try: + url = url.replace('muvio://', 'https://') + page = HTTP.Request(url, cacheTime=CACHE_1HOUR).content + except: + url = 'https://proxy.tadata.me/watch/%s' % (url.split('/watch/')[-1]) + page = HTTP.Request(url, cacheTime=CACHE_1HOUR).content + videos = RE_VIDEOS.findall(page) for video in videos: