rongchenlin / BiliBili-Lucky-Draw

B站抽奖转发——薅羊毛脚本 : 一个小脚本能够帮助你去看看B站上面今天有哪些Up有抽奖活动,然后还能帮助你自动进行抽奖(转发动态+关注),毕竟抽奖总得试试吗,万一中奖了呢
GNU General Public License v3.0
353 stars 46 forks source link

1 #32

Open yao52069 opened 8 months ago

yao52069 commented 8 months ago

⚠️ 搜索issues中是否已存在类似问题

操作系统类型?

Linux

运行的python版本是?

python 3.7

复现步骤 🕹

1

问题描述 😯

能登录 就是转发不了 系统是debian12 docker允许的

终端日志 📒

<此处粘贴终端日志>

2024-02-22 12:11:26,526 - SearchDynamicByUps.py - ERROR - [searchFromFiftyUps 从“你的工具人老公”查找抽奖动态 出错 Message: Stacktrace:

0 0x559b1495e303

1 0x559b146432b7

2 0x559b1468ecc0

3 0x559b1468edb1

4 0x559b146d2b44

5 0x559b146b13ad

6 0x559b146d007c

7 0x559b146b1123

8 0x559b14681095

9 0x559b1468209e

10 0x559b149226ab

11 0x559b149264ba

12 0x559b1490ef85

13 0x559b1492712f

14 0x559b148f2e6f

15 0x559b1494b5f8

16 0x559b1494b7c2

17 0x559b1495d4a4

18 0x7fb3fe3edac3

] Traceback (most recent call last): File "/app/service/search_draw_dynamic_service/SearchDynamicByUps.py", line 43, in searchFromFiftyUps first_dyn_element = ElementUtil.get_element_by_xpath(bro, chains, pathOne) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/utils/webdriver_util.py", line 21, in get_element_by_xpath return WebDriverWait(bro, 10).until(EC.element_to_be_clickable((By.XPATH, path))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/support/wait.py", line 89, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: Stacktrace:

0 0x559b1495e303

1 0x559b146432b7

2 0x559b1468ecc0

3 0x559b1468edb1

4 0x559b146d2b44

5 0x559b146b13ad

6 0x559b146d007c

7 0x559b146b1123

8 0x559b14681095

9 0x559b1468209e

10 0x559b149226ab

11 0x559b149264ba

12 0x559b1490ef85

13 0x559b1492712f

14 0x559b148f2e6f

15 0x559b1494b5f8

16 0x559b1494b7c2

17 0x559b1495d4a4

18 0x7fb3fe3edac3

2024-02-22 12:11:38,400 - SearchDynamicByUps.py - ERROR - [searchFromBigFish 从“大锦鲤”查找抽奖动态 出错 Message: Stacktrace:

0 0x559b1495e303

1 0x559b146432b7

2 0x559b1468ecc0

3 0x559b1468edb1

4 0x559b146d2b44

5 0x559b146b13ad

6 0x559b146d007c

7 0x559b146b1123

8 0x559b14681095

9 0x559b1468209e

10 0x559b149226ab

11 0x559b149264ba

12 0x559b1490ef85

13 0x559b1492712f

14 0x559b148f2e6f

15 0x559b1494b5f8

16 0x559b1494b7c2

17 0x559b1495d4a4

18 0x7fb3fe3edac3

] Traceback (most recent call last): File "/app/service/search_draw_dynamic_service/SearchDynamicByUps.py", line 72, in searchFromBigFish base_link_element = ElementUtil.get_element_by_xpath(bro, chains, pathOne) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/utils/webdriver_util.py", line 21, in get_element_by_xpath return WebDriverWait(bro, 10).until(EC.element_to_be_clickable((By.XPATH, path))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/support/wait.py", line 89, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: Stacktrace:

0 0x559b1495e303

1 0x559b146432b7

2 0x559b1468ecc0

3 0x559b1468edb1

4 0x559b146d2b44

5 0x559b146b13ad

6 0x559b146d007c

7 0x559b146b1123

8 0x559b14681095

9 0x559b1468209e

10 0x559b149226ab

11 0x559b149264ba

12 0x559b1490ef85

13 0x559b1492712f

14 0x559b148f2e6f

15 0x559b1494b5f8

16 0x559b1494b7c2

17 0x559b1495d4a4

18 0x7fb3fe3edac3

2024-02-22 12:11:50,289 - SearchDynamicByUps.py - ERROR - [searchFromCarcinus 从“Carcinus”查找抽奖动态 出错 Message: Stacktrace:

0 0x559b1495e303

1 0x559b146432b7

2 0x559b1468ecc0

3 0x559b1468edb1

4 0x559b146d2b44

5 0x559b146b13ad

6 0x559b146d007c

7 0x559b146b1123

8 0x559b14681095

9 0x559b1468209e

10 0x559b149226ab

11 0x559b149264ba

12 0x559b1490ef85

13 0x559b1492712f

14 0x559b148f2e6f

15 0x559b1494b5f8

16 0x559b1494b7c2

17 0x559b1495d4a4

18 0x7fb3fe3edac3

] Traceback (most recent call last): File "/app/service/search_draw_dynamicservice/SearchDynamicByUps.py", line 100, in searchFromCarcinus base_link_element = ElementUtil.get_element_by_xpath(bro, chains, pathOne) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/utils/webdriver_util.py", line 21, in get_element_by_xpath return WebDriverWait(bro, 10).until(EC.element_to_be_clickable((By.XPATH, path))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/support/wait.py", line 89, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: Stacktrace:

0 0x559b1495e303

1 0x559b146432b7

2 0x559b1468ecc0

3 0x559b1468edb1

4 0x559b146d2b44

5 0x559b146b13ad

6 0x559b146d007c

7 0x559b146b1123

8 0x559b14681095

9 0x559b1468209e

10 0x559b149226ab

11 0x559b149264ba

12 0x559b1490ef85

13 0x559b1492712f

14 0x559b148f2e6f

15 0x559b1494b5f8

16 0x559b1494b7c2

17 0x559b1495d4a4

18 0x7fb3fe3edac3

2024-02-22 12:12:07,219 - SearchDynamicByUps.py - ERROR - [searchFromSmile 从“闻不着味”查找抽奖动态 出错 Message: invalid argument: 'value' must be a string (Session info: chrome=121.0.6167.184) Stacktrace:

0 0x559b1495e303

1 0x559b146432b7

2 0x559b1468e495

3 0x559b1468edb1

4 0x559b146d2b44

5 0x559b146b13ad

6 0x559b146d007c

7 0x559b146b1123

8 0x559b14681095

9 0x559b1468209e

10 0x559b149226ab

11 0x559b149264ba

12 0x559b1490ef85

13 0x559b1492712f

14 0x559b148f2e6f

15 0x559b1494b5f8

16 0x559b1494b7c2

17 0x559b1495d4a4

18 0x7fb3fe3edac3

] Traceback (most recent call last): File "/app/service/search_draw_dynamic_service/SearchDynamicByUps.py", line 127, in searchFromSmile base_link_element = ElementUtil.get_element_by_xpath(bro, chains, pathOne) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/utils/webdriver_util.py", line 21, in get_element_by_xpath return WebDriverWait(bro, 10).until(EC.element_to_be_clickable((By.XPATH, path))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/support/wait.py", line 78, in until value = method(self._driver) ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/support/expected_conditions.py", line 326, in _predicate target = driver.find_element(*target) # grab element at locator ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 1238, in find_element return self.execute(Command.FIND_ELEMENT, { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 418, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: 'value' must be a string (Session info: chrome=121.0.6167.184) Stacktrace:

0 0x559b1495e303

1 0x559b146432b7

2 0x559b1468e495

3 0x559b1468edb1

4 0x559b146d2b44

5 0x559b146b13ad

6 0x559b146d007c

7 0x559b146b1123

8 0x559b14681095

9 0x559b1468209e

10 0x559b149226ab

11 0x559b149264ba

12 0x559b1490ef85

13 0x559b1492712f

14 0x559b148f2e6f

15 0x559b1494b5f8

16 0x559b1494b7c2

17 0x559b1495d4a4

18 0x7fb3fe3edac3

2024-02-22 12:12:07,337 - multi_users_share.py - ERROR - 启动多用户转发模式! 2024-02-22 12:12:07,337 - multi_users_share.py - ERROR - 用户: test_id开始转发动态. 2024-02-22 12:12:07,804 - share_from_biliLick.py - ERROR - 启动:根据B站up主的分享链接进行抽奖动态转发!