summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-28 03:35:32 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-28 03:35:32 +0100
commit17ab4d3b5e3075d32a0a93422e40f61ef4919d7d (patch)
tree63ab5c99dcc8fa346da54d46b7326aaec436e105
parent31ef0ff03832e642fad3a6b416abb4b1c668764c (diff)
downloadyoutube-dl-17ab4d3b5e3075d32a0a93422e40f61ef4919d7d.tar.gz
youtube-dl-17ab4d3b5e3075d32a0a93422e40f61ef4919d7d.tar.xz
youtube-dl-17ab4d3b5e3075d32a0a93422e40f61ef4919d7d.zip
[brightcove] Move test to generic
-rw-r--r--youtube_dl/extractor/brightcove.py11
-rw-r--r--youtube_dl/extractor/generic.py12
2 files changed, 12 insertions, 11 deletions
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py
index 717e151d9..9ccf923a6 100644
--- a/youtube_dl/extractor/brightcove.py
+++ b/youtube_dl/extractor/brightcove.py
@@ -69,17 +69,6 @@ class BrightcoveIE(InfoExtractor):
                 'description': 'md5:363109c02998fee92ec02211bd8000df',
                 'uploader': 'National Ballet of Canada',
             },
-        },
-        {
-            # https://github.com/rg3/youtube-dl/issues/2253
-            'url': 'http://v.thestar.com/services/player/bcpid2071349530001?bckey=AQ~~,AAAAuO4KaJE~,gatFNwSKdGDmDpIYqNJ-fTHn_c4z_LH_&bctid=3101154703001',
-            'file': '3101154703001.mp4',
-            'md5': '0ba9446db037002366bab3b3eb30c88c',
-            'info_dict': {
-                'title': 'Still no power',
-                'uploader': 'thestar.com',
-                'description': 'Mississauga resident David Farmer is still out of power as a result of the ice storm a month ago. To keep the house warm, Farmer cuts wood from his property for a wood burning stove downstairs.',
-            }
         }
     ]
 
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 829e5894f..48de379b7 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -78,6 +78,18 @@ class GenericIE(InfoExtractor):
                 'skip_download': True,
             },
         },
+        {
+            # https://github.com/rg3/youtube-dl/issues/2253
+            'url': 'http://bcove.me/i6nfkrc3',
+            'file': '3101154703001.mp4',
+            'md5': '0ba9446db037002366bab3b3eb30c88c',
+            'info_dict': {
+                'title': 'Still no power',
+                'uploader': 'thestar.com',
+                'description': 'Mississauga resident David Farmer is still out of power as a result of the ice storm a month ago. To keep the house warm, Farmer cuts wood from his property for a wood burning stove downstairs.',
+            },
+            'add_ie': ['Brightcove'],
+        },
         # Direct link to a video
         {
             'url': 'http://media.w3.org/2010/05/sintel/trailer.mp4',