valerebron / usetube

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

usetube.searchVideo -> videos error, terms #12

Closed frabazz closed 3 years ago

frabazz commented 3 years ago

var results = await usetube.searchVideo("titanium"); Whenever I try to fetch results from a video search i get an error like this: search "videos error, terms: titanium" I've used this library in the past with discord.js, but now i'm trying to intergrate it with react, and i get always this error.

valerebron commented 3 years ago

For now Usetube is only backend javascript consistent (commonjs & nodejs). I'll try to put axios back & work for frontend framework (ES6 for react vue svelte or whatever).

valerebron commented 3 years ago

Try with usetube 2.0.5 & tell me if it works. I will try to use it with vue-cli later.

valerebron commented 3 years ago

Unless you find a way to fetch youtube from client-side disabeling cors verification, usetube is not possible in client-side.