This repository holds the code of the DocSearch scraper used to power the hosted version of DocSearch.
If you're looking for a way to add DocSearch to your site, the easiest solution is to apply to DocSearch. To run the scraper yourself, you're at the right place.
Please check the dedicated documentation to see how you can install and run DocSearch yourself.
This project supports Python 3.6+
DocSearch is made of 4 repositories:
- algolia/DocSearch contains the
docsearch.js
code source. - algolia/docsearch-configs contains the JSON files representing all the configurations for all the documentations DocSearch is powering.
- algolia/docsearch-scraper contains the scraper we use to extract data from your documentation. The code is open source and you can run it from a Docker image.
- algolia/docsearch-website contains the documentation website.
https://docsearch.algolia.com/docs/run-your-own/ https://stackoverflow.com/questions/59572174/no-module-named-dotenv-python-3-8
no module named 'dotenv' python 3.8
EDIT: Solved, if anyone comes across this python3.8 -m pip install python-dotenv worked for me. python -m pip install python-dotenv
IMPORTANT: Remember to create a .env file with APPLICATION_ID and API_KEY (Admin from Algolia)