Skip to content

Conversation

oxy-rostyslav
Copy link
Contributor

Description

Adds an Oxylabs Document loader that allows to load the data from multiple sources efficiently.

Example

image image

@HenryHengZJ
Copy link
Contributor

can you do pnpm lint-fix to fix the linting issues?

@HenryHengZJ HenryHengZJ requested a review from Copilot June 24, 2025 18:31
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a new Oxylabs document loader that integrates with the Oxylabs real-time scraping API and exposes it as a Flowise node.

  • Introduces OxylabsLoader for making authenticated requests to various Oxylabs sources.
  • Wraps the loader in an INode implementation (Oxylabs_DocumentLoaders) with UI inputs and output handling.
  • Adds a credential definition for Oxylabs API credentials.

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
packages/components/nodes/documentloaders/Oxylabs/Oxylabs.ts New loader class, API request methods, and Flowise node wrapper
packages/components/credentials/OxylabsApi.credential.ts New credential class for Oxylabs API username/password
Comments suppressed due to low confidence (3)

packages/components/nodes/documentloaders/Oxylabs/Oxylabs.ts:69

  • [nitpick] The OxylabsLoader class lacks JSDoc or inline comments. Adding a brief description and parameter/docs would improve readability and help future maintainers.
export class OxylabsLoader extends BaseDocumentLoader {

packages/components/nodes/documentloaders/Oxylabs/Oxylabs.ts:165

  • [nitpick] Class name Oxylabs_DocumentLoaders uses an underscore and plural form. Consider renaming to OxylabsDocumentLoaderNode for consistency with the project's naming conventions.
class Oxylabs_DocumentLoaders implements INode {

packages/components/nodes/documentloaders/Oxylabs/Oxylabs.ts:1

  • No unit tests were added for OxylabsLoader. Consider adding tests to cover each source type, parameter filtering, and error handling paths.
import { TextSplitter } from 'langchain/text_splitter'

@oxy-rostyslav oxy-rostyslav force-pushed the feature/add-oxylabs-document-loader branch from e006012 to 06c47e6 Compare July 4, 2025 10:11
@oxy-rostyslav oxy-rostyslav force-pushed the feature/add-oxylabs-document-loader branch from 06c47e6 to b9e1a92 Compare July 4, 2025 10:12
@oxy-rostyslav
Copy link
Contributor Author

Hi @HenryHengZJ, I've updated the PR. Could you please check if you have any other remarks?

@0xi4o
Copy link
Contributor

0xi4o commented Jul 8, 2025

@oxy-rostyslav Great work! Thank you for your contribution!

@HenryHengZJ I've tested and reviewed this one. Works well. Good to merge.

Flowise-Build-AI-Agents-Visually-07-08-2025_02_20_PM

Copy link
Contributor

@HenryHengZJ HenryHengZJ left a comment

Choose a reason for hiding this comment

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

thank you!

@HenryHengZJ HenryHengZJ merged commit a25c5c4 into FlowiseAI:main Jul 8, 2025
2 checks passed
@oxy-rostyslav oxy-rostyslav deleted the feature/add-oxylabs-document-loader branch October 2, 2025 06:24
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.

3 participants