mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-06-30 11:02:51 -05:00
Fix "invalid escape sequences" error on Python 3.6
This commit is contained in:
@ -12,7 +12,7 @@ class MetadataFromTitlePP(PostProcessor):
|
||||
self._titleregex = self.format_to_regex(titleformat)
|
||||
|
||||
def format_to_regex(self, fmt):
|
||||
"""
|
||||
r"""
|
||||
Converts a string like
|
||||
'%(title)s - %(artist)s'
|
||||
to a regex like
|
||||
|
Reference in New Issue
Block a user