Skip to content

抖音是不是给制裁了 #34

Description

@NiuHao365

私信界面全都是空白
Run python main.py
2026-06-09 13:55:57,803 - app - INFO - tasks.py:280 - 开始执行任务
2026-06-09 13:55:57,803 - app - INFO - tasks.py:292 - 开始处理账号 🖕🏻🖕🏼🖕🏽🖕🏾🖕🏿
Traceback (most recent call last):
File "/home/runner/work/DouYinSparkFlow/DouYinSparkFlow/main.py", line 10, in
runTasks()
File "/home/runner/work/DouYinSparkFlow/DouYinSparkFlow/core/tasks.py", line 294, in runTasks
do_user_task(browser, username, cookies, targets)
File "/home/runner/work/DouYinSparkFlow/DouYinSparkFlow/core/tasks.py", line 249, in do_user_task
for username in scroll_and_select_user(page, username, targets):
File "/home/runner/work/DouYinSparkFlow/DouYinSparkFlow/core/tasks.py", line 91, in scroll_and_select_user
page.wait_for_selector(first_friend_selector)
File "/opt/hostedtoolcache/Python/3.11.15/x64/lib/python3.11/site-packages/playwright/sync_api/_generated.py", line 8217, in wait_for_selector
self._sync(
File "/opt/hostedtoolcache/Python/3.11.15/x64/lib/python3.11/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync
return task.result()
^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.15/x64/lib/python3.11/site-packages/playwright/_impl/_page.py", line 419, in wait_for_selector
return await self._main_frame.wait_for_selector(**locals_to_params(locals()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.15/x64/lib/python3.11/site-packages/playwright/_impl/_frame.py", line 369, in wait_for_selector
await self._channel.send(
File "/opt/hostedtoolcache/Python/3.11.15/x64/lib/python3.11/site-packages/playwright/_impl/_connection.py", line 69, in send
return await self._connection.wrap_api_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.15/x64/lib/python3.11/site-packages/playwright/_impl/_connection.py", line 559, in wrap_api_call
raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
playwright._impl._errors.TimeoutError: Page.wait_for_selector: Timeout 120000ms exceeded.
Call log:

  • waiting for locator("//*[@id="sub-app"]/div/div/div[2]/div[2]/div/div/div[1]/div/div/div/ul/div/div/div[1]/li/div") to be visible

Error: Process completed with exit code 1.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions