From 706b4cf3e6c63a5db9a5686260f2e826eb1fbdd4 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Sun, 18 Mar 2018 20:41:39 +0100 Subject: [PATCH] Support @profile again to download followees (it got lost in one of the last commits) --- instaloader.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/instaloader.py b/instaloader.py index 53eb212..7cf6adb 100755 --- a/instaloader.py +++ b/instaloader.py @@ -1600,7 +1600,10 @@ class Instaloader: # Generate set of profiles, already downloading non-profile targets for target in targetlist: with self._error_catcher(target): - if target[0] == '#': + if target[0] == '@': + self._log("Retrieving followees of %s..." % target[1:]) + profiles.update([followee['username'] for followee in self.get_followees(target[1:])]) + elif target[0] == '#': self.download_hashtag(hashtag=target[1:], max_count=max_count, fast_update=fast_update, filter_func=filter_func) elif target == ":feed":