Example #1
0
def Get_Playlink(name,url):
	playlink = 'plugin://plugin.video.SportsDevil/?mode=1&item=catcher%3dstreams%26url=' + url
	HTML = requests.get(url).text
	m3u8 = re.compile('<source src="(.+?)"').findall(HTML)
	for item in m3u8:
		playlink = item
	process.Big_Resolve(name,playlink)
def get_footytube_PLAYlink(name, url):
    HTML = process.OPEN_URL(url)
    match_youtube = re.compile(
        '<iframe width="560" height="315" src="https://www.youtube.com/embed/(.+?)" frameborder="0" allowfullscreen>'
    ).findall(HTML)
    for url in match_youtube:
        import process
        url = 'plugin://plugin.video.youtube/play/?video_id=' + url
        process.Big_Resolve(name, url)
    match = re.compile(
        '<script data-config="(.+?)" data-css=".+?" data-height="100%" data-width="100%" src=".+?" type="text/javascript"></script>'
    ).findall(HTML)
    for playlink in match:
        if 'div' in playlink:
            pass
        else:
            Playlink = (playlink).replace('/v2', '').replace(
                'zeus.json', 'video-sd.mp4?hosting_id=21772').replace(
                    'config.playwire.com', 'cdn.video.playwire.com')
            process.Big_Resolve(name, 'http:' + Playlink)
def footytube_frame(name, url):
    HTML = process.OPEN_URL(url)
    match = re.compile('<iframe src="(.+?)" width=').findall(HTML)
    for url in match:
        url = footy + url
        get_footytube_PLAYlink(url)
    match_youtube = re.compile(
        '<iframe id="ft_player" width="100%" height="100%" src="http://www.youtube.com/embed/(.+?)?rel=0&autoplay=1&enablejsapi=1" frameborder="0" allowfullscreen></iframe>'
    ).findall(HTML)
    for url in match_youtube:
        import process
        url = 'plugin://plugin.video.youtube/play/?video_id=' + url
        process.Big_Resolve(name, url)
def get_PLAYlink(name, url):
    HTML = process.OPEN_URL(url)
    match_youtube = re.compile(
        '<iframe width="560" height="315" src="https://www.youtube.com/embed/(.+?)" frameborder="0" allowfullscreen>'
    ).findall(HTML)
    for url in match_youtube:
        yt.PlayVideo(url)
    match = re.compile('<script data-config="(.+?)" data-height').findall(HTML)
    for playlink in match:
        if 'div' in playlink:
            pass
        else:
            Playlink = (playlink).replace('/v2', '').replace(
                'zeus.json', 'video-sd.mp4?hosting_id=21772').replace(
                    'config.playwire.com', 'cdn.video.playwire.com')
            process.Big_Resolve(name, 'http:' + Playlink)
Example #5
0
def LISTS3(url):
    html = process.OPEN_URL(url)
    match = re.compile("url: '(.+?)',").findall(html)
    for url in match:
        process.Big_Resolve(url)