1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/echo_yjl_lyc-laji-collect

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
config.dist.json 1.6 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
lyc Отправлено 07.01.2021 03:57 0dddc3f
{
"mysql": {
"database": "",
"user": "",
"password": "",
"host": "localhost",
"port": 3306,
"charset": "utf8mb4",
"max_idle_connections": 1000,
"max_open_connections": 100000
},
"server": {
"site_name": "辣鸡采集",
"host": "localhost",
"env": "development", /* production | development */
"log_level": "error", /* "disable" | "fatal" | "error" | "warn" | "info" | "debug" */
"port": 8088
},
"collector": {
"error_times": 5, /* 错误次数 超过就不监听抓取 */
"channels": 5, /* 抓取并发量 */
"channels_publish": 5, /* 发布并发量 */
"title_min_length": 6, /* 标题最小长度 */
"content_min_length": 200,
"title_exclude": [
"关于我们"
],
"title_exclude_prefix": [
"NotFound"
],
"title_exclude_suffix": [
"网站"
],
"content_exclude": [
"版权声明"
],
"content_exclude_line": [
"更多精彩",
"字体"
]
},
"content": {
"auto_publish": 0,
"table_name": "fe_new_article",
"id_field": "id",
"title_field": "title",
"created_time_field": "add_time",
"keywords_field": "keywords",
"description_field": "description",
"author_field": "",
"views_field": "",
"content_table_name": "",
"content_id_field": "id",
"content_field": "content",
"originUrlField": "origin_url",
"remote_url": "",
"content_type": "urlencode",
"headers": null,
"cookies": null,
"extra_fields": null,
"contentHead": "",
"contentFoot": "文章来源于互联网,如有雷同请联系站长删除:\u003ca href=\"{originUrl}\" rel=\"noopener noreferrer nofollow\"\u003e{title}\u003c/a\u003e"
}
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/echo_yjl_lyc-laji-collect.git
git@api.gitlife.ru:oschina-mirror/echo_yjl_lyc-laji-collect.git
oschina-mirror
echo_yjl_lyc-laji-collect
echo_yjl_lyc-laji-collect
master