RequestList Bridge avatar
RequestList Bridge
Try for free

No credit card required

View all Actors
RequestList Bridge

RequestList Bridge

pocesar/request-list-bridge
Try for free

No credit card required

Allows you to filter (thus cleaning up your list) and append new data to those requests before sending to your target task. Also enables a workaround to provide requestsFromUrl to existing actors that don't support it natively.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "targetStartUrlsProperty": "startUrls",
8  "map": "(req) => {\n\treturn req;\n}",
9  "filter": "(req) => {\n\treturn true;\n}"
10}
11EOF
12
13# Run the Actor using an HTTP API
14# See the full API reference at https://docs.apify.com/api/v2
15curl "https://api.apify.com/v2/acts/pocesar~request-list-bridge/runs?token=$API_TOKEN" \
16  -X POST \
17  -d @input.json \
18  -H 'Content-Type: application/json'
Developer
Community logoMaintained by Community
Actor metrics
  • 1 monthly users
  • Created in Sep 2020
  • Modified over 1 year ago
Categories

You might also like these Actors