1. reddit/subreddit.py: passkey= → password= (PRAW correct param name)
2. reddit/subreddit.py: bare except → Exception with sys.exit(1)
Prevents UnboundLocalError when reddit object not created
3. screenshot_downloader.py: NSFW hardcoded #t3_12hmbug selector →
generic button selector that works with any NSFW post
4. final_video.py: h264_nvenc hardcoded → auto-detect GPU encoder,
fallback to libx264 for machines without NVIDIA GPU
https://claude.ai/code/session_01G67vV3sJLXtm2q9r9FcF7L
- Replace browser.launch() + new_context() with launch_persistent_context()
- Browser profile saved in ./assets/browser_profile/ directory
- Cookies, login state, and settings persist between runs
- Check if already logged in before attempting login (avoids redundant login)
- Only logs in again if session was lost or first time running
- Fixes issue of opening new profile each time instead of reusing existing profile with login
In get_latest_ms_progress(), the value of out_time_ms can equal 'N/A\n', this code confirms this will not be the case in the future. Since this is only a progress indicator, it should not crash the program.
The RedditVideoMakerBot has been updated to version 3.2, bringing exciting new features and bug fixes. Introducing **ElevenLabs TTS** for high-quality audio. Enjoy **background audio** and **random voices per comment**. Run the bot with one click using the **bat file**. Use the **zoom setting** for bigger text. Bug fixes include video downloader improvements, random story mode fix, updated dependencies, code optimizations, text size adjustments, enhanced Reddit credentials validation, and translator fixes. Enjoy the new features and **thanks to all contributors**!