]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/robots/robots.factor
core: Change lines -> read-lines, contents -> read-contents, string-lines -> lines
[factor.git] / extra / robots / robots.factor
index dc5db2c00c5248e72fb86eea56eab7e9226d5138..fad70fb34d964309cae9c51ae1dd85cb881080be 100644 (file)
@@ -32,7 +32,7 @@ visit-time request-rate crawl-delay unknowns ;
     >robots.txt-url http-get nip ;
 
 : normalize-robots.txt ( string -- sitemaps seq )
-    string-lines
+    lines
     [ [ blank? ] trim ] map
     [ "#" head? ] reject harvest
     [ ":" split1 [ [ blank? ] trim ] bi@ [ >lower ] dip  ] { } map>assoc