Alexander Graf
ed3fce45da
More emphasis on documentation in --help output
2020-12-02 19:24:32 +01:00
Alexander Graf
e9648bc551
Release of Version 4.5.4
2020-11-28 16:31:05 +01:00
Alexander Graf
6d90c47d9a
Troubleshooting: Mention overriding RateController
2020-11-28 16:29:18 +01:00
Alexander Graf
1c577716dd
Fix HTTP error 500 when accessing :stories in certain cases
...
Based on a comment in #795 :
https://github.com/instaloader/instaloader/issues/795#issuecomment-726634493
Closes #795 .
2020-11-28 16:15:51 +01:00
Alexander Graf
6824d7b75c
Update year in LICENSE file
2020-11-28 16:13:10 +01:00
Alexander Graf
6ad03d3575
Link Insights -> Contributors in AUTHORS.md
2020-11-28 16:11:45 +01:00
Alexander Graf
03ac067e71
Add Contributor Covenant Code of Conduct
2020-11-28 16:08:31 +01:00
Alexander Graf
cc2986cff3
Fix Hashtag.get_all_posts() missing one post in certain cases
...
When a hashtag query returned only the 9 top posts, get_all_posts() yielded only 8 instead of all 9 posts.
Closes #853 .
2020-11-14 20:09:24 +01:00
Alexander Graf
c7372e36cc
Require being logged in for Post.get_likes()
...
Closes #860 .
2020-11-14 18:57:49 +01:00
Alexander Graf
74f7970b50
Fix a KeyError when fetching post metadata fails
...
Fixes #824 .
2020-11-13 11:20:31 +01:00
Alexander Graf
0586a1fec3
Update docs/troubleshooting.rst
2020-09-19 17:07:57 +02:00
Alexander Graf
574cadbb82
Adjust bug report template
2020-08-31 20:35:13 +02:00
Alexander Graf
6d3c73eec3
Adjust RateController to current observations
2020-08-31 20:29:21 +02:00
Alexander Graf
438669b954
Release of Version 4.5.2
2020-08-23 18:55:22 +02:00
Alexander Graf
a7a05c200c
Adjust RateController to current observations
...
Fixes #774 .
2020-08-23 18:51:39 +02:00
Alexander Graf
f53bdf9ef8
Do not call get_sidecar_nodes() if not needed
...
Do not call Post.get_sidecar_nodes() in download_post() if both --no-pictures
and --no-videos are set.
2020-08-23 18:48:21 +02:00
Alexander Graf
13612c606e
Use more reliable query for own profile for :saved
...
Adds a method Profile.own_profile() which uses the test_login() query for
obtaining the own profile. This method is used for accesssing saved posts
(Profile.get_saved_posts() on own profile).
Also removes the now-unneeded self._obtain_metadata() call in
Profile.get_saved_posts(), and changes the NodeIterator such that data is never
None and the count property is more likely available.
Fixes #563 .
2020-08-23 18:46:34 +02:00
Alexander Graf
3a6ba6485e
Release of Version 4.5.1
2020-08-20 11:08:08 +02:00
Alexander Graf
177a299ced
Improve 429 error message
...
This text_for_429 error message is expected to be less confusing for new users.
Further improve the output formatting of _dump_query_timestamps().
2020-08-20 10:38:06 +02:00
Alexander Graf
4a1fe035af
First Release Candidate for Version 4.5.1rc1
2020-08-17 18:29:37 +02:00
Alexander Graf and GitHub
db86f81be7
Fix support for Python 3.5 prior Python 3.5.4 ( #777 )
2020-08-17 18:25:22 +02:00
Alexander Graf and GitHub
020d412342
Fix some video download edge cases ( #776 )
...
Fixes unintended sidecar video skipping if --no-pictures is set.
Fixes video download if video thumbnail access fails with 410 error.
2020-08-17 18:23:24 +02:00
Alexander Graf
57393f619d
doc: Don't force links to be opened in new tab
2020-08-09 08:08:17 +02:00
Alexander Graf
d5dd8cec00
Fix Downloads/Month Badge
...
Change to pepy.tech as source for this badge.
2020-08-06 09:43:22 +02:00
Alexander Graf
3652e009d9
Release of Version 4.5
2020-08-02 10:32:44 +02:00
Alexander Graf
ecde92d05e
Minor fix of Hashtag.get_all_posts() docstring
2020-08-02 10:23:09 +02:00
Alexander Graf
a8d3851956
Nicer syntax for resumable_iteration usage
2020-08-02 10:22:45 +02:00
Alexander Graf
c71873231d
Minor Documentation Fixes (mostly spelling&grammar)
2020-07-31 22:12:27 +02:00
Alexander Graf
3823b1e593
Documentation Template: Use ARIA roles
...
This fixes the full text functionality of the search.
2020-07-31 11:41:22 +02:00
Alexander Graf
6c779e8d4b
First Beta Release for Version 4.5
2020-07-30 17:17:55 +02:00
Alexander Graf
c24015a93d
Merge branch 'master' into upcoming/v4.5
2020-07-30 17:16:00 +02:00
Alexander Graf
2c56e6994a
Enhance Documentation Theme
...
Improvements on our bootstrap 4 theme for sphinx.
2020-07-30 17:02:43 +02:00
Alexander Graf
6791e9a2f8
Textual Improvements on Documentation
...
- Fix spelling errors / typos,
- Remove deprecated command line options from doc.
2020-07-30 16:41:45 +02:00
Alexander Graf
64652f3994
Feature Request template: PR -> pull request
2020-07-30 13:20:02 +02:00
Alexander Graf
4f5b223b60
Minor docs fixes
2020-07-26 19:00:01 +02:00
Alexander Graf
2a3711687f
Update deps used in CI (esp. MyPy and PyLint)
2020-07-26 18:54:23 +02:00
Alexander Graf
612842f255
Minor nodeiterator-related docs improvements
2020-07-26 18:05:46 +02:00
Alexander Graf
fe9cd653e7
docs: Improvements to branded syntax highlighting
2020-07-26 18:01:33 +02:00
Alexander Graf
82e7b19d6d
docs: Split as-module into smaller documents
2020-07-26 18:00:37 +02:00
Alexander Graf
5d7c36399f
Windows: Sanitize Path of Resume Files
2020-07-24 18:35:10 +02:00
Alexander Graf
f0e66ef465
Windows EXE: Fix CommandNotFoundException
...
Fixes CommandNotFoundException that occured when started from within a
directory whose name contains a space.
2020-07-24 17:19:48 +02:00
Alexander Graf
f71ea562af
First Alpha Release for Version 4.5
2020-07-21 17:37:45 +02:00
Alexander Graf and GitHub
bc40b82f94
Resume a previously-aborted post download loop ( #732 )
...
With this change, Instaloader is capable of resuming a previously-aborted download loop. To do so, it creates a JSON file within the target directory when interrupted, that contains all the necessary information to later resume that operation.
Resuming an interrupted download is supported for most, but not all targets. It is supported for:
- Regular profile posts,
- IGTV posts
- Saved posts,
- Tagged posts,
- Explore posts.
2020-07-21 17:28:55 +02:00
Alexander Graf
c817d1901a
Merge branch 'master' into upcoming/v4.5
2020-07-18 15:32:05 +02:00
Alexander Graf
e232c82d5e
Release of Version 4.4.5
2020-07-18 15:24:31 +02:00
Alexander Graf
601dd0b106
First Release Candidate for Version 4.4.5
2020-07-15 10:26:22 +02:00
Alexander Graf
4c20b573e2
Fix KeyError on Posts with very few comments
2020-07-15 10:17:20 +02:00
Alexander Graf and GitHub
fbe05a1add
More flexible Rate Controller ( #716 )
...
Move InstaloaderContext's rate controlling logic into a class
RateController with fine-grained methods to enable easily changing
Instaloader's behavior regarding rate limits.
2020-07-11 13:54:31 +02:00
Alexander Graf
e21d34124d
Add codesnippet for almost chronological order
...
Such as for downloading hashtag feeds, as discussed in #666 and contributed by
@e2tovar.
Also change comment color to grey in codesnippets in documentation.
2020-06-21 19:38:16 +02:00
Alexander Graf and GitHub
f7d82495bd
Consistently use native '\' path separator on Windows
...
Use os.path.join() for joining paths rather than +'/'+.
os.path.join() uses '/' on Unix-ish and '\' on Windows. On Windows, this makes
the following improvements:
- Visual consistency with / and \ not being mixed-up in one path (os.path.join()
has already been used in many places).
- Allow using the \\?\ bypass method, e.g. with
--dirname-pattern=\\?\D:\{target}
The \\?\ bypass method fails when '/' is used as path separator. With the \\?\
bypass method, we can create directories whose name would otherwise be
considered invalid, such as directories starting with "aux.".
2020-06-19 19:33:46 +02:00
Alexander Graf
b0a430051e
Restrict GH Action lint workflow on Python 3.8
...
Now that Travis-CI status reporting works again, there is no need to run the
tests twice.
2020-06-18 08:33:25 +02:00
Alexander Graf
8b56b90e72
Less intrusive PR template
2020-06-18 08:32:46 +02:00
Alexander Graf
0c93e63615
Update troubleshooting.rst, Minor fixes to contributing.rst
2020-06-16 21:44:22 +02:00
Alexander Graf
65025e61d9
Update issue/PR templates, contributing.rst, CI
...
- Keep documentation in sync with master branch
- Run PyLint and MyPy on Github Actions
- Update Issue templates, enforce usage of issue templates, add links to
resources in Instaloader Documentation
- Update contributing.rst
2020-06-16 20:26:58 +02:00
Alexander Graf
11baf493db
Release of Version 4.4.4
2020-06-11 20:10:52 +02:00
Alexander Graf
2345d90e0e
Fix docs building on Windows
2020-06-09 13:03:48 +02:00
Alexander Graf
71b09aed0f
Warn if --login parameter is not a username
...
Closes #624 .
2020-06-09 11:44:06 +02:00
Alexander Graf
fd6d8542c9
Add a unit test for an empty private profile
2020-06-09 11:44:06 +02:00
Alexander Graf
df6fbbee76
Third Release Candidate for Version 4.4.4
2020-06-08 18:51:46 +02:00
Alexander Graf
1661bf7722
Remove unused import
2020-06-08 18:44:43 +02:00
Alexander Graf
8f9723cf62
Fix "Use --login ..." warning at startup
2020-06-08 18:40:13 +02:00
Alexander Graf
e1567a0342
Second Release Candidate for Version 4.4.4
2020-06-08 18:22:06 +02:00
Alexander Graf
610b6242a0
Get higher image quality if logged-in
...
Addresses a suggestion in #630 .
2020-06-08 17:53:39 +02:00
Alexander Graf
d90f90988a
Fix ValueError when executing from other drive on Windows
...
Fixes #671 .
2020-06-08 17:01:42 +02:00
Alexander Graf
d3c747a306
First Release Candidate for Version 4.4.4
2020-06-06 10:52:42 +02:00
Alexander Graf and GitHub
225353dc21
Download highest-resolution images if logged-in ( #662 )
...
If logged-in, Post.url and Post.get_sidecar_nodes() now use the iPhone API
endpoint to obtain the highest-resolution image version. Resolves #630 .
A notice "Warning: Use --login to download higher-quality versions of pictures"
is issued if the user tries to download posts without being logged-in.
Further, the message "Errors occurred:", which is displayed when the
InstaloaderContext is closed, has been changed to "Errors or warnings
occurred:".
2020-06-06 10:51:03 +02:00
Alexander Graf and GitHub
ed499cb49c
Let --sessionfile default to a more persistent path ( #659 )
...
The presence of a sessionfile avoids the usage of the failure-prone login
mechanism. This commit addresses a suggestion in #615 to store the sessionfile
in a persistent path rather than a path within a temporary directory if no
--sessionfile parameter is given.
The default path is now:
$XDG_CONFIG_HOME/instaloader/session-USERNAME or
~/.config/instaloader/session-USERNAME on Unix,
%LOCALAPPDATA%\Instaloader\session-USERNAME on Windows.
If no file exists in the new path, Instaloader tries loading from the path
where the sessionfile was stored before this commit, hence it automatically
migrates to the new sessionfile path.
2020-06-06 10:49:41 +02:00
Alexander Graf
1c13d5a30b
Windows EXE: Start Powershell instead of cmd
...
... if started by file explorer.
2020-06-06 10:37:20 +02:00
Alexander Graf
2fd1422619
Windows EXE: Use psutil for startup terminal detection
2020-06-05 20:12:23 +00:00
Alexander Graf and GitHub
c818165db4
Update 615_import_firefox_session.py
...
This fixes finding the cookies.sqlite file on MacOS as per https://github.com/instaloader/instaloader/issues/92#issuecomment-638361344 .
2020-06-03 20:07:52 +02:00
Alexander Graf
26a78463f1
doc: Discourage using --commit-mode
...
--commit-mode has many bugs, especially #257 , #483 . For now we discourage using
it until it is reimplemented.
2020-06-03 18:03:27 +02:00
Alexander Graf
689dd3613b
doc: Minor style-related changes to code examples
2020-06-03 18:03:01 +02:00
Alexander Graf
27b7c98be2
Update doc section Troubleshooting -> Login Error
...
New Firefox cookie import script, based on a comment in #615 :
https://github.com/instaloader/instaloader/issues/615#issuecomment-630127064
2020-06-03 17:14:08 +02:00
Alexander Graf and GitHub
72d86533f2
Downgrade 'old' stale action to more stable v1
2020-05-26 16:03:52 +02:00
Alexander Graf and GitHub
7bb08a220a
Update issue stale action
2020-05-24 11:25:37 +02:00
Alexander Graf
03aabc52bb
Release of Version 4.4.3
2020-05-22 18:32:05 +02:00
Alexander Graf
bf2f4f16ed
Release of Version 4.4.2
2020-05-19 09:27:03 +02:00
Alexander Graf
65462b01ec
Release of Version 4.4.1
2020-05-14 16:22:42 +02:00
Alexander Graf
9857c5fa24
Regex target matching: Fix hashtag regex
...
Unicode characters are allowed in hashtags, so instead of just
[A-Za-z0-9], we now match all \w. Fixes #614 .
2020-05-14 16:17:07 +02:00
Alexander Graf
83f013f6ca
Release of Version 4.4
2020-05-11 20:25:43 +02:00
Alexander Graf
e7437310ea
Add versionadded doc annotation for is_business_account and business_category_name
2020-05-11 20:24:04 +02:00
Alexander Graf
5e4b5fd877
First Beta Release for Version 4.4
2020-04-21 10:22:03 +02:00
Alexander Graf
ab67ca30e5
Merge branch 'master' into v4.4-dev
2020-04-21 09:53:01 +02:00
Alexander Graf
0e13c73b62
Include top posts in download_hashtag()
2020-04-19 12:21:27 +02:00
Alexander Graf
b98e9941ae
Omit media when saving Hashtag JSON
2020-04-19 11:30:19 +02:00
Alexander Graf
c9e4f68597
Download Hashtag profilepic and save metadata JSON
2020-04-19 11:16:39 +02:00
Alexander Graf and GitHub
1338cf0fcd
Fix 'occured' typo in error messages
...
Mentioned in #573 - thanks!
2020-04-18 11:16:55 +02:00
Alexander Graf
83a0f52c60
Hashtag class
2020-04-17 18:49:38 +02:00
Alexander Graf
5c5c633bee
Catch Exceptions raised during filter evaluation
...
Closes #192 .
2020-04-10 14:39:40 +02:00
Alexander Graf
e268f9e625
Release of Version 4.3.2
2020-04-10 12:08:24 +02:00
Alexander Graf
793b7e82ba
Limit feed node processing to Post nodes
...
Fixes #478 .
2020-04-10 12:05:15 +02:00
Alexander Graf
7329ee10d8
Catch KeyError: 'authenticated' when Logging In
...
Fixes #472 .
2020-04-10 12:05:15 +02:00
Alexander Graf
57d2ce9538
Alleviate #449 by catching bad metadata response
...
Instead of ungracefully failing with a TypeError, the Post is now skipped with
an error message containing the invalid JSON.
2020-04-10 11:57:36 +02:00
Alexander Graf
dc458a3f3c
Limit feed node processing to Post nodes
...
Fixes #478 .
2020-04-10 11:13:07 +02:00
Alexander Graf
08a359408c
Improve Log Output of Skipped Posts
2020-04-10 11:12:09 +02:00
Alexander Graf
a794089c4f
Deduplicate Post Download Loop
2020-04-07 10:06:53 +02:00
Alexander Graf
c56657855d
Release of Version 4.3.1
2020-04-04 10:54:04 +02:00
Alexander Graf
8c7561c5d7
Fix Downloading of Videos within a Sidecar Post
...
Fixes #558 .
2020-04-04 10:51:55 +02:00
Alexander Graf
c76385bde2
Unit Test for Profile.get_similar_accounts()
2020-03-25 19:06:05 +01:00
Alexander Graf
b5bf8a0560
Implement Profile.get_similar_accounts()
...
Fixes #489 .
2020-03-25 19:00:03 +01:00