1
0
mirror of https://github.com/instaloader/instaloader.git synced 2024-10-03 22:07:11 +02:00

Support @profile again to download followees

(it got lost in one of the last commits)
This commit is contained in:
Alexander Graf 2018-03-18 20:41:39 +01:00
parent c1b9aa5fba
commit 706b4cf3e6

View File

@ -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":