Depends on what's been done to the wiring, you may be able to put it back together.
Buying another pair of headlights seems like a waste, unless it comes with all the ballasts/bulbs/wiring.
What's wrong with it now? If it has shitty blue bulbs, replace it with some nice 4300K bulbs and enjoy? How long does it take to warm up?