Skip to content

Instantly share code, notes, and snippets.

@duanebester
Created October 27, 2021 20:52
Show Gist options
  • Save duanebester/a37ece2c88dc5ff4849f23dabf78e2e7 to your computer and use it in GitHub Desktop.
Save duanebester/a37ece2c88dc5ff4849f23dabf78e2e7 to your computer and use it in GitHub Desktop.
Web Scraping w/ Clojure - Parsed sitemap
{
:tag :urlset,
:content [
{:tag :url, :attrs nil, :content [
{:tag :loc, :attrs nil, :content ["https://bellroy.com/journal/carry-portraits-anna-marrone"]}
{:tag :lastmod, :attrs nil, :content ["2021-10-06"]}
{:tag :changefreq, :attrs nil, :content ["daily"]}
{:tag :priority, :attrs nil, :content ["1.0"]}]}
{:tag :url, :attrs nil, :content [
{:tag :loc, :attrs nil, :content ["https://bellroy.com/corporate-gifting"]}
{:tag :lastmod, :attrs nil, :content ["2021-10-25"]}
{:tag :changefreq, :attrs nil, :content ["daily"]}
{:tag :priority, :attrs nil, :content ["1.0"]}]}
{:tag :url, :attrs nil, :content [
{:tag :loc, :attrs nil, :content ["https://bellroy.com/journal/carry-portraits-joel-hanna"]}
{:tag :lastmod, :attrs nil, :content ["2021-10-06"]}
{:tag :changefreq, :attrs nil, :content ["daily"]}
{:tag :priority, :attrs nil, :content ["1.0"]}]}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment