{"id":17458170,"url":"https://github.com/pocesar/actor-request-list-bridge","last_synced_at":"2025-04-02T21:29:46.816Z","repository":{"id":106841807,"uuid":"292594910","full_name":"pocesar/actor-request-list-bridge","owner":"pocesar","description":"Adds requestList requestsFromUrl to actors that don't support it","archived":false,"fork":false,"pushed_at":"2020-09-03T21:07:08.000Z","size":58,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T06:29:00.297Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pocesar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-03T14:34:18.000Z","updated_at":"2023-03-04T05:53:58.000Z","dependencies_parsed_at":"2023-03-17T23:15:41.615Z","dependency_job_id":null,"html_url":"https://github.com/pocesar/actor-request-list-bridge","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Factor-request-list-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Factor-request-list-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Factor-request-list-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Factor-request-list-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pocesar","download_url":"https://codeload.github.com/pocesar/actor-request-list-bridge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246895479,"owners_count":20851277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-18T03:56:01.403Z","updated_at":"2025-04-02T21:29:46.791Z","avatar_url":"https://github.com/pocesar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RequestList Bridge\n\nAllows you to filter (thus cleaning up your list) and append new data to those requests before\nsending to your target task.\n\nAlso enables a workaround to provide `requestsFromUrl` to existing actors that dont't support it natively.\n\n## Example\n\nTarget task accepts a `startUrls` but as a plain string array:\n\n```jsonc\n{\n    \"taskId\": \"x02LumCy0WXdGP7nt\",\n    \"requestListSources\": [\n        {\n            \"requestsFromUrl\": \"https://apify-uploads-prod.s3.amazonaws.com/Hhewqx4YNnyWz2qGk-data.csv\"\n        }\n    ],\n    \"plainArray\": true,\n    \"targetStartUrlsProperty\": \"startUrls\"\n}\n```\n\nTarget task accepts `RequestQueue` only:\n\n```jsonc\n{\n    \"taskId\": \"x02LumCy0WXdGP7nt\",\n    \"requestListSources\": [\n        {\n            \"requestsFromUrl\": \"https://apify-uploads-prod.s3.amazonaws.com/Hhewqx4YNnyWz2qGk-data.csv\"\n        }\n    ],\n    \"targetStartUrlsProperty\": \"startUrls\"\n}\n```\n\nFilter out and transform the requests:\n\n```js\n{\n    filter: (req) =\u003e /apify/i.test(req.url),\n    map: (req) =\u003e {\n        req.userData.isMapped = true;\n        return req;\n    },\n}\n```\n\n## License\n\nApache 2.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocesar%2Factor-request-list-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpocesar%2Factor-request-list-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocesar%2Factor-request-list-bridge/lists"}