[Name]=bugs
[BasedOn]=http://bugs.co.kr
[IndexUrl]=http://srch.bugs.co.kr/m/album/s_album.asp?s_kind=m_album&keyword=%s
[AlbumUrl]=
[WordSeperator]=+
[IndexFormat]=%_url%|%album%|%artist%
[SearchBy]=%album%

[ParserScriptIndex]=...

# ###################################################################
# This script parses the artist's page for all releases
# by this artist.
#
# The output format is defined by IndexFormat above, which
# is used by the selection dialog
# ###################################################################

# Uncomment the following line if you want to write some debug output
debug "on" "c:\\debug_bugs_index.out"

do
  findline "<td width=\"260"
  findinline "'album', "
  say "http://music.bugs.co.kr/Info/album.asp?cat=Base&menu=m&Album="
  sayuntil ");"
	say "|"
	
  findinline "class=ser>"
  sayuntil "</a>"
	say "|"
	
	findline "<td width=\"200\""
  findinline "class=\"ser\">"
	sayuntil "</a>"
	moveline 9
	saynewline
while "              <tr><td bgcolor=\"#E0E0E0\""



[ParserScriptAlbum]=...

# ###################################################################
# This script parses the albums page for all common information.
#
# The current output variable is set via the outputto command
# All these fields are used by the confirm online information dialog
# ###################################################################

# Uncomment the following line if you want to write some debug output
debug "on" "c:\\debug_bugs_album.out"

# album
outputto "album"
findline "tita"
findinline "<b>"
sayuntil "</b>"

# coverurl
outputto "coverurl"
findline "http://img.bugs.co.kr/Info"
findinline "http://"
say "http://"
sayuntil ".gif"
say ".gif"

# artist
outputto "artist"
findline "artist"
findinline ");\"><b>"
sayuntil "</b>"

# year
outputto "year"
findline "enga"
findinline "enga"
findinline ">"
sayuntil "</span>"

# tracks
#outputto "tracks"
#do
#findline "this.style.backgroundColor"
#findline "cccccc>"
#findinline ">"
#sayuntil "</FONT>"
#say "|"
#moveline 12
#while "<TD style=\"PADDING-RIGHT"
