# -*- coding: utf-8 -*- import urllib.parse import ast import xbmc from core import httptools, support, filetools from platformcode import logger, config from concurrent import futures vttsupport = False if int(xbmc.getInfoLabel('System.BuildVersion').split('.')[0]) < 20 else True def test_video_exists(page_url): global server_url global iframeParams server_url = support.scrapertools.decodeHtmlentities(support.match(page_url, patron='