Explorar o código

[ooyala] Add test for missing stream['url']['data']

Sergey M․ %!s(int64=8) %!d(string=hai) anos
pai
achega
b5f523ed62
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      youtube_dl/extractor/ooyala.py

+ 5 - 0
youtube_dl/extractor/ooyala.py

@@ -140,6 +140,11 @@ class OoyalaIE(OoyalaBaseIE):
                 'title': 'Divide Tool Path.mp4',
                 'title': 'Divide Tool Path.mp4',
                 'duration': 204.405,
                 'duration': 204.405,
             }
             }
+        },
+        {
+            # empty stream['url']['data']
+            'url': 'http://player.ooyala.com/player.js?embedCode=w2bnZtYjE6axZ_dw1Cd0hQtXd_ige2Is',
+            'only_matching': True,
         }
         }
     ]
     ]