aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/vidzi.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-02-26 14:37:20 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-02-26 14:37:20 +0800
commit59f898b7a72284efb994a8c6baee7771046226dd (patch)
treea82844dbd548a37ad7509c8250e0909bc0f8eca9 /youtube_dl/extractor/vidzi.py
parent8f4a2124a914207912bf9fc37e593210e8dd423b (diff)
[utils] Merge base_n functions
Diffstat (limited to 'youtube_dl/extractor/vidzi.py')
-rw-r--r--youtube_dl/extractor/vidzi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/vidzi.py b/youtube_dl/extractor/vidzi.py
index 4ec07db3a..d671e27de 100644
--- a/youtube_dl/extractor/vidzi.py
+++ b/youtube_dl/extractor/vidzi.py
@@ -5,7 +5,7 @@ import re
from .jwplatform import JWPlatformBaseIE
from ..utils import (
- base36,
+ base_n,
js_to_json,
)
@@ -42,7 +42,7 @@ class VidziIE(JWPlatformBaseIE):
while count:
count -= 1
if symbols[count]:
- code = re.sub(r'\b%s\b' % base36(count), symbols[count], code)
+ code = re.sub(r'\b%s\b' % base_n(count, 36), symbols[count], code)
code = code.replace('\\\'', '\'')
jwplayer_data = self._parse_json(