Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recurring: Unexpected Data Format during capturing Instagram Data #29

Open
bodilvreugdenhil opened this issue Apr 10, 2024 · 7 comments

Comments

@bodilvreugdenhil
Copy link

Hi!

It seems as though this exact problem has come up again:

#27

I experienced the same error as this user when trying to capture data from Instagram.
I did make sure that 4CAT and Zeeschuimer were completely up to date. Perhaps Instagram changed their data structure again recently.

Thanks in advance!

@dale-wahl
Copy link
Member

Could you check the dataset log in 4CAT. Is the error the same as in this part: Unable to map item: KeyError-'full_name'? Or are you receiving the unexpected data format warning for a different key name?

@bodilvreugdenhil
Copy link
Author

Yes, it is exactly that error. Unable to map item: KeyError-'full_name'

@dale-wahl
Copy link
Member

Ah, the fix did not make the 1.40 release, but is available in the master version of 4CAT (digitalmethodsinitiative/4cat@fa3be93).

You can use the “latest” Docker tag in the .env file to use the most current version of 4cat which I checked and includes the above fix. After updating 4cat, the status message of the Dataset will not update (unless you re-import the data), but all processors will use the author_fullname field appropriately.

@namansnghl
Copy link

Hi, was this resolved? I see this problem came back and even the latest version does not solve it. Am I missing something?

"MapItemException (item 1): Unable to map item: KeyError-'like_count'"

@dale-wahl
Copy link
Member

@namansnghl the original error with full_name was resolved and released.

Your error appears to be a different data issue which means Instagram reformatted their data again and someone will have to take a look.

@namansnghl
Copy link

@dale-wahl I will raise an issue on 4cat repo. Correct me if I am wrong - this is to be corrected on there and not on Zeeschuimer

@namansnghl
Copy link

Here is the URL to the issue I created
digitalmethodsinitiative/4cat#471

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants