forked from cadence/breezewiki
oops
This commit is contained in:
parent
04ed98fb4b
commit
ff18bda668
1 changed files with 0 additions and 10 deletions
|
@ -29,16 +29,6 @@
|
||||||
; '#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 (html-from-url image-url)
|
(define (html-from-url image-url)
|
||||||
([media-detail (define dest-url
|
|
||||||
(format "~a/wikia.php?~a"
|
|
||||||
origin
|
|
||||||
(params->query `(("format" . "json")
|
|
||||||
("controller" . "Lightbox")
|
|
||||||
("method" . "getMediaDetail")
|
|
||||||
("fileTitle" . ,prefixed-title)))))
|
|
||||||
(log-outgoing dest-url)
|
|
||||||
(define dest-res (easy:get dest-url #:timeouts timeouts))
|
|
||||||
(easy:response-json dest-res)]
|
|
||||||
(log-outgoing image-url)
|
(log-outgoing image-url)
|
||||||
(define dest-res (easy:head image-url #:timeouts timeouts))
|
(define dest-res (easy:head image-url #:timeouts timeouts))
|
||||||
(define content-type (response-headers-ref dest-res "Content-Type"))
|
(define content-type (response-headers-ref dest-res "Content-Type"))
|
||||||
|
|
Loading…
Reference in a new issue