Try this
My carpet cleaning guy has a product he uses and sells. One day he let me in on a little secret. Mix 1 cup of Hydrogen Peroxide and 1 tablespoon of Ammonia. Put in a spray bottle and shake. Spray onto the fabric and plot. If the spot remains you can leave it on for about 20 minutes.
Two things to note
1) the mix only works for one hour and will need to be dumped.
2) test somewhere no one will see.
99% of the stains on my carpet and upholstery in my house and TT have been treated with this and it work great. The only one it could not get out was permanent marker. I ended up using a magic eraser for that one.
Please remember I did not tell you this secret!