import re
import json
-from urllib import unquote
from .common import InfoExtractor
from ..utils import (
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)