Update Harmony link format in SubmissionLinkGenerator
- Modified the URL structure in the generate_harmony_link method to include 'release' in the path for better clarity and accuracy in generating submission links from Deezer URLs.
This commit is contained in:
2
main.py
2
main.py
@@ -204,7 +204,7 @@ class SubmissionLinkGenerator:
|
||||
@staticmethod
|
||||
def generate_harmony_link(deezer_url: str) -> str:
|
||||
"""Generate a Harmony submission link from a Deezer URL"""
|
||||
return f"https://harmony.pulsewidth.org.uk/?url={quote(deezer_url, safe='')}"
|
||||
return f"https://harmony.pulsewidth.org.uk/release?url={quote(deezer_url, safe='')}"
|
||||
|
||||
@staticmethod
|
||||
def generate_links(deezer_url: str) -> Dict[str, str]:
|
||||
|
||||
Reference in New Issue
Block a user