File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ def _real_main(argv=None):
94
94
if opts .verbose :
95
95
write_string ('[debug] Batch file urls: ' + repr (batch_urls ) + '\n ' )
96
96
except IOError :
97
- sys .exit ('ERROR: batch file could not be read' )
97
+ sys .exit ('ERROR: batch file %s could not be read' % opts . batchfile )
98
98
all_urls = batch_urls + [url .strip () for url in args ] # batch_urls are already striped in read_batch_urls
99
99
_enc = preferredencoding ()
100
100
all_urls = [url .decode (_enc , 'ignore' ) if isinstance (url , bytes ) else url for url in all_urls ]
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ def _real_extract(self, url):
82
82
'http_headers' : {
83
83
'Referer' : url ,
84
84
},
85
+ 'format_note' : stream .get ('name' ),
85
86
})
86
87
self ._sort_formats (formats )
87
88
You can’t perform that action at this time.
0 commit comments