Skip to content

Commit

Permalink
auto retry download when status 502
Browse files Browse the repository at this point in the history
  • Loading branch information
xhlove committed Jun 25, 2022
1 parent f64f1a5 commit 6784469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XstreamDL_CLI/cli.py
Expand Up @@ -131,7 +131,7 @@ def print_version():
parser.add_argument('--show-init', action='store_true', help='show initialization to help you identify same name stream')
parser.add_argument('--index-to-name', action='store_true', help='some dash live have the same name for different stream, use this option to avoid')
parser.add_argument('--log-level', default='INFO', choices=['DEBUG', 'INFO', 'WARNING', 'ERROR'], help='set log level, default is INFO')
parser.add_argument('--redl-code', default='', help='re-download set of response status codes , e.g. 408,500,502,503,504')
parser.add_argument('--redl-code', default='502', help='re-download set of response status codes , e.g. 408,500,502,503,504')
parser.add_argument('--hide-load-metadata', action='store_true', help='hide `Load #EXT-X-MEDIA metadata` balabala')
parser.add_argument('URI', nargs='*', help='URL/FILE/FOLDER string')
args = parser.parse_args()
Expand Down

0 comments on commit 6784469

Please sign in to comment.