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

Package updates #96

Merged
merged 3 commits into from
Aug 2, 2024
Merged

Package updates #96

merged 3 commits into from
Aug 2, 2024

Conversation

BatMiles
Copy link
Member

@BatMiles BatMiles commented Aug 1, 2024

package updates, and a change to how we get the page

@BatMiles BatMiles requested a review from dphiffer August 1, 2024 20:05
src/collector.ts Outdated
@@ -128,7 +128,7 @@ export const collect = async (inUrl: string, args: CollectorOptions) => {
};
}
logger.info(`Started Puppeteer with pid ${browser.process().pid}`);
page = (await browser.pages())[0];
page = await browser.newPage();
Copy link
Member

Choose a reason for hiding this comment

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

I think the reason we did it this way is to avoid having a useless about:blank. It's purely aesthetic I realize, but this does feel slightly worse...
Screenshot 2024-08-01 at 5 29 17 PM

Copy link
Member Author

Choose a reason for hiding this comment

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

ahhhh interesting. I'll revert it then. I thought for a minute that the syntax change was fixing the sacbee issue, but it didn't.

Copy link
Member

Choose a reason for hiding this comment

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

yeah, you never know, if it did fix sacbee I would be all in!

@BatMiles BatMiles merged commit 8f0589b into main Aug 2, 2024
1 check passed
@BatMiles BatMiles deleted the package-updates branch August 2, 2024 13:54
This pull request was closed.
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

Successfully merging this pull request may close these issues.

2 participants