in reply to Re^3: Parse html file
in thread Parse html file

Thanks tangent, your solution pulled the data.

any idea what this error is referring to?

Can't call method "as_text" on an undefined value

Replies are listed 'Best First'.
Re^5: Parse html file
by tangent (Parson) on Sep 24, 2018 at 19:28 UTC
    There are probably some divs with class 'formline' but without the interior divs - I have updated the code above to deal with that.

      Hi tangent,

      Could this code be modified to extract this kind of output?

      hr div Relay Status Information br div div FillDB File Size Limit: div 0.0% ( 0 / 3145728 Bytes ) div div FillDB File Count Limit: div 0.0% ( 0 / 10000 Files ) div div Timeout for queries in queue: div 60 minutes div div Size of queries in queue: div 0.0% ( 0 / 104857600 Bytes ) div div Size of results queue: div 0.0% ( 0 / 104857600 Bytes ) br

      Thanks

        That's just a SMOP. What did you try and how did it fail?