I have this list :
>>print(new_list)
[<None></None>]
[<None></None>, <img border="0" data-original-height="855" data-original-width="1885" src="https://1.bp.blogspot.com/-mq2ilVOcyPQ/X70khVD9UaI/AAAAAAAArLw/xC2LggPdcRUTm3aTGpPFYhoM6rDJwbyzACLcBGAsYHQ/s16000-rw/ssc-admit-card.webp"/>]
[<None></None>]
When I try to loop :
for p in new_list:
print(p['src'])
I get this error :
TypeError: 'NoneType' object is not subscriptable
How can I loop and get the items without the error?