The library is not working well any more #11
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
4 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference: KaKi87/scraper-instagram-v1#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi kaki,
Look like Instagram changed something on their Instagram main site recently. The web scraping mechanims in this library isn't working well any more. Please help to check and apply a patch as soon as possible.
Best,
-Young
Hello,
All unit tests are passing, please provide more details about the issue you're experiencing.
Hi kaki,
When I called
getProfilePostsByIdI got error at Insta._getQueryHashs
TypeError: Cannot read property '1' of nullI traced IG query hashs.
Getting posts query hash should be come from ConsumerLibCommons.js.
I can get posts with this change.
Could you please make a PR, or, at least, a diff ?
Thanks.
I didn't fix all problems, only fix post queryhash.
In my case, post queryhash should come from ConsumerLibCommons.
And story query hash is still wrong.
(Oh, I used my sessionid as library input)
Alright.
After fully running unit tests, I was able to reproduce the issue on
getProfileStoryByIdandgetProfilePostsById, therefore ongetProfileStoryandgetProfilePoststoo.Like you noticed, it must have something to do with query hashes.
I'll invesigate now.
Thanks for reporting.
getProfilePostsById(andgetProfilePosts) is now fixed as per6a50348.getProfileStoryById(andgetProfileStory) will have to wait for the v2 refactor, because it involves calling an endpoint from a different domain (https://i.instagram.com/api/v1/feed/reels_media/?reel_ids={profileId}) while the lib, in its current state, isn't flexible enough for that.I'll begin this work asap.
Awesome, was just running into that issue, great to see its resolved, thank you! You should add a public bitcoin address in the description, I'd like to support the repo with a small donation :)
I started working on this last week, I'm hoping to make a pre-release next week.
However, I won't make profit from scraping Instagram, as this activity would switch from illicit to illegal.
Thanks anyway :)