Skip to content

Commit

Permalink
Fix JSON parse for download #11
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskyfung committed Dec 8, 2020
1 parent a38fba2 commit eafeed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gascript/code.gs
Expand Up @@ -57,7 +57,7 @@ function parseDownloadUrl(html,isTest){
fetchContentlog.clear();
fetchContentlog.appendParagraph(html);
var body = fetchContentlog.getBody().getText();
var data = JSON.parse(body).data;
var data = JSON.parse(body);
}
var items = data.reels_media[0].items;

Expand Down

0 comments on commit eafeed9

Please sign in to comment.