Skip to content

Releases

v0.4.2

Choose a tag to compare

@oxy-giedrius oxy-giedrius released this 05 Nov 16:33
23652cd

Fixed

  • An OXYLABS_WEB_API_KEY with surrounding whitespace (for example a trailing newline) now works; the whitespace is stripped. A key with whitespace inside it is rejected, and no error message or validation error includes the key.
  • OxylabsWebScrape returns extracted JSON only when json_prompt is set, so a page scrape always returns the page.

Full changelog: v0.4.1...v0.4.2

v0.4.1

Choose a tag to compare

@oxy-giedrius oxy-giedrius released this 05 Nov 12:52
dc8b339

Fixed

  • A failed Web Scraper API request (bad credentials, access denied, rate limit, timeout) now raises OxylabsAPIError with the cause, instead of returning an empty result or 'NoneType' object is not subscriptable. The search tools return the message to the agent.

Full changelog: v0.4.0...v0.4.1

v0.4.0

Choose a tag to compare

@oxy-giedrius oxy-giedrius released this 05 Nov 11:40
9ae1e59

Adds the Oxylabs Web API, authenticated with one API key (OXYLABS_WEB_API_KEY). The existing Web Scraper API classes are unchanged.

New

  • OxylabsWebSearch: live web search with an optional country (location="DE"). Returns titles, URLs and snippets.
  • OxylabsWebScrape: reads a URL as Markdown (default) or HTML, including JavaScript-heavy and bot-protected pages. Set json_prompt to get named fields as JSON instead.
  • OxylabsWebLoader: loads a list of URLs as LangChain Documents for RAG.
  • OxylabsWebAPIWrapper: the sync and async client behind them. It retries temporary errors and waits for slow scrapes.
from langchain_oxylabs import OxylabsWebScrape, OxylabsWebSearch

tools = [OxylabsWebSearch(), OxylabsWebScrape()]

See the README for setup and options.

Other changes

  • httpx is now a direct dependency.
  • Releases are now published to PyPI from GitHub Actions.

0.2.0

Choose a tag to compare

@oxy-rostyslav oxy-rostyslav released this 06 Aug 12:22
2248b26

What's Changed

  • Add Oxylabs document loader

Full Changelog: 0.1.0...0.2.0

0.1.0

Choose a tag to compare

@oxy-tg oxy-tg released this 31 Mar 12:43
52086a1
Merge pull request #1 from oxylabs/initial-release

Initial release