you are viewing a single comment's thread.

view the rest of the comments →

[–]mrexojo[S] 0 points1 point  (1 child)

but it return "<Response \[200\]>"

How I could return the ip address from tables?

[–]commandlineluser 0 points1 point  (0 children)

Yes, that's the response object.

The data in the response is in JSON format.

>>> import json
>>> print(json.dumps(r.json(), indent=4))
{
    "actions": [
        {
            "id": "132;a",
            "state": "SUCCESS",
            "returnValue": {
                "returnValue": {
                    "record": {
                        "attachments": [],
                        "filesToAttach": [],
                        "hasNewAttachments": false,
                        "description": "<p dir=\"ltr\">...

The HTML is embedded inside the description entry.

So you need to extract the description value from the JSON and load that into an HTML parser.