From: Filip B Date: Fri, 24 Oct 2014 17:44:21 +0000 (+0400) Subject: Add group videos support for motherless X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=7f9ced64cbd33e597287de2f67b7862af123bb7b;p=youtube-dl 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. --- 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',