Browse Source

[fc2] Fix refer

master
Sergey M․ 9 years ago
parent
commit
39955b0451
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/fc2.py

2
youtube_dl/extractor/fc2.py

@ -83,7 +83,7 @@ class FC2IE(InfoExtractor):
title = self._og_search_title(webpage) title = self._og_search_title(webpage)
thumbnail = self._og_search_thumbnail(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() mimi = hashlib.md5((video_id + '_gGddgPfeaf_gzyr').encode('utf-8')).hexdigest()

Loading…
Cancel
Save