Skip to content

Commit f5b9c69

Browse files
authored
fix(nodes): Correct path and case sensitivity for Cheerio Web Scraper icon (#4359)
* fix Cheerio Web Scraper for online deployments * fix: change node name
1 parent e1979e4 commit f5b9c69

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/components/nodes/tools/FreeWebScraper/CheerioWebScraper.ts renamed to packages/components/nodes/tools/WebScraperTool/WebScraperTool.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface ScrapedPageData {
1515
}
1616

1717
class WebScraperRecursiveTool extends Tool {
18-
name = 'cheerio_web_scraper'
18+
name = 'web_scraper_tool'
1919
description = `Scrapes web pages recursively or via default sitemap. Extracts title, description, and paragraph text. Input should be a single URL string. Returns a JSON string array of scraped page data objects.`
2020

2121
private maxDepth: number
@@ -316,11 +316,11 @@ class WebScraperRecursive_Tools implements INode {
316316
inputs: INodeParams[]
317317

318318
constructor() {
319-
this.label = 'Cheerio Web Scraper'
320-
this.name = 'cheerioWebScraper'
321-
this.version = 1.0
319+
this.label = 'Web Scraper Tool'
320+
this.name = 'webScraperTool'
321+
this.version = 1.1
322322
this.type = 'Tool'
323-
this.icon = 'cheerioWebScraper.svg'
323+
this.icon = 'webScraperTool.svg'
324324
this.category = 'Tools'
325325
this.description = 'Scrapes web pages recursively by following links OR by fetching URLs from the default sitemap.'
326326
this.baseClasses = [this.type, ...getBaseClasses(WebScraperRecursiveTool)]
File renamed without changes.

0 commit comments

Comments
 (0)