fixed typo
This commit is contained in:
parent
40eb3ed173
commit
068ea7242f
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ def extract_toot(toot):
|
||||||
for ht in soup.select("a.hashtag"): #make hashtags no longer links, just text
|
for ht in soup.select("a.hashtag"): #make hashtags no longer links, just text
|
||||||
ht.unwrap()
|
ht.unwrap()
|
||||||
|
|
||||||
for link in soup.select("a"): #ocnvert <a href='https://example.com>example.com</a> to just https://example.com
|
for link in soup.select("a"): #convert <a href='https://example.com>example.com</a> to just https://example.com
|
||||||
link.insert_after(link["href"])
|
link.insert_after(link["href"])
|
||||||
link.decompose()
|
link.decompose()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue