admin管理员组

文章数量:1551730

# -*- coding: utf-8 -*-

import re;
import urllib2;
import os;
import base64;

def get_kuaichuan_url(src_url):
  kuaichuan_re='<a\sxs\sstyle=".*?"\s\shref="(?P<url>.*?)"\stitle=".*?"\sfile_size=".*?"\starget=".*?">.*?</a>';
  req=urllib2.Request(src_url);
  req.add_header("User-Agent", "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4")
  resp=urllib2.urlopen(req).read();
  found=re.finditer(kuaichuan_re,resp,re.S);
  for url in found:
    print '快传链接';
    print url.group('url');
    print '\n';
    
def get_qq_url(src_url):
  print 'qq转真实链接:'
  url=src_url[7:len(src_url)];
  real_url=base64.decodestring(url);
  print real_url;
  
def get_thunder_url(src_url):
  print 'thunder转真实链接:'
  url=s

本文标签: 迅雷链接旋风种子真实