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

"Cannot read properties of undefined (reading 'photo')" #5

Closed
bucinskasj opened this issue May 27, 2023 · 4 comments
Closed

"Cannot read properties of undefined (reading 'photo')" #5

bucinskasj opened this issue May 27, 2023 · 4 comments

Comments

@bucinskasj
Copy link

Thanks for a great package. We've been using it extensively for the past week!

It appears that in some cases the scraper returns 500 error, because the event photo is not defined. It seems it's because the event image is replaced by videos in some of the events:

Here's an example: https://www.facebook.com/events/242861135088721/

@francescov1
Copy link
Owner

Oh good catch, I hadn't come across any events like this before! Should be an easy fix

@francescov1
Copy link
Owner

Hows this look? #6

@bucinskasj
Copy link
Author

Looks great!

@francescov1
Copy link
Owner

Fix is live in v0.06 🚀

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

2 participants