skip to Main Content

How to extract data from html response using python?

I'm trying to extract some of the data from an HTML response I'm getting after executing an API in Python. Here is the HTML response I get: <?xml version="1.0" ?> <mgmtResponse responseType="operation" requestUrl="https://6.7.7.7/motion/api/v1/op/enablement/ethernet/summary?deviceIpAddress=10.3.4.3" rootUrl="https://6.7.7.7/webacs/api/v1/op"> <ethernetSummaryDTO> <CoredIdentityCapable>false</CoredIdentityCapable> <currentIcmpLatency>0</currentIcmpLatency> <deviceAvailability>100</deviceAvailability> <deviceName>TRP5504.130.Cored.com</deviceName> <deviceRole>Unknown</deviceRole>…

VIEW QUESTION

Set time to live in Azure Blob containers created using BlobServiceClient

I'm currently using the following setup to create containers in an Azure Storage Account, and writing blobs to those containers: from azure.storage.blob import BlobServiceClient connstr = "..." bsc = BlobServiceClient.from_connection_string(connstr) container_client = bsc.create_container(name="some_container") blob_client = container_client.upload_blob("some_blob", data="data_item", metadata={}) but nowhere…

VIEW QUESTION
Back To Top
Search