Do not use os.path.normpath for url as it is platform dependent.

When m3u8 is used in Wondows, normpath causes issues when used for urls, which should be handled as posixpath instead.

I have tried to only use urljoin, but it does not seem to be as powerful as the path manipulation.

Andrea