elebumm / RedditVideoMakerBot

Create Reddit Videos with just✨ one command ✨
GNU General Public License v3.0
6.49k stars 1.83k forks source link

[Bug]: [youtube] unable to extract initial player response #1798

Closed SpyGgG closed 11 months ago

SpyGgG commented 1 year ago

Describe the bug

When I run the project and it starts to download the videos for the music it give this exact error "WARNING: [youtube] unable to extract initial player response" and this after "WARNING: [youtube] unable to extract yt initial data" Error: ERROR: [download] Got error: HTTP Error 403: Forbidden │ │ Config: {'allow_nsfw': False, 'theme': 'dark', 'times_to_run': 50, 'opacity': 0.9, 'storymode': False, │ │ 'storymodemethod': 1, 'storymode_max_length': 1000, 'resolution_w': 1080, 'resolution_h': 1920, 'zoom': 1.0, │ │ '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': │ │ 'tiktok', '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

Reproduction Steps

when ever i try to run the project

Expected behavior

I expected it to make the videos

Screenshots

No response

System Information

Operating System : [Windows 11] Python version : [Python 3.6] App version / Branch : [atest]

Checklist

Additional Context

No response

HiddenBoixxx commented 1 year ago

same for me http error...

xJWzZ commented 1 year ago

A fix for
conversion error or Sorry, something went wrong with this version! Try again, and feel free to report this issue at GitHub or the Discord community. │ │ Version: 3.2 │ │ Error: ERROR: [download] Got error: HTTP Error 403: Forbidden

delete the assets folder then type in cmd prompt run pip install yt-dlp==2023.7.6

and then run python main.py it will install the asset folder again without corrupting

it will fix all conversion error issue because it doesn't download properly (the version of ytdlp is outdated in requirements.txt Fix by @.BulletZ

github-actions[bot] commented 1 year ago

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.

github-actions[bot] commented 11 months ago

Issue closed due to being stale. Please reopen if issue persists in latest version.