Exemple #1
0
def openSpliveLink(url, page, provider):
    if url.find(".m3u8") == -1 and url.find("rtmp://") == -1:
        channel = Spliveappcom.decodeUrl(url, provider)
        link = channel[0]["link"]
        if link.find(", referer:") > -1:
            link = link[0 : link.find(", referer:")]
        url = link
    else:
        logger.debug("nothing decoded for splive encrypted channels, continue...")

    logger.debug("splive BRUTE logic for url: " + url)

    try:
        if "ponlatv.com" in url or "playerhd1.pw" in url:
            logger.debug("trying to decode cineestrenos script from url: " + url)
            url = Cineestrenostv.extractScriptLevel3(url, referer=Cineestrenostv.MAIN_URL)
            logger.debug("decoded link was: " + url)

        else:
            url = Cineestrenostv.getChannels(url)[0]["link"]
            html = Downloader.getContentFromUrl(url)
            element = Cineestrenostv.extractIframeChannel(html, url)
            if element is not None and element.has_key("link"):
                url = element["link"]
                logger.debug("cineestrenos url was decoded to: " + url)
            else:
                logger.debug("nothing was done to decode cineestrenostv url!")
    except:
        logger.debug("nothing to be decoded with url: " + url)
        pass

    link = url

    logger.info("found link: " + link + ", launching...")
    open(link, page)
Exemple #2
0
def openMobdro(url, page):
    try:
        link = base64.decodestring(url)
    except:
        logger.debug("not a valid base64 content...")
        pass
    logger.info("decoded streamgaroo link: " + link)
    open(link, page)
Exemple #3
0
def openTuneInLink(url, page):
    logger.info("decoding tunein link... " + url)
    link = TuneIn.getChannels(url)[0]["link"]
    logger.info("decoded tunein link: " + link)
    open(link, page)
Exemple #4
0
def openYoutubeLink(url, page):  # could be replaced by decodeAndOpenLink, traces are the unique difference
    logger.info("decoding youtube link... " + url)
    link = Decoder.decodeLink(url)
    logger.info("decoded youtube link: " + link)
    open(link, page)
Exemple #5
0
def openZonaappLink(url, page):
    logger.info("decoding zonaapp link... " + url)
    link = ZonaAppCom.getFinalLink(url)
    logger.info("decoded zonaapp link: " + link)
    open(link, page)
Exemple #6
0
def openShowsportsLink(url, page):
    channel = ShowsportTvCom.getChannels(url)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)
Exemple #7
0
def openArenavisionLink(url, page):
    channel = Arenavisionin.getChannels(url)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)
Exemple #8
0
def openStreamgaroo(url, page):
    logger.info("decoding streamgaroo link... " + url)
    link = Streamgaroo.getChannels(url)[0]["link"]
    logger.info("decoded streamgaroo link: " + link)
    open(link, page)
Exemple #9
0
def openCricFreeLink(url, page):
    channel = Cricfreetv.getChannels(page)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)
Exemple #10
0
def openZonasportsLink(url, page):
    channel = Zonasportsme.getChannels(url)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)
Exemple #11
0
def openSports365Link(url, page):
    channel = Sportstream365com.getChannels(url)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)
Exemple #12
0
def openVipracingLink(url, page):
    channel = Vipracinginfo.getChannels(page)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)
Exemple #13
0
def openSkylineLink(url, page):
    channel = Skylinewebcamscom.getChannels(page, True)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)
Exemple #14
0
def openSports4uLink(url, page):
    channel = Sports4u.getChannels(page)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)
Exemple #15
0
def openLive9Link(url, page):
    channel = Live9net.getChannels(page)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)
Exemple #16
0
def openZopTvLink(url, page):
    channel = Zoptvcom.getChannels(page)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)
Exemple #17
0
def openYoutvgratisLink(url, page):
    logger.info("decoding youtvgratis link... " + url)
    link = Youtvgratis.getChannels(url)[0]["link"]
    logger.info("decoded youtvgratis link: " + link)
    open(link, page)
Exemple #18
0
def openVipgoalLink(url, page):
    jsonChannels = Vigoal.getChannels(page)
    url = jsonChannels[0]["link"]
    logger.info("found link: " + url + ", launching...")
    open(url, page)  # same that 2, but reserved for rtmp
Exemple #19
0
def openYomvies(url, page):
    logger.info("decoding yomvi link... " + url)
    link = Yomvies.getChannels(url)[0]["link"]
    logger.info("decoded yomvi link: " + link)
    open(link, page)
Exemple #20
0
def openMamahdLink(url, page):
    channel = Mamahdcom.getChannels(url)
    logger.info("found link: " + channel[0]["link"] + ", launching...")
    open(channel[0]["link"], page)
Exemple #21
0
def decodeAndOpenLink(url, page):
    logger.info("decoding: " + url)
    link = Decoder.decodeLink(url)
    logger.info("decoded: " + link)
    open(link, page)
Exemple #22
0
def openCineestrenosLink(url, page):
    jsonChannels = Cineestrenostv.getChannels(page)
    url = jsonChannels[0]["link"]
    logger.info("found link: " + url + ", launching...")
    open(url, page)