|
3 days ago | |
---|---|---|
applications | 3 days ago | |
routes | 3 weeks ago | |
ui | 3 weeks ago | |
.gitignore | 8 months ago | |
Dockerfile | 2 weeks ago | |
LICENSE | 1 year ago | |
README.md | 1 month ago | |
app_config.toml | 4 weeks ago | |
docker-compose.yaml | 1 month ago | |
requirements.txt | 2 weeks ago | |
run_dev_server.sh | 4 weeks ago | |
task_app.py | 3 weeks ago |
description: a server for long_articles project experiments and tasks
hypercorn task_app:app --config app_config.toml
docker compose up -d
.
├── Dockerfile
├── LICENSE
├── README.md
├── app_config.toml
├── applications
│ ├── __init__.py
│ ├── ab_test
│ │ ├── __init__.py
│ │ └── get_cover.py
│ ├── api
│ │ ├── __init__.py
│ │ ├── aliyun_log_api.py
│ │ ├── async_aigc_system_api.py
│ │ ├── async_apollo_api.py
│ │ ├── async_feishu_api.py
│ │ ├── async_piaoquan_api.py
│ │ ├── deep_seek_official_api.py
│ │ └── elastic_search_api.py
│ ├── config
│ │ ├── __init__.py
│ │ ├── aliyun_log_config.py
│ │ ├── deepseek_config.py
│ │ ├── elastic_search_mappings.py
│ │ ├── es_certs.crt
│ │ └── mysql_config.py
│ ├── crawler
│ │ ├── toutiao
│ │ │ ├── __init__.py
│ │ │ ├── blogger.py
│ │ │ ├── detail_recommend.py
│ │ │ ├── main_page_recomend.py
│ │ │ ├── search.py
│ │ │ ├── toutiao.js
│ │ │ └── use_js.py
│ │ └── wechat
│ │ ├── __init__.py
│ │ └── gzh_spider.py
│ ├── database
│ │ ├── __init__.py
│ │ └── mysql_pools.py
│ ├── pipeline
│ │ ├── __init__.py
│ │ ├── crawler_pipeline.py
│ │ └── data_recycle_pipeline.py
│ ├── service
│ │ ├── __init__.py
│ │ └── log_service.py
│ ├── tasks
│ │ ├── __init__.py
│ │ ├── cold_start_tasks
│ │ │ ├── __init__.py
│ │ │ └── article_pool_cold_start.py
│ │ ├── crawler_tasks
│ │ │ ├── __init__.py
│ │ │ └── crawler_toutiao.py
│ │ ├── data_recycle_tasks
│ │ │ ├── __init__.py
│ │ │ └── recycle_daily_publish_articles.py
│ │ ├── llm_tasks
│ │ │ ├── __init__.py
│ │ │ ├── candidate_account_process.py
│ │ │ └── process_title.py
│ │ ├── monitor_tasks
│ │ │ ├── __init__.py
│ │ │ ├── get_off_videos.py
│ │ │ ├── gzh_article_monitor.py
│ │ │ ├── kimi_balance.py
│ │ │ └── task_processing_monitor.py
│ │ ├── task_mapper.py
│ │ ├── task_scheduler.py
│ │ └── task_scheduler_v2.py
│ └── utils
│ ├── __init__.py
│ ├── aigc_system_database.py
│ ├── async_apollo_client.py
│ ├── async_http_client.py
│ ├── async_mysql_utils.py
│ ├── common.py
│ ├── get_cover.py
│ ├── item.py
│ └── response.py
├── dev
│ ├── code.py
│ ├── dev.py
│ ├── run_task_dev.py
│ ├── sample.txt
│ ├── title.json
│ └── totp.py
├── dev.py
├── docker-compose.yaml
├── myapp.log
├── requirements.txt
├── routes
│ ├── __init__.py
│ └── blueprint.py
└── task_app.py
tree -I "__pycache__|*.pyc"
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "daily_publish_articles_recycle"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "update_root_source_id"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "candidate_account_quality_analysis"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "crawler_toutiao"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "crawler_toutiao", "method": "recommend"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "crawler_toutiao", "method": "search"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "crawler_account_manager", "platform": "weixin"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "crawler_gzh_articles", "account_method": "account_association", "crawl_mode": "account"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "crawler_gzh_articles", "account_method": "search", "crawl_mode": "search"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "article_pool_cold_start", "platform": "toutiao", "crawler_methods": ["toutiao_account_association"]}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "article_pool_cold_start"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "check_kimi_balance"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "get_off_videos"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "check_publish_video_audit_status"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "outside_article_monitor"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "inner_article_monitor"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "title_rewrite"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "article_pool_category_generation", "limit": "1000"}'
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "candidate_account_quality_analysis"}'