Closed abdu558 closed 10 months ago
The problem had to do with a check in an attempt for better performance in src/lib/instagram/scrapers/webpage.ts
:
if (!response.data.includes('hreflang="x-default"')) {
throw new BadRequest("This post is private or does not exist");
}
Issue has been fixed with the latest commit.
Describe the bug This post is private or does not exist even though the post is valid and can be viewed normally on any account. such as: This post is private or does not exist
To Reproduce
This happens in the website and the cloned app Steps to reproduce the behavior:
Expected behavior I expected it to work normally, but the error comes up. It should download it, I dont understand why this happens as i ran over 100 posts and 2 got flagged for this error.