rjw57 / yt

Experiments with the YouTube API
MIT License
83 stars 25 forks source link

Empty input in user query crashes yt #23

Closed Natureshadow closed 10 years ago

Natureshadow commented 10 years ago

Hi,

entering an empty string into the 's'earch query is handled correctly, doing the same in 'u'ser sends the request to the server and produces an HTTP 400 error which is not caught by yt.

-nik

rjw57 commented 10 years ago

What a silly bug. Should be easy to fix.