CrossClj

com.secondchance/scrappy scrappy.core-test 1.2.0

SourceDocs



RECENT
    VARS
    test-regex
    test-select
    test-select-clean
    test-select-extract
    test-select-extract-clean
    test-select-value
    test-string
    url-works-regardless

    \"\n {:wow [{:regex \"hyh =\\\\s+([0-9.,]+)\"}]}))))\n\n\"ç@_test-string\"(deftest \"ç@dtest-stringç@/fun/scrappy.core-test.cljs/test-string.html\"\n (is (\"ç@a=ç@/ns/org.clojure/clojurescript/1.10.339/cljs.core.cljs.html#_%3D\" {:yo \"dude\"}\n (\"ç@ascrapeç@/ns/com.secondchance/scrappy/1.2.0/scrappy.core.cljs.html#_scrape\" \"url should be ignored\"\n \"some bad < html <\"\n {:yo [{:string \"dude\"}]})))\n (is (\"ç@a=ç@/ns/org.clojure/clojurescript/1.10.339/cljs.core.cljs.html#_%3D\" {:yo \"dudette\"}\n (\"ç@ascrapeç@/ns/com.secondchance/scrappy/1.2.0/scrappy.core.cljs.html#_scrape\" \"url should be ignored\"\n \"some bad < html <\"\n {:yo [{:select \"poop\"}\n {:string \"dudette\"}]}))))\n\n\"ç@_test-select\"(deftest \"ç@dtest-selectç@/fun/scrappy.core-test.cljs/test-select.html\"\n (is (\"ç@a=ç@/ns/org.clojure/clojurescript/1.10.339/cljs.core.cljs.html#_%3D\" {:fred \"flintstone\"}\n (\"ç@ascrapeç@/ns/com.secondchance/scrappy/1.2.0/scrappy.core.cljs.html#_scrape\" \"ignored\"\n \"

    ignored

    flintstone \"\n {:fred [{:select \".last-name\"}]}))))\n\n\"ç@_test-select-clean\"(deftest \"ç@dtest-select-cleanç@/fun/scrappy.core-test.cljs/test-select-clean.html\"\n (is (\"ç@a=ç@/ns/org.clojure/clojurescript/1.10.339/cljs.core.cljs.html#_%3D\" {:barney \"rubble\"}\n (\"ç@ascrapeç@/ns/com.secondchance/scrappy/1.2.0/scrappy.core.cljs.html#_scrape\" \"ignored\"\n \"

    ignored

    last name: rubble \"\n {:barney [{:select \".last-name\"\n :clean \"last name:(.*)\"}]}))))\n\n\"ç@_test-select-value\"(deftest \"ç@dtest-select-valueç@/fun/scrappy.core-test.cljs/test-select-value.html\"\n (is (\"ç@a=ç@/ns/org.clojure/clojurescript/1.10.339/cljs.core.cljs.html#_%3D\" {:pet \"dino\"}\n (\"ç@ascrapeç@/ns/com.secondchance/scrappy/1.2.0/scrappy.core.cljs.html#_scrape\" \"ignored\"\n \"

    ignored

    \"\n {:pet [{:select \".pet .dino\"\n :value \"dino\"}]}))))\n\n\"ç@_test-select-extract\"(deftest \"ç@dtest-select-extractç@/fun/scrappy.core-test.cljs/test-select-extract.html\"\n (is (\"ç@a=ç@/ns/org.clojure/clojurescript/1.10.339/cljs.core.cljs.html#_%3D\" {:wilma \"/flintstone\"}\n (\"ç@ascrapeç@/ns/com.secondchance/scrappy/1.2.0/scrappy.core.cljs.html#_scrape\" \"whatever\"\n \"fdsfs \"\n {:wilma [{:select \".wilma\"\n :extract [\"href\"]}]}))))\n\n\"ç@_test-select-extract-clean\"(deftest \"ç@dtest-select-e");