mirror of
https://github.com/thecyberlearn/chat-backend.git
synced 2026-08-18 15:32:53 +00:00
Features: - Django REST API backend - Multi-strategy web scraping system (Beautiful Soup, Playwright, Firecrawl) - Anti-detection features (proxy rotation, user-agent rotation) - Data export functionality (JSON, CSV, TXT) - Business and CrawledPage models - Enhanced crawling service with fallback mechanisms 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
659 B
Python
21 lines
659 B
Python
from __future__ import annotations
|
|
|
|
import warnings
|
|
|
|
from .datastructures import Headers, MultipleValuesError # noqa: F401
|
|
|
|
|
|
with warnings.catch_warnings():
|
|
# Suppress redundant DeprecationWarning raised by websockets.legacy.
|
|
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
|
from .legacy.http import read_request, read_response # noqa: F401
|
|
|
|
|
|
warnings.warn( # deprecated in 9.0 - 2021-09-01
|
|
"Headers and MultipleValuesError were moved "
|
|
"from websockets.http to websockets.datastructures"
|
|
"and read_request and read_response were moved "
|
|
"from websockets.http to websockets.legacy.http",
|
|
DeprecationWarning,
|
|
)
|