Browse Source

print status for safebooru request to stdout

master
Brent Gordon 4 years ago
parent
commit
e5ecd19676
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      bot.rkt

+ 1
- 0
bot.rkt View File

@@ -27,6 +27,7 @@

(define (search-safebooru)
(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))
(list-ref posts pos))


Loading…
Cancel
Save