Commit Graph
15 Commits
Author SHA1 Message Date
Alexander Graf 08515ebfa2 Remove extraneous newlines
Upps, forgot that I was programming Python...
2016-07-12 21:10:48 +02:00
Alexander Graf fde8396cb8 Do not abort when nonfatal errors occur
When a error like "user %s does not exist" occurs when downloading
multiple profiles, it now just prints a warning and continues instead
of aborting.

This fixes #2.
2016-07-12 21:04:40 +02:00
Alexander Graf a5ebf4d54c Fix bug which André did not even want to believe
Er hatte Angst davor, in den Code zu schauen und hat einfach Dinge
behauptet.

Einfach mal in den scheiß Code schauen, für fünf Sekunden, und man
findet diesen scheiß Bug!!!

Jetzt behauptet der noch, das wär mein Bug weil es mein Return war, aber
als er dieses return username da einhackt hat, hätte er verdammt nochmal
sehen sollen, dass da NUR EIN KLEINES STÜCKCHEN weiter oben noch ein
Return ist!!!!

Das mit diesem return username sollte er ohnehin mal seriös
implementieren!
2016-07-11 21:25:44 +02:00
Alexander Graf b1f4fd2788 Better pylint invocation 2016-06-26 13:13:59 +02:00
Alexander Graf 1543baf034 Parameters -l, -p, -f are no nargs='?' parameters
Argument to -l, -p, -f is not optional, it is required. Thus, nargs='?'
makes no sense.
2016-06-26 10:48:11 +02:00
Alexander Graf 42dc5a6026 Have --quiet argument
With --quiet activated, user interaction is disabled, i.e. no messages
are printed (except errors) and if login credentials are needed but not
given, instaloader fails.
2016-06-26 10:39:26 +02:00
Alexander Graf de2399a6c8 Invoke pylint with all Python versions >= 3.3
We used to say in the project description text that we need Python>=3.2,
but I just noted that we use print() flush parameter, which was
introduced with python 3.3. Pylint would have warned that our code would
fail with Python 3.2.
2016-06-26 10:33:17 +02:00
Alexander Graf 357cabab49 forgot about requests dependency -.- 2016-06-26 10:10:44 +02:00
Alexander Graf ac65f61024 try fixing travis-ci 2016-06-26 10:08:52 +02:00
Alexander Graf 381fa22deb Allow specifying more than one target to download 2016-06-26 10:04:59 +02:00
Alexander Graf 18ad134f45 attempt to setup travis-ci to invoke pylint 2016-06-26 09:55:23 +02:00
Alexander Graf beb860ed35 Fix minor code style issues
This makes instaloder proof against
$ pylint3 -r n -d \
	bad-whitespace,bad-continuation,missing-docstring,anomalous-backslash-in-string,invalid-name,multiple-imports,dangerous-default-value \
	--max-args=8 --max-locals=16 --max-branches=19 --max-nested-blocks=6 \
	instagram
2016-06-26 09:43:02 +02:00
Alexander GrafandGitHub b3b8c22240 Update description in help text 2016-06-23 21:06:56 +02:00
Alexander Graf d2ef625847 Have --fast-update 2016-06-17 21:40:55 +02:00
Alexander Graf a3282ed7a5 Raise exceptions instead of printing Quatsch and then returning 2016-06-17 21:38:21 +02:00