diff --git a/src/livestreamer/stream/hls.py b/src/livestreamer/stream/hls.py
index <HASH>..<HASH> 100644
--- a/src/livestreamer/stream/hls.py
+++ b/src/livestreamer/stream/hls.py
@@ -264,7 +264,7 @@ class HLSStream(HTTPStream):
         res = session_.http.get(url, exception=IOError, **request_params)
 
         try:
-            parser = hls_playlist.load(res.text, base_uri=url)
+            parser = hls_playlist.load(res.text, base_uri=res.url)
         except ValueError as err:
             raise IOError("Failed to parse playlist: {0}".format(err))
stream.hls: Handle variant playlists that redirect.

Resolves #<I>.