Giter VIP home page Giter VIP logo

xkcd's Introduction

xkcd Downloader

Romance,Sarcasm,Math and Language

Welcome to xkcd Downloader 1.0 !

A Python 3 script to download xkcd comics.

Introduction:

xkcd Downloader is a very simple Python script I developed to kill time. Built on Python 3 it only depends on standard Python installation modules i.e. urllib,random and os

Download and Run:

  • Download this repository and extract it.
  • Place the file xkcd.py in the Python installation directory on your drive.
  • Double-click to execute or do it through the command line with the command python xkcd.py.
  • You will be greeted with a little introduction and help.
  • Give the required input to download the comics in .jpg format.
  • You will also be prompted to specify a file path for downloading the comic(s).
  • If no directory is specified, the comics will be downloaded to the directory of the script
  • The comic(s) will be downloaded in the same directory as the script with their respective titles
  • Enjoy !

Dependencies:

  • Python 3

Accepted Inputs :

Input Action Example
all downloads all xkcd comics from the beginning to the latest one all
first downloads the first xkcd comic first
latest downloads the latest xkcd comic latest
random downloads a random xkcd comic random
[Any number] downloads the xkcd comic of that number 67
[Range] downloads the xkcd comics in that range 5-19
[Default] downloads the latest xkcd comic by default

All Rights Reserved by Randall Munroe and http://www.xkcd.com

xkcd's People

Contributors

parthanium avatar

Stargazers

Simon Law avatar Markus Roth avatar Michael Zemb avatar Robert Thiem avatar  avatar Éric avatar  avatar Sean Slater avatar  avatar

Watchers

Surya avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.