Dictionary with 2 urls and their text: Need to get rid of all multiple spaces, special characters and new lines
{'https://firsturl.com': ['\n\n', '\n ', '\n \n \n ', '\n \n ', '\n \n ', '\n\n ', '\n', '\n', '\n ', '\n ', 'Home | Sam ModelInc', '\n \n\n\n', '\n\n\n\n', '\n\n', '\n \n\n\n\n\n\n\n\n\n \n \n', '\n', '\n', '\n', '\n', '\n ', '\n ', 'Skip to main content'],'https://secondurl.com#main-content': ['\n\n', '\n ', '\n \n \n ', '\n \n ', '\n \n ', '\n\n ', '\n', '\n', '\n ', '\n ', 'Home | Going to start inc', '\n \n\n\n', '\n\n\n\n', '\n\n', '\n \n\n\n\n\n\n\n\n\n \n \n', '\n', '\n', '\n', '\n', '\n ', '\n ', 'Skip to main content', '\n ', '\n \n', '\n\n ', '\n\n ', '\n \n \n \n \n ', '\n\n ', '\n ', '\n\n \n ', '\n ', '\n\n \n ', '\n ', 'Brands', '\n', 'About Us', '\n', 'Syndication', '\n', 'Direct Response']}
Expected Output: {'https://firsturl.com': ['home sam modelInc skip to main content'], https://secondurl.com#main-content': ['home going to start inc skip to main content brands about us syndication direct response]}
Help would be much appreciated