Skip to content

how to send params to ParseNode when using SmartScraperGraph? #902

@reneix

Description

@reneix

I'm using SmartScraperGraph to scrape a url, extracting information from the html content.

while in scraped content, lots of urls returned, which I want to ignore.

I'm not sure how to send params to ParseNode, like ignore_links = True

found some code in ParseNode:

if self.parse_html:
docs_transformed = Html2TextTransformer(
ignore_links=False
).transform_documents(input_data[0])
docs_transformed = docs_transformed[0]

version info:
scrapegraphai 1.36.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions