Commit 23d2dc80 authored by zhou's avatar zhou

Update readme.md

parent bb5adbee
......@@ -7,6 +7,7 @@
#### 2.填写好后使用run()方法即可获取数据并且进行类别品牌匹配后。
#### 3.使用param_extract_function函数,输入run()方法返回的dataframe,即可进行参数对应和名称中参数提取,并且将结果直接保存在数据库。
#### 4.数据输出在数据库ZI_Database中,其中Product_Api_Data库保存产品数据,Product_Parameter_Process库保存参数数据。这两个表值接对接页面。
#### 5.数据的批次后缀为1。
```python
channel = 'LXWL'
data_api = data_fetch(model='LXWL_model', localhost=False, source=f'ZH_{channel}')
......@@ -41,3 +42,9 @@
#### 2.在program文件夹中新建名为data的文件夹。
#### 3.运行fileMonitor.sh。
#### 4.将命名格式为'LXWL_2019-12-12_0101.txt.ann'的txt上传到data文件夹时,将自动解析标注结果,把标注结果作为参数项上传到Product_Parameter_Process库。
## 五.爬取数据在张楷SKU排重后,多线程上传页面模块。
#### 1.直接运行crawl_data_run()即可将爬取的数据在子类,品牌对应,提取参数,爬取参数,参数对应后上传至页面。。
#### 2.数据的批次后缀为2。
```python
crawl_data_run()
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment