Merge pull request #12869 from Tithen-Firion/cbc-update-tests
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 29 Apr 2017 13:34:18 +0000 (21:34 +0800)
committerGitHub <noreply@github.com>
Sat, 29 Apr 2017 13:34:18 +0000 (21:34 +0800)
[cbc] update test cases

youtube_dl/extractor/cbc.py

index cf678e7f843225f00a69546c59ba27a2b9c93c3d..87ad14e914132f099e30cc300254b40cb10f8f61 100644 (file)
@@ -96,6 +96,7 @@ class CBCIE(InfoExtractor):
         'info_dict': {
             'title': 'Keep Rover active during the deep freeze with doggie pushups and other fun indoor tasks',
             'id': 'dog-indoor-exercise-winter-1.3928238',
+            'description': 'md5:c18552e41726ee95bd75210d1ca9194c',
         },
         'playlist_mincount': 6,
     }]
@@ -165,12 +166,11 @@ class CBCPlayerIE(InfoExtractor):
             'uploader': 'CBCC-NEW',
         },
     }, {
-        # available only when we add `formats=MPEG4,FLV,MP3` to theplatform url
         'url': 'http://www.cbc.ca/player/play/2164402062',
-        'md5': '17a61eb813539abea40618d6323a7f82',
+        'md5': '33fcd8f6719b9dd60a5e73adcb83b9f6',
         'info_dict': {
             'id': '2164402062',
-            'ext': 'flv',
+            'ext': 'mp4',
             'title': 'Cancer survivor four times over',
             'description': 'Tim Mayer has beaten three different forms of cancer four times in five years.',
             'timestamp': 1320410746,