Abstract: A gas extractor for processing crude oil to provide the energy to power an internal combustion engine driving a conventional oil pumping unit. the extractor comprises a vertical tank, an extractor chamber, an exhaust gas pipe passing through the tank with a plurality of baffle pans mounted longitudinally thereon; a crude oil reservoir in the top of the tank, valve means controlling the rate of oil flow from the reservoir to the upper baffle pan; means to vary the amount of exhaust gases passed through the exhaust pipe to control the temperature of the extractor chamber; a gas outlet passage, air inlet passage and oil drain passages in the extractor chamber, each adjacent baffle pan being oppositely tilted and having a drain opening at its lower side whereby the oil passing through the extractor flows across each adjacent oil pan before being drained from the extractor.