"[Error] Sign In to confirm you're not a bot ..." upon search/play
> ERROR: [youtube] Megt0pMXQXM: Sign in to confirm you’re not a bot. Use --cookies-from-browser or --cookies for the authentication. See https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp for how to manually pass cookies. Also see https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies for tips on effectively exporting YouTube cookies Exception in thread Thread-1 (_preload): Traceback (most recent call last): File "C:\Users\Radikal_xvi\pipx\venvs\yewtube\lib\site-packages\yt_dlp\YoutubeDL.py", line 1698, in wrapper return func(self, *args, **kwargs) File "C:\Users\Radikal_xvi\pipx\venvs\yewtube\lib\site-packages\yt_dlp\YoutubeDL.py", line 1833, in __extract_info ie_result = ie.extract(url) File "C:\Users\Radikal_xvi\pipx\venvs\yewtube\lib\site-packages\yt_dlp\extractor\common.py", line 765, in extract ie_result = self._real_extract(url) File "C:\Users\Radikal_xvi\pipx\venvs\yewtube\lib\site-packages\yt_dlp\extractor\youtube_video.py", line 4061, in _real_extract self.raise_no_formats(reason, expected=True) File "C:\Users\Radikal_xvi\pipx\venvs\yewtube\lib\site-packages\yt_dlp\extractor\common.py", line 1277, in raise_no_formats raise ExtractorError(msg, expected=expected, video_id=video_id) yt_dlp.utils.ExtractorError: [youtube] Megt0pMXQXM: Sign in to confirm you’re not a bot. Use --cookies-from-browser or --cookies for the authentication. See https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp for how to manually pass cookies. Also see https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies for tips on effectively exporting YouTube cookies
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Program Files\Python310\lib\threading.py", line 1009, in _bootstrap_inner self.run() File "C:\Program Files\Python310\lib\threading.py", line 946, in run self._target(*self._args, **self._kwargs) File "C:\Users\Radikal_xvi\pipx\venvs\yewtube\lib\site-packages\mps_youtube\streams.py", line 189, in _preload streamlist = get(song) File "C:\Users\Radikal_xvi\pipx\venvs\yewtube\lib\site-packages\mps_youtube\streams.py", line 54, in get ps = pafy.get_video_streams(ytid) File "C:\Users\Radikal_xvi\pipx\venvs\yewtube\lib\site-packages\mps_youtube\pafy.py", line 43, in get_video_streams info_dict = ydl.extract_info(ytid, download=False) File "C:\Users\Radikal_xvi\pipx\venvs\yewtube\lib\site-packages\yt_dlp\YoutubeDL.py", line 1687, in extract_info return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process) File "C:\Users\Radikal_xvi\pipx\venvs\yewtube\lib\site-packages\yt_dlp\YoutubeDL.py", line 1716, in wrapper self.report_error(str(e), e.format_traceback()) File "C:\Users\Radikal_xvi\pipx\venvs\yewtube\lib\site-packages\yt_dlp\YoutubeDL.py", line 1154, in report_error self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs) File "C:\Users\Radikal_xvi\pipx\venvs\yewtube\lib\site-packages\yt_dlp\YoutubeDL.py", line 1093, in trouble raise DownloadError(message, exc_info) yt_dlp.utils.DownloadError: ERROR: [youtube] Megt0pMXQXM: Sign in to confirm you’re not a bot. Use --cookies-from-browser or --cookies for the authentication. See https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp for how to manually pass cookies. Also see https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies for tips on effectively exporting YouTube cookies
using latest version: yewtube version : 2.13.1 yt_dlp version : 2026.03.17 Python version : 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] Processor : Intel64 Family 6 Model 186 Stepping 2, GenuineIntel Machine type : AMD64 Architecture : 64bit, WindowsPE Platform : Windows-10-10.0.26100-SP0 sys.stdout.enc : utf-8 default enc : utf-8 Config dir : C:\Users\Radikal_xvi\AppData\Roaming\mps-youtube dbus : None glib : False
Can't play music as this keeps popping up every few seconds
Source: mps-youtube/yewtube