Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Telegram Bot for booking UZ railway tickets
# Purpose
Sometimes it's hard to book a ticket on a busy train.
This bot automates available tickets monitoring and books a ticket once it's possible.

# Update session ID bookmarklet:
Just open [the page](http://vit-.github.io/telegram-uz-bot/bookmarklet.html) and add link (on the opened page) as bookmark or drag&drop to bookmark bar.
After that you'll just need to click on it on the UZ page to enter Session ID and update it on the site automatically.
1 change: 1 addition & 0 deletions bookmarklet.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<a href="javascript:(function(){a=prompt('Enter Session ID');if(!a){return alert('Please try again')};a=a.replace(/^\s+|\s+$/g,'');document.cookie='_gv_sessid='+a+';path=/';})();">BOOKMARKLET</a>