Pyppeteer assigned Chrome route, moving program or meeting download Chromium, seek old man guidance

import asyncio
from pyppeteer import launch, executablePath
from pyquery import PyQuery as pq


async def main():
    browser = await launch(
        {executablePath: \'C:\\\\Users\\\\Administrator\\\\AppData\\\\Local\\\\pyppeteer\\\\chrome-win\\\\chrome.exe\'})
    page = await browser.newPage()
    await page.goto(\'http://quotes.toscrape.com/js/\')
    doc = pq(await page.content())
    print(\'Quotes:\', doc(\'.quote\').length)
    await browser.close()


asyncio.get_event_loop().run_until_complete(main())

Moving program can have the following clew

[W:pYppeteer.chromium_downloader] Start Chromium Download. Download May Take A Few Minutes.

Myself hand is moved downloaded Chromium, solution overwhelmed below Pyppeteer catalog, have next old man can be direct issueing 0. 0

Related Posts

5 thoughts on “Pyppeteer assigned Chrome route, moving program or meeting download Chromium, seek old man guidance

  1. Note: When You Run Pyppeteer First Time, it Downloads A Recent Version Of Chromium (~100MB) . If You Don ‘ T Prefer This Behavior, run Pyppeteer-install Command Before Running Scripts Which Uses Pyppeteer.

    Doesn’t big brother see documentation?

  2. This I see @gwy15 #2 Github author abandons hole. A lot of what feel Python opens hole a few this years to abandon hole. .

Leave a Reply

Your email address will not be published. Required fields are marked *