Skip to content

A feature-rich command-line audio/video downloader

[mplayer] Fix error introduced by downloader separation

Philipp Hagemeisterc25c991809e1
diff --git a/youtube_dl/downloader/mplayer.py b/youtube_dl/downloader/mplayer.py
index 7dd6e76d0f..67e0e41899 100644
--- a/youtube_dl/downloader/mplayer.py
+++ b/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)