If I try to pass in a URL that has a video ID which has a hyphen it throws an error:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at VideoLibrary.Helpers.Query.get_Item(String key)
at VideoLibrary.YouTube.Unscramble(String queryString)
at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() at VideoLibrary.YouTube.<ParseVideos>d__6.MoveNext() at System.Linq.Enumerable.First[TSource](IEnumerable1 source)
at VideoLibrary.ServiceBase1.VideoSelector(IEnumerable1 videos)
at VideoLibrary.ServiceBase`1.d__6.MoveNext()
If I try to pass in a URL that has a video ID which has a hyphen it throws an error: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at VideoLibrary.Helpers.Query.get_Item(String key) at VideoLibrary.YouTube.Unscramble(String queryString) at System.Linq.Enumerable.WhereSelectArrayIteratord__6.MoveNext()
2.MoveNext() at VideoLibrary.YouTube.<ParseVideos>d__6.MoveNext() at System.Linq.Enumerable.First[TSource](IEnumerable
1 source) at VideoLibrary.ServiceBase1.VideoSelector(IEnumerable
1 videos) at VideoLibrary.ServiceBase`1.Sample video with the issue: https://www.youtube.com/watch?v=V9-oZtSZBcc