Seeing the gross polluter was pretty entertaining... I'm trying not to laugh too hard because karma comes around.
I dropped close to $1k at Gushi auto a couple of months ago just to get my car to pass smog properly. (Mine was not as bad as yours though...) I needed the o rings replaced on my injectors, new spark plugs, changed the spark plug wires, distributor cap and rotor, new CA magnaflow cat, knock sensor... I feel like I'm forgetting something, but yeah... Expensive stuff, but my car is super clean now!
Good luck.