University Organization Pipeline
This repository crawls university organization websites and extracts structured staff, project, news, and keyword information.
Pipeline stages
For one configured entity, the pipeline executes:
- Generate crawl seeds from the ground-truth file.
- Crawl all seed URLs and their allowed internal links.
- Store responses as WARC files.
- Build a redirect lookup.
- Upload HTML content to Elasticsearch.
- Build the organization hierarchy.
- Classify crawled URLs with the configured LLM.
- Extract staff, projects, and news.
- Extract focused keywords for extracted content.
Requirements
- Python environment containing Scrapy, scrapy-warcio, warcio, Elasticsearch, OpenAI client, Trafilatura, YAKE, langdetect, tiktoken, and project dependencies.
- Elasticsearch credentials.
- LLM endpoint and API key.
Create .env in the repository root:
ES_PASSWORD=...
ES_HOST=https://your-elasticsearch-host:443
ES_USERNAME=elastic
llm_api=https://your-llm-api/v1
llm_key=...