I'm trying to web scrape the first headline from the yahoo finance press release page, so in this case:
"Nutriband Inc. Signs Exclusive Manufacturing Agreement for Diocheck(TM) Visual COVID-19 Antibody Indicator Patch"
from the URL: https://finance.yahoo.com/quote/NTRB/press-releases
the formula:
=IMPORTXML("https://finance.yahoo.com/quote/NTRB/press-releases", "//*[@id="summaryPressStream-0-Stream"]/ul/li[1]/div/div/div[1]/h3/a/text()")
gives me a parsing error, which I'm guessing is from the double quotation marks around "summaryPressStream-0-Stream"
Replacing the double quotations with single quotations,
i.e. =IMPORTXML("https://finance.yahoo.com/quote/NTRB/press-releases", "//*[@id='summaryPressStream-0-Stream']/ul/li[1]/div/div/div[1]/h3/a")
results in a resource not found at URL error. Maybe I have the xpath wrong? I've tried all the xpath's near that section but just can't seem to get it working.
Does anyone know how to solve this issue?