So I'm making a scraper with bs4 that scrapes this userscripts website. But I'm running in to a issue where I cant remove whitespaces. Everything I've done doesn't work. Can someone help me?
from bs4 import BeautifulSoup
import requests
import os
url = "https://openuserjs.org"
source = requests.get(url)
soup = BeautifulSoup(source.text,'lxml')
os.system('cls')
for Titles in soup.findAll("a", {"class": "tr-link-a"}):
print(Titles.text.replace("Microsoft is aquiring GitHub", "").replace("TOS Changes", "").replace("Google Authentication Deprecation 2.0", "").replace("Server Maintenance", "").replace("rawgit.com Deprecation and EOL", ""))