aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/bet.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-17 23:35:14 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-17 23:35:14 +0600
commitb94b78971ce70a999584acab57d0a620a91bc2aa (patch)
tree1c31308c3654d03a65462f3bee93b85a0d548472 /youtube_dl/extractor/bet.py
parent4d08161ac23cfdf563b5d79b9f75cde6e6e57178 (diff)
[bet] Use compat_urllib_parse_unquote
Diffstat (limited to 'youtube_dl/extractor/bet.py')
-rw-r--r--youtube_dl/extractor/bet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/bet.py b/youtube_dl/extractor/bet.py
index 26b934543..03dad4636 100644
--- a/youtube_dl/extractor/bet.py
+++ b/youtube_dl/extractor/bet.py
@@ -1,7 +1,7 @@
from __future__ import unicode_literals
from .common import InfoExtractor
-from ..compat import compat_urllib_parse
+from ..compat import compat_urllib_parse_unquote
from ..utils import (
xpath_text,
xpath_with_ns,
@@ -57,7 +57,7 @@ class BetIE(InfoExtractor):
display_id = self._match_id(url)
webpage = self._download_webpage(url, display_id)
- media_url = compat_urllib_parse.unquote(self._search_regex(
+ media_url = compat_urllib_parse_unquote(self._search_regex(
[r'mediaURL\s*:\s*"([^"]+)"', r"var\s+mrssMediaUrl\s*=\s*'([^']+)'"],
webpage, 'media URL'))