def CAT_BRAND(ownerid): from daum_brand import DaumBrand site=DaumBrand() site.parseTop(ownerid) for title, playlistid, thumb in site.menu_list: if playlistid: addDir(title, "%s-%d-1"% (ownerid, playlistid), 43, thumb) else: addDir(u"[COLOR FFFF0000]%s[/COLOR]"% title,'',0,thumb) endDir()
def CAT_BRAND(ownerid): from daum_brand import DaumBrand site = DaumBrand() site.parseTop(ownerid) for title, playlistid, thumb in site.menu_list: if playlistid: addDir(title, "%s-%d-1" % (ownerid, playlistid), 43, thumb) else: addDir(u"[COLOR FFFF0000]%s[/COLOR]" % title, '', 0, thumb) endDir()
def CAT_BRAND(url): from daum_brand import DaumBrand site=DaumBrand() site.parseTop(url) for title,url in site.menu_list: addDir(title,url,43,'')