1
0
mirror of https://github.com/instaloader/instaloader.git synced 2024-09-11 16:22:24 +02:00

Fixed ":feed-liked" functionality

This commit is contained in:
André Koch-Kramer 2017-04-22 17:26:48 +02:00
parent b3c83f420c
commit fdb8e94c64

View File

@ -757,7 +757,10 @@ def download_profiles(profilelist: List[str], username: Optional[str] = None, pa
elif pentry == ":feed-liked" and username is not None:
_log("Retrieving pictures you liked from your feed...", quiet=quiet)
download_feed_pics(session, fast_update=fast_update, max_count=max_count,
filter_func=lambda node: not node["likes"]["viewer_has_liked"],
filter_func=lambda node:
not node["likes"]["viewer_has_liked"]
if "likes" in node
else not node["viewer_has_liked"],
download_videos=download_videos, geotags=geotags,
shorter_output=shorter_output, sleep=sleep, quiet=quiet)
else: