File size: 160 Bytes
7204409
 
 
 
 
1
2
3
4
5
import urllib

def extract_audio_identifier(url: str) -> tuple:
    parts = url.strip("/").split("/")
    return urllib.parse.unquote(parts[-2]), int(parts[-1])