Will have to split the string at the '=', not at the '?'. And let's just hope that that'll always be the only place...
This commit is contained in:
parent
99333ec4e7
commit
e0cd78ade3
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def login():
|
|||
return True
|
||||
|
||||
def messageID(url):
|
||||
return url.split("?")[1]
|
||||
return url.split("=")[1]
|
||||
|
||||
def messageHandler(mid, driver):
|
||||
loadPage("https://www.planetromeo.com/msg/?id=" + mid, driver=driver)
|
||||
|
|
Loading…
Reference in a new issue