projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[extractor/generic] Extract RSS entries as url_transparent (#11163)
[youtube-dl]
/
youtube_dl
/
postprocessor
/
metadatafromtitle.py
diff --git
a/youtube_dl/postprocessor/metadatafromtitle.py
b/youtube_dl/postprocessor/metadatafromtitle.py
index 164edd3a820af4d0c3d1af48b9cf81a6b5460e9b..a7d637a3c84f16ba8024b618ea30549fdcf109a6 100644
(file)
--- a/
youtube_dl/postprocessor/metadatafromtitle.py
+++ b/
youtube_dl/postprocessor/metadatafromtitle.py
@@
-26,7
+26,7
@@
class MetadataFromTitlePP(PostProcessor):
regex += r'(?P<' + match.group(1) + '>.+)'
lastpos = match.end()
if lastpos < len(fmt):
regex += r'(?P<' + match.group(1) + '>.+)'
lastpos = match.end()
if lastpos < len(fmt):
- regex += re.escape(fmt[lastpos:
len(fmt)
])
+ regex += re.escape(fmt[lastpos:])
return regex
def run(self, info):
return regex
def run(self, info):