def __init__(self, phenny): Download.__init__(self) self.re_title = re.compile('ustream\.vars\.channelTitle\=\"(.*?)\"\;ustream\.vars\.') self.re_channel = re.compile('ustream\.vars\.channelId\=(\d*?)\;ustream\.vars\.') self.apikey = phenny.config.ustreamdevapikey self.urltype = None self.h = {}
def __init__(self): Download.__init__(self) self.re_idblob = re.compile("si:\"(.+?)\",") self.re_title = re.compile( "<title>(.*?) \| Video on TED\.com<\/title>") self.urltype = VidType.TED self.h = {}
def __init__(self): Download.__init__(self) self.re_id = re.compile("swfobject\.embedSWF\(\"(.*?)\"") self.re_title = re.compile( "\<title\>MIT TechTV \&ndash\; (.*?)\<\/title\>") self.urltype = VidType.MITTECHTV self.h = {}
def __init__(self): Download.__init__(self) self.re_vid = re.compile( '<meta property="og:video"\s+content="http://blip\.tv/play/(.*?)"/>' ) self.re_title = re.compile('<title>(.*?)</title>') self.urltype = VidType.BLIPTV self.h = {}
def __init__(self): Download.__init__(self) self.re_id = re.compile( "<meta\s+name\=\"item\-id\"\s+content\=\"(.*?)\"") self.re_title = re.compile( "<meta\s+name\=\"title\"\s+content\=\"(.*?)\"") self.urltype = VidType.VEOH self.h = {}
def __init__(self, phenny): Download.__init__(self) self.re_id = re.compile("^[a-zA-Z0-9\_\-]{11}$") self.re_fragment = re.compile("^t\=((\d+)h)?((\d+)m)?((\d+)s)?$") self.urltype = VidType.YOUTUBE self.h = {} self.gdatahost = 'gdata.youtube.com' self.developer_key = phenny.config.youtubedevapikey self.gdataxml = None
def __init__(self): Download.__init__(self) self.re_live_id = re.compile('stream_id \= (\d+?)\;') self.re_recorded_id = re.compile('full_program_clipid \= (\d+?)\;') self.re_live_title = re.compile('stream_title \= "(.+?)"\;') self.re_recorded_title = re.compile('full_program_title \= "(.+?)"\;') self.type = None self.urltype = None self.h = {}
def __init__(self): Download.__init__(self) self.re_live_id = re.compile('stream_id \= (\d+?)\;') self.re_recorded_id = re.compile('full_program_clipid \= (\d+?)\;') self.re_live_title = re.compile('stream_title \= "(.+?)"\;') self.re_recorded_title = re.compile('full_program_title \= "(.+?)"\;') self.type = None self.urltype = None self.h = {}
def __init__(self): Download.__init__(self) self.re_id = re.compile('\:content\:atom\.com\:(.+?)\"') self.urltype = VidType.ATOM self.h = {}
def __init__(self): Download.__init__(self) self.re_url = re.compile("^http\:\/\/(www\.)dailymotion\.com\/video\/([a-z0-9]+?)\_") self.urltype = VidType.DAILYMOTION self.h = {}
def __init__(self): Download.__init__(self) self.re_id = re.compile("<meta\s+name\=\"item\-id\"\s+content\=\"(.*?)\"") self.re_title = re.compile("<meta\s+name\=\"title\"\s+content\=\"(.*?)\"") self.urltype = VidType.VEOH self.h = {}
def __init__(self): Download.__init__(self) self.re_url = re.compile( "^http\:\/\/(www\.)dailymotion\.com\/video\/([a-z0-9]+?)\_") self.urltype = VidType.DAILYMOTION self.h = {}
def __init__(self): Download.__init__(self) self.re_url = re.compile("^http\:\/\/(www\.)?vimeo\.com\/(\d+)$") self.urltype = VidType.VIMEO self.h = {}
def __init__(self): Download.__init__(self) self.urltype = VidType.METACAFE self.h = {}
def __init__(self): Download.__init__(self) self.type = None self.urltype = None # 90 - QIKL, 91 - QIKR self.h = {}
def __init__(self): Download.__init__(self) self.urltype = VidType.LIVELEAK self.h = {}
def __init__(self): Download.__init__(self) self.urltype = VidType.FUNNYORDIE self.h = {}
def __init__(self): Download.__init__(self) self.urltype = VidType.FUNNYORDIE self.h = {}
def __init__(self): Download.__init__(self) self.re_idblob = re.compile("si:\"(.+?)\",") self.re_title = re.compile("<title>(.*?) \| Video on TED\.com<\/title>") self.urltype = VidType.TED self.h = {}
def __init__(self): Download.__init__(self) self.type = None self.urltype = None # 90 - QIKL, 91 - QIKR self.h = {}
def __init__(self): Download.__init__(self) self.re_id = re.compile('revision3\.com\/player-v(\d+?)\"') self.re_title = re.compile('<title>(.*?)</title>') self.urltype = VidType.REVISION3 self.h = {}
def __init__(self): Download.__init__(self) self.h = {}
def __init__(self): Download.__init__(self) self.re_title = re.compile('<h1 id="channel-info-title">(.+?)</h1>') self.type = None self.urltype = None self.h = {}
def __init__(self): Download.__init__(self) self.re_id = re.compile('\.swf\?player\.v\=(.+?)\&\;') self.urltype = VidType.BING self.h = {}
def __init__(self): Download.__init__(self) self.urltype = VidType.VIDDLER self.h = {}
def __init__(self): Download.__init__(self) self.re_fragment = re.compile("^(t\=)?((\d+)h)?((\d+)m)?((\d+)s)?$") self.urltype = VidType.GOOGLEVIDEO self.h = {}
def __init__(self, phenny): Download.__init__(self) self.urltype = None # 97 - TWITCHTV self.type = None self.consumerkey = phenny.config.justintvkey self.h = {}
def __init__(self): Download.__init__(self) self.re_url = re.compile("^http\:\/\/(www\.)?vimeo\.com\/(\d+)$") self.urltype = VidType.VIMEO self.h = {}
def __init__(self): Download.__init__(self) self.urltype = VidType.MYSPACE self.h = {}
def __init__(self): Download.__init__(self) self.urltype = VidType.MYSPACE self.h = {}
def __init__(self): Download.__init__(self) self.urltype = VidType.METACAFE self.h = {}
def __init__(self): Download.__init__(self) self.re_id = re.compile('\:content\:atom\.com\:(.+?)\"') self.urltype = VidType.ATOM self.h = {}
def __init__(self): Download.__init__(self) self.re_id = re.compile('\.swf\?player\.v\=(.+?)\&\;') self.urltype = VidType.BING self.h = {}
def __init__(self): Download.__init__(self) self.urltype = VidType.REVVER self.h = {}
def __init__(self): Download.__init__(self) self.re_id = re.compile('<link rel="media:video" href="http:\/\/www\.hulu\.com\/embed\/(.*?)"') self.re_title = re.compile('<meta property="og:title" content="(.*?)"') self.urltype = VidType.HULU self.h = {}
def __init__(self): Download.__init__(self) self.re_id = re.compile("swfobject\.embedSWF\(\"(.*?)\"") self.re_title = re.compile("\<title\>MIT TechTV \&ndash\; (.*?)\<\/title\>") self.urltype = VidType.MITTECHTV self.h = {}
def __init__(self): Download.__init__(self) self.urltype = VidType.REVVER self.h = {}
def __init__(self): Download.__init__(self) self.h = {}
def __init__(self): Download.__init__(self) #self.re_id = re.compile('","(http://.*?)"\]') self.re_id = re.compile(',"\d+",\d?,\["([a-zA-Z0-9_]{11})"\]') self.urltype = VidType.GPLUSHANGOUT self.h = {}