YouTube_DL: Fix für m.youtube.com Links

This commit is contained in:
Andreas Bielawski 2016-08-12 01:26:28 +02:00
parent e018760317
commit 525529aff9

View File

@ -3,11 +3,11 @@ local youtube_dl = {}
function youtube_dl:init(config) function youtube_dl:init(config)
youtube_dl.triggers = { youtube_dl.triggers = {
"^/(mp4) https?://w?w?w?%.?youtu.be/([A-Za-z0-9-_-]+)", "^/(mp4) https?://w?w?w?%.?youtu.be/([A-Za-z0-9-_-]+)",
"^/(mp4) https?://w?w?w?%.?youtube.com/embed/([A-Za-z0-9-_-]+)", "^/(mp4) https?://w?w?w?m?%.?youtube.com/embed/([A-Za-z0-9-_-]+)",
"^/(mp4) https?://w?w?w?%.?youtube.com/watch%?v=([A-Za-z0-9-_-]+)", "^/(mp4) https?://w?w?w?m?%.?youtube.com/watch%?v=([A-Za-z0-9-_-]+)",
"^/(mp3) https?://w?w?w?%.?youtu.be/([A-Za-z0-9-_-]+)", "^/(mp3) https?://w?w?w?m?%.?youtu.be/([A-Za-z0-9-_-]+)",
"^/(mp3) https?://w?w?w?%.?youtube.com/embed/([A-Za-z0-9-_-]+)", "^/(mp3) https?://w?w?w?m?%.?youtube.com/embed/([A-Za-z0-9-_-]+)",
"^/(mp3) https?://w?w?w?%.?youtube.com/watch%?v=([A-Za-z0-9-_-]+)" "^/(mp3) https?://w?w?w?m?%.?youtube.com/watch%?v=([A-Za-z0-9-_-]+)"
} }
youtube_dl.doc = [[* youtube_dl.doc = [[*