1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[wdr] Fix umlaut parsing on Python 2.x

This commit is contained in:
Philipp Hagemeister 2014-07-23 01:47:36 +02:00
parent 37e64addc8
commit 94e8df3a7e

View file

@ -6,7 +6,7 @@ import re
from .common import InfoExtractor
from ..utils import (
compat_parse_qs,
compat_urlparse,
compat_parse_qs,
determine_ext,
unified_strdate,
)
@ -81,7 +81,7 @@ class WDRIE(InfoExtractor):
]
return self.playlist_result(entries, page_id)
flashvars = compat_urlparse.parse_qs(
flashvars = compat_parse_qs(
self._html_search_regex(r'<param name="flashvars" value="([^"]+)"', webpage, 'flashvars'))
page_id = flashvars['trackerClipId'][0]