This commit is contained in:
blankie 2022-10-08 23:14:57 +07:00
parent e845cc460b
commit f2de0cc11f
Signed by: blankie
GPG key ID: CC15FC822C7F61F5

View file

@ -29,8 +29,8 @@
; '#hasheq((batchcomplete . #t) (continue . #hasheq((cmcontinue . "page|4150504c45|41473") (continue . "-||"))) (query . #hasheq((categorymembers . (#hasheq((ns . 0) (pageid . 25049) (title . "Item (entity)")) #hasheq((ns . 0) (pageid . 128911) (title . "3D")) #hasheq((ns . 0) (pageid . 124018) (title . "A Very Fine Item")) #hasheq((ns . 0) (pageid . 142208) (title . "Amethyst Shard")) #hasheq((ns . 0) (pageid . 121612) (title . "Ankle Monitor"))))))))) ; '#hasheq((batchcomplete . #t) (continue . #hasheq((cmcontinue . "page|4150504c45|41473") (continue . "-||"))) (query . #hasheq((categorymembers . (#hasheq((ns . 0) (pageid . 25049) (title . "Item (entity)")) #hasheq((ns . 0) (pageid . 128911) (title . "3D")) #hasheq((ns . 0) (pageid . 124018) (title . "A Very Fine Item")) #hasheq((ns . 0) (pageid . 142208) (title . "Amethyst Shard")) #hasheq((ns . 0) (pageid . 121612) (title . "Ankle Monitor")))))))))
(define (url-content-type url) (define (url-content-type url)
(log-outgoing image-url) (log-outgoing url)
(define dest-res (easy:head image-url #:timeouts timeouts)) (define dest-res (easy:head url #:timeouts timeouts))
(easy:response-headers-ref dest-res 'Content-Type)) (easy:response-headers-ref dest-res 'Content-Type))
(define (get-media-html url content-type) (define (get-media-html url content-type)