Hello all, (I’m still quite new to this so sorry if this is a dumb question)
I am currently running a bot which scrapes varying datatables from webpages (they have customer information) and some tables have entries which others don’t. I have to output these as a ‘dictionary’ to log them, but the bot falls down if the entry is missing.
Eg: when it goes to log ‘company name’ it fails if the customer is independent and not of a company.
How would I skip over this to keep going? Ideally, I’m going to write this to a JSON file which is going to be sent to a server when all is complete.
Thanks for your help.