]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/hark.py
Prepare to upload
[youtubedl] / youtube_dl / extractor / hark.py
index b6cc15b6fbad25c43fe0699668bd3ec452ed944d..342a6130ea10325d4b7e7ecee7ee86b130e90173 100644 (file)
@@ -1,11 +1,11 @@
-# -*- coding: utf-8 -*-
+# coding: utf-8
 from __future__ import unicode_literals
 
 from .common import InfoExtractor
 
 
 class HarkIE(InfoExtractor):
-    _VALID_URL = r'https?://www\.hark\.com/clips/(?P<id>.+?)-.+'
+    _VALID_URL = r'https?://(?:www\.)?hark\.com/clips/(?P<id>.+?)-.+'
     _TEST = {
         'url': 'http://www.hark.com/clips/mmbzyhkgny-obama-beyond-the-afghan-theater-we-only-target-al-qaeda-on-may-23-2013',
         'md5': '6783a58491b47b92c7c1af5a77d4cbee',