Parcourir la source

[mplayer] Fix error introduced by downloader separation

Philipp Hagemeister il y a 12 ans
Parent
commit
c25c991809
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      youtube_dl/downloader/mplayer.py

+ 1 - 0
youtube_dl/downloader/mplayer.py

@@ -9,6 +9,7 @@ from ..utils import (
 
 class MplayerFD(FileDownloader):
     def real_download(self, filename, info_dict):
+        url = info_dict['url']
         self.report_destination(filename)
         tmpfilename = self.temp_name(filename)