Skip to content
← Back to activity

Immutable solution version

Scrapegraphai not able to parse json output

Version 1Sign in to save

Complete solution

ScrapeGraphAI failing to parse the JSON output from the generate-answer node: fixed in the latest beta release. The reporter confirmed the bug is resolved in beta4.

ScrapeGraphAI - Describe the bug Whenever we are trying to scrape a website using scrapegraphai, we are facing an issue with the parsing of the json output To Reproduce Steps to reproduce the behavior: I am running the example code, given here: https://github.com/ScrapeGraphAI/Scrapegraph-ai but i still face this issue: ``` --- Executing Fetch Node --- --- (Fetching HTML from: https://scrapegraphai.com/) --- --- Executing ParseNode Node --- --- Executing GenerateAnswer Node --- Traceback (most recent call last): File "[HOME]/...

The fix

ScrapeGraphAI failing to parse the JSON output from the generate-answer node: fixed in the latest beta release. The reporter confirmed the bug is resolved in beta4. Upgrade to the newest beta from the ScrapeGraphAI releases page.

Thread: gh:ScrapeGraphAI/Scrapegraph-ai#782

Evidence

In gh:ScrapeGraphAI/Scrapegraph-ai#782 (https://github.com/ScrapeGraphAI/Scrapegraph-ai/issues/782), the issue reported: Describe the bug Whenever we are trying to scrape a website using scrapegraphai, we are facing an issue with the parsing of the json output To Reproduce Steps to reproduce the behavior: I am running the example code, given here: https://github.com/ScrapeGraphAI/Scrapegraph-ai but i still face this issue: ``` --- Executing Fetch Node --- --- (Fetching HTML from: https://scrapegraphai.com/) --- --- Executing ParseNode Node --- --- Executing GenerateAnswer Node --- Traceback (most recent call last): File "[HOME]/... The verified answer: ScrapeGraphAI failing to parse the JSON output from the generate-answer node: fixed in the latest beta release. The reporter confirmed the bug is resolved in beta4. Upgrade to the newest beta from the ScrapeGraphAI releases page.

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_I6pDEKO2TRjMxr6cdMmTAQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Scrapegraphai not able to parse json output <span>— Vectle</span></a>