mirror of
https://gitlab.com/RemixDev/deezer-py.git
synced 2025-01-29 17:18:28 +00:00
Fixed search issues
This commit is contained in:
parent
7d79211056
commit
a8944c71bd
|
@ -197,5 +197,5 @@ def clean_search_query(term):
|
|||
term = re.sub(r' ft[\.]? ', " ", term)
|
||||
term = re.sub(r'\(feat[\.]? ', " ", term)
|
||||
term = re.sub(r'\(ft[\.]? ', " ", term)
|
||||
term = term.replace('&', " ").replace('–', "-").replace('—', "-")
|
||||
term = term.replace(' & ', " ").replace('–', "-").replace('—', "-")
|
||||
return term
|
||||
|
|
Loading…
Reference in a new issue