skip to Main Content

Why can't get json as the right response?

Open the url https://hnx.vn/en-gb/cophieu-etfs/chung-khoan-ny.html with browser,then click page 2 ,you can see that the content in response is a json. I build a request with urllib to get the json: import urllib.request import ssl,json base_url = "https://hnx.vn/ModuleIssuer/List/ListSearch_Datas" proxy_handler = urllib.request.ProxyHandler({'https':…

VIEW QUESTION

reformat json output with jq

My input data looks like this { "objects": [ { "statistics": [ { "dataType": 0, "value": 0.0, "id": 18 }, { "dataType": 1, "value": 0, "id": 89 }, { "dataType": 0, "value": 35.0, "id": 91 }, { "dataType": 0, "value":…

VIEW QUESTION
Back To Top
Search