I saw something similar, only they used a female plug on a pigtail connected to the main. They used a “dead man Cord” (heavy duty extension cord with twist lock male plug on each end) to connect to the generator receptacle.
I wonder if these people realize that dumb luck is the only reason they are alive?