From 946ca64f8916b42a45c3bdd2936c13626c5f7d34 Mon Sep 17 00:00:00 2001 From: Audionut Date: Fri, 6 Dec 2024 16:56:53 +1000 Subject: [PATCH] imgbb polish Doesn't need limiting here --- src/prep.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/prep.py b/src/prep.py index a335d844..2a444c13 100644 --- a/src/prep.py +++ b/src/prep.py @@ -2890,7 +2890,7 @@ def upload_image_task(self, args): console.print("[yellow]imgbb failed, trying next image host") return {'status': 'failed', 'reason': 'imgbb upload failed'} - img_url = response_data['data']['image']['url'] + img_url = response_data['data']['medium']['url'] raw_url = response_data['data']['image']['url'] web_url = response_data['data']['url_viewer'] if meta['debug']: @@ -3068,7 +3068,6 @@ def upload_screens(self, meta, screens, img_host_num, i, total_screens, custom_i "oeimg": 1, "ptscreens": 1, "lensdump": 1, - "imgbb": 1, } default_pool_size = os.cpu_count() pool_size = host_limits.get(img_host, default_pool_size)