|
|
@ -35,6 +35,7 @@ def name_normalize(
|
|
|
|
name = re.sub(r'(\d+)\s?\/\s?(\d+)', r'\1 of \2', name)
|
|
|
|
name = re.sub(r'(\d+)\s?\/\s?(\d+)', r'\1 of \2', name)
|
|
|
|
name = re.sub(r'(\w+)\s?\/\s?(\w+)', r'\1 or \2', name)
|
|
|
|
name = re.sub(r'(\w+)\s?\/\s?(\w+)', r'\1 or \2', name)
|
|
|
|
name = re.sub(r'\/', '', name)
|
|
|
|
name = re.sub(r'\/', '', name)
|
|
|
|
|
|
|
|
name[:30]
|
|
|
|
|
|
|
|
|
|
|
|
lang = settings.config['reddit']['thread']['post_lang']
|
|
|
|
lang = settings.config['reddit']['thread']['post_lang']
|
|
|
|
if lang:
|
|
|
|
if lang:
|
|
|
|