From: "Rego, P." <pvrego@gmail.com>
Subject: Simple parse from https website
Date: Thu, 2 Apr 2020 06:58:10 -0700 (PDT)
Date: 2020-04-02T06:58:10-07:00 [thread overview]
Message-ID: <7dc6d888-696c-4936-b678-66e1c8198449@googlegroups.com> (raw)
Hi folks, how are you? I hope everyone is safe and healthy.
I am trying to make a simple parser for an https website push, so trying to follow from the example from http://rosettacode.org/wiki/HTTP#Ada, just changing the address from a website.
So I tried
with Ada.Text_IO; use Ada.Text_IO;
with AWS.Client;
with AWS.Response;
procedure Main_Other is
begin
Put_Line (AWS.Response.Message_Body
(AWS.Client.Get
(URL => "https://google.com")));
end Main_Other;
But I got an exception
raised PROGRAM_ERROR : aws-client.adb:398 finalize/adjust raised exception
[2020-04-02 10:41:20] process exited with status 1, elapsed time: 00.80s
So, any thoughts on how to fix that?
I'd like to parse the current status of some tables in a website, similar of making something like that in Python
import pandas as pd
def retrieve_json(json_url):
return pd.read_json(json_url)
Thanks
Pablo.
next reply other threads:[~2020-04-02 13:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-02 13:58 Rego, P. [this message]
2020-04-02 14:24 ` Simple parse from https website Egil H H
2020-04-02 14:44 ` Rego, P.
2020-04-03 9:35 ` Björn Lundin
2020-04-03 12:04 ` Rego, P.
2020-04-02 14:42 ` Dmitry A. Kazakov
2020-04-02 14:48 ` Rego, P.
2020-04-02 17:16 ` Dmitry A. Kazakov
2020-04-02 18:27 ` Rego, P.
2020-04-02 19:05 ` Dmitry A. Kazakov
2020-04-02 19:34 ` Rego, P.
2020-04-03 5:19 ` Jere
2020-04-03 12:13 ` Rego, P.
2020-04-03 12:30 ` Rego, P.
2020-04-03 12:49 ` Dmitry A. Kazakov
2020-04-03 6:47 ` Dmitry A. Kazakov
2020-04-03 12:42 ` Rego, P.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox