aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-31 21:12:21 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-31 21:12:21 +0600
commit39955b0451098c6a79fc7b777a0674ee093ae0ff (patch)
tree73d7d6acc469d7028a70ec54b8cc80bcab49ae5a /youtube_dl
parent52dfb7ffe2efdd223872bfe020ddaa25b89a94f9 (diff)
[fc2] Fix refer
Diffstat (limited to 'youtube_dl')
-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 2443846c8..5c1137e94 100644
--- a/youtube_dl/extractor/fc2.py
+++ b/youtube_dl/extractor/fc2.py
@@ -83,7 +83,7 @@ class FC2IE(InfoExtractor):
title = self._og_search_title(webpage)
thumbnail = self._og_search_thumbnail(webpage)
- refer = url.replace('/content/', '/a/content/')
+ refer = url.replace('/content/', '/a/content/') if '/a/content/' not in url else url
mimi = hashlib.md5((video_id + '_gGddgPfeaf_gzyr').encode('utf-8')).hexdigest()