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

Youtube bot detection #224

Open
passuff opened this issue Jan 26, 2025 · 0 comments
Open

Youtube bot detection #224

passuff opened this issue Jan 26, 2025 · 0 comments

Comments

@passuff
Copy link

passuff commented Jan 26, 2025

I'm not able to use Ultrasinger anymore as youtube has a new bot detection function:

[youtube] Extracting URL: https://www.youtube.com/watch?v=KVBicGjg-Fg
[youtube] KVBicGjg-Fg: Downloading webpage
[youtube] KVBicGjg-Fg: Downloading ios player API JSON
[youtube] KVBicGjg-Fg: Downloading player 37364e28
WARNING: [youtube] KVBicGjg-Fg: Signature extraction failed: Some formats may be missing
ERROR: [youtube] KVBicGjg-Fg: Sign in to confirm you’re not a bot. This helps protect our community. Learn more
Traceback (most recent call last):
  File "C:\Users\passu\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1626, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Users\passu\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1761, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Users\passu\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\common.py", line 740, in extract
    ie_result = self._real_extract(url)
  File "C:\Users\passu\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\youtube.py", line 4274, in _real_extract
    self.raise_no_formats(reason, expected=True)
  File "C:\Users\passu\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\common.py", line 1263, in raise_no_formats
    raise ExtractorError(msg, expected=expected, video_id=video_id)
yt_dlp.utils.ExtractorError: [youtube] KVBicGjg-Fg: Sign in to confirm you’re not a bot. This helps protect our community. Learn more

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\UltraSinger\src\UltraSinger.py", line 701, in <module>
    main(sys.argv[1:])
  File "C:\Program Files\UltraSinger\src\UltraSinger.py", line 579, in main
    run()
  File "C:\Program Files\UltraSinger\src\UltraSinger.py", line 133, in run
    process_data = InitProcessData()
  File "C:\Program Files\UltraSinger\src\UltraSinger.py", line 344, in InitProcessData
    ) = download_from_youtube(settings.input_file_path, settings.output_folder_path)
  File "C:\Program Files\UltraSinger\src\modules\Audio\youtube.py", line 103, in download_from_youtube
    (artist, title) = get_youtube_title(input_file_path)
  File "C:\Program Files\UltraSinger\src\modules\Audio\youtube.py", line 23, in get_youtube_title
    result = ydl.extract_info(
  File "C:\Users\passu\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1615, in extract_info
    return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
  File "C:\Users\passu\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1644, in wrapper
    self.report_error(str(e), e.format_traceback())
  File "C:\Users\passu\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1092, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "C:\Users\passu\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1031, in trouble
    raise DownloadError(message, exc_info)
yt_dlp.utils.DownloadError: ERROR: [youtube] KVBicGjg-Fg: Sign in to confirm you’re not a bot. This helps protect our community. Learn more
UltraSinger encountered an error during processing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant