Actor picture

URL Redirects

manishrc/url-redirect

Actor that takes a list of URLs and provides a list of loaded URLs after redirects

Author's avatarManish Chiniwalar
  • Modified
  • Users34
  • Runs583

For a list of input URLs, get a list of final URLs that are loaded after redirects.

Input parameters

Field Type Description
urlList String (Option 1) List of URLs. One per line.`
sources.requestsFromUrl (soon) String (Option 2) URL to a file with the list of URLs
crawlerOptionsOverrides Object Crawler options Overrides. [See for overrides 鈫梋(https://sdk.apify.com/docs/api/basiccrawler#new-basiccrawleroptions)

Output

{
  "origionalUrl": "http://google.com/",
  "attemptedUrl": "http://www.google.com",
  "loadedUrl": "https://www.google.com/",
  "loadedUrlNormalized": "https://www.google.com",
  "isOk": true,
  "statusCode": 200,
  "statusText": "",
  "#errorMessage": "[<errors>]",
  "#isFailed": "<true/false>"
}