spider
This commit is contained in:
parent
f6bbde94fa
commit
8cf151a71c
|
@ -39,3 +39,12 @@
|
|||
(newline)
|
||||
(display (ask-server (string-append "GET / HTTP/1.0" (string #\return #\newline #\return #\newline) "index.html" hostname port)))
|
||||
|
||||
(let ((file-contents (file->string "index.html")))
|
||||
;; (do ((url-list (file-contents->url file-contents 0)
|
||||
;; (file-contents->url file-contents 0)))
|
||||
(let ((url-list (file-contents->url file-contents 0))
|
||||
(url->hostname url-list hostname-list);;FIXME url-list
|
||||
(display hostname-list)
|
||||
|
||||
)
|
||||
))
|
||||
|
|
|
@ -101,7 +101,6 @@
|
|||
(set! headline line)
|
||||
(set! line ""))
|
||||
;;((eq? (car l) #\newline)
|
||||
|
||||
)
|
||||
(set! line (string-append line (string (car l))))
|
||||
(set! itemtext (string-append itemtext (string (car l))))
|
||||
|
|
Loading…
Reference in New Issue