twlite / youtube-sr

A dead-simple youtube metadata scraper
https://npmjs.com/package/youtube-sr
MIT License
113 stars 16 forks source link

When using search with string that contains "Ø" it returns a null #37

Closed Vetrix68 closed 2 years ago

Vetrix68 commented 2 years ago

Exactly what it says in the title

twlite commented 2 years ago

Hi, I am unable to reproduce this issue. I tested this on both node and deno and it worked as expected in each runtime.

The script is as simple as

console.log(await YouTube.search("Ø"));

I've also tested this by adding some other characters along with Ø and the results available to me. Maybe it returned null for you because the search results for your query were not available?