Add another motherless test
authorFilip B <b_filip@zoho.com>
Fri, 24 Oct 2014 17:09:55 +0000 (21:09 +0400)
committerFilip B <b_filip@zoho.com>
Fri, 24 Oct 2014 17:43:27 +0000 (21:43 +0400)
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

index 55f2829662c4993e7d99acfba676139a90ec4930..9ce080a30a1d83ceed0aa72586764ae85af15912 100644 (file)
@@ -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,
+            }
         }
     ]