about summary refs log tree commit diff
path: root/youtube_dl/extractor/fc2.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-10 21:38:58 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-10 21:38:58 +0600
commitc5864a8ce6379dca300f447cca12a5a946d67d3d (patch)
tree5b2fd75eec793c1219e62537dd96418ed9810b50 /youtube_dl/extractor/fc2.py
parent27c7114af6b82bfe8be6b8e4dfa6e11dd1356044 (diff)
downloadyoutube-dl-c5864a8ce6379dca300f447cca12a5a946d67d3d.tar.gz
youtube-dl-c5864a8ce6379dca300f447cca12a5a946d67d3d.tar.xz
youtube-dl-c5864a8ce6379dca300f447cca12a5a946d67d3d.zip
[fc2] Fix python 2.6 (Closes #6512)
Diffstat (limited to 'youtube_dl/extractor/fc2.py')
-rw-r--r--youtube_dl/extractor/fc2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/fc2.py b/youtube_dl/extractor/fc2.py
index 1ccc1a964..e4f7195a8 100644
--- a/youtube_dl/extractor/fc2.py
+++ b/youtube_dl/extractor/fc2.py
@@ -86,7 +86,7 @@ class FC2IE(InfoExtractor):
 
         info_url = (
             "http://video.fc2.com/ginfo.php?mimi={1:s}&href={2:s}&v={0:s}&fversion=WIN%2011%2C6%2C602%2C180&from=2&otag=0&upid={0:s}&tk=null&".
-            format(video_id, mimi, compat_urllib_request.quote(refer, safe='').replace('.', '%2E')))
+            format(video_id, mimi, compat_urllib_request.quote(refer, safe=b'').replace('.', '%2E')))
 
         info_webpage = self._download_webpage(
             info_url, video_id, note='Downloading info page')