[shahid] change the tests
authorremitamine <remitamine@gmail.com>
Fri, 7 Aug 2015 20:38:50 +0000 (21:38 +0100)
committerremitamine <remitamine@gmail.com>
Fri, 7 Aug 2015 20:38:50 +0000 (21:38 +0100)
youtube_dl/extractor/shahid.py

index 57c1598333c6e95fb18e001bea88ebd0dd6793f7..b2050525eb3ad96ece9693c1e6a08eed1085a87b 100644 (file)
@@ -13,13 +13,13 @@ class ShahidIE(InfoExtractor):
     _VALID_URL = r'https?://shahid\.mbc\.net/ar/episode/(?P<id>\d+)/?'
     _TESTS = [
         {
-            'url': 'https://shahid.mbc.net/ar/episode/108084/%D8%AE%D9%88%D8%A7%D8%B7%D8%B1-%D8%A7%D9%84%D9%85%D9%88%D8%B3%D9%85-11-%D8%A7%D9%84%D8%AD%D9%84%D9%82%D8%A9-1.html',
+            'url': 'https://shahid.mbc.net/ar/episode/90574/%D8%A7%D9%84%D9%85%D9%84%D9%83-%D8%B9%D8%A8%D8%AF%D8%A7%D9%84%D9%84%D9%87-%D8%A7%D9%84%D8%A5%D9%86%D8%B3%D8%A7%D9%86-%D8%A7%D9%84%D9%85%D9%88%D8%B3%D9%85-1-%D9%83%D9%84%D9%8A%D8%A8-3.html',
             'info_dict': {
-                'id': '108084',
+                'id': '90574',
                 'ext': 'm3u8',
-                'title': 'Ø®Ù\88اطر Ø§Ù\84Ù\85Ù\88سÙ\85 11 Ø§Ù\84Ø­Ù\84Ù\82Ø© 1',
-                'description': 'بسÙ\85 Ø§Ù\84Ù\84Ù\87',
-                'duration': 1166,
+                'title': 'اÙ\84Ù\85Ù\84Ù\83 Ø¹Ø¨Ø¯Ø§Ù\84Ù\84Ù\87 Ø§Ù\84Ø¥Ù\86ساÙ\86 Ø§Ù\84Ù\85Ù\88سÙ\85 1 Ù\83Ù\84Ù\8aب 3',
+                'description': 'اÙ\84Ù\81Ù\8aÙ\84Ù\85 Ø§Ù\84Ù\88ثائÙ\82Ù\8a - Ø§Ù\84Ù\85Ù\84Ù\83 Ø¹Ø¨Ø¯ Ø§Ù\84Ù\84Ù\87 Ø§Ù\84Ø¥Ù\86ساÙ\86',
+                'duration': 2972,
             },
             'params': {
                 # m3u8 download
@@ -28,7 +28,7 @@ class ShahidIE(InfoExtractor):
         },
         {
             # shahid plus subscriber only
-            'url': 'https://shahid.mbc.net/ar/series/90497/%D9%85%D8%B1%D8%A7%D9%8A%D8%A7-2011.html',
+            'url': 'https://shahid.mbc.net/ar/episode/90511/%D9%85%D8%B1%D8%A7%D9%8A%D8%A7-2011-%D8%A7%D9%84%D9%85%D9%88%D8%B3%D9%85-1-%D8%A7%D9%84%D8%AD%D9%84%D9%82%D8%A9-1.html',
             'only_matching': True
         }
     ]