Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions components/serpapi/actions/scrape-search/scrape-search.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "serpapi-scrape-search",
name: "Scrape Search",
description: "Scrape the results from a search engine via SerpApi service. [See the documentation](https://serpapi.com/search-api)",
version: "0.0.2",
version: "0.0.3",
type: "action",
props: {
app,
Expand Down Expand Up @@ -40,9 +40,11 @@ export default {
engine: this.engine,
},
data: {
q: this.q.join(","),
q: this.q,
device: this.device,
no_cache: this.noCache,
no_cache: Boolean(this.noCache) === true
? "true"
: "false",
},
});

Expand Down
4 changes: 2 additions & 2 deletions components/serpapi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/serpapi",
"version": "0.1.1",
"version": "0.1.2",
"description": "Pipedream SerpApi Components",
"main": "serpapi.app.mjs",
"keywords": [
Expand All @@ -13,6 +13,6 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.0.0"
"@pipedream/platform": "^3.0.3"
}
}
4 changes: 2 additions & 2 deletions components/serpapi/serpapi.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export default {
options: constants.ENGINES,
},
q: {
type: "string[]",
type: "string",
label: "Query",
description: "The query or queries you want to search. When passing multiple queries you need to use a comma `,` to separate them",
description: "The query you want to search. You can use anything that you would use in a regular Google search. e.g. `inurl:`, `site:`, `intitle:`. SerpApi also supports advanced search query parameters such as `as_dt` and `as_eq`. See the [full list](https://serpapi.com/advanced-google-query-parameters) of supported advanced search query parameters.",
},
device: {
type: "string",
Expand Down
4 changes: 1 addition & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading