Giter Site home page Giter Site logo

prolific-joiner's Introduction

Prolific Logo

Prolific Joiner

Inspired from @shiflux's one.

Installation

git clone https://github.com/UnMars/Prolific-Joiner

Requirements

pip install -r requirements.txt

Usage

python main.py

Configuration

Edit the config.json file.

Config Usage
auto_renew_bearer "True" or "False" (default True)
pause_on_idle "True" or "False" (default True)
mail Your mail on Prolific (used to renew token)
password Your password on Prolific (used to renew token)
Prolific_ID Your Prolific ID
wait_time Seconds between each check for a new study
(>10s should be okay) (default 30s)

Known Error Code

Error Code Details Meaning
140010 PEC-SUB-0002: We are sorry but we could not create your submission at this time. This may be due to your current network connection. For more information please see our help centre article. https://participant-help.prolific.co/hc/en-gb/articles/360012393100-PEC-Error#heading-0
The IP address that you are using was flagged for suspicious behaviour
Either wait for it to resolve by itself or make a ticket to Prolific Support.
(Try also to raise sleep duration)

Features

  • Auto joining new study, generate a notification and open a new tab for it
  • Almost all requests based (except for the token renewal)
  • ReCaptcha Bypass
  • Fast & headless
  • Liteweight
  • Can run 24/7

Notes

Please use the bot only when you can be here for the study, don't take place in studies you'll can't do. Don't spam the API or you'll get banned ! I'm open to every requests, make a PR ๐Ÿ™Œ !

prolific-joiner's People

Contributors

conradrz avatar ndrefg avatar qcy8cloud avatar unmars avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prolific-joiner's Issues

Nothing happen

Hi, i want to know if i have make it correclty, because when i launched it, nothing happen. It says the captcha is solved but then nothing. I don't have any study by the moment so do not know if it work. Thanks
cmd

by advance.

selenium.common.exceptions.JavascriptException: Message: javascript error: Cannot set properties of undefined (setting 'value')

The first part of the code runs well (It gets the page and resolves the captcha) but when It tries to log in, I get this error:

Traceback (most recent call last):
File "D:\Prolific-Joiner-main\Prolific-Joiner-main\main.py", line 177, in
p_updater = ProlificUpdater()
^^^^^^^^^^^^^^^^^
File "D:\Prolific-Joiner-main\Prolific-Joiner-main\main.py", line 28, in init
else: self.bearer = "Bearer " + self.get_bearer_token()
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Prolific-Joiner-main\Prolific-Joiner-main\main.py", line 87, in get_bearer_token
driver.execute_script(f'document.getElementsByName("username")[0].value = "{config["mail"]}"')

File "C:\Users\vasco\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\remote\webdriver.py", line 404, in execute_script
return self.execute(command, {"script": script, "args": converted_args})["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vasco\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\remote\webdriver.py", line 344, in execute
self.error_handler.check_response(response)

File "C:\Users\vasco\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.JavascriptException: Message: javascript error: Cannot set properties of undefined (setting 'value')
(Session info: headless chrome=118.0.5993.118)
Stacktrace:
GetHandleVerifier [0x002D4DE3+43907]
(No symbol) [0x00260741]
(No symbol) [0x001533ED]
(No symbol) [0x00156F6D]
(No symbol) [0x001589D9]
(No symbol) [0x001B5DEB]
(No symbol) [0x001A2B5C]
(No symbol) [0x001B55CA]
(No symbol) [0x001A2956]
(No symbol) [0x0017E17E]
(No symbol) [0x0017F32D]
GetHandleVerifier [0x00585AF9+2865305]
GetHandleVerifier [0x005CE78B+3163435]
GetHandleVerifier [0x005C8441+3138017]
GetHandleVerifier [0x0035E0F0+605840]
(No symbol) [0x0026A64C]
(No symbol) [0x00266638]
(No symbol) [0x0026675F]
(No symbol) [0x00258DB7]
BaseThreadInitThunk [0x76987BA9+25]
RtlInitializeExceptionChain [0x7710BD3B+107]
RtlClearBits [0x7710BCBF+191]
(No symbol) [0x00000000]

Does anyone have any idea why it might be? I've upgraded selenium/wire and webdriver_manager but nothing seems to work. Thanks!

Script stuck after the domain change

Since Prolific have changed their domain from Prolific.co, to Prolific.com the script now appears to get stuck at the "captcha solved" step. I've let it open for 10+ minutes, but it never goes past that point.

Is there a solution for this?

Thank you :)

image

Opening windows with study currently accepted

Amazing bot man! Thanks a lot!

Just a little issue is that the bot tries to accept other studies when i already accepted one and opens a new window.
Apart from that it works amazingly!

Not Working

For a few days (at the time of writing issue: 5 days) the script is not working. I noticed this when the assistant showed me that there was a study available, while the bot did not join.

Failed to log in

When trying to run the script, it returns the following text:

[+] Getting a new bearer token...
[-] Failed to log in, retrying in 3s...
[+] Getting a new bearer token...
[-] Failed to log in, retrying in 3s...

I've tried the solution mentioned in issue #35 but it doesn't fix the problem on my end.

I've checked on 2 different computers (same issue) + checked if everything is okay with my account (which it also is).

Error for getting requirements

When trying

pip install -r requirements.txt

Following error occurs:

'Collecting playsound>=1.3.0 (from -r requirements.txt (line 1))
Using cached playsound-1.3.0.tar.gz (7.7 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

ร— Getting requirements to build wheel did not run successfully.
โ”‚ exit code: 1
โ•ฐโ”€> [23 lines of output]
Traceback (most recent call last):
File "C:\Users<>\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users<>\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users<>\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users<>\AppData\Local\Temp\pip-build-env-9on9mwu8\overlay\Lib\site-packages\setuptools\build_meta.py", line 327, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "C:\Users<>\AppData\Local\Temp\pip-build-env-9on9mwu8\overlay\Lib\site-packages\setuptools\build_meta.py", line 297, in _get_build_requires
self.run_setup()
File "C:\Users<>\AppData\Local\Temp\pip-build-env-9on9mwu8\overlay\Lib\site-packages\setuptools\build_meta.py", line 497, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users<>\AppData\Local\Temp\pip-build-env-9on9mwu8\overlay\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup
exec(code, locals())
File "", line 6, in
File "C:\Users<>\AppData\Local\Programs\Python\Python310\lib\inspect.py", line 1147, in getsource
lines, lnum = getsourcelines(object)
File "C:\Users<>\AppData\Local\Programs\Python\Python310\lib\inspect.py", line 1129, in getsourcelines
lines, lnum = findsource(object)
File "C:\Users<>\AppData\Local\Programs\Python\Python310\lib\inspect.py", line 958, in findsource
raise OSError('could not get source code')
OSError: could not get source code
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

ร— Getting requirements to build wheel did not run successfully.
โ”‚ exit code: 1
โ•ฐโ”€> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.'

Missing potential studies due to non functioning of Alert sound.

Hello, sometimes when the script reserves the study but but does not ring the alert bell and i have missed several studies due to this problem, it prints the below scripts, if it fails to ring the bell. @UnMars @conradRz

 Error 305 for command:
        open "C:\GIT\Prolific-Joiner\alert.wav"
    Cannot specify extra characters after a string enclosed in quotation marks.

    Error 305 for command:
        close "C:\GIT\Prolific-Joiner\alert.wav"
    Cannot specify extra characters after a string enclosed in quotation marks.
Failed to close the file: "C:\GIT\Prolific-Joiner\alert.wav"
Traceback (most recent call last):
  File "C:\GIT\Prolific-Joiner\main.py", line 221, in <module>
    if p_updater.executeCycle():
       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\GIT\Prolific-Joiner\main.py", line 152, in executeCycle
    playsound(rf"{Path(__file__).parent}\alert.wav", True)
  File "C:\Users\Uvaiz\AppData\Local\Programs\Python\Python311\Lib\site-packages\playsound.py", line 72, in
_playsoundWin
    winCommand(u'open {}'.format(sound))
  File "C:\Users\Uvaiz\AppData\Local\Programs\Python\Python311\Lib\site-packages\playsound.py", line 64, in winCommand
    raise PlaysoundException(exceptionMessage)
playsound.PlaysoundException:
    Error 305 for command:
        open "C:\GIT\Prolific-Joiner\alert.wav"
    Cannot specify extra characters after a string enclosed in quotation marks.

Error with alert.wav file

Lately, whenever I'm using the script on my laptop, I've been getting this error with the "alert.wav" file. The script doesn't play the alert sound, however it does join the study. Weirdly, the script works without any errors like this on my desktop.
1

Help getting the log in to work?

It times out every time with this message?
[+] Getting a new bearer token...

DevTools listening on ws://127.0.0.1:57084/devtools/browser/41031c28-374c-4f3b-b092-28580758ad05
Driver started
Login in...
Traceback (most recent call last):
File "C:\Users\OneDrive\Desktop\New folder\Prolific-Joiner\Prolific-Joiner\main.py", line 210, in
p_updater = ProlificUpdater()
^^^^^^^^^^^^^^^^^
File "C:\Users\OneDrive\Desktop\New folder\Prolific-Joiner\Prolific-Joiner\main.py", line 33, in init
self.bearer = "Bearer " + self.get_bearer_token()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\OneDrive\Desktop\New folder\Prolific-Joiner\Prolific-Joiner\main.py", line 109, in get_bearer_token
WebDriverWait(driver, 10).until(EC.presence_of_element_located((By.CLASS_NAME, "image-container")))
File "C:\Users\OneDrive\Desktop\New folder\Prolific-Joiner\Prolific-Joiner\venv\Lib\site-packages\selenium\webdriver\support\wait.py", line 105, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
GetHandleVerifier [0x0085B8E3+45827]
(No symbol) [0x007EDCC4]
(No symbol) [0x006E150F]
(No symbol) [0x007220BC]
(No symbol) [0x0072216B]
(No symbol) [0x0075E0F2]
(No symbol) [0x00742E44]
(No symbol) [0x0075C034]
(No symbol) [0x00742B96]
(No symbol) [0x00716998]
(No symbol) [0x0071751D]
GetHandleVerifier [0x00B14513+2899763]
GetHandleVerifier [0x00B6793D+3240797]
GetHandleVerifier [0x008E13B4+593364]
GetHandleVerifier [0x008E82DC+621820]
(No symbol) [0x007F70A4]
(No symbol) [0x007F37A8]
(No symbol) [0x007F3947]
(No symbol) [0x007E59FE]
BaseThreadInitThunk [0x76897BA9+25]
RtlInitializeExceptionChain [0x77D2C10B+107]
RtlClearBits [0x77D2C08F+191]

losing my wits trying to get this to work

SyntaxError: invalid syntax

This is the error I get after the "python main.py" command:
File "main.py", line 22
config = load(open(f'{Path(file).parent}/config/config.json'))

I already set up the date in the .json file.

Can someone kindly help me? Many thanks in advance.
^

Proxy support

Any chance you can add support for a proxy into this?

ModuleNotFoundError: No module named 'blinker._saferef'

Hey, I'm pretty noob in regards to python. When trying to run the script, I get this:

C:\Users\Admin\Desktop\Prolific-Joiner-main>python main.py
Traceback (most recent call last):
File "C:\Users\Admin\Desktop\Prolific-Joiner-main\main.py", line 1, in
from seleniumwire import webdriver
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\seleniumwire\webdriver.py", line 28, in
from seleniumwire import backend, utils
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\seleniumwire\backend.py", line 4, in
from seleniumwire.server import MitmProxy
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\seleniumwire\server.py", line 5, in
from seleniumwire.handler import InterceptRequestHandler
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\seleniumwire\handler.py", line 5, in
from seleniumwire import har
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\seleniumwire\har.py", line 11, in
from seleniumwire.thirdparty.mitmproxy import connections
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\connections.py", line 10, in
from seleniumwire.thirdparty.mitmproxy.net import tls, tcp
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\net\tls.py", line 15, in
import seleniumwire.thirdparty.mitmproxy.options
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\options.py", line 5, in
from seleniumwire.thirdparty.mitmproxy import optmanager
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\optmanager.py", line 9, in
import blinker._saferef
ModuleNotFoundError: No module named 'blinker._saferef'

How do I fix this? Thanks!

New to this not sure where Im going wrong

C:\Users\david\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Getting a new bearer token...
Traceback (most recent call last):
File "main.py", line 175, in
p_updater = ProlificUpdater()
File "main.py", line 28, in init
else: self.bearer = "Bearer " + self.get_bearer_token()
File "main.py", line 76, in get_bearer_token
driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()), options= options)
File "C:\Users\david\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\webdriver_manager\chrome.py", line 39, in install
driver_path = self._get_driver_path(self.driver)
File "C:\Users\david\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\webdriver_manager\core\manager.py", line 30, in _get_driver_path
file = self._download_manager.download_file(driver.get_url())
File "C:\Users\david\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\webdriver_manager\core\download_manager.py", line 28, in download_file
response = self._http_client.get(url)
File "C:\Users\david\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\webdriver_manager\core\http.py", line 33, in get
self.validate_response(resp)
File "C:\Users\david\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\webdriver_manager\core\http.py", line 16, in validate_response
raise ValueError(f"There is no such driver by url {resp.url}")
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/119.0.6045/chromedriver_win32.zip

is there an easy fix?

Selenium issue

I have updated python to last version, i have installed all requirements, but i get problem after Logging in text..
The debugger says at line 98 WebDriverWait(driver, 10).until(EC.presence_of_element_located((By.XPATH, "//button[@type='submit']")))
and the error says:
selenium.common.exceptions.TimeoutException: Message: Stacktrace: GetHandleVerifier [0x00DCC1C3+27395] (No symbol) [0x00D63DC4] (No symbol) [0x00C61B7F] (No symbol) [0x00CA2C65] (No symbol) [0x00CA2D3B] (No symbol) [0x00CDEC82] (No symbol) [0x00CC39E4] (No symbol) [0x00CDCB24] (No symbol) [0x00CC3736] (No symbol) [0x00C97541] (No symbol) [0x00C980BD] GetHandleVerifier [0x01083A93+2876371] GetHandleVerifier [0x010D7F5D+3221661] GetHandleVerifier [0x00E4D634+556916] GetHandleVerifier [0x00E5474C+585868] (No symbol) [0x00D6CE04] (No symbol) [0x00D69818] (No symbol) [0x00D699B7] (No symbol) [0x00D5BF0E] BaseThreadInitThunk [0x7682FCC9+25] RtlGetAppContainerNamedObjectPath [0x777280CE+286] RtlGetAppContainerNamedObjectPath [0x7772809E+238]

Not working anymore

Up until 2 days ago this script has been working flawlessly. However yesterday I've started to notice the script doesn't autojoin surveys anymore. I've realized this when I received a notification for a follow up survey (so I can be 100% sure I was eligible and there were spaces still available) from the official prolific assistant, however this script had done nothing.
This script has really been game changing for me and hopefully there is something that can be done to fix this!
Thank you so much to the developer in advance :)

Doesn't work

File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packa
ges\webdriver_manager\core\driver_cache.py", line 151, in get_cache_key_driver_versio
n
return driver.get_driver_version_to_download()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packa
ges\webdriver_manager\core\driver.py", line 48, in get_driver_version_to_download
return self.get_latest_release_version()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packa
ges\webdriver_manager\drivers\chrome.py", line 64, in get_latest_release_version
resp = self._http_client.get(url=latest_release_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packa
ges\webdriver_manager\core\http.py", line 36, in get
self.validate_response(resp)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packa
ges\webdriver_manager\core\http.py", line 15, in validate_response
raise ValueError(f"There is no such driver by url {resp.url}")
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.co
m/LATEST_RELEASE_5.2.3790

All I could salvage at the moment. It seems to be due to chrome drivers, and a dead link somewhere. I'm not really experienced with these things on my own, but could you look into this please?

script doesnt work after 1-2 months of working

Title explains, error's are listed below. After a while the script fails to work, no clue how. Got this 1-2 months ago after using the script 1-2 months. I run a slightly modified version of the code that uses a telegram api to send me messages on my phone, but it also fails to work with the main release of the code with the same error. Last time to fix the issue I have no clue what I did but it worked again. If anyone knows please let me know.

Getting a new bearer token...
Traceback (most recent call last):
File "C:\Users\Thomm\Downloads\prolific\main.py", line 154, in
p_updater = ProlificUpdater()
File "C:\Users\Thomm\Downloads\prolific\main.py", line 30, in init
self.bearer = "Bearer " + self.get_bearer_token()
File "C:\Users\Thomm\Downloads\prolific\main.py", line 77, in get_bearer_token
driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager(version="114.0.5735.16").install()), options= options)
File "C:\Users\Thomm\AppData\Local\Programs\Python\Python310\lib\site-packages\seleniumwire\webdriver.py", line 218, in init
super().init(*args, **kwargs)
File "C:\Users\Thomm\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 80, in init
super().init(
File "C:\Users\Thomm\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 104, in init
super().init(
File "C:\Users\Thomm\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 286, in init
self.start_session(capabilities, browser_profile)
File "C:\Users\Thomm\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 378, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\Thomm\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "C:\Users\Thomm\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 116.0.5845.96 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
Stacktrace:
Backtrace:
GetHandleVerifier [0x00B46E73+48323]
(No symbol) [0x00AD9661]
(No symbol) [0x009E5308]
(No symbol) [0x00A0634C]
(No symbol) [0x00A02093]
(No symbol) [0x00A00719]
(No symbol) [0x00A30DF5]
(No symbol) [0x00A30ADC]
(No symbol) [0x00A2A6D6]
(No symbol) [0x00A0847C]
(No symbol) [0x00A0957D]
GetHandleVerifier [0x00DAFD5D+2575277]
GetHandleVerifier [0x00DEF86E+2836158]
GetHandleVerifier [0x00DE96DC+2811180]
GetHandleVerifier [0x00BD41B0+626688]
(No symbol) [0x00AE314C]
(No symbol) [0x00ADF4B8]
(No symbol) [0x00ADF59B]
(No symbol) [0x00AD21B7]
BaseThreadInitThunk [0x76CA7D59+25]
RtlInitializeExceptionChain [0x77E8B79B+107]
RtlClearBits [0x77E8B71F+191]

Issue with the selenium requirement

Hi there,

I made it through some of the requirements issues with my 3.12 installation on my own (ffmpeg not pathed, package upgrades required on wheel and playsound as well as manually retrieving blinker), but now I am hitting an issue that is deeper in the code which I am not able to fix.

apparently google did some changes to selenium and the CDM can now not be retireved from seleniumwire beyond version 114 (version in script appearing is 125).

apparently this can be fixed by restructuring the script to retrieve webdriver straight from 4.10 selenium instead. But I do not have the qualification to make out, where that is in your code and even less how to repair it.

Requirements installing doesn't work :(

After cloning the repo and typing pip install -r requirements.txt in the terminal, it shows this message in the terminal and i don't know how to fix the problem... T_T

  Using cached playsound-1.3.0.tar.gz (7.7 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  ร— Getting requirements to build wheel did not run successfully.
  โ”‚ exit code: 1
  โ•ฐโ”€> [28 lines of output
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

ร— Getting requirements to build wheel did not run successfully.
โ”‚ exit code: 1
โ•ฐโ”€> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Chrome driver issue

i think chromedriver release broke login. IT started some few hours ago

OSError: [Errno 8] Exec format error: '/.wdm/drivers/chromedriver/mac64/127.0.6533.72/chromedriver-mac-arm64/THIRD_PARTY_NOTICES.chromedriver'

Login issues

python .\main.py

[+] Getting a new bearer token...
[-] Failed to log in, retrying in 3s...
[+] Getting a new bearer token...
[-] Failed to log in, retrying in 3s...
[+] Getting a new bearer token...
[-] Failed to log in, retrying in 3s...

Everything was working fine 12h ago, account in good standing and can ping/login with a normal browser.

Error 140010

Im getting the below error for some studies, im worried that my account may be ISP banned, since in the requirements file, 140010 was mentioned as ISP ban or am i getting something wrong here, could you guys please clarify?
thank you @UnMars @conradRz

"[+] Error code 140010
Title : The data supplied is either incomplete or not valid.
Details : This study is in high demand, please try reserving your submission again"

recent version fix still not working

instead of looking for the older set version of the chrome drivers, its now looking for the newest one, but the newest one being outdated for the newest stable chrome release. https://chromedriver.chromium.org/downloads, the newest version is for 114 while if u install the chrome browser it defaults to 116. i got around this by manually downloading the driver and setting it to use the one i downloaded: # Update this path to point to the extracted chromedriver.exe
chromedriver_path = 'C:\Users\Thomm\Downloads\prolific2\chromedriver.exe'
driver = webdriver.Chrome(executable_path=chromedriver_path, options=options)
driver.get(pageurl)
not sure how selium works with getting newer chromedrivers, but this is where i got it from: https://googlechromelabs.github.io/chrome-for-testing/

Doesn't work

Getting a new bearer token...

DevTools listening on ws://127.0.0.1:3607/devtools/browser/cf51a104-3059-4337-afd5-29ef2dd69e86
Captcha solved in 0.24415802955627441s

Since today, it has stopped working and stuck at "Captcha Solved."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.