1 2 3 4 5 6 7 8 9 10
from importer.providers.youtube_dl_base import YoutubeDlProviderBase class Youtube(YoutubeDlProviderBase): regex = "^.*\\.youtube\\.com.*$" format = "bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio" _TEST = [{ "url": "https://www.youtube.com/watch?v=Wjrrgrvq1ew", "paths": ["source_Wjrrgrvq1ew.mp4"] }]