FWIW, here are the OpenSecrets data on Oil and Gas contributions. It's a helpful website as others have noted on campaign contributions of all kinds. 9 of the top 10 recipients are Republican. 18 of the top 20. Harris is a distant second on the list behind Trump. The next highest Democrat recipient is 13th and is a Congressional candidate from Texas, which makes sense. You'll see that many GOP Congressional candidates are also from oil producing states.
It is worth noting that there is more dark and grey money being contributed beyond these amounts. Since Citizens United and related rulings, it's become far too easy to contribute huge amounts of money to influence our elections without disclosure. That does impact both sides but the GOP has generally taken greater advantage of that type of political activity. (But the Dems aren't innocent either).
What is clear (and I sadly see some comments supporting this on here), too many in the GOP today buy into a lot of anti-Solar and clean energy narratives. Conservatives are so much more likely than Progressives to believe the bad information being peddled about the industry overall. (Progressives for their part are far too likely to believe other false narratives).
The opposition is very clear in this administration - across the board. We see it in the carving back of the legislation that started the post, the killing (often for just punitive reasons with DC's current budget disfunction) of grid-scale solar and wind in recent days, the residential tax credit that has us all spending far too much this year while we still can get that.
It's unfortunate, why give the important industry and economic sector to China? Whatever country really figures out residential and grid-scale solar and clean energy wins big (add the EV industry as well). Future national economic success will not be found in the energy resources of the last century.