query 99 Bottles of Beer as {link} load {link} as {foundpage} loop find in {foundpage} load {link}{pagename} as {poempage} if {poempage} contains 50 bottles loop find

{line}

in {poempage} if {line} contains bottles striphtml {line} insert {line}{newline}{newline} into {poem} endif repeat print {poem} save {poem} as poem.txt print {newline}Press [enter] to exit. pause quit endif repeat