This lua script lets you import yt videos into resolve with options of choosing quality too. used codes: https://github.com/fixinPost/download-youtube-video-to-DaVinci-Resolve-mac-only-
youtube-dl (not code but this project depends on it)
ffmpeg (not code but this project depends on it)
Download ffmpeg.exe and youtube-dl.exe from elsewhere and put it with YTDL_RESOL_GUI.lua into path :
%APPDATA%/Roaming/Blackmagic Design/DaVinci Resolve/Support/Fusion/Scripts/Comp
If you're lazy as me then download and extract this zip into the above path
https://drive.google.com/file/d/1OByyyvTcVl4Wn0wk6TAXGtJU08Q8DSor/view?usp=sharing