Last active
August 29, 2015 14:01
-
-
Save shiondev/249c41badc1951fc03c9 to your computer and use it in GitHub Desktop.
Tutorials > Counting How Many URLs a Website Has
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > curl -X PUT https://your_user_token:@api.80legs.com/v2/urllists/crawlURLs-1 -H "Content-Type: application/octet-stream" --data-binary "[\"http://www.80legs.com\"]" -i | |
| > curl -X PUT https://your_user_token:@api.80legs.com/v2/crawls/countURLs -H "Content-Type: application/json" -d "{\"app\": \"CrawlInternalLinks.js\", \"urllist\": \"crawlURLs-1\", \"max_depth\": 20, \"max_urls\": 100000 }" -i | |
| > curl -X GET https://your_user_token:@api.80legs.com/v2/crawls/countURLs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment