kyper-data / python-highcharts

A simple translation layer between Python and Javascript for Highcharts projects (highcharts, highmaps, and highstocks).
MIT License
393 stars 190 forks source link

I think this url is not valid anymore #80

Open crlqjx opened 3 years ago

crlqjx commented 3 years ago

https://github.com/kyper-data/python-highcharts/blob/a4c488ae5c2e125616efad5a722f3dfd8a9bc450/examples/highstock/candlestick-and-volume.py#L10

slowtoaccept commented 3 years ago

I guess this repository is dead. I have the same problem from highcharts import Highstock from highcharts.highstock.highstock_helper import jsonp_loader H = Highstock()

data_url = 'http://www.highcharts.com/samples/data/jsonp.php?filename=aapl-c.json&callback=?' data = jsonp_loader(data_url, sub_d = r'(\/*.\\/)') # to remove the comment in json doc from the url Error 1020 Ray ID: 63d4d686fdc538db • 2021-04-09 15:41:09 UTC

Response: Access denied What happened? This website is using a security service to protect itself from online attacks.

Cloudflare Ray ID: 63d4d686fdc538db • Your IP: 24.2.134.225 • Performance & security by Cloudflare

crlqjx commented 3 years ago

I am not using this package anymore. I think it's better to use the highcharts API directly, it's easy once you understand the logic

https://www.highcharts.com/docs/index

slowtoaccept commented 3 years ago

Thanks criqjx.