mirror of
https://github.com/jaypyles/Scraperr.git
synced 2025-11-09 10:54:27 +00:00
* chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: refactor wip * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: work in progress * chore: refactor wip * chore: work in progress * chore: refactor wip * chore: refactor wip * chore: refactor wip * fix: build * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress test * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests * fix: cypress tests
11 lines
312 B
Python
11 lines
312 B
Python
def clean_text(text: str):
|
|
text = text.strip()
|
|
text = text.replace("\n", " ")
|
|
text = text.replace("\t", " ")
|
|
text = text.replace("\r", " ")
|
|
text = text.replace("\f", " ")
|
|
text = text.replace("\v", " ")
|
|
text = text.replace("\b", " ")
|
|
text = text.replace("\a", " ")
|
|
return text
|