Skip to content

Comments

Puppeteer improvements#270

Merged
orangecoding merged 9 commits intomasterfrom
puppeteer-improvements
Feb 18, 2026
Merged

Puppeteer improvements#270
orangecoding merged 9 commits intomasterfrom
puppeteer-improvements

Conversation

@orangecoding
Copy link
Owner

@orangecoding orangecoding commented Feb 17, 2026

  • using only 1 puppeteer version throughout all jobs
  • improve puppeteer resource handling
  • remove immonet. They've teamed up with immowelt


let userDataDir;
let removeUserDataDir = false;
if (options && options.userDataDir) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be simplified:
options?.userDataDir

Repository owner deleted a comment from chatgpt-codex-connector bot Feb 18, 2026
Repository owner deleted a comment from chatgpt-codex-connector bot Feb 18, 2026
@orangecoding
Copy link
Owner Author

@codex review

@orangecoding orangecoding self-assigned this Feb 18, 2026
@orangecoding orangecoding added the enhancement New feature or request label Feb 18, 2026
@orangecoding orangecoding moved this to In progress in Fredy Feb 18, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 705818d641

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

matchedProvider.init(prov, job.blacklist);

if (!browser && matchedProvider.config.getListings == null) {
browser = await puppeteerExtractor.launchBrowser(matchedProvider.config.url, {});

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve Puppeteer launch options for shared browser

executeJob now creates one shared browser via launchBrowser(matchedProvider.config.url, {}), which drops the options path that _getListings now forwards to Extractor (including DEFAULT_OPTIONS.puppeteerTimeout = 60000 in extractor.js). Because launchBrowser falls back to a 30s launch timeout, slower hosts/containers can time out during Chromium startup and then all Puppeteer-backed providers in that job fail to scrape. Pass provider/extractor Puppeteer options into this launch call so shared-browser runs keep prior timeout/proxy/executable behavior.

Useful? React with 👍 / 👎.

@orangecoding orangecoding merged commit 00d6a12 into master Feb 18, 2026
2 checks passed
@github-project-automation github-project-automation bot moved this from In progress to Done in Fredy Feb 18, 2026
@orangecoding orangecoding deleted the puppeteer-improvements branch February 18, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants