Closed barguan closed 4 years ago
Just updated a few things. I think it would be better to use regex to match a valid URL. For example. now "www.youtube.com/watch?" or anything containing the phrase will still be considered a valid input
Found this: Regex for youtube URL
No offense but i think my PR #51 is a better way to handle the error, you might want to look at it
barguan, I think Ryan has a better approach for this issue, it tackles other kinds of error and leave room to easy insertion of other situations we stumble upon. I'll take his pull request, ok?
(Copying it here, don't know if it will remain buried in the rest of the conversation.)
closed as alternative approach was applied
Gives a pop-up to ask for correct URL. The GUI looks like it just freezes if an incompatible URL is input. This will work for now until playlists/other sources to download from are implemented. Would need a different string for playlists to check if its correct.