diff --git a/README.md b/README.md index 8085bba..acf66cb 100644 --- a/README.md +++ b/README.md @@ -290,6 +290,7 @@ Please refrain from spam or asking for questions that infringe upon a Service's + ## License diff --git a/devine/core/manifests/dash.py b/devine/core/manifests/dash.py index dc00f7c..04bdc79 100644 --- a/devine/core/manifests/dash.py +++ b/devine/core/manifests/dash.py @@ -49,6 +49,9 @@ class DASH: raise TypeError(f"Expected session to be a {Session}, not {session!r}") res = session.get(url, **args) + if res.url != url: + url = res.url + if not res.ok: raise requests.ConnectionError( "Failed to request the MPD document.",