[vsco] fix collection extraction (#480)

This commit is contained in:
Mike Fährmann 2019-11-20 22:06:23 +01:00
parent 490831f84a
commit ea094692c8
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -137,7 +137,7 @@ class VscoCollectionExtractor(VscoExtractor):
return self._pagination(url, params, tkn, "medias", ( return self._pagination(url, params, tkn, "medias", (
data["medias"]["byId"][mid]["media"] data["medias"]["byId"][mid]["media"]
for mid in data for mid in data
["collections"]["byCollectionId"][cid]["collection"]["1"] ["collections"]["byCollectionId"][cid]["byPage"]["1"]["collection"]
)) ))