mirror of
https://github.com/iv-org/youtube-trusted-session-generator.git
synced 2025-01-15 16:12:21 +01:00
reduce refresh time to 5min in webserver mode
This commit is contained in:
parent
5ddf4bd337
commit
0609262d8e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue