This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
overflow
/
mariobot
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
print status for safebooru request to stdout
master
Brent Gordon
4 years ago
parent
6a5eee6390
commit
e5ecd19676
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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))
Write
Preview
Loading…
Cancel
Save