Пример #1
0
def drawYoutvgratis(url):
    channels = Youtvgratis.getChannels(url)
    logger.debug("items obtained: " + str(len(channels)))
    level = 119  # stream
    for channel in channels:
        img = ""
        if channel.has_key("thumbnail"):
            img = channel["thumbnail"]
        add_dir(channel["title"], channel["link"], level, img, "youtvgratis", channel["link"])
Пример #2
0
def drawYoutvgratis(url):
    channels = Youtvgratis.getChannels(url)
    logger.debug("items obtained: " + str(len(channels)))
    level = 119  # stream
    for channel in channels:
        img = ''
        if channel.has_key("thumbnail"):
            img = channel["thumbnail"]
        add_dir(channel["title"], channel["link"], level, img, "youtvgratis",
                channel["link"])
Пример #3
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)
Пример #4
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)