浏览代码

Do not use the final URL for -g

Ricardo Garcia 15 年之前
父节点
当前提交
79f193e5d8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube-dl

+ 1 - 1
youtube-dl

@@ -385,7 +385,7 @@ class FileDownloader(object):
 			# Verify URL if it's an HTTP one
 			if info_dict['url'].startswith('http'):
 				try:
-					info_dict['url'] = self.verify_url(info_dict['url'].encode('utf-8')).decode('utf-8')
+					self.verify_url(info_dict['url'].encode('utf-8')).decode('utf-8')
 				except (OSError, IOError, urllib2.URLError, httplib.HTTPException, socket.error), err:
 					raise UnavailableFormatError