1
0
mirror of https://github.com/instaloader/instaloader.git synced 2024-11-04 09:22:29 +01:00

Use username/:tagged as target for tagged posts

Subdirs in profile folders were introduced with --highlights, and moving
:tagged posts there allows to further call instaloader as

instaloader [flags] */

(#154)
This commit is contained in:
Alexander Graf 2018-08-30 09:57:42 +02:00
parent 567a04a661
commit 0e534ba519

View File

@ -699,7 +699,7 @@ class Instaloader:
.. versionadded:: 4.1"""
if target is None:
target = profile.username + ':tagged'
target = profile.username + '/:tagged'
self.context.log("Retrieving tagged posts for profile {}.".format(profile.username))
count = 1
for post in profile.get_tagged_posts():