Fix meme pages that are not a part of a series
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
11d77d435e
commit
b174194068
|
@ -190,6 +190,7 @@
|
|||
(define lst1 (list ""))
|
||||
(define skip #f)
|
||||
(while (not (null-pointer? chld))
|
||||
(name chld)
|
||||
(cond
|
||||
(skip
|
||||
(set! skip #f)))
|
||||
|
@ -254,8 +255,15 @@
|
|||
"/html/body/div[3]/div/article/header/section/h1/text()" body #f)
|
||||
(get-xpath-string
|
||||
"/html/body/div[3]/div/article/header/a/img/@src" body #t)
|
||||
(if (null-pointer?
|
||||
(caddr (parse-c-struct
|
||||
(get-xpath-nodeset
|
||||
"/html/body/div[3]/div/article/header/section/div/h5"
|
||||
body)
|
||||
xml-nodeset)))
|
||||
""
|
||||
(dump-xpath-xml
|
||||
"/html/body/div[3]/div/article/header/section/div/h5" body)
|
||||
"/html/body/div[3]/div/article/header/section/div/h5" body))
|
||||
(dump-xpath-xml
|
||||
"/html/body/div[3]/div/article/header/section/div/footer/p[1]" body)
|
||||
(dump-xpath-xml
|
||||
|
|
Loading…
Reference in New Issue