diff options
author | Mohammad Teimori Pabandi <mtp1376@gmail.com> | 2015-03-26 19:47:34 +0430 |
---|---|---|
committer | Mohammad Teimori Pabandi <mtp1376@gmail.com> | 2015-03-26 19:47:34 +0430 |
commit | a7fce980adeb12afd94e4414cc6a6b37021f6aa4 (patch) | |
tree | 9b1a3a1388c10eda8561c81bdca2a377c9d5b048 /youtube_dl/extractor/varzesh3.py | |
parent | db40364b8767839cc1abf5ece53511167d70f792 (diff) |
removed one of tests that made problem with testing server
Diffstat (limited to 'youtube_dl/extractor/varzesh3.py')
-rw-r--r-- | youtube_dl/extractor/varzesh3.py | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/youtube_dl/extractor/varzesh3.py b/youtube_dl/extractor/varzesh3.py index 85dcd8734..cb3fdacff 100644 --- a/youtube_dl/extractor/varzesh3.py +++ b/youtube_dl/extractor/varzesh3.py @@ -9,21 +9,7 @@ import re class Varzesh3IE(InfoExtractor): _VALID_URL = r'(?P<url>(https?://(?:www\.)?video\.varzesh3\.com)/(?P<id>.+))' - _TESTS = [ - { - 'url': 'http://video.varzesh3.com/video/%D8%AF%D8%A7%D9%86%D9%85%D8%A7%D8%B1%DA%A9-3-2-%D8%A2%D9%85%D8%B1%DB%8C%DA%A9%D8%A7/', - 'md5': 'c4b850780df9374b078463c5cf6b3318', - 'info_dict': { - 'url': 'http://dl1.video.varzesh3.com/video/clip94/1/international/friendly/usa_2_3_danmark.mp4', - 'id': '76464', - 'ext': 'mp4', - 'title': u'دانمارک ۳-۲ آمریکا (گلهای بازی)', - 'thumbnail': 'http://video.varzesh3.com/wp-content/uploads/250315_usa_danmark_site.jpg', - 'description': u'بازی دوستانه ۲۰۱۵', - - } - }, - { + _TEST ={ 'url': 'http://video.varzesh3.com/germany/bundesliga/5-%D9%88%D8%A7%DA%A9%D9%86%D8%B4-%D8%A8%D8%B1%D8%AA%D8%B1-%D8%AF%D8%B1%D9%88%D8%A7%D8%B2%D9%87%E2%80%8C%D8%A8%D8%A7%D9%86%D8%A7%D9%86%D8%9B%D9%87%D9%81%D8%AA%D9%87-26-%D8%A8%D9%88%D9%86%D8%AF%D8%B3/', 'md5': '2a933874cb7dce4366075281eb49e855', 'info_dict': { @@ -34,8 +20,7 @@ class Varzesh3IE(InfoExtractor): 'thumbnail': 'http://video.varzesh3.com/wp-content/uploads/230315_saves_week26.jpg', 'description': u'فصل ۲۰۱۵-۲۰۱۴', } - }, - ] + } def _real_extract(self, url): video_id = self._match_id(url) |