Skip to content

Integrate SessionPool into BasicCrawler #110

Closed

Description

@vdusek

Once #30 and #78 are done, let's integrate them.

Activity

  1. added
    enhancementNew feature or request.
    t-toolingIssues with this label are in the ownership of the tooling team.
    on Apr 15, 2024
  2. janbuchar commented on Apr 16, 2024

    @janbuchar
    Collaborator
    • HttpCrawler should persist response cookies into sessions
  3. vdusek commented on Apr 23, 2024

    @vdusek
    CollaboratorAuthor

    Check the ProxyRotation in the Apify JS SDK:

    export const enum ProxyRotation {
        Recommended = 'RECOMMENDED',
        PerRequest = 'PER_REQUEST',
        UntilFailure = 'UNTIL_FAILURE',
    }

    based on this setting we should operate with SessionPool from the BasicCrawler.

    Edit: Actor settings is mapped to the Crawler options (crawler_setup.ts#L37)

  4. B4nan commented on Apr 23, 2024

    @B4nan
    Member

    That code is actually not from the SDK, it's from the generic scrapers. The SDK does not handle proxy rotation, its crawlee that does it, SDK only allows you to use the apify proxy (which is basically a proxy on top of our proxy providers).

  5. added a commit that references this issue on May 2, 2024
    9fc4648
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions