mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Minor fixes
This commit is contained in:
parent
eec51ad270
commit
250882c4a2
1 changed files with 2 additions and 3 deletions
|
|
@ -1,10 +1,9 @@
|
|||
import * as vscode from "vscode"
|
||||
import * as fs from "fs/promises"
|
||||
import * as path from "path"
|
||||
import { Page } from "puppeteer-core"
|
||||
import { Browser } from "puppeteer-core"
|
||||
import * as cheerio from "cheerio"
|
||||
import TurndownService from "turndown"
|
||||
import delay from "delay"
|
||||
// @ts-ignore
|
||||
import PCR from "puppeteer-chromium-resolver"
|
||||
|
||||
|
|
@ -51,7 +50,7 @@ export class UrlScraper {
|
|||
const stats = await PCR({
|
||||
downloadPath: puppeteerDir,
|
||||
})
|
||||
const browser = await stats.puppeteer.launch({
|
||||
const browser: Browser = await stats.puppeteer.launch({
|
||||
args: [
|
||||
"--user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36",
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue