From 19e130cedf09d035a8b910344745a46ec7d3c200 Mon Sep 17 00:00:00 2001 From: Sergey M Date: Thu, 19 Oct 2017 04:44:58 +0700 Subject: [PATCH] Update unity.py --- youtube_dl/extractor/unity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/unity.py b/youtube_dl/extractor/unity.py index 793346ac0..73daacf29 100644 --- a/youtube_dl/extractor/unity.py +++ b/youtube_dl/extractor/unity.py @@ -5,7 +5,7 @@ from .youtube import YoutubeIE class UnityIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?unity3d\.com/learn/tutorials/(?:.*)/(?P[0-9a-zA-Z-]+)' + _VALID_URL = r'https?://(?:www\.)?unity3d\.com/learn/tutorials/(?:[^/]+/)*(?P[^/?#&]+)' _TESTS = [{ 'url': 'https://unity3d.com/learn/tutorials/topics/animation/animate-anything-mecanim', 'info_dict': {