Commit graph

9 commits

Author SHA1 Message Date
ryuslash
cc571e6d80 Still wasn't working on windows
if savedir did not exists, then downloading would never work. Now if it does not exist, it is created, or it crashes and burns if it isn't allowed.
2010-02-08 01:48:12 +01:00
unknown
7707d5d3c6 Fixed in windows
Windows was giving trouble with the os.getenv(HOME) which can be executed in the python shell and IDLE and will return C:\Documents and Settings\username\, but when running a script it will return None.
If os.getenv(HOME) is None, then now the exec dir will be used instead
2010-02-08 01:24:18 +01:00
ryuslash
53c7802ae2 Configuration
* A configuration file is made if one hasn't been found
* Certain values (currently download category and location) are stored in config file.
2010-01-26 20:20:39 +01:00
ryuslash
c737789105 Started working on configuration file 2010-01-18 20:08:38 +01:00
ryuslash
4a10e87d3d self.fill_char was named self.fill_cahr 2010-01-17 16:55:11 +01:00
ryuslash
e750aada18 progress bar windows
* Made the progress bar 1 character smaller by default, good for windows CMD
2010-01-17 16:43:42 +01:00
ryuslash
10f2f918a1 added crunchbang 2010-01-17 03:56:00 +01:00
ryuslash
025a723a5a Parser seperation, progress bar
* Seperated the parser from the downloader code.
* Added a progressbar class, to make it look fancier
* Created some functions to do all the work in downloader.py, cleaner now
* Changed parser.py to htmlparser.py, since it was conflicting with a built-in module
2010-01-17 03:48:23 +01:00
ryuslash
fb65246575 Initial commit
Can download images from /w/
2010-01-15 08:22:17 +01:00