-
Notifications
You must be signed in to change notification settings - Fork 8
feat: add infinite scrolling #38
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
base: main
Are you sure you want to change the base?
Conversation
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
@@ -1525,7 +1525,7 @@ dev = [ | |||
|
|||
[package.metadata] | |||
requires-dist = [ | |||
{ name = "aiohttp", specifier = ">=3.11.8" }, | |||
{ name = "aiohttp", specifier = ">=3.10" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we encounter any problems with aiohttp 3.11.8 that we’re considering downgrading to 3.10?
Rest LGTM! |
async def scrape_companies(client: AsyncClient, url: str, batch: str) -> None: | ||
"""Scrape companies from a specific YC batch with infinite scroll.""" | ||
try: | ||
response = await client.smartscraper( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try block should be a linear only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update it
companies: List[Company] | ||
|
||
# Initialize the client with explicit API key | ||
sgai_client = Client(api_key="sgai-4cf4a4f5-87f7-457a-8c58-0790ecaf323e") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VinciGit00 APi key?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
companies: List[Company] | ||
|
||
# Initialize the client with explicit API key | ||
sgai_client = Client(api_key="sgai-4cf4a4f5-87f7-457a-8c58-0790ecaf323e") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might be exposing a secret here
… with number_of_scrolls parameter
No description provided.