]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/tv2.py
Remove upstream's autoupdate mechanism
[youtubedl] / youtube_dl / extractor / tv2.py
index f225ec68448271eabbcca0b63ef367f37e7e908c..d5071e8a5faf72a25c6b21cdfb2987b6a731fb32 100644 (file)
@@ -1,4 +1,4 @@
-# encoding: utf-8
+# coding: utf-8
 from __future__ import unicode_literals
 
 import re
 from __future__ import unicode_literals
 
 import re
@@ -126,7 +126,7 @@ class TV2ArticleIE(InfoExtractor):
 
         if not assets:
             # New embed pattern
 
         if not assets:
             # New embed pattern
-            for v in re.findall('TV2ContentboxVideo\(({.+?})\)', webpage):
+            for v in re.findall(r'TV2ContentboxVideo\(({.+?})\)', webpage):
                 video = self._parse_json(
                     v, playlist_id, transform_source=js_to_json, fatal=False)
                 if not video:
                 video = self._parse_json(
                     v, playlist_id, transform_source=js_to_json, fatal=False)
                 if not video: