The spider-web-covered "yalynka" (Christmas tree) is now a standard Ukrainian Christmas story. It comes in many versions, and has appeared in a number of contemporary children's books.
The various embellishments of the story depend upon the teller and the tale. Another version has the Holy Family hiding in a cave during their flight to Egypt. The benevolent spiders spin webs and cover the whole entrance to the cave. When Herod's soldiers pass by, they do not bother searching the cave, because obviously it has not been disturbed in a long time - and the Holy Family is safe.