Skip to content

A platform for community discussion. Free, open, simple.

FIX: Google groups import changed login URL (#9432)

Jay Pfaffman3c72cbc5de3f
diff --git a/script/import_scripts/google_groups.rb b/script/import_scripts/google_groups.rb
index bbcfb6442ba..359114e6627 100755
--- a/script/import_scripts/google_groups.rb
+++ b/script/import_scripts/google_groups.rb
@@ -186,7 +186,7 @@ def login
get("https://myaccount.google.com/?utm_source=sign_in_no_continue")
begin
- wait_for_url { |url| url.start_with?("https://myaccount.google.com") }
+ wait_for_url { |url| url.start_with?("https://accounts.google.com") }
rescue Selenium::WebDriver::Error::TimeoutError
exit_with_error("Failed to login. Please check the content of your cookies.txt".red.bold)
end