No this is not the National Enquirer. It really happened to Lilly the Dachshund in South Africa:
“The giant python’s body was already curled around my dog, four times. Lilly’s head was inside its jaws, and the reptile was starting to swallow her,” said Elske.
After fighting off the snake, giving some mouth-to-mouth resuscitation, and taking the injured pup for emergency veterinary care, Elske was rewarded when Lilly fully recovered and gave birth to six pups.