Optimizely Crawler is a reference guide to explain how to get data from GraphQL into SearchStax Site Search.
- Connect to GraphQL and get the data
- Extract the required fields
- HTML cleanup
- Upload data to SearchStax Site Search
To run the Optimizely Crawler Reference Guide, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/optimizely-crawler.git
- Navigate to the project directory:
cd optimizely-crawler
- Install the required dependencies:
pip install -r requirements.txt
- Create a .env file and add the Optimizely Singlekey and SearchStax Site Search Auth token. (See the .env.example file)
To use the Optimizely Crawler reference guide:
- Run the python notebook
- Update the Ingest API URL in code block 40.