Capturing a category value
I am trying to scrape a page for earnings details. The target page may be in two sections "Earnings Releases-Confirmed" and "-Proposed". "Confirmed" comes first, and I have a pattern which finds that.
Going down through the page, you hit the "...Proposed" section and I want to change my CONFPROP variable at that point to "Proposed" and keep on extracting to the end, effectively capturing the CONFPROP variable value for the database.
I have scrapeable files for the CONFPROP and for the details, but I need them to work together for the session so I wind up with a database like this:
Confirmed, .....data from detail lines ....
. .......................................................
.
..........................................................
Proposed, ....data from detail lines ...
...........................................................
.
..........................................................
End
Capturing a category value
Just realized this should be in support forum. I'll move it.
Followup
Got the CONFPROP value. Using a main-sub pattern to get the details but now I need to match only in the "Confirmed" section and capture the "Proposed" value down the page before matching more detail lines.