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

[Question] Override Cherrio Web Scraper url parameter #4244

Closed
arnabk opened this issue Apr 2, 2025 · 2 comments
Closed

[Question] Override Cherrio Web Scraper url parameter #4244

arnabk opened this issue Apr 2, 2025 · 2 comments
Labels
question Further information is requested

Comments

@arnabk
Copy link

arnabk commented Apr 2, 2025

Image

I configured to override the URL parameter.

Image

Then using the following body code to override it,

body: JSON.stringify({ 
    question: 'start', 
    overrideConfig: { 
      nodes: {
        cheerioWebScraper_0: { 
          url: 'https://google.com'
        }
      }
    },  
  })

But it only uses the URL I set it on the canvas

Image

What is the correct way to override this?

@arnabk arnabk closed this as completed Apr 2, 2025
@arnabk arnabk reopened this Apr 2, 2025
@HenryHengZJ
Copy link
Contributor

Have you turn on the override config enable? https://docs.flowiseai.com/using-flowise/api#override-config

@HenryHengZJ HenryHengZJ added the question Further information is requested label Apr 5, 2025
@arnabk
Copy link
Author

arnabk commented Apr 7, 2025

Yes I did.

This feature is not well documented. I am adding details here so that others might be find it useful.

In order to override the values, this is how I ended up using.

body: JSON.stringify({ 
    question: 'start', 
    overrideConfig: { 
      url: {
        cheerioWebScraper_0: $('Filter').item.json.whitePaperUrl, 
        cheerioWebScraper_1: $('Filter').item.json.websiteUrl,
      }
    },  
  })

@arnabk arnabk closed this as completed Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants