From 7608815cc24e96d3f4895f7c056ee8d769b678d2 Mon Sep 17 00:00:00 2001 From: Filip B Date: Fri, 24 Oct 2014 21:09:55 +0400 Subject: [PATCH] Add another motherless test This test is for videos posted in groups. URL looks like this: motherless.com/g/group_name/ID which is basically the same as motherless.com/ID So far this test fails because I haven't improved the extractor yet. --- youtube_dl/extractor/motherless.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/youtube_dl/extractor/motherless.py b/youtube_dl/extractor/motherless.py index 55f2829662..9ce080a30a 100644 --- a/youtube_dl/extractor/motherless.py +++ b/youtube_dl/extractor/motherless.py @@ -40,6 +40,20 @@ class MotherlessIE(InfoExtractor): 'thumbnail': 're:http://.*\.jpg', 'age_limit': 18, } + }, + { + 'url': 'http://motherless.com/g/cosplay/633979F', + 'md5': '0b2a43f447a49c3e649c93ad1fafa4a0', + 'info_dict': { + 'id': '633979F', + 'ext': 'mp4', + 'title': 'Turtlette', + 'categories': ['superheroine heroine superher'], + 'upload_date': '20140827', + 'uploader_id': 'shade0230', + 'thumbnail': 're:http://.*\.jpg', + 'age_limit': 18, + } } ]