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 search results since today

See original GitHub issue

I’ve been using Youtube Mopidy quite happily for a few days, but since today it suddenly can’t find results anymore.

The Mopidy log shows:

Apr 01 17:20:13 raspberrypi mopidy[27062]: INFO     [YouTubeBackend-3] mopidy_youtube youtube LibraryProvider.search "{'artist': ['Da Tweekaz']}"
Apr 01 17:20:13 raspberrypi mopidy[27062]: INFO     [YouTubeBackend-3] mopidy_youtube youtube LibraryProvider.search "{'album': ['Da Tweekaz']}"
Apr 01 17:20:13 raspberrypi mopidy[27062]: INFO     [YouTubeBackend-3] mopidy_youtube youtube LibraryProvider.search "{'any': ['Da Tweekaz']}"
Apr 01 17:20:13 raspberrypi mopidy[27062]: INFO     [YouTubeBackend-3] mopidy_youtube Searching YouTube for query "Da Tweekaz"
Apr 01 17:20:13 raspberrypi mopidy[27062]: INFO     [YouTubeBackend-3] mopidy_youtube session.get triggered: search
Apr 01 17:20:14 raspberrypi mopidy[27062]: INFO     [YouTubeBackend-3] mopidy_youtube nothing in the soup, trying japi
Apr 01 17:20:14 raspberrypi mopidy[27062]: ERROR    [YouTubeBackend-3] mopidy_youtube No data found on page
Apr 01 17:20:14 raspberrypi mopidy[27062]: ERROR    [YouTubeBackend-3] mopidy_youtube search error "No data found on page"

I guess something changed on Youtube that requires mopidy-youtube to make some changes? youtube-dl is the latest version, at the moment 2021.4.1, but I believe that is not relevant for just search results.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
gergely-lakoscommented, Apr 4, 2021

I debugged my error. The search is not working, because when backend want to search on youtube, first you got a page that google using cookies (“Before you continue to YouTube”). After you agreed this, redirected the search page. This is the reason why bs4api cannot find anything.

I solved this problem with creating Google api key, and enabled api in the mopidy.conf for youtube plugin.

2reactions
christian3107commented, May 11, 2021

Hi, minimale usable cookie for me is “PREF=hl=en; CONSENT=YES+20210329;” . Certainly you can set any valid date. Searching for “azdwspxlmrhe” work fine on my device, with mopidy-youtube 3.2 and lastest youtube-dl version

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google app won't display search results - Android
Google app won't display search results · 1. Make sure your device isn't in Airplane mode · 2. Check your Wi-Fi connection ·...
Read more >
12 Awesome No Results Page Examples (+6 UI Design Best ...
Get some inspiration for your “no results found” pages from the following examples!
Read more >
3 Guidelines for Search Engine "No Results" Pages
It's rare for users these days to get zero results from a web-wide search engine, no matter how obscure the search term or...
Read more >
Narrow your search results on Mac - Apple Support
On your Mac, focus your Spotlight and Finder searches to narrow results by specifying criteria and attributes, or performing Boolean queries.
Read more >
Outlook search does not return results after upgrade to ...
After upgrade to Windows 11, Outlook searches return no results. This issue will happen with any account where the emails and other items ......
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