inspiredminds/contao-crawler-authenticator
最新稳定版本:2.0.1
Composer 安装命令:
composer require inspiredminds/contao-crawler-authenticator
包简介
Allows the Contao Crawler to be logged in as a front end member via Basic Authentication in order to index protected pages.
README 文档
README
Contao Crawler Authenticator
Allows the Contao Crawler to be logged in as a front end member via Basic Authentication in order to index protected pages.
Usage
- Install the extension (zero configuration necessary in the Contao Managed Edition).
- Create a front end member specifically for the Contao Crawler or re-use an existing one where you know the password.
- Assign the member to the appropriate member groups.
- Now choose one of the following options (replace
<username>and<password>with the member's credentials):- Pass the member's username and password for every
contao:crawlexecution:CRAWLER_AUTH=<username>:<password> vendor/bin/contao-console contao:crawl --subscribers=search-index --max-depth=3 - Define the member's username and password in the
.env.local:# .env.local CRAWLER_AUTH=<username>:<password>
These will then get used automatically every time you executecontao:crawl(unless overridden by the former command). Make sure you also have a.envfile, otherwise the.env.localwill not be loaded of course.
- Pass the member's username and password for every
Note: be aware that the member's password will be put unencrypted into the bash history in the former case and into
the .env.local in the latter case.
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2024-01-20