Skip to content

Commit

Permalink
[instagram] change 'posts are private' exception to a warning (#5322)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Mar 12, 2024
1 parent e409731 commit dde822e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gallery_dl/extractor/instagram.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ def user_id(self, screen_name, check_private=True):
not user["followed_by_viewer"]:
name = user["username"]
s = "" if name.endswith("s") else "s"
raise exception.StopExtraction("%s'%s posts are private", name, s)
self.extractor.log.warning("%s'%s posts are private", name, s)
self.extractor._assign_user(user)
return user["id"]

Expand Down

0 comments on commit dde822e

Please sign in to comment.