aboutsummaryrefslogtreecommitdiff
path: root/importer/providers/youtube.py
blob: d880aa0df5871788c66feb307186986beb611328 (plain)
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"]
    }]