https://github.com/play-dl/play-dl/issues/304 yt_validate was recursing forever because the regex for removing the 'list=xxxx' parameter was looking for one or more characters after list=, rather than 0 or more, so removed nothing if no value was provided. e.g https://www.youtube.com/playlist?list= Have tested this locally but would appreciate a second look before merging.