NSEPython not working in Macbook

Hi I am facing an error using nsepython lib in MacBook. same code in windows is working fine, Following is the error I get. Please help me resolve this. Many thanks
Traceback (most recent call last):
Python Shell, prompt 2, line 353
builtins.StopIteration: 0

During handling of the above exception, another exception was raised:

Traceback (most recent call last):
Python Shell, prompt 2, line 1
# Used internally for debug sandbox under external interpreter
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/nsepython/rahu.py”, line 304, in nse_fno
payload = nsefetch('https://www.nseindia.com/api/quote-derivative?symbol='+symbol)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/nsepython/rahu.py”, line 18, in nsefetch
output = requests.get(payload,headers=headers).json()
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/requests/models.py”, line 897, in json
return complexjson.loads(self.text, **kwargs)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/init.py”, line 346, in loads
return _default_decoder.decode(s)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

nse_fno(“BANKNIFTY”)[‘underlyingValue’]

I do not own Macbook. I am unable to replicate the issue. No clue.