On running the above code, I am getting this error
File "C:\Users\dell.conda\envs\DataCollection\lib\threading.py", line 953, in run
self._target(*self._args, self._kwargs)
File "C:\Users\dell.conda\envs\DataCollection\lib\site-packages\icrawler\parser.py", line 104, in worker_exec
for task in self.parse(response, kwargs):
File "C:\Users\dell.conda\envs\DataCollection\lib\site-packages\icrawler\builtin\bing.py", line 125, in parse
href_str = html.unescape(div.a['m'])
File "C:\Users\dell.conda\envs\DataCollection\lib\site-packages\bs4\element.py", line 1573, in getitem
return self.attrs[key]
KeyError: 'm'
On running the above code, I am getting this error
File "C:\Users\dell.conda\envs\DataCollection\lib\threading.py", line 953, in run self._target(*self._args, self._kwargs) File "C:\Users\dell.conda\envs\DataCollection\lib\site-packages\icrawler\parser.py", line 104, in worker_exec for task in self.parse(response, kwargs): File "C:\Users\dell.conda\envs\DataCollection\lib\site-packages\icrawler\builtin\bing.py", line 125, in parse href_str = html.unescape(div.a['m']) File "C:\Users\dell.conda\envs\DataCollection\lib\site-packages\bs4\element.py", line 1573, in getitem return self.attrs[key] KeyError: 'm'