projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[extractor/common] Move workaround for applying first Set-Cookie header into a separa...
[youtube-dl]
/
youtube_dl
/
extractor
/
tv2.py
diff --git
a/youtube_dl/extractor/tv2.py
b/youtube_dl/extractor/tv2.py
index f225ec68448271eabbcca0b63ef367f37e7e908c..d5071e8a5faf72a25c6b21cdfb2987b6a731fb32 100644
(file)
--- a/
youtube_dl/extractor/tv2.py
+++ b/
youtube_dl/extractor/tv2.py
@@
-1,4
+1,4
@@
-#
en
coding: 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: