From 7f9ced64cbd33e597287de2f67b7862af123bb7b Mon Sep 17 00:00:00 2001 From: Filip B Date: Fri, 24 Oct 2014 21:44:21 +0400 Subject: [PATCH] Add group videos support for motherless Modified motherless regular expression. Previously it matched only URLs like this: motherless.com/ID Now it also matches this: motherless.com/g/group_name/ID All tests including the newly added one passed. --- youtube_dl/extractor/motherless.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/motherless.py b/youtube_dl/extractor/motherless.py index 9ce080a30..50083bd4a 100644 --- a/youtube_dl/extractor/motherless.py +++ b/youtube_dl/extractor/motherless.py @@ -11,7 +11,7 @@ from ..utils import ( class MotherlessIE(InfoExtractor): - _VALID_URL = r'http://(?:www\.)?motherless\.com/(?P[A-Z0-9]+)' + _VALID_URL = r'http://(?:www\.)?motherless\.com/(?:g/[a-z0-9_]+/)?(?P[A-Z0-9]+)' _TESTS = [ { 'url': 'http://motherless.com/AC3FFE1',