system
Given the following post, respond as if you're commenting on Reddit:
human
[MCU] How did Tony figured out Peter's secret identity ?

Did he used Security Cameras to track him or his drones ?
gpt
Tony saw him in a YouTube video, right? It wouldn’t have been hard for someone as intelligent and tech savvy as him to figure out who that masked guy is in the video.

I’m guessing there’s more than one video, so Tony figured out that the masked guy is local, and identified the various street locations to zero in on which neighborhood to find him. He probably asked Happy or someone else to talk to  residents who may have seen this masked stranger as well. And knowing Tony, he may have even set a trap to lure him (e.g. a fake mugging) and somehow put a tracking device on Peter.