Error in scraping some url with Python request

I am new to python and requests. I am having the following error with some url but not others, can anybody help? Thanks! What works: import requests res = requests.get(‘https://finance.yahoo.com/quote/AAPL?p=AAPL’) What does not work: import requests res = requests.get(‘https://volumebot.com/?s=aapl’) Error I am getting: requests.exceptions.SSLError: HTTPSConnectionPool(host=’volumebot.com’, port=443): Max retries exceeded with url: /?s=aapl (Caused by SSLError(SSLError(1,…

Details

How to set same borderColor and backgroundColor in chartjs javascript

I have implemented the line chart using chartjs, Each time when chart loads, generating random colors, but how to set the same color for backgroundColor and borderColor dataset looks like, var data = [{ label: “records”, data: [2, 4 ,20,10], fill: false, backgroundColor: this.generateColor(), borderColor: this.generateColor(), borderWidth: 1 },{ label: “amount”, data: [100, 200, 500,50],…

Details