1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 20:22:36 +01:00
gallery-dl/gallery_dl
Mike Fährmann 35f343206c
update default SSL cipher list in urllib3 < 1.25
Cloudflare now also checks the client's SSL/TLS cipher capabilities and
produces a 403: Forbidden response with CAPTCHA if they are insufficient.

This commit replaces the default cipher list in urllib3 < 1.25 with the
one from 1.25 (1), which doesn't cause problems as long as the client
platform actually supports these ciphers. On some platforms (tested with
Python 3.4 on Linux and Python 3.7 on an outdated Windows 7 VM) it is
necessary to install pyOpenSSL to get everything to work.

Explicitly setting a minimum/maximum version for urllib3 is also no
longer necessary and installing gallery-dl will therefore not pull a
incompatible urllib3 version (#229)

Fixes the "403: Forbidden" error on Artstation (#227)

(1) 0cedb3b0f1
2019-05-03 22:40:04 +02:00
..
downloader restrict downloader and postprocessor module imports 2019-04-16 18:09:30 +02:00
extractor update default SSL cipher list in urllib3 < 1.25 2019-05-03 22:40:04 +02:00
postprocessor restrict downloader and postprocessor module imports 2019-04-16 18:09:30 +02:00
__init__.py implement '--clear-cache' 2019-04-25 21:31:01 +02:00
__main__.py add a __main__.py file 2017-01-16 02:59:22 +01:00
aes.py update links to youtube-dl 2019-03-13 22:03:02 +01:00
cache.py implement '--clear-cache' 2019-04-25 21:31:01 +02:00
cloudflare.py rewrite invalid cloudflare redirect locations 2019-04-27 16:22:42 +02:00
config.py remove unused default config path 2019-03-04 20:53:58 +01:00
exception.py update exception hierarchy 2018-09-05 18:15:33 +02:00
job.py move TestJob into test module; test _extractor values 2019-02-17 18:18:31 +01:00
oauth.py use extractor.request for API calls (#130) 2018-12-04 21:29:06 +01:00
option.py implement '--clear-cache' 2019-04-25 21:31:01 +02:00
output.py provide "extractor" and "job" keys for logging output 2019-02-14 11:09:58 +01:00
text.py use 'utcfromtimestamp()' 2019-04-21 16:22:53 +02:00
util.py fix 'CONVERSIONS' variable name 2019-03-05 22:50:56 +01:00
version.py [plurk] add timeline- and post-extractors (#212) 2019-04-14 21:48:38 +02:00