From ae7a4a8d837f307b423a0a11026ac0b8a1e0f140 Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Sat, 28 Oct 2017 11:26:08 -0500 Subject: [PATCH] rapidvideo: actualizado test_video_exists --- plugin.video.alfa/servers/rapidvideo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin.video.alfa/servers/rapidvideo.py b/plugin.video.alfa/servers/rapidvideo.py index a0e591e4..a6584eef 100755 --- a/plugin.video.alfa/servers/rapidvideo.py +++ b/plugin.video.alfa/servers/rapidvideo.py @@ -23,6 +23,8 @@ def test_video_exists(page_url): if "Object not found" in response.data: return False, "[Rapidvideo] El archivo no existe o ha sido borrado" + if reponse.code == 500: + return False, "[Rapidvideo] Error de servidor, inténtelo más tarde." return True, ""