Skip to content

Commit

Permalink
Updated Auth URL split to fit new GOG interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hananel Dolinsky authored and Hananel Dolinsky committed Aug 14, 2018
1 parent d64d45a commit 7594990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gogrepo.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ def cmd_login(user, passwd):
etree = html5lib.parse(page, namespaceHTMLElements=False)
for elm in etree.findall('.//script'):
if elm.text is not None and 'GalaxyAccounts' in elm.text:
login_data['auth_url'] = elm.text.split("'")[1]
login_data['auth_url'] = elm.text.split("'")[3]
break

# fetch the login token
Expand Down

0 comments on commit 7594990

Please sign in to comment.