<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: mass-downloader code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Fri, 25 Jul 2008 01:36:55 GMT</pubDate>
    <description>DZone Snippets: mass-downloader code</description>
    <item>
      <title>Download all xkcd.com comics</title>
      <link>http://snippets.dzone.com/posts/show/4658</link>
      <description>This goes through all the first 329 (you might want to change this) pages, downloading the comic strips.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;for i in `seq 1 329`&lt;br /&gt;do&lt;br /&gt;	wget http://xkcd.com/$i/&lt;br /&gt;	wget `grep http://imgs.xkcd.com/comics/ index.html | head -1 | cut -d\" -f2`&lt;br /&gt;	rm index.html&lt;br /&gt;done&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Mon, 15 Oct 2007 18:05:51 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4658</guid>
      <author>scvalex (Alexandru Scvortov)</author>
    </item>
  </channel>
</rss>
