According to the guy who shot this with a Brazilian potato-cam, the boa constrictor attacked a porcupine, which managed to escape after leaving a few hundred spines in its attacker.
Whoever put this on YouTube retitled it with some bogus information. The quills did not burst through the snake after being eaten, according to the guy who captured the scene.
I feel bad for the snake, but I'm also glad for the porcupine. And I don't speak doggo, but I think the doggo is saying, "No snek! No hug arrow pig!"