Looking for some help. I'm using this code right now to scrape the innertext of all <li>s on a webpage where the class name is "error' (e.g. <li class="error">, within a DIV tag.
However it doesn't work when there is no DIV tag on a page. Can anyone help me to do the same thing, but without...