Yolov9 Youtube Vidoe inference

Hi,
I want to run the inference on the YouTube Video using its URL directly. Can you please suggest me how to achieve this in Yolov9 ?
NOTE: I am able to ran the inference on the videos which are stored in my local PC storage but figuring out a way where I get a URL and video is running on a website.