url = "https://open.spotify.com/playlist/1hNRBqeiPEBxMVG9uSrCWa?si=8ea857fd608f45ef"
_split = url.split("/")
_split.remove("")
print(_split[3].split("?")[0])
Çıktı:
>>> 1hNRBqeiPEBxMVG9uSrCWa
Muhtemelen verilen bir link ile işlem yapan bir method yazıyor. Haliyle url de bir parametre...