1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

[instagram] prevent request for private '/tagged' feeds (#3045)

This commit is contained in:
Mike Fährmann 2022-10-15 13:06:25 +02:00
parent 3b369ce3d1
commit 096b8f2cfc
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -417,8 +417,8 @@ class InstagramTaggedExtractor(InstagramExtractor):
self.user_id = self.item[3:]
return {"tagged_owner_id": self.user_id}
self.user_id = self.api.user_id(self.item)
user = self.api.user(self.item)
self.user_id = user["id"]
return {
"tagged_owner_id" : user["id"],