Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: Chromium downloadable not found #571

Open
danilyef opened this issue Apr 2, 2024 · 12 comments
Open

OSError: Chromium downloadable not found #571

danilyef opened this issue Apr 2, 2024 · 12 comments

Comments

@danilyef
Copy link

danilyef commented Apr 2, 2024

During the execution of the html.render() function (which downloads Chromium) I got the following error:

ite-packages\pyppeteer\chromium_downloader.py", line 82, in download_zip
    raise OSError(f'Chromium downloadable not found at {url}: ' f'Received {r.data.decode()}.\n')
OSError: Chromium downloadable not found at https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1181205/chrome-win.zip: Received <?xml version='1.0' encoding='UTF-8'?><Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Details>No such object: chromium-browser-snapshots/Win_x64/1181205/chrome-win.zip</Details></Error>.

It seems like they removed version 1181205. There is no maintainer of the pyppeteer library so I thin it makes sense to do one of the following things:

  • provide instruction how to download chromium manually
  • implement chromium_downloader.py in the requests-html module.
@GAMEA9G
Copy link

GAMEA9G commented Apr 7, 2024

me same issue

@hb-robo
Copy link

hb-robo commented Apr 8, 2024

I am also seeing the same thing here. I believe it's possible to pass a specific Chromium path when using pyppeteer's launch() directly, but I don't see a similar functionality in requests_html.

@MRossa157
Copy link

same issue
I only have a portable Chrome

@cboin1996
Copy link

see: #573

@DL33-14
Copy link

DL33-14 commented Jul 30, 2024

Hi,

For those who encounter this in August 2024, try replacing the url from: https://storage.googleapis.com to https://commondatastorage.googleapis.com

@Andru225811
Copy link

I just installed the library in Pycharm in venv, I get the same error, can you help me?

@Andru225811
Copy link

Hi,

For those who encounter this in August 2024, try replacing the url from: https://storage.googleapis.com to https://commondatastorage.googleapis.com
Can you elaborate on what needs to be done

@theoemms
Copy link

theoemms commented Aug 2, 2024

set the PYPPETEER_DOWNLOAD_HOST environment variable to https://commondatastorage.googleapis.com/

@tangtao-xp1
Copy link

tangtao-xp1 commented Sep 7, 2024

https://commondatastorage.googleapis.com/

i tried like below,but not worked:

os.environ['PYPPETEER_DOWNLOAD_HOST'] = 'https://commondatastorage.googleapis.com/'
browser = await launch(headless=True, args=['--no-sandbox', '--disable-setuid-sandbox'])

Chromium downloadable not found at https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1181205/chrome-win.zip: Received NoSuchKey</Cod e>The specified key does not exist.No such object: chromium-browser-snapshots/Win_x64/1181205/chrome-win.zip</Detail s>.

@tangtao-xp1
Copy link

https://commondatastorage.googleapis.com/

i tried like below,but not worked:

os.environ['PYPPETEER_DOWNLOAD_HOST'] = 'https://commondatastorage.googleapis.com/'
browser = await launch(headless=True, args=['--no-sandbox', '--disable-setuid-sandbox'])

Chromium downloadable not found at https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1181205/chrome-win.zip: Received NoSuchKey</Cod e>The specified key does not exist.No such object: chromium-browser-snapshots/Win_x64/1181205/chrome-win.zip</Detail s>.

Ever since I replaced pyppeteer with playwright, everything has been running smoothly (during my time with pyppeteer, I encountered all sorts of issues and errors that drove me crazy). I highly recommend swapping out the outdated pyppeteer framework for playwright or others. I hope this suggestion can be helpful for those who come after me.

@KyleScharnhorst
Copy link

Still broken for me

@Mohammad-Hany
Copy link

It's still broken for me
I tried all the ways

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests