# -*- 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 from urllib.parse import urlparse vttsupport = False if int(xbmc.getInfoLabel('System.BuildVersion').split('.')[0]) < 20 else True def test_video_exists(page_url): global iframe global iframeParams iframe = support.scrapertools.decodeHtmlentities(support.match(page_url, patron='