mirror of
https://github.com/Marketscrape/marketscrape-web.git
synced 2026-04-29 02:02:38 -04:00
🔥 Removed HTML debugger function.
This commit is contained in:
@@ -47,11 +47,6 @@ def min_sentiment(sentiment):
|
||||
|
||||
return value
|
||||
|
||||
def html_debug(soup):
|
||||
f = open("index.html", "w")
|
||||
f.write(soup.prettify())
|
||||
f.close()
|
||||
|
||||
def clean_text(text):
|
||||
tokenizer = RegexpTokenizer('\w+|\$[\d\.]+|http\S+')
|
||||
tokenized = tokenizer.tokenize(text)
|
||||
|
||||
Reference in New Issue
Block a user