G2  Explorer avatar

G2 Explorer

Try for free

No credit card required

View all Actors
G2  Explorer

G2 Explorer

jupri/g2-explorer
Try for free

No credit card required

Scrape product reviews from G2.com

AC

Error for some reviews: "unsupported operand type(s) for /: 'NoneType' and 'int'"

Closed

actual_cradle opened this issue
2 years ago

Hi,

Thank you for your G2 actor. I really appreciate that you make it available for free.

I get the error "unsupported operand type(s) for /: 'NoneType' and 'int'" for some reviews. It crashes the actor.

For example, the 5322nd review of Asana (ordered by most recent) generates this error. It's the one just after review 2591788. (It's the only one among all Asana's reviews, but there are others elsewhere.)

If you don't have time to fix the bug, is there any way you could add an option to skip reviews with such errors instead of crashing?

I can help if you accept PRs. BTW, the link to the source code is broken: I get a 404 on GitHub at https://github.com/JupriGH/scraper/tree/main/apify/g2-reviews (the link that's on the "Source code" tab of the Information page).

Jupri avatar

cat (Jupri)

2 years ago

Hi. let me check the issue, please hold on. Please note, this actor have mayor issue that still not resolved yet, connected to reviews parsing (see previous issue). As for the source code, this actor is part of an "all-in-one scraper engine" private source code, so I cant expose the source code, for now.

AC

actual_cradle

2 years ago

Ok, I understand. Thank you.

Developer
Maintained by Community
Actor metrics
  • 83 monthly users
  • 13 stars
  • 87.6% runs succeeded
  • 43 days response time
  • Created in Aug 2022
  • Modified 6 days ago
Categories