Пример #1
0
def findvideos(item):
    log()
    data = ''
    matches = support.match(item, 'str="([^"]+)"')[0]
    if matches:
        for match in matches:
            data += str(jsfunctions.unescape(re.sub('@|g', '%', match)))
            data += str(match)
            log('DATA', data)
            if 'animepertutti' in data:
                log('ANIMEPERTUTTI!')

    else:
        data = ''

    itemlist = support.server(item, data)

    if __comprueba_enlaces__:
        itemlist = servertools.check_list_links(itemlist,
                                                __comprueba_enlaces_num__)

    itemlist = filtertools.get_links(itemlist, item, list_language)
    autoplay.start(itemlist, item)

    return itemlist
Пример #2
0
def findvideos(item):
    support.log()
    data = ''
    matches = support.match(item, 'str="([^"]+)"')[0]
    if matches:
        for match in matches:
            data += str(jsfunctions.unescape(support.re.sub('@|g', '%',
                                                            match)))
            data += str(match)
    else:
        data = ''

    return support.server(item, data)
Пример #3
0
def findvideos(item):
    support.info()
    if item.data:
        data = item.data
    else:
        matches = support.match(item, patron=r'<iframe.*?src="(?P<url>[^"]+)"').matches
        data = ''
        if matches:
            for match in matches:
                try: data += str(jsfunctions.unescape(support.re.sub('@|g','%', match)))
                except: data += ''
                data += str(match)
        else:
            data = ''

    return support.server(item,data)
Пример #4
0
def findvideos(item):
    support.log()
    if item.data:
        data = item.data
    else:
        matches = support.match(item, '(?:str="([^"]+)"|iframe src="([^"]+)")')[0]
        data = ''
        if matches:
            for match in matches:
                try: data += str(jsfunctions.unescape(support.re.sub('@|g','%', match)))
                except: data += ''
                data += str(match)
        else:
            data = ''

    return support.server(item,data)