Skip to content

Commit e8a28f5

Browse files
authored
Merge pull request #342 from ytdl-org/master
[pull] master from ytdl-org:master
2 parents b204647 + 826dcff commit e8a28f5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

youtube_dl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def _real_main(argv=None):
9494
if opts.verbose:
9595
write_string('[debug] Batch file urls: ' + repr(batch_urls) + '\n')
9696
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)
9898
all_urls = batch_urls + [url.strip() for url in args] # batch_urls are already striped in read_batch_urls
9999
_enc = preferredencoding()
100100
all_urls = [url.decode(_enc, 'ignore') if isinstance(url, bytes) else url for url in all_urls]

youtube_dl/extractor/mgtv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def _real_extract(self, url):
8282
'http_headers': {
8383
'Referer': url,
8484
},
85+
'format_note': stream.get('name'),
8586
})
8687
self._sort_formats(formats)
8788

0 commit comments

Comments
 (0)