aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/postprocessor/metadatafromtitle.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dlc/postprocessor/metadatafromtitle.py')
-rw-r--r--youtube_dlc/postprocessor/metadatafromtitle.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/youtube_dlc/postprocessor/metadatafromtitle.py b/youtube_dlc/postprocessor/metadatafromtitle.py
index f5c14d974..86df3b4f0 100644
--- a/youtube_dlc/postprocessor/metadatafromtitle.py
+++ b/youtube_dlc/postprocessor/metadatafromtitle.py
@@ -35,14 +35,10 @@ class MetadataFromTitlePP(PostProcessor):
title = info['title']
match = re.match(self._titleregex, title)
if match is None:
- self._downloader.to_screen(
- '[fromtitle] Could not interpret title of video as "%s"'
- % self._titleformat)
+ self.to_screen('Could not interpret title of video as "%s"' % self._titleformat)
return [], info
for attribute, value in match.groupdict().items():
info[attribute] = value
- self._downloader.to_screen(
- '[fromtitle] parsed %s: %s'
- % (attribute, value if value is not None else 'NA'))
+ self.to_screen('parsed %s: %s' % (attribute, value if value is not None else 'NA'))
return [], info