Skip to content

Update screenshot_downloader.py - #2138

Open
Roostydoo2 wants to merge 2 commits into
elebumm:developfrom
Roostydoo2:master
Open

Update screenshot_downloader.py#2138
Roostydoo2 wants to merge 2 commits into
elebumm:developfrom
Roostydoo2:master

Conversation

@Roostydoo2

Copy link
Copy Markdown

Fixes bug where the application always fails on the skipping translation step and fails to take screenshots

Description

Solves the bug in which the application fails to take screenshots and outputs an error message on the skipping translation step.

Dependencies:
None

Issue Fixes

Solves the screenshot bug

Checklist:

  • [ y] I am pushing changes to the develop branch
  • [ dunno] I am using the recommended development environment
  • [ y] I have performed a self-review of my own code
  • [ y] I have commented my code, particularly in hard-to-understand areas
  • [ y] I have formatted and linted my code using python-black and pylint
  • [ y] I have cleaned up unnecessary files
  • [ y] My changes generate no new warnings
  • [ y] My changes follow the existing code-style
  • [ y] My changes are relevant to the project

Any other information (e.g how to test the changes)

Test with different settings if you want, in my experience it has never failed though (Not all code is perfect I'm not saying mine is).

Fixes bug where the application always fails on the skipping translation step and fails to take screenshots
@Roostydoo2

Roostydoo2 commented Sep 11, 2024

Copy link
Copy Markdown
Author

Edit: sometimes the app will throw an error about waiting for the h1 slot="title" locator I believe this is to do with anti bot measures and I can usually fix it with a vpn.

Edit to this comment: As a matter of fact every error received while using this script can be fixed by refreshing your vpn (obviously reddit doesn't like bots ;) )

@JasonLovesDoggo

Copy link
Copy Markdown
Collaborator

I'll try to test it soon, looks good to me though

@JasonLovesDoggoJasonLovesDoggo added help wanted Extra attention is needed bug fix Pull request that adds a bug fix before next release Issue must be solved / PR must be merged before next release Check up needed Might be able to delete this soon check up on it again labels Sep 18, 2024
@tahatsahintahatsahin mentioned this pull request Sep 18, 2024
2 tasks
@JasonLovesDoggoJasonLovesDoggo self-assigned this Sep 19, 2024
@Motzumoto

Motzumoto commented Sep 23, 2024

Copy link
Copy Markdown

Hey i tested this on arch linux and this pr doesnt work (for me at least).
image

Heres my logs

 ██████╗ ███████╗██████╗ ██████╗ ██╗████████╗ ██╗ ██╗██╗██████╗ ███████╗ ██████╗ ███╗ ███╗ █████╗ ██╗ ██╗███████╗██████╗
██╔══██╗██╔════╝██╔══██╗██╔══██╗██║╚══██╔══╝ ██║ ██║██║██╔══██╗██╔════╝██╔═══██╗ ████╗ ████║██╔══██╗██║ ██╔╝██╔════╝██╔══██╗
██████╔╝█████╗ ██║ ██║██║ ██║██║ ██║ ██║ ██║██║██║ ██║█████╗ ██║ ██║ ██╔████╔██║███████║█████╔╝ █████╗ ██████╔╝
██╔══██╗██╔══╝ ██║ ██║██║ ██║██║ ██║ ╚██╗ ██╔╝██║██║ ██║██╔══╝ ██║ ██║ ██║╚██╔╝██║██╔══██║██╔═██╗ ██╔══╝ ██╔══██╗
██║ ██║███████╗██████╔╝██████╔╝██║ ██║ ╚████╔╝ ██║██████╔╝███████╗╚██████╔╝ ██║ ╚═╝ ██║██║ ██║██║ ██╗███████╗██║ ██║
╚═╝ ╚═╝╚══════╝╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
Thanksforusingthistool! FeelfreetocontributetothisprojectonGitHub! Ifyouhaveanyquestions, feelfreetojoinmyDiscordserverorsubmitaGitHubissue. Youcanfindsolutionstomanycommonproblemsinthedocumentation: https://reddit-video-maker-bot.netlify.app/ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Youareusingthenewestversion (3.3.0) ofthebot │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
################################ ## Checking TOML configuration ## ################################Ifyouseeanyprompts, thatmeansthatyouhaveunset/incorrectlysetvariables, pleaseinputthecorrectvalues.
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ onthe1stiterationof10 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
LoggingintoReddit.
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Gettingsubredditthreads... │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Usingsubreddit: r/AmItheAssholefromTOMLconfigThispostwaspinnedbymoderators. Skipping...
Videowillbe: AITAforofferingcashinsteadofmylaborforaweddinggift? 👍
Threadurlis: https://new.reddit.com//r/AmItheAsshole/comments/1fmtyw1/aita_for_offering_cash_instead_of_my_labor_for_a/ 👍
Threadhas4543upvotesThreadhasaupvoteratioof99.0%Threadhas348commentsReceivedsubredditthreadsSuccessfully.
ThreadIDis1fmtyw1
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ SavingTexttoMP3files... │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
SavedTexttoMP3filessuccessfully.
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Downloadingscreenshotsofredditposts... │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
LaunchingHeadlessBrowser...
LoggingintoReddit...
Skippingtranslation...
Somethingwentwrong!
Somethingwentwrongwithmakingthescreenshots! Doyouwanttoskipthepost? (y/n) Doyouwanttheerrortracebackfordebuggingpurposes? (y/n)╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Sorry, somethingwentwrongwiththisversion! Tryagain, andfeelfreetoreportthisissueatGitHubortheDiscordcommunity. │
│ Version: 3.3.0 │
│ Error: Locator.bounding_box: Timeout30000msexceeded. │
│ Calllog: │
│ waitingforlocator("[data-test-id=\"post-content\"]") │
│ │
│ Config: {'allow_nsfw': False, 'theme': 'transparent', 'times_to_run': 10, 'opacity': 0.5, 'storymode': True, 'storymodemethod': 0, 'storymode_max_length': 5000, 'resolution_w': 1080, │
│ 'resolution_h': 1920, 'zoom': 0.7, 'channel_name': 'Reddit Tales', 'background': {'background_video': 'minecraft', 'background_audio': '', 'background_audio_volume': 0.0, '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', 'tiktok_voice': 'en_us_001', 'tiktok_sessionid': 'REDACTED', 'python_voice': '1', 'py_voice_num': '2', 'silence_duration': 0.6, 'no_emojis': False, │
│ 'random_voice': False, 'elevenlabs_voice_name': 'Bella', 'elevenlabs_api_key': 'REDACTED', 'aws_polly_voice': '', 'streamlabs_polly_voice': 'Matthew'}} │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Traceback (mostrecentcalllast):
File"/home/lain/RedditVideoMakerBot/main.py", line131, in<module>raiseerrFile"/home/lain/RedditVideoMakerBot/main.py", line113, in<module>run_many(config["settings"]["times_to_run"])
File"/home/lain/RedditVideoMakerBot/main.py", line68, inrun_manymain()
File"/home/lain/RedditVideoMakerBot/main.py", line52, inmainget_screenshots_of_reddit_posts(reddit_object, number_of_comments)
File"/home/lain/RedditVideoMakerBot/video_creation/screenshot_downloader.py", line203, inget_screenshots_of_reddit_postsraiseeFile"/home/lain/RedditVideoMakerBot/video_creation/screenshot_downloader.py", line180, inget_screenshots_of_reddit_postslocation=page.locator('[data-test-id="post-content"]').bounding_box()
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/sync_api/_generated.py", line14782, inbounding_boxself._sync(self._impl_obj.bounding_box(timeout=timeout))
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_sync_base.py", line115, in_syncreturntask.result()
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_locator.py", line127, inbounding_boxreturnawaitself._with_element(
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_locator.py", line108, in_with_elementhandle=awaitself.element_handle(timeout=timeout)
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_locator.py", line311, inelement_handlehandle=awaitself._frame.wait_for_selector(
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_frame.py", line323, inwait_for_selectorawaitself._channel.send("waitForSelector", locals_to_params(locals()))
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_connection.py", line59, insendreturnawaitself._connection.wrap_api_call(
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_connection.py", line514, inwrap_api_callraiserewrite_error(error, f"{parsed_st['apiName']}: {error}") fromNoneplaywright._impl._errors.TimeoutError: Locator.bounding_box: Timeout30000msexceeded.

Important!

I did open this with headless False to see if it couldn't login like many people suggested; it logged in fine and went to the subreddit post fine as well.

@JasonLovesDoggo

Copy link
Copy Markdown
Collaborator

Hey i tested this on arch linux and this pr doesnt work (for me at least). image

Heres my logs

 ██████╗ ███████╗██████╗ ██████╗ ██╗████████╗ ██╗ ██╗██╗██████╗ ███████╗ ██████╗ ███╗ ███╗ █████╗ ██╗ ██╗███████╗██████╗
██╔══██╗██╔════╝██╔══██╗██╔══██╗██║╚══██╔══╝ ██║ ██║██║██╔══██╗██╔════╝██╔═══██╗ ████╗ ████║██╔══██╗██║ ██╔╝██╔════╝██╔══██╗
██████╔╝█████╗ ██║ ██║██║ ██║██║ ██║ ██║ ██║██║██║ ██║█████╗ ██║ ██║ ██╔████╔██║███████║█████╔╝ █████╗ ██████╔╝
██╔══██╗██╔══╝ ██║ ██║██║ ██║██║ ██║ ╚██╗ ██╔╝██║██║ ██║██╔══╝ ██║ ██║ ██║╚██╔╝██║██╔══██║██╔═██╗ ██╔══╝ ██╔══██╗
██║ ██║███████╗██████╔╝██████╔╝██║ ██║ ╚████╔╝ ██║██████╔╝███████╗╚██████╔╝ ██║ ╚═╝ ██║██║ ██║██║ ██╗███████╗██║ ██║
╚═╝ ╚═╝╚══════╝╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
Thanksforusingthistool! FeelfreetocontributetothisprojectonGitHub! Ifyouhaveanyquestions, feelfreetojoinmyDiscordserverorsubmitaGitHubissue. Youcanfindsolutionstomanycommonproblemsinthedocumentation: https://reddit-video-maker-bot.netlify.app/ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Youareusingthenewestversion (3.3.0) ofthebot │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
################################ ## Checking TOML configuration ## ################################Ifyouseeanyprompts, thatmeansthatyouhaveunset/incorrectlysetvariables, pleaseinputthecorrectvalues.
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ onthe1stiterationof10 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
LoggingintoReddit.
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Gettingsubredditthreads... │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Usingsubreddit: r/AmItheAssholefromTOMLconfigThispostwaspinnedbymoderators. Skipping...
Videowillbe: AITAforofferingcashinsteadofmylaborforaweddinggift? 👍
Threadurlis: https://new.reddit.com//r/AmItheAsshole/comments/1fmtyw1/aita_for_offering_cash_instead_of_my_labor_for_a/ 👍
Threadhas4543upvotesThreadhasaupvoteratioof99.0%Threadhas348commentsReceivedsubredditthreadsSuccessfully.
ThreadIDis1fmtyw1
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ SavingTexttoMP3files... │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
SavedTexttoMP3filessuccessfully.
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Downloadingscreenshotsofredditposts... │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
LaunchingHeadlessBrowser...
LoggingintoReddit...
Skippingtranslation...
Somethingwentwrong!
Somethingwentwrongwithmakingthescreenshots! Doyouwanttoskipthepost? (y/n) Doyouwanttheerrortracebackfordebuggingpurposes? (y/n)╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Sorry, somethingwentwrongwiththisversion! Tryagain, andfeelfreetoreportthisissueatGitHubortheDiscordcommunity. │
│ Version: 3.3.0 │
│ Error: Locator.bounding_box: Timeout30000msexceeded. │
│ Calllog: │
│ waitingforlocator("[data-test-id=\"post-content\"]") │
│ │
│ Config: {'allow_nsfw': False, 'theme': 'transparent', 'times_to_run': 10, 'opacity': 0.5, 'storymode': True, 'storymodemethod': 0, 'storymode_max_length': 5000, 'resolution_w': 1080, │
│ 'resolution_h': 1920, 'zoom': 0.7, 'channel_name': 'Reddit Tales', 'background': {'background_video': 'minecraft', 'background_audio': '', 'background_audio_volume': 0.0, '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', 'tiktok_voice': 'en_us_001', 'tiktok_sessionid': 'REDACTED', 'python_voice': '1', 'py_voice_num': '2', 'silence_duration': 0.6, 'no_emojis': False, │
│ 'random_voice': False, 'elevenlabs_voice_name': 'Bella', 'elevenlabs_api_key': 'REDACTED', 'aws_polly_voice': '', 'streamlabs_polly_voice': 'Matthew'}} │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Traceback (mostrecentcalllast):
File"/home/lain/RedditVideoMakerBot/main.py", line131, in<module>raiseerrFile"/home/lain/RedditVideoMakerBot/main.py", line113, in<module>run_many(config["settings"]["times_to_run"])
File"/home/lain/RedditVideoMakerBot/main.py", line68, inrun_manymain()
File"/home/lain/RedditVideoMakerBot/main.py", line52, inmainget_screenshots_of_reddit_posts(reddit_object, number_of_comments)
File"/home/lain/RedditVideoMakerBot/video_creation/screenshot_downloader.py", line203, inget_screenshots_of_reddit_postsraiseeFile"/home/lain/RedditVideoMakerBot/video_creation/screenshot_downloader.py", line180, inget_screenshots_of_reddit_postslocation=page.locator('[data-test-id="post-content"]').bounding_box()
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/sync_api/_generated.py", line14782, inbounding_boxself._sync(self._impl_obj.bounding_box(timeout=timeout))
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_sync_base.py", line115, in_syncreturntask.result()
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_locator.py", line127, inbounding_boxreturnawaitself._with_element(
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_locator.py", line108, in_with_elementhandle=awaitself.element_handle(timeout=timeout)
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_locator.py", line311, inelement_handlehandle=awaitself._frame.wait_for_selector(
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_frame.py", line323, inwait_for_selectorawaitself._channel.send("waitForSelector", locals_to_params(locals()))
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_connection.py", line59, insendreturnawaitself._connection.wrap_api_call(
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_connection.py", line514, inwrap_api_callraiserewrite_error(error, f"{parsed_st['apiName']}: {error}") fromNoneplaywright._impl._errors.TimeoutError: Locator.bounding_box: Timeout30000msexceeded.

Important!

I did open this with headless False to see if it couldn't login like many people suggested; it logged in fine and went to the subreddit post fine as well.

This seems to be unrelated, does it work using main?

@Motzumoto

Motzumoto commented Sep 23, 2024

Copy link
Copy Markdown

This seems to be unrelated, does it work using main?

It does not.

╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Sorry, somethingwentwrongwiththisversion! Tryagain, andfeelfreetoreportthisissueatGitHubortheDiscordcommunity. │
│ Version: 3.3.0 │
│ Error: Locator.bounding_box: Timeout30000msexceeded. │
│ Calllog: │
│ waitingforlocator("[data-test-id=\"post-content\"]") │
│ │
│ Config: {'allow_nsfw': False, 'theme': 'transparent', 'times_to_run': 10, 'opacity': 0.5, 'storymode': False, 'storymodemethod': 0, 'storymode_max_length': 5000, 'resolution_w': 1080, 'resolution_h': 1920, 'zoom': 0.7, │
│ 'channel_name': 'Reddit Tales', 'background': {'background_video': 'minecraft', 'background_audio': '', 'background_audio_volume': 0.0, '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', 'tiktok_voice': 'en_us_001', 'tiktok_sessionid': 'REDACTED', 'python_voice': '1', │
│ 'py_voice_num': '2', 'silence_duration': 0.6, 'no_emojis': False, 'random_voice': False, 'elevenlabs_voice_name': 'Bella', 'elevenlabs_api_key': 'REDACTED', 'aws_polly_voice': '', 'streamlabs_polly_voice': 'Matthew'}} │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Traceback (mostrecentcalllast):
File"/home/lain/RedditVideoMakerBot/main.py", line131, in<module>raiseerrFile"/home/lain/RedditVideoMakerBot/main.py", line113, in<module>run_many(config["settings"]["times_to_run"])
File"/home/lain/RedditVideoMakerBot/main.py", line68, inrun_manymain()
File"/home/lain/RedditVideoMakerBot/main.py", line52, inmainget_screenshots_of_reddit_posts(reddit_object, number_of_comments)
File"/home/lain/RedditVideoMakerBot/video_creation/screenshot_downloader.py", line203, inget_screenshots_of_reddit_postsraiseeFile"/home/lain/RedditVideoMakerBot/video_creation/screenshot_downloader.py", line180, inget_screenshots_of_reddit_postslocation=page.locator('[data-test-id="post-content"]').bounding_box()
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/sync_api/_generated.py", line14782, inbounding_boxself._sync(self._impl_obj.bounding_box(timeout=timeout))
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_sync_base.py", line115, in_syncreturntask.result()
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_locator.py", line127, inbounding_boxreturnawaitself._with_element(
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_locator.py", line108, in_with_elementhandle=awaitself.element_handle(timeout=timeout)
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_locator.py", line311, inelement_handlehandle=awaitself._frame.wait_for_selector(
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_frame.py", line323, inwait_for_selectorawaitself._channel.send("waitForSelector", locals_to_params(locals()))
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_connection.py", line59, insendreturnawaitself._connection.wrap_api_call(
File"/home/lain/RedditVideoMakerBot/.venv/lib/python3.10/site-packages/playwright/_impl/_connection.py", line514, inwrap_api_callraiserewrite_error(error, f"{parsed_st['apiName']}: {error}") fromNoneplaywright._impl._errors.TimeoutError: Locator.bounding_box: Timeout30000msexceeded.
Calllog:
waitingforlocator("[data-test-id=\"post-content\"]")

@tahatsahin

Copy link
Copy Markdown

This works for me for some of the subreddits. Most of them still crashes. Reddit has updated its dom structure, i think that is the main reason why script fails.

@Motzumoto

Motzumoto commented Sep 24, 2024

Copy link
Copy Markdown

This works for me for some of the subreddits. Most of them still crashes. Reddit has updated its dom structure, i think that is the main reason why script fails.

This needs to use asyncpraw for getting comments and titles. It will always fail / be a headache to fix otherwise. Using async praw would also remove the need for a headless browser driver.

@Teknoist

Copy link
Copy Markdown

ı try on windows stuck %67 and give me same log

@Dlunhappy226

Copy link
Copy Markdown

This don't work in zoom mode.

@Roostydoo2

Copy link
Copy Markdown
Author

Hi all I have been made aware of some bugs with zoom I'll update my pull request soon to fix these as it's a pretty simple fix
(There is another bug with making multiple videos at the same time I believe I know how to fix it but I might do it in a different pull request because I believe it'll be quite complicated and slow down the process of this request being added)

Fixes unable to zoom bug
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

before next releaseIssue must be solved / PR must be merged before next releasebug fixPull request that adds a bug fixCheck up neededMight be able to delete this soon check up on it againhelp wantedExtra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@Roostydoo2@JasonLovesDoggo@Motzumoto@tahatsahin@Teknoist@Dlunhappy226@Xanechir