Skip to content

Make the scraper use the MeiliSearch v9 version #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .dockerignore

This file was deleted.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ _WARNING:_ Please be aware that the scraper sends authentication headers to ever
#### Basic HTTP:

Basic HTTP authentication is supported by setting these environment variables:
- `DOCSEARCH_BASICAUTH_USERNAME`
- `DOCSEARCH_BASICAUTH_PASSWORD`
- `DOCS_SCRAPER_BASICAUTH_USERNAME`
- `DOCS_SCRAPER_BASICAUTH_PASSWORD`

#### Cloudflare Access: Identity and Access Management

Expand Down
8 changes: 1 addition & 7 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@ name = "pypi"

[packages]
Scrapy = "==1.5.0"
pyperclip = "==1.5.27"
ratelimit = "==1.4.1"
selenium = "==3.141.0"
slacker = "==0.9.60"
tldextract = "==2.1.0"
pytest = "==3.10.0"
meilisearch = "==0.9.0"
requests-iap = "==0.2.0"
python-helpscout-v2 = "==1.0.1"
meilisearch = "*"
# pyhash = "*"

[dev-packages]
pylint = "==2.3.1"
Expand Down
204 changes: 83 additions & 121 deletions Pipfile.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ _Will be generalized soon for all documentations_

This project supports Python 3.6+.

Set both environment variables `APPLICATION_ID` and `API_KEY`.
Set both environment variables `MEILISEARCH_HOST_URL` and `MEILISEARCH_API_KEY`.

Then, run:
```bash
$ pipenv install
$ pipenv shell
$ ./docsearch run config/config.json
$ ./docs_scraper run config/config.json
```

_WIP_
Expand Down
4 changes: 0 additions & 4 deletions cli/__init__.py

This file was deleted.

11 changes: 0 additions & 11 deletions cli/scripts/publish_docker_scraper_images.sh

This file was deleted.

Empty file removed cli/src/__init__.py
Empty file.
15 changes: 0 additions & 15 deletions cli/src/commands/__init__.py

This file was deleted.

27 changes: 0 additions & 27 deletions cli/src/commands/abstract_build_docker.py

This file was deleted.

65 changes: 0 additions & 65 deletions cli/src/commands/abstract_command.py

This file was deleted.

102 changes: 0 additions & 102 deletions cli/src/commands/bootstrap_config.py

This file was deleted.

41 changes: 0 additions & 41 deletions cli/src/commands/build_docker_scraper.py

This file was deleted.

22 changes: 0 additions & 22 deletions cli/src/commands/deploy_config.py

This file was deleted.

13 changes: 0 additions & 13 deletions cli/src/commands/deploy_docker_scraper_images.py

This file was deleted.

Loading