As the link I provided states, those flares don’t normally last long. It gets tied into local gathering systems and goes to gas treatment plants.
What about something like a ‘refinery-in-a-box’ or on a tractor trailer, that could take a very small portion of the crude being pumped to generate power? Then pump the unused portion back into the pipeline. Not cost effective?.........