Giter Site home page Giter Site logo

subdown2's Introduction

subdown2

A script that automatically downloads all images from a certain subreddit.

###Installation For a stable install run (stable branch)

pip install subdown2

If you wish to run the latest development copy out of git (master branch)

python setup.py install

Run it by using:

subdown2 subreddit[,subreddit]  [--force,--top,--pages:#]

###TODO:

  • Better error catching

Feature Requests

  • SFW mode

Credits

subdown2's People

Contributors

legoktm avatar

Stargazers

Peter Stevenson avatar  avatar  avatar James Cleveland avatar

Watchers

 avatar James Cloos avatar  avatar  avatar

subdown2's Issues

Download images only?

I don't understand why it doesn't download images that are not in HTML?
Also I am getting 403 errors when I can cut and paste the URL in fine.

QuickMeme Update

Hey, I just noticed you used my old lib memegrab lib for pulling down QM images. I feel really ashamed for using horrible RegExes for parsing the page. I didn't know better at the time.

Even though QuickMeme is kinda defunct, my old lib was definitely broken, and for my own satisfaction I've updated it to use lxml for sane DOM parsing.

Want me to send a pull request when I've got it fully tested?

crash in initialize_imgur_checking

new user, just ran the subdown2 command after installing from git repo on ubuntu 12.10
I believe it's subdown2 .9

t = Download_Thread(IMAGE_Q)

File "/usr/local/lib/python2.7/dist-packages/subdown2-0.9.0-py2.7.egg/subdown2/download.py", line 37, in init
self.bad_imgur = initialize_imgur_checking()
File "/usr/local/lib/python2.7/dist-packages/subdown2-0.9.0-py2.7.egg/subdown2/download.py", line 20, in initialize_imgur_checking
text = obj.read()
AttributeError: 'Response' object has no attribute 'read'

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.