diff --git a/plugin.video.alfa/servers/openload.py b/plugin.video.alfa/servers/openload.py index 128f76d0..62e849c6 100644 --- a/plugin.video.alfa/servers/openload.py +++ b/plugin.video.alfa/servers/openload.py @@ -34,7 +34,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password= try: code = scrapertools.find_single_match(data, '
(.*?)
' ) - if code == "": + if not code or code == "" or code is None: code = scrapertools.find_single_match(data, '(.*?)
' ) _0x59ce16 = eval(scrapertools.find_single_match(data, '_0x59ce16=([^;]+)').replace('parseInt', 'int')) _1x4bfb36 = eval(scrapertools.find_single_match(data, '_1x4bfb36=([^;]+)').replace('parseInt', 'int'))