mirror of
https://gitlab.com/cief-data/data-management.git
synced 2026-08-19 04:13:57 +00:00
C2M Scrape add
This commit is contained in:
@@ -57,6 +57,7 @@ data-management
|
||||
├─ .gitignore # Ignore the file to push into gitlab
|
||||
│
|
||||
├─ config # Folder store all the config file to use in the code
|
||||
│ ├─ C2M_CONFIG.json # C2M webscraping configuration
|
||||
│ ├─ CLOUD-STORAGE-ADMIN-CREDENTIAL.json # Get from GCP Service Account cloud-storage-admin-service-account
|
||||
│ ├─ CRISP_CONFIG.json # Config for CRISP API key, secret & web-id
|
||||
│ ├─ EXCHANGE_CONFIG.json # Manually config the MySQL ID, Password, etc...
|
||||
@@ -64,6 +65,17 @@ data-management
|
||||
│ ├─ SHIPPING_CONFIG.json # Manually config the MySQL ID, Password, etc...
|
||||
│ └─ SHIPPING_EXTRACT_SQL.json # SQL use in MYSQL to extract the data we need to save in temp's csv
|
||||
│
|
||||
├─ c2m # C2M webscrapping
|
||||
│ ├─ scrape # All script use to scrape the competitor data is in here
|
||||
│ │ ├─ c2m_scrape_app.py # C2M webscrap, call in main.py or seperate run it in your local environment
|
||||
│ │ ├─ c2m_temp_scrape_files # Temp folder to store all the csv or error.png from webscraper (Auto Create)
|
||||
│ │ │ └─ .gitkeep # Keep empty folder
|
||||
│ │ └─ local_run_files # Folder to store all the data or error from webscraper which run at local pc
|
||||
│ │ └─ error # Folder to store error.png from webscraper which run at local pc
|
||||
│ │ └─ .gitkeep # Keep empty folder
|
||||
│ └─ load
|
||||
│ └─ c2m_load_function.py # C2M load code function to import in main.py
|
||||
│
|
||||
├─ crisp # CRISP-CRM
|
||||
│ ├─ extract # All crisp extract needed code is in here
|
||||
│ │ ├─ crisp_extract_function.py # Crisp extract code function to import in main.py
|
||||
|
||||
Reference in New Issue
Block a user