streamrip
streamrip copied to clipboard
fix tidal /u suffix in url messes with the regex
fixes gh-910
added test cases and confirmed it works, along running all test cases to confirm no regressions
I was thinking first to make the parsing better and split the regex by using urlparse but I don't think it's worth it
open to suggestions
❯ python -m unittest discover -s tests
.........
----------------------------------------------------------------------
Ran 9 tests in 0.001s
OK