A Florida man who allegedly made cellphone videos of himself harassing female shoppers inside Walmart and posted them on YouTube has been arrested.

Hector Rivera, 26, is accused of strolling through Lake County, Florida, stores and looking for women to record on his cellphone.

"So I'm at Walmart right now. I want to see how many random people are willing to take a selfie," Rivera said in one video.

Rivera has uploaded numerous videos of his encounters to YouTube and social media accounts.

"Hey, excuse me? Can I tell you something real quick?" Rivera said in another clip.

"Why are you recording me?" a woman replied.

Rivera was arrested when he allegedly made sexual comments to a Walmart employee and put his arm around her. The worker reported it to store management, who then called deputies.

Deputies said surveillance video showed the incident and a clip of the encounter was found on the Internet. Investigators used that clip to determine it was Rivera posting the videos.

Rivera was charged with battery and disorderly conduct. He has since bonded out of the Lake County Jail.