Removed print(html)

This commit is contained in:
matthias@arch 2021-10-03 15:59:38 +02:00
parent 28cdf7de69
commit b8f80c4e71

View File

@ -127,7 +127,6 @@ class Nicole:
except Exception: except Exception:
sleep(self.delay) # azlyrics blocks requests if there is no delay sleep(self.delay) # azlyrics blocks requests if there is no delay
return (False, f"Could not access url: {url}") return (False, f"Could not access url: {url}")
print(html)
lyrics = None lyrics = None
match = re.search(r"<!\-\- Usage of azlyrics.com content by any third\-party lyrics provider is prohibited by our licensing agreement. Sorry about that. \-\->(.|\n)+?</div>", html) match = re.search(r"<!\-\- Usage of azlyrics.com content by any third\-party lyrics provider is prohibited by our licensing agreement. Sorry about that. \-\->(.|\n)+?</div>", html)