Alexander Graf
c0e5d0475b
StoryItem.from_mediaid()
...
Addresses #1238 .
2022-03-26 17:03:57 +01:00
Alexander Graf
fbd7df2a90
Use resumable iteration to download hashtags
...
Closes #1457 .
2022-03-26 17:02:06 +01:00
Alexander Graf
374d9d0d81
Merge branch 'fully-migrate-to-gh-actions' into upcoming/v4.9
2022-03-19 16:34:59 +01:00
MiguelX413
d8d268f861
Mention regex will now be restricted to ASCII ( #1456 )
2022-03-18 14:57:28 +01:00
MiguelX413
463ada519e
Add unicode normalization of captions ( #1453 )
2022-03-17 16:06:26 +01:00
2d4f3b8537
Make {Post,StoryItem}.date_local timezone aware
...
This commit is made up of 21365ec668 555c86633c d864ce08ff
Discussed in #1305 , #1316 , #1372 .
Co-Authored-By: Misael <misael.om@gmail.com >
Co-Authored-By: Eduardo Kalinowski <eduardo@kalinowski.com.br >
2022-01-15 17:34:18 +01:00
Alexander Graf
8c752532e1
Merge branch 'master' into upcoming/v4.9
2022-01-15 17:17:19 +01:00
Alexander Graf
ca78fee307
Revert date_utc and date_local being timezone aware
...
Fixes #1379 .
Revert "Make {Post,StoryItem}.date_utc timezone aware"
d864ce08ff .
Revert "Remove unnecessary conversion to timezone aware timestamp (#1372 )"
555c86633c .
Revert "Timezone option for datetime style formatting (#1316 )"
21365ec668 .
2022-01-15 17:08:04 +01:00
Alexander Graf
d864ce08ff
Make {Post,StoryItem}.date_utc timezone aware
...
Also simplify {Post,StoryItem}.date_local.
Discussed in #1316 .
2022-01-07 14:53:23 +01:00
Misael
21365ec668
Timezone option for datetime style formatting ( #1316 )
...
Add timezone awareness for datetime objects returned by `date_local` and `date_utc`.
Fixes #1305 .
2021-12-31 16:50:16 +01:00
Alexander Graf
06574eb428
Fix KeyError on attempt to get incomplete location
...
Fixes #1349 .
2021-11-27 16:25:12 +01:00
Alexander Graf
a23b832a69
Add Post.accessibility_caption property
2021-11-12 21:41:40 +01:00
Alexander Graf
5d18857695
Fix download of hashtags and locations
...
Fixes #1080 , fixes #1129 , closes #1240 .
2021-11-12 21:33:48 +01:00
Alexander Graf
d6fd4c560c
Merge branch 'master' into upcoming/v4.9
2021-11-12 20:28:19 +01:00
fireattack
470fc0d905
Fix KeyError for video_url, and better workflow ( #1321 )
...
Fixes #1320 .
2021-11-12 15:21:33 +01:00
Alexander Graf
c45b536be9
Update dependencies
2021-08-10 09:25:00 +02:00
Alexander Graf
054fa47245
Fix rare KeyError: 'video_versions' error
...
Closes #1251 .
2021-08-10 09:13:42 +02:00
Alexander Graf
87dfdff335
Merge branch 'master' into upcoming/v4.8
2021-08-04 18:24:46 +02:00
fireattack and Alexander Graf
327fcfd8e8
Download best-quality video ( #1232 )
...
Co-authored-by: Alexander Graf <17130992+aandergr@users.noreply.github.com >
2021-08-04 17:42:14 +02:00
Arman Yeghiazaryan
ae39ab9893
Fix Post.location / --geotags ( #1244 )
...
Closes #1109 .
2021-08-04 17:28:56 +02:00
Eduardo Kalinowski
9cdf679fc1
Fix interruped downloads with --latest-stamps ( #1219 )
...
The most recent post is cached in NodeIterator (and
saved to the disk), and its timestamp is used, instead of the
timestamp instaloader was run.
This way, even in later resuming runs the timestamp stored is the same
that would have been stored if the first run.
Fixes #1206 .
2021-07-24 19:27:46 +02:00
Alexander Graf
e346842f7b
Merge branch 'master' into upcoming/v4.8
2021-06-16 23:08:18 +02:00
spykard
bf83d406d3
Fix and Update has_public_story Functionality ( #1183 )
2021-06-15 19:39:06 +02:00
Kalle Westerling
9ffdf258a9
Fix Post.mentions including email addresses ( #1167 )
...
Earlier, if someone had an email address in the caption, those were provided as mentions in the Post.mentions attribute. With this update to the regular expression, email addresses are no longer ingested.
Fixes #1029 .
2021-06-06 11:13:05 +02:00
Eduardo Kalinowski
5345470ebf
Add option --title-pattern for profile pics and covers ( #1127 )
2021-05-15 16:25:36 +02:00
anokhovd
fa19b95107
Add support for loading structures directly from python json objects ( #1092 )
2021-04-22 20:12:42 +02:00
A Bored Pervert
3837b642b0
Make iPhone endpoint query optional ( #1076 )
2021-04-22 20:06:35 +02:00
Alexander Graf
e67b9e6c37
Improve docs on how to load/save FrozenNodeIterator
2021-04-12 16:54:44 +02:00
Alexander Graf and André Koch-Kramer
b583cd07e1
Get better-quality version of pictures if logged-in
...
Fixes #1065 (also see #630 ).
Co-Authored-By: André Koch-Kramer <koch-kramer@web.de >
2021-03-27 20:42:56 +01:00
Alexander Graf and André Koch-Kramer
f6731566cd
Support resuming of downloading comments
...
Co-Authored-By: André Koch-Kramer <koch-kramer@web.de >
2021-03-13 11:17:56 +01:00
Alexander Graf
cd13211603
Minor optimization in get_sidecar_nodes()
2021-02-24 16:35:08 +01:00
Alexander Graf
8f594a3a30
Merge branch 'master' into upcoming/v4.7
2021-02-24 16:10:27 +01:00
Alexander Graf
f85e49d521
Spare unnecessary full metadata fetch
...
This fetch was done for sidecar posts that contain a video when going
through a profile. The fetched information is already present with the
new profile query introduced in the last commit, making this full
metadata fetch query unnecessary. Instaloader now better evaluates if
that fetch must be done or not.
The fetch was also (eventually unnecessarily) made when accessing
get_sidecar_posts() on a Post that has been loaded with
load_structure_from_file().
2021-02-17 16:40:54 +01:00
Thomas
6c4da39372
Update the query_hash for post downloads ( #1026 )
...
- It's necessary because for the old query_hash IG isn't returning the full structure any more.
- So the old query_hash is replaced with the current one.
2021-02-17 16:07:18 +01:00
Alexander Graf and André Koch-Kramer
672b0b1840
Fix efficiency bug regarding re-downloading targets
...
Remove unnecessary queries when a file in a target does not have to be
re-downloaded.
This significantly speeds up the download in cases where the majority of media
is already present locally.
Co-Authored-By: André Koch-Kramer <koch-kramer@web.de >
2021-01-30 16:54:35 +01:00
43c521afa9
Add method to get title of post ( #976 )
...
Co-authored-by: Tejas Chauhan <tejas.chauhan@kevit.io >
Co-authored-by: Alexander Graf <17130992+aandergr@users.noreply.github.com >
2021-01-16 18:50:27 +01:00
AndyR and Alexander Graf
b31f279527
Allow selecting range to download from an sidecar ( #749 )
...
Co-authored-by: Alexander Graf <17130992+aandergr@users.noreply.github.com >
2020-12-14 22:11:33 +01:00
Alexander Graf
097bf7fecc
Merge branch 'master' into upcoming/v4.6
2020-12-04 14:10:18 +01:00
Alexander Graf
ace0e944ec
docs: Fix description of Story.last_seen_utc
2020-12-02 19:33:13 +01:00
Alexander Graf
4c02a186d3
Merge branch 'master' into upcoming/v4.6
2020-11-28 19:00:49 +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
Ingo Marquardt
c53625028d
Avoid additional http request to get post's owner ID. ( #809 )
2020-09-18 11:23:06 +02:00
886530d661
Fix wrong ProfileNotExistsException in some edge cases ( #785 )
...
Fixes wrong "Profile does not exist" error.
Co-authored-by: André Koch-Kramer <koch-kramer@web.de >
Co-authored-by: Alexander Graf <17130992+aandergr@users.noreply.github.com >
2020-09-03 20:20:02 +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
fireattack
b57bbe2af0
Get higher Post video and StoryItem image quality if logged-in ( #712 )
2020-08-21 19:37:38 +02:00
Alexander Graf
ecde92d05e
Minor fix of Hashtag.get_all_posts() docstring
2020-08-02 10:23:09 +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