Permalink
Browse files

download dos arquivos do Grok Podcast

  • Loading branch information...
1 parent 0abd544 commit 81a88ef507a72c7877799d98e6d9b5695c3b50f1 @pbalduino committed Feb 10, 2014
Showing with 26 additions and 0 deletions.
  1. +9 −0 09/grokpodcast/.gitignore
  2. +4 −0 09/grokpodcast/project.clj
  3. +13 −0 09/grokpodcast/src/grokpodcast/core.clj
@@ -0,0 +1,9 @@
+/target
+/classes
+/checkouts
+pom.xml
+pom.xml.asc
+*.jar
+*.class
+/.lein-*
+/.nrepl-port
@@ -0,0 +1,4 @@
+(defproject grokpodcast "0.1.0-SNAPSHOT"
+ :dependencies [[org.clojure/clojure "1.5.1"]
+ [enlive "1.1.5"]]
+ :main grokpodcast.core)
@@ -0,0 +1,13 @@
+(ns grokpodcast.core
+ (:require [clojure.pprint :as pp]
+ [net.cgrand.enlive-html :as en]))
+
+(def file-dir "C:\\Documents and Settings\\pbalduino\\Meus documentos\\grokpodcast")
+
+(defn- get-links [url]
+ "meh")
+
+(defn -main [& args]
+ (pp/pprint
+ (-> "http://www.grokpodcast.com/arquivo/"
+ get-links)))

0 comments on commit 81a88ef

Please sign in to comment.