mcs07/ChemSpiPy

Add support for https

Closed this issue · 2 comments

Chemspider supports https, however the api does not give the option to request address is https format. This causes issues if content from chemspider is displayed on an https website. Can this be added?

mcs07 commented

Good idea. You might be able to do this now by doing something like

cs = ChemSpider(api_url='https://www.chemspider.com')

I will have a go and if it looks fine, I'll switch that to the default behaviour.

Thanks for the quick reply! Unfortunately this doesn't seem to work:

chemspider

Let me know if you can't look at this and I can have a go at submitting a pull request.