mirror of
https://github.com/thecyberlearn/chat-backend.git
synced 2026-08-18 20:12: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>
23 lines
574 B
Python
23 lines
574 B
Python
# this is a package
|
|
|
|
__version__ = "5.3.0"
|
|
|
|
|
|
def get_include():
|
|
"""
|
|
Returns a list of header include paths (for lxml itself, libxml2
|
|
and libxslt) needed to compile C code against lxml if it was built
|
|
with statically linked libraries.
|
|
"""
|
|
import os
|
|
lxml_path = __path__[0]
|
|
include_path = os.path.join(lxml_path, 'includes')
|
|
includes = [include_path, lxml_path]
|
|
|
|
for name in os.listdir(include_path):
|
|
path = os.path.join(include_path, name)
|
|
if os.path.isdir(path):
|
|
includes.append(path)
|
|
|
|
return includes
|