added Hasaki crawler
This commit is contained in:
parent
d0344122e2
commit
7a45367975
|
@ -1,12 +1,9 @@
|
||||||
import hashlib
|
|
||||||
import logging
|
import logging
|
||||||
import random
|
import random
|
||||||
import time
|
import time
|
||||||
import psycopg2
|
import psycopg2
|
||||||
from playwright.sync_api import sync_playwright
|
from playwright.sync_api import sync_playwright
|
||||||
from deep_translator import GoogleTranslator
|
|
||||||
from hasaki_db_writer import hasaki_db_writer
|
from hasaki_db_writer import hasaki_db_writer
|
||||||
import pandas as pd
|
|
||||||
from Util import translate_text_to_english
|
from Util import translate_text_to_english
|
||||||
class HasakiCategoryProducts:
|
class HasakiCategoryProducts:
|
||||||
def __init__(self, config):
|
def __init__(self, config):
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
import hashlib
|
import hashlib
|
||||||
import logging
|
import logging
|
||||||
import random
|
|
||||||
import string
|
import string
|
||||||
import time
|
|
||||||
import re
|
import re
|
||||||
import psycopg2
|
import psycopg2
|
||||||
from playwright.sync_api import sync_playwright
|
from playwright.sync_api import sync_playwright
|
||||||
from deep_translator import GoogleTranslator
|
|
||||||
from hasaki_db_writer import hasaki_db_writer
|
from hasaki_db_writer import hasaki_db_writer
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
|
|
Loading…
Reference in New Issue