Skip to content

Commit ec27d13

Browse files
committed
Revert debugging change
1 parent e1e8c55 commit ec27d13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/api/instagram.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,9 @@ export class Instagram<PostType> {
596596
}, 2000);
597597
});
598598

599-
return JSON.stringify(window["_sharedData"].entry_data);
599+
return JSON.stringify(
600+
window["_sharedData"].entry_data.PostPage[0].graphql,
601+
);
600602
});
601603
} catch (error) {
602604
await this.handlePostPageError(

0 commit comments

Comments
 (0)