ClimberMel / SMF_Add-in

Stock Market Functions for Excel using VBA
https://climbermel.github.io/SMF_Add-in/
14 stars 5 forks source link

Elements and smfGetTagContent not working with GuruFocus #51

Open ClimberMel opened 1 year ago

ClimberMel commented 1 year ago

Elements 2725 & 2727 return Error =smfGetTagContent("https://www.gurufocus.com/dividend/AAPL","td",2,">Ex-Date","<tr") =smfGetTagContent("https://www.gurufocus.com/dividend/AAPL","h1",-1,">(Forward)","~","<")

Others that I have tried. =smfGetTagContent("https://www.gurufocus.com/stock/META/dcf","div",1,"/screener/#&industry=","Address") =smfGetTagContent("https://www.gurufocus.com/stock/META/dcf","div",1,"Teminal Value")

I have tried moving the tag using tag# from -1 to 2 or 3 and they all seem to return Error

This one: =smfGetTagContent("https://www.gurufocus.com/stock/META/dcf","span",-1,"PE Ratio") returned: