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)