Skip to content

Got error "2 required positional arguments" #71

Open
@GlistenSTAR

Description

Describe the bug

Image

Now I am solving captcha using capmonster. but it's working as well before. But until 1~2 months ago, I got an error like the above image.

Desktop (please complete the following information):

  • OS: win10
  • Browser chrome
  • Version 131.0.6778.265
        capmonster = RecaptchaV2Task(capmonster_key)
                try:
                    taskId = capmonster.create_task(
                        '***', self.ticket_url)
                except:
                    try:
                        taskId = capmonster.create_task(
                            '***', self.ticket_url)
                    except:
                        taskId = capmonster.create_task(
                            '***', self.ticket_url)

                print("Waiting to solution by capmonster workers")
                try:
                    response = capmonster.join_task_result(
                        taskId).get("gRecaptchaResponse")
                except:
                    print(0, 'Tickets added....')
                    driver.quit()
                    return 0```

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions