all-about-apikey/abstract-website-scraping
Muhammad Daffa cdda7e6ab5 Fix readme and added 12 information 2022-07-24 22:40:18 +07:00
..
README.md Fix readme and added 12 information 2022-07-24 22:40:18 +07:00

README.md

Abstract Web Scraping

Description

Scrape and extract data from any website, with powerful options like proxy / browser customization, CAPTCHA handling, ad blocking, and more.

Example Request

  • Curl
curl "https://scrape.abstractapi.com/v1/?api_key={{token}}&url=https://www.apple.com"
  • Raw
GET /v1/?api_key={{token}}&url=https://www.apple.com HTTP/1.1
Host: scrape.abstractapi.com

Response

  • Success
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">'

    <head>
       [...] // 46 lines skipped
    </head>
   
    <body>
       [...] // 512 lines skipped
    </body>

</html>
  • Error
{
    "error":{
        "message":"Invalid API key provided.",
        "code":"unauthorized",
        "details":null
    }
}

Regex

[a-z0-9]{32}

Example API key

of3ab02f3xd12ldofxc3fosc129sd241