added Hasaki crawler
This commit is contained in:
parent
1306933483
commit
a1290c8772
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue