FIX: Google Groups scraper failed to login

This commit is contained in:
Gerhard Schlager 2020-03-02 17:24:48 +01:00
parent fd38ed3631
commit d7ccb58559
1 changed files with 1 additions and 2 deletions

View File

@ -158,12 +158,11 @@ def login
get("https://google.com/404")
add_cookies(
"accounts.google.com",
"myaccount.google.com",
"google.com"
)
get("https://accounts.google.com/servicelogin")
get("https://myaccount.google.com/?utm_source=sign_in_no_continue")
begin
wait_for_url { |url| url.start_with?("https://myaccount.google.com") }