Example #1
0
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()
Example #2
0
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()
Example #3
0
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,'')