valerebron / usetube

search & get datas from youtube no google account needed
GNU General Public License v3.0
50 stars 18 forks source link

Searching for video sometimes returns video id of "didyoumean" #8

Closed Pixel1011 closed 3 years ago

Pixel1011 commented 4 years ago

Occasionally returns that which then leads my program to error with TypeError: Video id (didyoumean) does not match expected format (/^[a-zA-Z0-9-_]{11}$/)

valerebron commented 4 years ago

Yes, if youtube believe you misspell one or more words, usetube give a first result with 'didyoumean' id among others videos. This should be aside videos data, indeed.

valerebron commented 4 years ago

didyoumean is now aside data in v1.1.5

cheers