From a39b5f689e9c9fdf8e01bf28da86d5f37136adbe Mon Sep 17 00:00:00 2001 From: Kevin Zeidler Date: Thu, 18 May 2017 23:40:31 -0700 Subject: [PATCH 1/2] updated broken nytimes link (http -> https) --- .idea/enlive-tutorial.iml | 12 ++ .idea/misc.xml | 18 ++ .idea/modules.xml | 8 + .idea/vcs.xml | 6 + .idea/workspace.xml | 399 ++++++++++++++++++++++++++++++++++++++ src/tutorial/scrape3.clj | 2 +- 6 files changed, 444 insertions(+), 1 deletion(-) create mode 100644 .idea/enlive-tutorial.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml diff --git a/.idea/enlive-tutorial.iml b/.idea/enlive-tutorial.iml new file mode 100644 index 0000000..24643cc --- /dev/null +++ b/.idea/enlive-tutorial.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..96ce66b --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..18cc886 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..132e283 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,399 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + project + + + true + + + + DIRECTORY + + false + + + + + + + + + + + + 1495175461108 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/tutorial/scrape3.clj b/src/tutorial/scrape3.clj index bad68cd..caed02e 100644 --- a/src/tutorial/scrape3.clj +++ b/src/tutorial/scrape3.clj @@ -2,7 +2,7 @@ (:require [net.cgrand.enlive-html :as html] [clojure.string :as str])) -(def ^:dynamic *base-url* "http://nytimes.com/") +(def ^:dynamic *base-url* "https://www.nytimes.com") (def ^:dynamic *story-selector* [[:article.story From 91beb3ac738175fefbd79f17fee06c2c34401125 Mon Sep 17 00:00:00 2001 From: Kevin Zeidler Date: Thu, 18 May 2017 23:43:05 -0700 Subject: [PATCH 2/2] cleanup --- .idea/enlive-tutorial.iml | 12 -- .idea/misc.xml | 18 -- .idea/modules.xml | 8 - .idea/vcs.xml | 6 - .idea/workspace.xml | 399 -------------------------------------- 5 files changed, 443 deletions(-) delete mode 100644 .idea/enlive-tutorial.iml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml delete mode 100644 .idea/workspace.xml diff --git a/.idea/enlive-tutorial.iml b/.idea/enlive-tutorial.iml deleted file mode 100644 index 24643cc..0000000 --- a/.idea/enlive-tutorial.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 96ce66b..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 18cc886..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 132e283..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,399 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - DEFINITION_ORDER - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - project - - - true - - - - DIRECTORY - - false - - - - - - - - - - - - 1495175461108 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file