Handbook
Glossary
find-script-links ( vector -- vector' )
Vocabulary
html
.
parser
.
analyzer
Inputs
vector
an
object
Outputs
vector'
an
object
Definition
USING:
accessors
combinators.short-circuit
kernel
sequences
urls
;
IN:
html.parser.analyzer
:
find-script-links
( vector -- vector' )
[
{
[
name>>
"script"
=
]
[
"src"
attribute?
]
}
1&&
]
filter
sift
[
"src"
attribute
>url
]
map
;