X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fwat.py;h=4fab6c6e8511711047e3ba9143452397a0aca0fa;hb=f1cef7a9ffcf92781e8ee81934a1bf985aefdbca;hp=6ac3912256b9eb7f4a49d999ff6aebdd5548c2f5;hpb=152c8f349d9029dc8465bef9474143567f687562;p=youtube-dl diff --git a/youtube_dl/extractor/wat.py b/youtube_dl/extractor/wat.py index 6ac391225..4fab6c6e8 100644 --- a/youtube_dl/extractor/wat.py +++ b/youtube_dl/extractor/wat.py @@ -6,23 +6,22 @@ import re from .common import InfoExtractor from ..utils import ( - compat_urllib_parse, unified_strdate, ) class WatIE(InfoExtractor): - _VALID_URL=r'http://www.wat.tv/.*-(?P.*?)_.*?.html' + _VALID_URL=r'http://www\.wat\.tv/.*-(?P.*?)_.*?\.html' IE_NAME = 'wat.tv' _TEST = { u'url': u'http://www.wat.tv/video/world-war-philadelphia-vost-6bv55_2fjr7_.html', u'file': u'10631273.mp4', - # Sometimes wat serves the whole file with the --test option u'md5': u'd8b2231e1e333acd12aad94b80937e19', u'info_dict': { u'title': u'World War Z - Philadelphia VOST', u'description': u'La menace est partout. Que se passe-t-il à Philadelphia ?\r\nWORLD WAR Z, avec Brad Pitt, au cinéma le 3 juillet.\r\nhttp://www.worldwarz.fr', - } + }, + u'skip': u'Sometimes wat serves the whole file with the --test option', } def download_video_info(self, real_id):