
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
A lightweight Python SDK for interacting with the Olostep scraping, crawling, and batching API.
Install from PyPI:
pip install olostep-sdk
First, initialize the SDK with your API token:
from olostep_sdk import OlostepClient
from olostep_sdk.services.scrape import ScrapeService
from olostep_sdk.enums import OlostepParser, Format
client = OlostepClient(api_token="your-api-token")
scraper = ScrapeService(client)
result = scraper.scrape(
url="https://example.com",
parser=OlostepParser.GOOGLE_SEARCH
)
print(result)
from olostep_sdk.services.batch import BatchService
batch = BatchService(client)
batch_id = batch.start_batch([
{"url": "https://example1.com"},
{"url": "https://example2.com"}
])
batch.wait_until_complete(batch_id)
items = batch.get_items(batch_id)
from olostep_sdk.services.crawl import CrawlService
crawler = CrawlService(client)
crawl_id = crawler.start_crawl("https://example.com")
crawler.wait_until_complete(crawl_id)
results = crawler.get_items(crawl_id)
from olostep_sdk.enums import Format, OlostepParser
Format.MARKDOWN
Format.JSON
OlostepParser.GOOGLE_SEARCH
OlostepParser.BASIC
python -m unittest discover -s tests
This project is licensed under the MIT License.
FAQs
Official Python SDK for Olostep Web Scraping API
We found that olostep-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.