Browse Source

[CeskaTelevize] fix python3 support @dstftw

totalwebcasting
pulpe 11 years ago
parent
commit
c3cb92d1ab
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      youtube_dl/extractor/ceskatelevize.py

+ 1
- 2
youtube_dl/extractor/ceskatelevize.py View File

@ -3,7 +3,6 @@ from __future__ import unicode_literals
import re
import json
from urllib import unquote
from .common import InfoExtractor
from ..utils import (
@ -70,7 +69,7 @@ class CeskaTelevizeIE(InfoExtractor):
playlistpage = self._download_webpage(req, video_id)
req = compat_urllib_request.Request(unquote(json.loads(playlistpage)['url']))
req = compat_urllib_request.Request(compat_urllib_parse.unquote(json.loads(playlistpage)['url']))
req.add_header('Referer', url)
playlist = self._download_xml(req, video_id)


Loading…
Cancel
Save