
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
webcrawlerapi-langchain
Advanced tools
WebcrawlerAPI - is a website to LLM data API. It allows to convert websites and webpages markdown or cleaned content.
No subscription required.
This package provides LangChain integration for WebCrawlerAPI, allowing you to easily use web crawling capabilities with LangChain document processing pipeline.
Get your API key first
pip install webcrawlerapi-langchain
from webcrawlerapi_langchain import WebCrawlerAPILoader
# Initialize the loader
loader = WebCrawlerAPILoader(
url="https://example.com",
api_key="your-api-key",
scrape_type="markdown",
items_limit=10
)
# Load documents
documents = loader.load()
# Use documents in your LangChain pipeline
for doc in documents:
print(doc.page_content[:100])
print(doc.metadata)
# Async loading
documents = await loader.aload()
# Lazy loading
for doc in loader.lazy_load():
print(doc.page_content[:100])
# Async lazy loading
async for doc in loader.alazy_load():
print(doc.page_content[:100])
The loader accepts the following parameters:
url
: The URL to crawlapi_key
: Your WebCrawlerAPI API keyscrape_type
: Type of scraping (html, cleaned, markdown)items_limit
: Maximum number of pages to crawlwhitelist_regexp
: Regex pattern for URL whitelistblacklist_regexp
: Regex pattern for URL blacklistIf you need help with integration feel free to contact us.
MIT License
FAQs
LangChain integration for WebCrawlerAPI
We found that webcrawlerapi-langchain 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.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.