mirror of
https://github.com/iv-org/youtube-trusted-session-generator.git
synced 2024-11-23 05:49:57 +00:00
reduce refresh time to 5min in webserver mode
Some checks failed
Docker Multi-Architecture Build / build-docker (push) Has been cancelled
Some checks failed
Docker Multi-Architecture Build / build-docker (push) Has been cancelled
This commit is contained in:
parent
5ddf4bd337
commit
0609262d8e
@ -74,7 +74,7 @@ Retrieve potoken using Chromium runned by nodriver, serve it on a json endpoint
|
||||
parser = argparse.ArgumentParser(description=description, formatter_class=argparse.RawDescriptionHelpFormatter)
|
||||
parser.add_argument('-o', '--oneshot', action='store_true', default=False,
|
||||
help='Do not start server. Generate token once, print it and exit')
|
||||
parser.add_argument('--update-interval', '-u', type=int, default=3600,
|
||||
parser.add_argument('--update-interval', '-u', type=int, default=300,
|
||||
help='How ofthen new token is generated, in seconds (default: %(default)s)')
|
||||
parser.add_argument('--port', '-p', type=int, default=8080,
|
||||
help='Port webserver is listening on (default: %(default)s)')
|
||||
|
Loading…
Reference in New Issue
Block a user