GithubHelp home page GithubHelp logo

xkcdn's People

Contributors

dependabot[bot] avatar nogarcia avatar

Watchers

 avatar

xkcdn's Issues

Add option to get comic by title

Difficult way: get every single comic title and return the one that matches.
I'd be grateful if anyone could think of a better way.

View in pop-up option

I realize not everyone likes to download webcomics, so I'll probably add in @itsron717's approach.

Use build tests

Build tests are good for making sure your code works. Plus, you get that nice little checkmark.

Use more exception handling

I'm not sure whether it's a good practice or not, but it sure makes the code look way better.

In the following form, please.

try:
	# do what you do
except RandomError:
	# Report error

Migrate unstable code to develop/unstable branch

Committing to master isn't really a good practice, but at the same time, there's not really not very much code to be unstable. It either works or not works. You get system exclusive bugs in larger systems.

Play nice with GIFs

Describe the bug
When downloading an animated comic, the script downloads the bytes and names them as a PNG. The file fails to load in an image editor. 1264 is a still image in ImageMagick. The file is verifiably a GIF when viewed in a hex editor.

To Reproduce
Steps to reproduce the behavior:
1.

$ xkcdn --num 1264 # any animated comic
  1. Open the file in EOG or any other image viewer.

Expected behavior
The image is recognized as a GIF and is aptly named.

Desktop (please complete the following information):

  • OS: Ubuntu 18.04.1 LTS
  • Version: latest

404 image

I don't want this to be too much like the original terminal XKCD, but I want this feature.

Major rewrite ๐ŸŒ„

The code is a mess currently. It'd be helpful to have a logic rewrite and a separation of all the processes.

ASCII option

Can't leave out those guys without desktop environments. I'd like to use @purrleterian's 2ASCIIpy, but it is not in a package manager.

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.