I'm writing a small script for scraping and I ran into the error "TypeError: 'NoneType' object is not subscriptable.

I have never before seen this error, so I have no idea what it means.

```
import bs4
import requests

myUrl = "https://www.houzz.com/professionals/searchDirectory? topicId=11785&query=Interior+Designers+%26+Decorators&location=Texas&distance=0&sort=4"                                                
data=requests.get(myUrl)
soup=bs4.BeautifulSoup(data.text,'html.parser')
listing = soup.find_all('div', class_="hz-pro-search-result__profile- desc")
for li in listing:
  myurl = li
  res = myurl.a['href']
  print(res)

```

The error:

```
File "C:\Users\Hp\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "C:/Users/Hp/.spyder-py3/houzz.py", line 20, in <module>
res = myurl.a['href']

TypeError: 'NoneType' object is not subscriptable

```