diff --git a/hasaki_crawler_engine/hasaki_product_info.py b/hasaki_crawler_engine/hasaki_product_info.py index 6598c64..a4829ae 100644 --- a/hasaki_crawler_engine/hasaki_product_info.py +++ b/hasaki_crawler_engine/hasaki_product_info.py @@ -9,6 +9,8 @@ import pandas as pd from bs4 import BeautifulSoup from Util import translate_text_to_english from fake_useragent import UserAgent +import time +import random class HasakiProductInfo: def __init__(self, config): @@ -55,7 +57,7 @@ class HasakiProductInfo: try: self.get_product_info(row) - #time.sleep(random.randint(23,57)) + time.sleep(random.randint(23,57)) except: pass