1. Apply a webhook service to request your target data and store them to DB.
    • Webhook service performs a request to your server (where your data are) or static data files (CSV/XSL)
    • Your app or script replies [to a hook request] with data to a webhook service. Usually a POST request.
    • A webhook service adds that fetched data to your SQL server (db) as a new record.

    Alternative:
    As an alternative you might implement data POST-ing to your storing script.
    (1) POSTing data to a storing script (php):

    (2) script.php to get the POST data and store it to SQL server (php):

     

  2. Make a DB connection in your script.
    Config (python):

    Connection (python):

    Actual storing (python):

     

  3. Use a preinstalled DB connection feature within a scraping software or service, if using any. See this landscape page showing multiple scraping services, where you can filter them out by selecting a needed feature of the web scraping tool. Press DB connection option to see the services implementing it:db_connection_in_scraping_tool
  4. Also, if you’re going to run your own server, you also have the option of not using a web hook at all. Your server can subscribe to the events directly using server-sent events (SSE). Once you have the the data from the events you can do whatever you want with it, including storing it in a SQL database. (source)

Welcome your comments and suggestions.