import pandas as pd import numpy as np import requests from lxml import html import time from datetime import datetime from unidecode import unidecode import warnings from tqdm import tqdm import os import sys sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '.')).replace("\\", "/")+ "/src") import spider import models df, model = spider.Main(counter_file = 100, delay = 1.5, reprocess_oferts_urls = False)