Browse Source

[wdr] Fix umlaut parsing on Python 2.x

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
94e8df3a7e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      youtube_dl/extractor/wdr.py

+ 2
- 2
youtube_dl/extractor/wdr.py View File

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


Loading…
Cancel
Save