Skip to content

fix(auth): harden login detection and rate-limit checks#286

Open
Leftyshields wants to merge 1 commit intojoeyism:masterfrom
Leftyshields:fix/auth-login-rate-limit
Open

fix(auth): harden login detection and rate-limit checks#286
Leftyshields wants to merge 1 commit intojoeyism:masterfrom
Leftyshields:fix/auth-login-rate-limit

Conversation

@Leftyshields
Copy link
Copy Markdown

Summary

  • Rate limit / challenge detection (detect_rate_limit): avoid swallowing RateLimitError during CAPTCHA checks; broaden challenge URL checks; refine text heuristics; optional LINKEDIN_SCRAPER_DISABLE_RATE_LIMIT_CHECK for debugging.
  • Login detection (is_logged_in): require li_at and avoid guest-mode false positives.

Test plan

  • Ran sample scrape / manual login flow with valid session
  • Confirmed invalid/expired session is not treated as logged in

@joeyism joeyism force-pushed the master branch 2 times, most recently from 9b63afd to ede9331 Compare April 10, 2026 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant