Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Channel: parameter search returns no results #3594

Closed
chocmake opened this issue Jan 28, 2023 · 4 comments · Fixed by #3699
Closed

[Bug] Channel: parameter search returns no results #3594

chocmake opened this issue Jan 28, 2023 · 4 comments · Fixed by #3699
Labels

Comments

@chocmake
Copy link

chocmake commented Jan 28, 2023

Describe the bug
Using the channel: parameter for queries no longer returns results.

Steps to Reproduce

  1. Visit a channel and copy its channel ID from the URL.
  2. In the search box enter channel:<channelID> <query>
  3. Observe no results found.

Example: this channel is all about antennas. However querying antenna with such a channel search returns no results (Snopyta example query).

According to my history the last time this parameter search worked was 2023-01-21 (unsure what Invidious version the instance I was using was on at that time though).

Additional context
Noticed on both Snopyta (2023.01.24-9a9f8231) and Yewtu.be (2023.01.28-71f980b) instances.

@chocmake chocmake added the bug Something isn't working label Jan 28, 2023
@ChunkyProgrammer
Copy link
Contributor

It seems like you may need to have a space after the colon for it to work (not sure if this was always the case)

I also noticed that the link your provided did not properly encode the ":" character which can also be part of the issue.
With the unencoded colon, it fails:
https://invidious.snopyta.org/search?q=channel:UCHqwzhcFOsoFFh33Uy8rAgQ%20antenna

And this should work (notice the %3A):
https://invidious.snopyta.org/search?q=channel%3A+UCHqwzhcFOsoFFh33Uy8rAgQ%20antenna

@chocmake
Copy link
Author

chocmake commented Jan 31, 2023

https://invidious.snopyta.org/search?q=channel%3A+UCHqwzhcFOsoFFh33Uy8rAgQ%20antenna

This doesn't return results from the specified channel though, just generic search results containing the raw channel ID and query included. Fwiw, the original syntax was non spaces, eg seen in an earlier bug report of mine (#3148).

If we use the colon escaped encoding (without the space, as per original syntax) it similarly doesn't return results for the specified channel (example).

@ChunkyProgrammer
Copy link
Contributor

Would like to add that this issue also affects the API

Ex:
https://yt.artemislena.eu/api/v1/channels/search/UCHqwzhcFOsoFFh33Uy8rAgQ?q=antenna

@SamantazFox
Copy link
Member

That's possible that Youtube changed their channel search

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants