This is a creation in Article, where the information may have evolved or changed.
Package Mainimport ("Bufio" "FMT" "io" "io/ioutil" "Net/http" "OS" "RegExp" "StrConv" "Strings" "Time") Func main () {FMT. Print ("Enter the character to query:") Reader: = Bufio. Newreader (OS. Stdin) Input, _: = Reader. Readbytes (' \ n ') x: = String (Input[0:len (Input)-2]) const URL, page string = "http://www.btcherry.com/search?keyword=", " &p= "Var Find stringfileresult, _: = OS. OpenFile ("Re.txt", OS. O_rdwr|os. O_create|os. O_trunc, 777) defer func () {time. Sleep (1E9 * 2) Fileresult.sync () Fileresult.close ()} () for I: = 1; I < 101; i++ {Find = URL + x + page + StrConv. Itoa (i) H: = Strings. Repeat ("#", I/2) + strings. Repeat ("", 50-I/2) fmt. Printf ("\r%02d%%[%s]", I, h) time. Sleep (1E6 * 5) Go Resolve (Find, Fileresult)}}func Resolve (Find string, Fileresult io. Writer) {Re0, _: = RegExp. Compile ("