add 'browser' option (#1117)

- change default user agent to Firefox ESR 78 on Windows 10
- remove 'ciphers' option
This commit is contained in:
Mike Fährmann
2021-02-25 23:39:34 +01:00
parent 92071d02f4
commit cf5fa75d4c
4 changed files with 146 additions and 65 deletions

View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2014-2020 Mike Fährmann
# Copyright 2014-2021 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -94,7 +94,7 @@ class HttpDownloader(DownloaderBase):
time.sleep(tries)
tries += 1
headers = {}
headers = {"Accept": "*/*"}
file_header = None
# check for .part file