v0.2.1 (#53)
* ios proxy app, tune vp8 tunnel * refactor go modules, move headless joiner android to a go captcha * restore emojis in vk bot keyboard * headless support in vk bot * remove telemost dc hooks, update cretor-app ui and bot * remove telemost support from go code, add fallback to video if mode == dc in joiners * fix headless creators in windows * update vk call creation autoclick * force desktop useragent for creator app * kick disconnected user in headless vk creator immediately when connection is lost * update README.md * update SETUP.md * update release version * add fallback for link creation in vk bot
This commit is contained in:
1 parent
9e1f2a98d9
commit
1b2d6bc5d3
89 files changed
+3503
-2158
No files matched your search
+8
-2
@@ -1,6 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
"encoding/json"
|
||||
"flag"
|
||||
"fmt"
|
||||
@@ -569,7 +570,12 @@ func main() {
|
||||
} else if *cookiesPath != "" {
|
||||
cookieStr = common.LoadCookies(*cookiesPath)
|
||||
} else {
|
||||
log.Fatal("Either --cookies or --cookie-string is required")
|
||||
fmt.Println("WAITING_FOR_COOKIES")
|
||||
line, err := bufio.NewReader(os.Stdin).ReadString('\n')
|
||||
if err != nil || strings.TrimSpace(line) == "" {
|
||||
log.Fatal("No cookies received on stdin")
|
||||
}
|
||||
cookieStr = strings.TrimSpace(line)
|
||||
}
|
||||
|
||||
log.Println("[config] Fetching live config from VK bundle...")
|
||||
@@ -599,7 +605,7 @@ func main() {
|
||||
ur.readBufSize = readBuf
|
||||
ur.maxDCBuf = maxDCBuf
|
||||
ur.OnConnected = func(tun *tunnel.VP8DataTunnel) {
|
||||
tunnel.NewRelayBridge(tun, "creator", readBuf, log.Printf)
|
||||
tunnel.NewRelayBridge(tun, "creator", common.VP8BufSize, log.Printf)
|
||||
}
|
||||
return ur
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user