1
0
mirror of https://github.com/instaloader/instaloader.git synced 2024-11-04 09:22:29 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
Alexander Graf
97e1bd2bf0 Disable Pylint's new inconsistent-return-statements 2017-12-21 14:03:44 +01:00
Alexander Graf
838ea645a8 Let Travis automatically deploy releases to PyPi 2017-08-04 11:18:20 +02:00
André Koch-Kramer
1699954761 Disable some trolling pylint features 2017-07-27 22:26:33 +02:00
Alexander Graf
8572e527ec Options --dirname-pattern and --filename-pattern
Instaloader downloads all posts in

  <DIRNAME>/<FILENAME>+(suffix and extension)

which are now generated by the templates given with --dirname-pattern
and --filename-pattern. These templates may contain specifiers such as
'{target}', '{profile}', '{date}' and '{shortcode}'.

Default for --dirname-pattern is '{target}', default for
--filename-pattern is '{date:%Y-%m-%d_%H-%M-%S}'

The former options --no-profile-subdir and --hashtag-username were
removed, because their behavior can now be achieved like this:

--no-profile-subdir and --hashtag-username:
--dirname-pattern='.' --filename-pattern='{profile}__{date:%Y-%m-%d_%H-%M-%S}'

--no-profile-subdir, but not --hashtag-username:
--dirname-pattern='.' --filename-pattern='{target}__{date:%Y-%m-%d_%H-%M-%S}'

--hashtag-username but not --no-profile-subdir:
--dirname-pattern='{profile}'

This adds the option proposed in #23, to encode both the hashtag and the
profile name in the file's path when downloading by hashtag, e.g.:
--dirname-pattern='{target}' --filename-pattern='{profile}_{date:%Y-%m-%d_%H-%M-%S}'

(Closes #23)
2017-07-25 18:45:01 +02:00
André Koch-Kramer
169ce1a300 Download comments
Close #5
2017-07-20 22:36:30 +02:00
Alexander Graf
caf75a8135 Refactor Instaloader's methods into a class 2017-06-24 22:43:40 +02:00
Alexander Graf
35e71192c5 travis: Enable more Pylint inspections 2017-04-22 11:58:12 +02:00
André Koch-Kramer
2106c2d5f6 Satisfy pylint after their update 2017-04-22 11:13:10 +02:00
Alexander Graf
c841bca81b Silence new pylint warnings 2017-04-20 09:17:32 +02:00
Alexander Graf
be477e8a88 Fix very minor packaging issues
- State in README.rst and setup.py metainfo that we require Python>=3.5

- Let Travis-CI test against newer versions of Python

- Let instaloader --help show where to report issues
2017-02-13 09:57:03 +01:00
Alexander Graf
f2660f7c02 Require Python >= 3.5 2016-12-22 13:27:08 +01:00
Alexander Graf
73f85b3316 Adjust travis yml 2016-12-22 13:24:50 +01:00
Alexander Graf
d5c13b1295 Globally disable pylint too-many-arguments warning 2016-09-18 15:43:24 +02:00
Alexander Graf
0678a8118a Properly escape \ in regex string 2016-08-03 20:29:36 +02:00
André Koch-Kramer
b71179371d Do not sleep when --no-sleep is given 2016-08-03 20:25:16 +02:00
Alexander Graf
57bb10f6b8 Rename instagram.py to instaloader.py 2016-07-25 23:59:47 +02:00
André Koch-Kramer
7c3ca67a20 Intensive refactoring to satisfy pylint 2016-06-27 16:49:00 +02:00
Alexander Graf
b1f4fd2788 Better pylint invocation 2016-06-26 13:13:59 +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
18ad134f45 attempt to setup travis-ci to invoke pylint 2016-06-26 09:55:23 +02:00