3 ms·
Wouldnt this break a movie like 2012? #2 remove year and stuff following it filename = re.sub('\d\d\d\d.*', ' ', filename)
by wingerlang 14y ago
Wouldnt this break a movie like 2012?
#2 remove year and stuff following it
filename = re.sub('\d\d\d\d.*', ' ', filename)
- legaloslotr 14y agoYeah it totally would! Thanks for pointing this out. Btw, I am planning to use another library that has better detection rates - https://github.com/wackou/guessit https://github.com/wackou/guessit