1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 12:42:29 +01:00

[vsco] fix user profile extraction

This commit is contained in:
Mike Fährmann 2019-11-12 23:33:16 +01:00
parent abfcb356fc
commit 5513b66eb0
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 3 additions and 2 deletions

View File

@ -278,7 +278,7 @@ class TwitterTweetExtractor(TwitterExtractor):
# content with emoji, newlines, hashtags (#338)
("https://twitter.com/yumi_san0112/status/1151144618936823808", {
"options": (("content", True),),
"keyword": "b133464b73aec33871521ab021a3166204194285",
"keyword": "4d85faca51841b563aef613171e5efa9490219d8",
}),
# Reply to another tweet (#403)
("https://twitter.com/tyson_hesse/status/1103767554424598528", {

View File

@ -107,7 +107,8 @@ class VscoUserExtractor(VscoExtractor):
params = {"page": 2, "size": "30", "site_id": sid}
return self._pagination(url, params, tkn, "media", (
data["medias"]["byId"][mid]["media"]
for mid in data["medias"]["bySiteId"][sid]["medias"]["1"]
for mid in data
["medias"]["bySiteId"][sid]["byPage"]["1"]["mediaIds"]
))