コード例 #1
0
def resolve(page):
    finder = regexFinder('param name="src" value="(.+)"')
    streams = processSourcePage(page, finder)
    if len(streams) <= 0:
        finder = regexFinder('src="(http://.+?stagevu.com/v/.+/.+?.avi)"')
        streams = processSourcePage(page, finder)
    log.debug("Streams found: %s" % str(streams))
    return streams
コード例 #2
0
def resolve(page):
  aiv = regexFinder('var aiv = (.+?);')(page)[0]
  internalpage = http.get("http://www.tvdex.org/includes/ajax/video_loader.php?episode_id="+aiv, True)
  return processSourcePage(internalpage, regexFinder('flashvars\.file="(.+)";'))
コード例 #3
0
def resolve(page):
  return processSourcePage(page, regexFinder('flashvars\.file="(.+)";'))
コード例 #4
0
def resolve(page):
  return processSourcePage(page, regexFinder('<embed type="video/divx" src="(.+?)"'))

    
  
コード例 #5
0
def resolve(page):
  return regexFinder('flashvars\.file="(.+)";')(page)