fixed typo
This commit is contained in:
		
							parent
							
								
									40eb3ed173
								
							
						
					
					
						commit
						068ea7242f
					
				| 
						 | 
					@ -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()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in New Issue