def finder116(html, ref): if 'akamai' in ref: html = decryptionUtils.doDemystify(html) swf, streamer, file, token = re.findall( 'flashplayer:[\"\']([^\"\']+)[\"\'],streamer:[\"\']([^\"\']+)[\"\'],file:[\"\']([^\"\']+)[\"\'],token:[\"\']([^\"\']+)[\"\']', html)[0] swf = 'http://akamaistreaming.com/' + swf url = '%s playpath=%s token=%s swfUrl=%s pageUrl=%s flashver=%s' % ( streamer, file, token, swf, ref, constants.flash_ver()) return url
def finder116(html,ref): if 'akamai' in ref: html = decryptionUtils.doDemystify(html) swf,streamer,file,token = re.findall('flashplayer:[\"\']([^\"\']+)[\"\'],streamer:[\"\']([^\"\']+)[\"\'],file:[\"\']([^\"\']+)[\"\'],token:[\"\']([^\"\']+)[\"\']',html)[0] swf = 'http://akamaistreaming.com/' + swf url = '%s playpath=%s token=%s swfUrl=%s pageUrl=%s flashver=%s'%(streamer,file,token,swf,ref,constants.flash_ver()) return url
# -*- coding: utf-8 -*- import re from modules import client, webutils, cloudflare, decryptionUtils, cache, liveresolver_utils, convert from modules.constants import resolver_dict from modules.log_utils import log from modules.liveresolver_utils import * import urlparse, urllib, base64 from BeautifulSoup import BeautifulSoup as bs global limit limit = 0 from modules import constants FLASH = constants.flash_ver() ''' Pass any url containing video to this function. It will try to find the embedded video and resolve it, returning the resolved and playable video link. cache_timeout (in hours) - how long to cache the found stream link for the given page. html - pass html content to resolver and it will search for embedded links from it, instead of requesting the given url and searching from there. ''' def resolve(url, cache_timeout=3, html=None, title='Video', icon='x'): try: log("Resolver called with url: " + url) resolved = None if html == None: resolved = resolve_it(url, title=title)
# -*- coding: utf-8 -*- import re from modules import client,webutils,cloudflare,decryptionUtils,cache,liveresolver_utils,convert from modules.constants import resolver_dict from modules.log_utils import log from modules.liveresolver_utils import * import urlparse,urllib,base64 from BeautifulSoup import BeautifulSoup as bs global limit limit=0 from modules import constants FLASH = constants.flash_ver() ''' Pass any url containing video to this function. It will try to find the embedded video and resolve it, returning the resolved and playable video link. cache_timeout (in hours) - how long to cache the found stream link for the given page. html - pass html content to resolver and it will search for embedded links from it, instead of requesting the given url and searching from there. ''' def resolve(url, cache_timeout=3, html=None, title='Video'): try: log("Resolver called with url: " + url) resolved=None if html==None: resolved=resolve_it(url,title=title) if resolved==None: