valerebron / usetube

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

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

Closed Pixel1011 closed 3 years ago

Pixel1011 commented 3 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 3 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 3 years ago

didyoumean is now aside data in v1.1.5

cheers