steal some of @tcsenpai 's changes from the PR

+ ditch the LAST FM API KEY thing
+ expose the Musixmatch urls
+ use the kerve last fm api to download similar artist data
+ use google.it instead of the Google public dns to check internet connectivity (to make it work in all environments)
+ return og Dockerfile to fix ARM support
This commit is contained in:
mungai-njoroge
2024-02-16 23:57:23 +03:00
parent 4f48c33009
commit 67f28b8a9b
11 changed files with 136 additions and 69 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import socket as Socket
def has_connection(host="8.8.8.8", port=53, timeout=3):
def has_connection(host="google.it", port=80, timeout=3):
"""
Host: 8.8.8.8 (google-public-dns-a.google.com)
OpenPort: 53/tcp