浏览代码

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.
Filip B 11 年之前
父节点
当前提交
7608815cc2
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      youtube_dl/extractor/motherless.py

+ 14 - 0
youtube_dl/extractor/motherless.py

@@ -40,6 +40,20 @@ class MotherlessIE(InfoExtractor):
                 'thumbnail': 're:http://.*\.jpg',
                 'thumbnail': 're:http://.*\.jpg',
                 'age_limit': 18,
                 '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,
+            }
         }
         }
     ]
     ]