|
|
@ -232,7 +232,7 @@ class TestNPOSubtitles(BaseTestSubtitles):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TestMTVSubtitles(BaseTestSubtitles):
|
|
|
|
class TestMTVSubtitles(BaseTestSubtitles):
|
|
|
|
url = 'http://www.cc.com/video-clips/kllhuv/stand-up-greg-fitzsimmons--uncensored---too-good-of-a-mother'
|
|
|
|
url = 'http://www.cc.com/video-clips/p63lk0/adam-devine-s-house-party-chasing-white-swans'
|
|
|
|
IE = ComedyCentralIE
|
|
|
|
IE = ComedyCentralIE
|
|
|
|
|
|
|
|
|
|
|
|
def getInfoDict(self):
|
|
|
|
def getInfoDict(self):
|
|
|
@ -243,7 +243,7 @@ class TestMTVSubtitles(BaseTestSubtitles):
|
|
|
|
self.DL.params['allsubtitles'] = True
|
|
|
|
self.DL.params['allsubtitles'] = True
|
|
|
|
subtitles = self.getSubtitles()
|
|
|
|
subtitles = self.getSubtitles()
|
|
|
|
self.assertEqual(set(subtitles.keys()), set(['en']))
|
|
|
|
self.assertEqual(set(subtitles.keys()), set(['en']))
|
|
|
|
self.assertEqual(md5(subtitles['en']), 'b9f6ca22a6acf597ec76f61749765e65')
|
|
|
|
self.assertEqual(md5(subtitles['en']), '78206b8d8a0cfa9da64dc026eea48961')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TestNRKSubtitles(BaseTestSubtitles):
|
|
|
|
class TestNRKSubtitles(BaseTestSubtitles):
|
|
|
|