DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: xkcdDownloader  (Read 12,066 times)

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • Participated in NANY Challenge Four Times
xkcdDownloader
« on: September 13, 2010, 10:47 PM »
Hi All

Today I have spent some time looking for a tool which would allow me to download all xkcd episodes and… found nothing suitable (lot of wget related scripts).

So I have decided to quickly code small downloading tool for such purpose. Here it is attached.

Note that it requires newest .NET framework.

For now it downloads all episodes from 1st to 792nd. If someone likes it I may provide basic parameters support.

P.S. It also writes strips titles into descript.ion file (usable in Total Commander's comments view).
Надо было учиться, а не камни в школу бросать...
--
f0dder is my personal hero :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: xkcdDownloader
« Reply #1 on: September 13, 2010, 11:02 PM »
Cool!
Maybe someone wants to make a MultiPhotoQuotes screensaver image pack for it?

CWuestefeld

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,009
    • Participated in NANY Challenge Once
Re: xkcdDownloader
« Reply #2 on: September 14, 2010, 05:04 PM »
That's cool. I've got a suggestion:

Store the image's ALT text into file as well. Sometimes this is as funny as the comic itself.


fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • Participated in NANY Challenge Four Times
Re: xkcdDownloader
« Reply #3 on: September 14, 2010, 06:58 PM »
Store the image's ALT text into file as well. Sometimes this is as funny as the comic itself.
Both texts (title and alt) are stored inside descript.ion file but I am working on writing it within image. Unfortunately, it will take time I suffer the lack of.

"Work in progress..."
16_monty_python.jpg
Надо было учиться, а не камни в школу бросать...
--
f0dder is my personal hero :)

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: xkcdDownloader
« Reply #4 on: September 15, 2010, 03:15 PM »
Alt text is definitely important, a lot of the strips get their main comic value from it :)

If you go about modifying the image, you should probably put source URL (http://xkcd.com/xxxx, not the http://imgs.xkcd.com one) there as well.
- carpe noctem

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: xkcdDownloader
« Reply #5 on: September 16, 2010, 08:00 AM »
xkcd is included in Comical by Joseph Cox on:
http://software.bootblock.co.uk/?id=comical
http://www.bootblock.co.uk/home/

Freeware and well working.  :up:

clik thumb:

[attachthumb=#]

« Last Edit: September 16, 2010, 08:02 AM by Curt »

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: xkcdDownloader
« Reply #6 on: September 16, 2010, 10:53 AM »
Your xkcd downloader works really well :-) I was able to import>Copy the xkcd/app directory's images into Comical without any problems. Comical will itself "merely" search for and download updates to collections, not download entire collections.
:up:

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: xkcdDownloader
« Reply #7 on: September 17, 2010, 01:23 AM »
found nothing suitable (lot of wget related scripts).
As some of us here  :D also have wget.exe, maybe you could provide some of those wget-related scripts, so we could mash up something on our own?
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • Participated in NANY Challenge Four Times
Re: xkcdDownloader
« Reply #8 on: September 17, 2010, 09:53 PM »
@Tuxman
Just googled and went throught about 5 results pages, i.e.:
http://snippets.dzone.com/posts/show/4658
http://forums.xkcd.com/viewtopic.php?f=11&t=17563

I had tried to get some of these to work on my Windows machine and finally realised that coding in C# will take me much less time than Linux-like solutions.
Надо было учиться, а не камни в школу бросать...
--
f0dder is my personal hero :)

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: xkcdDownloader
« Reply #9 on: September 18, 2010, 12:48 PM »
Depends on what software you already have. ;)
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.

Original address: https://www.donationcoder.com/forum/index.php?topic=23976.0