Skip to content

Commit

Permalink
Fix slowbro api changes
Browse files Browse the repository at this point in the history
Fix #125
  • Loading branch information
Setsugennoao committed Dec 20, 2023
1 parent 0418418 commit 4fbb728
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vspreview/toolbars/comp/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def setup_ui(self) -> None:
label = QLabel(
'To get this info: Open Dev console in browser, go to network tab, upload a comparison,'
'click request called "comparison" Copy browserId from payload, copy session token from '
'SLPSESSION cookie from cookies'
'SLP-SESSION cookie from cookies'
)
label.setMaximumHeight(50)
label.setMinimumWidth(400)
Expand Down
2 changes: 1 addition & 1 deletion vspreview/toolbars/comp/toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def run(self, conf: WorkerConfiguration) -> None:

with Session() as sess:
if conf.browser_id and conf.session_id:
sess.cookies.set('SLPSESSION', conf.session_id, domain='slow.pics')
sess.cookies.set('SLP-SESSION', conf.session_id, domain='slow.pics')
browser_id = conf.browser_id
check_session = True
else:
Expand Down

0 comments on commit 4fbb728

Please sign in to comment.