]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[generic] Add all test attributes for embedly (#2447)
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 5 Mar 2014 13:05:44 +0000 (14:05 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 5 Mar 2014 13:05:50 +0000 (14:05 +0100)
In the future, we may want to not only print something, but throw an error for untested properties.

youtube_dl/extractor/generic.py

index 7b52dacd98b98a0544de9eebf069e8dcf8ff57c5..7a2e5dee0469e4e03ea0f97c7657f44c104cb266 100644 (file)
@@ -123,6 +123,11 @@ class GenericIE(InfoExtractor):
             'info_dict': {
                 'id': '9ODmcdjQcHQ',
                 'ext': 'mp4',
+                'title': 'Tested: Grinding Coffee at 2000 Frames Per Second',
+                'upload_date': '20140225',
+                'description': 'md5:06a40fbf30b220468f1e0957c0f558ff',
+                'uploader': 'Tested',
+                'uploader_id': 'testedcom',
             },
             # No need to test YoutubeIE here
             'params': {