Crashes when trying to download screenshots (headless browser)
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Getting subreddit threads... │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
What subreddit would you like to pull from? Windows11
Video will be: Windows 11 22H2 is bringing Mica/Acrylic design to more Win32 desktop apps 👍
Received subreddit threads Successfully.
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Saving Text to MP3 files 🎶 │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Saving... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7 it/s
Saved Text to MP3 files Successfully.
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Downloading Screenshots of Reddit Posts 📷 │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Launching Headless Browser...
Traceback (most recent call last):
File "/home/edydev/Desktop/TikTok/main.py", line 19, in
I filled out these fields in the .env file:
REDDIT_CLIENT_ID="..."
REDDIT_CLIENT_SECRET="..."
Was I supposed to fill out these too:
REDDIT_USERNAME="..."
REDDIT_PASSWORD="..."
In the .env file you should fill out your reddit username and password i believe
If I fill those in the script refuses to even ask me for the subreddit
The problem is not auth but playwright thinking its not installed.
I found this command in playwright's documentation, that seems to do something but
PLAYWRIGHT_BROWSERS_PATH=$HOME/pw-browsers python3 -m playwright install
it still shows the same error
Closing due to being stale, retry in latest version and reopen if issue persists