[Bug]: It wont download background vido
Describe the bug
It didnt download due to no format available?
Reproduction Steps
python main.py
Expected behavior
Download the background video successfully
Screenshots
We need to download the backgrounds videos. they are fairly large but it's only done once. 😎 │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ Downloading the backgrounds videos... please be patient 🙏 Downloading parkour.mp4 from https://www.youtube.com/watch?v=n_Dv4JMiwK8 [youtube] Extracting URL: https://www.youtube.com/watch?v=n_Dv4JMiwK8 [youtube] n_Dv4JMiwK8: Downloading webpage [youtube] n_Dv4JMiwK8: Downloading ios player API JSON [youtube] n_Dv4JMiwK8: Downloading player 94f771d8 WARNING: [youtube] n_Dv4JMiwK8: nsig extraction failed: You may experience throttling for some formats n = jrjfcrlQ6XZC7pxUa ; player = https://www.youtube.com/s/player/94f771d8/player_ias.vflset/en_US/base.js ERROR: [youtube] n_Dv4JMiwK8: Requested format is not available. Use --list-formats for a list of available formats ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ Sorry, something went wrong with this version! Try again, and feel free to report this issue at GitHub or the │ │ Discord community. │ │ Version: 3.3.0 │ │ Error: ERROR: [youtube] n_Dv4JMiwK8: Requested format is not available. Use --list-formats for a list of │ │ available formats │ │ Config: {'allow_nsfw': False, 'theme': 'dark', 'times_to_run': 1, 'opacity': 0.9, 'storymode': True, │ │ 'storymodemethod': 1, 'storymode_max_length': 1000, 'resolution_w': 1080, 'resolution_h': 1920, 'zoom': 1.0, │ │ 'channel_name': 'SpacedKhan', 'background': {'background_video': 'minecraft', 'background_audio': 'lofi', │ │ 'background_audio_volume': 0.15, 'enable_extra_audio': False, 'background_thumbnail': False, │ │ 'background_thumbnail_font_family': 'arial', 'background_thumbnail_font_size': 96, │ │ 'background_thumbnail_font_color': '255,255,255'}, 'tts': {'voice_choice': 'streamlabspolly', 'random_voice': True, │ │ 'elevenlabs_voice_name': 'Bella', 'elevenlabs_api_key': 'REDACTED', 'aws_polly_voice': 'Matthew', │ │ 'streamlabs_polly_voice': 'Matthew', 'tiktok_voice': 'en_us_001', 'tiktok_sessionid': 'REDACTED', 'python_voice': │ │ '1', 'py_voice_num': '2', 'silence_duration': 0.3, 'no_emojis': False}} │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ Traceback (most recent call last): File "C:\Users\jojot\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\yt_dlp\YoutubeDL.py", line 1606, in wrapper return func(self, *args, **kwargs) File "C:\Users\jojot\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\yt_dlp\YoutubeDL.py", line 1762, in __extract_info return self.process_ie_result(ie_result, download, extra_info) File "C:\Users\jojot\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\yt_dlp\YoutubeDL.py", line 1821, in process_ie_result ie_result = self.process_video_result(ie_result, download=download) File "C:\Users\jojot\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\yt_dlp\YoutubeDL.py", line 2955, in process_video_result raise ExtractorError( yt_dlp.utils.ExtractorError: [youtube] n_Dv4JMiwK8: Requested format is not available. Use --list-formats for a list of available formats
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\jojot\OneDrive\Documents\RedditVideoMakerBot-master\main.py", line 131, in
System Information
Operating System : Windows 11 Python version : Python 3.10 App version / Branch : latest
Checklist
- [x] I have searched the open issues for duplicates.
- [x] I have shown the entire traceback, if possible.
Additional Context
No response
This is due to a dependency, yt-dlp, needing upgrading. Dependabot will probably handle in next release.
Current workaround is pip install --upgrade yt-dlp
Make sure to check other issue comments for other workarounds before they're merged into the next release :D
This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.
Issue closed due to being stale. Please reopen if issue persists in latest version.