Skip to content

Instantly share code, notes, and snippets.

@shiondev
Created May 22, 2014 17:17
Show Gist options
  • Select an option

  • Save shiondev/5ffc596ef22810520f82 to your computer and use it in GitHub Desktop.

Select an option

Save shiondev/5ffc596ef22810520f82 to your computer and use it in GitHub Desktop.
Tutorials > Downloading the HTML For Every Page on a Group of Websites
> curl -X PUT https://your_user_token:@api.80legs.com/v2/urllists/downloadwebsites-1 -H "Content-Type: application/octet-stream" --data-binary "[\"http://www.80legs.com\",\"https://www.datafiniti.net\",\"http://www.harkavagrant.com\"]" -i
> curl -X PUT https://your_user_token:@api.80legs.com/v2/crawls/downloadwebsites -H "Content-Type: application/json" -d "{\"app\": \"CrawlInternalLinks.js\", \"urllist\": \"downloadwebsites-1\", \"max_depth\": 20, \"max_urls\": 100000 }" -i
> curl -X GET https://your_user_token:@api.80legs.com/v2/results/downloadwebsites
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment