SurfSense/surfsense_backend/app/utils/proxy_config.py
DESKTOP-RTLN3BA\$punk 640ef5f15d feat(proxy): integrate Scrapling for enhanced web scraping capabilities
- Replaced Playwright with Scrapling's fetchers in the web crawling and YouTube processing modules for improved performance and flexibility.
- Updated proxy configuration to support dynamic proxy selection via environment variables.
- Enhanced logging to track performance metrics during web scraping operations.
- Refactored related modules to utilize the new proxy utilities and streamline the scraping process.
2026-06-09 00:15:10 -07:00

20 lines
553 B
Python

"""Backward-compatible shim for the proxy helpers.
The implementation now lives in the modular :mod:`app.utils.proxy` package.
Existing imports of ``app.utils.proxy_config`` keep working via these re-exports.
Prefer importing from ``app.utils.proxy`` (and ``get_proxy_url``) in new code.
"""
from app.utils.proxy import (
get_playwright_proxy,
get_proxy_url,
get_requests_proxies,
get_residential_proxy_url,
)
__all__ = [
"get_playwright_proxy",
"get_proxy_url",
"get_requests_proxies",
"get_residential_proxy_url",
]