Improve parsing of channel URLs.