From 7a45367975679dd10a12398264f91dadaaf6aec6 Mon Sep 17 00:00:00 2001 From: "shariar@raenabeauty.com" Date: Thu, 14 Mar 2024 13:33:51 +0400 Subject: [PATCH] added Hasaki crawler --- hasaki_crawler_engine/hasaki_category_products.py | 3 --- hasaki_crawler_engine/hasaki_product_info.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/hasaki_crawler_engine/hasaki_category_products.py b/hasaki_crawler_engine/hasaki_category_products.py index b17af67..03ab918 100644 --- a/hasaki_crawler_engine/hasaki_category_products.py +++ b/hasaki_crawler_engine/hasaki_category_products.py @@ -1,12 +1,9 @@ -import hashlib import logging import random import time import psycopg2 from playwright.sync_api import sync_playwright -from deep_translator import GoogleTranslator from hasaki_db_writer import hasaki_db_writer -import pandas as pd from Util import translate_text_to_english class HasakiCategoryProducts: def __init__(self, config): diff --git a/hasaki_crawler_engine/hasaki_product_info.py b/hasaki_crawler_engine/hasaki_product_info.py index 49aaf0e..6598c64 100644 --- a/hasaki_crawler_engine/hasaki_product_info.py +++ b/hasaki_crawler_engine/hasaki_product_info.py @@ -1,12 +1,9 @@ import hashlib import logging -import random import string -import time import re import psycopg2 from playwright.sync_api import sync_playwright -from deep_translator import GoogleTranslator from hasaki_db_writer import hasaki_db_writer import pandas as pd from bs4 import BeautifulSoup