diff --git a/feed b/feed index eda2207..70ab937 100755 --- a/feed +++ b/feed @@ -101,7 +101,7 @@ class Audio(object): def __init__(self, url, duration=None, date=None): self.url = url if duration is None: - duration = get_duration(url.encode("utf-8")) + duration = get_duration(url) self.duration = duration self.date = date self.end_date = datetime.datetime(9999, 12, 31, tzinfo=datetime.timezone.utc)