Skip to content

Commit

Permalink
Removed school bus from reCAPTCHA objects list
Browse files Browse the repository at this point in the history
The school bus object is not needed as CapSolver doesn't support it (anymore?).
  • Loading branch information
Xewdy444 committed Mar 8, 2024
1 parent 1f0284d commit 4f0213d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion playwright_recaptcha/recaptchav2/async_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ async def _get_task_object(recaptcha_box: AsyncRecaptchaBox) -> Optional[str]:
object_dict = {
"/m/0pg52": TRANSLATIONS["taxis"],
"/m/01bjv": TRANSLATIONS["bus"],
"/m/02yvhj": TRANSLATIONS["school_bus"],
"/m/04_sv": TRANSLATIONS["motorcycles"],
"/m/013xlm": TRANSLATIONS["tractors"],
"/m/01jk_4": TRANSLATIONS["chimneys"],
Expand Down
1 change: 0 additions & 1 deletion playwright_recaptcha/recaptchav2/sync_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def _get_task_object(recaptcha_box: SyncRecaptchaBox) -> Optional[str]:
object_dict = {
"/m/0pg52": TRANSLATIONS["taxis"],
"/m/01bjv": TRANSLATIONS["bus"],
"/m/02yvhj": TRANSLATIONS["school_bus"],
"/m/04_sv": TRANSLATIONS["motorcycles"],
"/m/013xlm": TRANSLATIONS["tractors"],
"/m/01jk_4": TRANSLATIONS["chimneys"],
Expand Down
1 change: 0 additions & 1 deletion playwright_recaptcha/recaptchav2/translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
),
"taxis": ("taxis", "такси"),
"bus": ("bus", "автобус"),
"school_bus": ("school bus", "автобусы"),
"motorcycles": ("motorcycles", "мотоциклы"),
"tractors": ("tractors", "трактора"),
"chimneys": ("chimneys", "дымовые трубы"),
Expand Down

0 comments on commit 4f0213d

Please sign in to comment.