print status for safebooru request to stdout
This commit is contained in:
parent
6a5eee6390
commit
e5ecd19676
1
bot.rkt
1
bot.rkt
@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
(define (search-safebooru)
|
(define (search-safebooru)
|
||||||
(define-values (status header response)(http-sendrecv safebooru (string-append "/posts.json?limit=" limit "&page=" page "&tags="tags ) #:ssl? #t))
|
(define-values (status header response)(http-sendrecv safebooru (string-append "/posts.json?limit=" limit "&page=" page "&tags="tags ) #:ssl? #t))
|
||||||
|
(displayln status)
|
||||||
(define posts (read-json response))
|
(define posts (read-json response))
|
||||||
(list-ref posts pos))
|
(list-ref posts pos))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user