question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No matches found using ytsearch with query including special characters

See original GitHub issue

Description

Hi,

When using ytsearch with a query containing “é” or “à” or any “special” character, for exemple Video détaillée, i get : No matches found and when looking at the request it replaces “é” with “Θ” for exemple, it replaces other special characters too, so i think that the problem comes from lavaplayer not handling UTF-8 characters correctly or something like that.

Thanks.

Error :

2022-06-25 23:58:07.312  INFO 13696 --- [  XNIO-1 task-1] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "ytsearch:Hugo DΘcrypte - Annonces de Macron dΘtaillΘes, dΘputΘs accusΘs, trΘsor α 17 milliards d'Ç... Actus du jour"
2022-06-25 23:58:07.533  INFO 13696 --- [ader-2-thread-1] lavalink.server.player.AudioLoader       : No matches found

Version info

Client used: Shoukaku v3.1.0 (Latest)

Output of java -version:

java version "17.0.2" 2022-01-18 LTS
Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing)

Output of java -jar Lavalink.jar --version:

Version:        8b8b3ea026b8a85991d2c4f02a9dfcb31862df25-SNAPSHOT
Build:          1357
Build time:     23.06.2022 14:33:00 UTC
Branch          dev
Commit:         8b8b3ea
Commit time:    23.06.2022 14:29:39 UTC
JVM:            17.0.2
Lavaplayer      1.3.97-original

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Hydro001commented, Jun 26, 2022

Just checked using Poru, it gives me the same result, i think the issue comes from lavalink or lavaplayer.

0reactions
Hydro001commented, Jun 26, 2022

I’ll do that then, thank you 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handling "?" character passed to ZSH function - Stack Overflow
If it can't make a match, you get the error you're getting ("no matches found"). You can disable this behaviour by disabling the...
Read more >
Issues - GitHub
Request like this dont' work youtube.com/results?search_query=. ... I can use the youtube-dl query language, but there's no way to use ALL ...
Read more >
Search: Queries that include special characters return no results
Search yields no results or suggestions when special characters like hyphens ('-') or columns (':') are included in the search term.
Read more >
Is ytsearch not working anymore? : r/youtubedl - Reddit
I downloaded youtube-dl and installed ytsearch today on my Ubuntu 16.04 ... execution.py echo "for video in results:" >> execution.py echo ...
Read more >
50+ YouTube Search Operators - SEOSLY
+ lets you add certain terms to your search query to make sure it's included in the results as well. +. Example: seo...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found