def get_and_parse_cel(soup):
    title = find_title(soup, "h1", "productName")
    price = find_price(soup, "span", "productPrice")
    price = float(price)
    currency = cur.ron
    image = soup.find("img", attrs={"id": "main-product-image"})['src'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_ebay(soup):
    title = soup.find("title").text.strip()
    price = soup.find("span", attrs={"id": "prcIsum"}).text.strip()
    price = re.sub("US", '', price)
    price = re.sub("\$", '', price)
    price = float(price)
    currency = cur.dollar
    image = soup.find("img", attrs={"id": "icImg"})['src'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_megaproteine(soup):
    title = soup.find("h1").text.strip()
    price = find_price(soup, "span", "pret")
    price = re.sub(",", '.', price)
    price = re.sub("lei", '', price)
    price = float(price)
    currency = cur.ron
    image = soup.find("link", attrs={"rel": "image_src"})['href'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_intersport(soup):
    title = soup.find("title").text.strip()
    price = find_price(soup, "span", "offer")
    price = re.sub("LEI", '', price)
    price = re.sub(",", '.', price)
    price = float(price)
    currency = cur.ron
    image = soup.find("div", attrs={
        "class": "image-container"
    }).img['src'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_gymbeam(soup):
    title = find_title(soup, "h1", "page-title")
    price = find_price(soup, "span", "price")
    price = re.sub(",", '.', price)
    price = re.sub("Lei", '', price)
    price = float(price)
    currency = cur.ron
    image = soup.find("div", attrs={
        "class": "product media"
    }).img['data-src'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_autovit(soup):
    title = find_title(soup, "span", "offer-title big-text fake-title")
    price = find_price(soup, "span", "offer-price__number")
    price = re.sub("EUR", '', price)
    price = re.sub(" ", '', price)
    price = float(price)
    currency = cur.euro
    image = soup.find("div", attrs={
        "class": "photo-item"
    }).img['data-lazy'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_dedeman(soup):
    title = find_title(soup, "h1", "no-margin-bottom product-title")
    price = soup.find("div", attrs={
        "class": "product-price large"
    }).span.text.strip()
    price = float(price)
    currency = cur.ron
    image = soup.find("img",
                      attrs={"class": "slider-product-image img-responsive"
                             })['src'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_footshop(soup):
    title = soup.find("h1").text.strip()
    price = soup.find("p", attrs={
        "class": "ProductProperties_price_1rMbi"
    }).text.strip()
    price = re.sub("cu TVA", '', price)
    price = re.sub("Lei", '', price)
    price = float(price)
    currency = cur.ron
    image = "no image"
    # image = soup.find("img", attrs={"class": "ImageSlider_image_2Vl4h"}).text.strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_quickmobile(soup):
    title = find_title(soup, "div",
                       "product-page-title page-product-title-wth")
    price = find_price(soup, "div",
                       "priceFormat total-price price-fav product-page-price")
    price = re.sub("Lei", '', price)
    price = float(price)
    currency = cur.ron
    image = soup.find("img",
                      attrs={"class":
                             "img-responsive image-gallery"})['src'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_evomag(soup):
    title = find_title(soup, "h1", "product_name")
    price = find_price(soup, "div", "pret_rons")
    price = re.sub("\.", '', price)
    price = re.sub(",", ".", price)
    price = re.sub("Lei", '', price)
    price = float(price)
    currency = cur.ron
    image = soup.find("a", attrs={
        "class": "fancybox fancybox.iframe"
    }).img['src'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_flanco(soup):
    title = soup.find("h1", attrs={"id": "product-title"}).text.strip()
    price = find_price(soup, "div", "produs-price")
    price = re.sub("\.", '', price)
    price = re.sub(",", ".", price)
    price = re.sub("lei", '', price)
    price = float(price)
    currency = cur.ron
    image = soup.find("img",
                      attrs={"class":
                             "product-main-image-img desktop"})['data-lazy']
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_marso(soup):
    title = soup.find("title").text.strip()
    price = find_price(soup, "div", "retail-price-brutto")
    price = re.sub("LEI", '', price)
    price = re.sub(",", '.', price)
    price = float(price)
    currency = cur.ron
    image = soup.find("img",
                      attrs={
                          "class":
                          "product-image ui centered middle aligned image"
                      })['src'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_sportisimo(soup):
    title = soup.find("h1").text.strip()
    price = soup.find("p", attrs={"class": "price"}).text.strip()
    price = re.sub("Lei cu TVA", '', price)
    # price = re.sub(" ", '%', price)
    price = re.sub(",", ".", price)
    price = price.replace(u'\xa0', u'')
    price = re.findall(r'[0-9]*\.[0-9]*', price)
    price = float(price[0])
    currency = cur.ron
    image = soup.find("div", attrs={
        "class": "gallery_image slide"
    }).img['src'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_emag(soup):
    title = find_title(soup, "h1", "page-title")
    price = soup.find("p", attrs={"class": "product-new-price"}).text.strip()
    s = list(price)
    s.insert(-6, ",")
    price = "".join(s)
    price = re.sub("Lei", '', price)
    price = re.sub(",", ".", price)
    price = float(price)
    currency = "LEI"
    image = soup.find("div", attrs={
        "class": "ph-body"
    }).img['data-src'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data
def get_and_parse_altex(soup):
    title = find_title(
        soup, "h1",
        "font-bold leading-none text-black m-0 text-center text-base lg:text-3xl bg-gray-lighter lg:bg-transparent -mx-15px lg:mx-auto px-3 pt-4 pb-3 lg:p-0 border-b lg:border-b-0"
    )
    price = find_price(soup, "div", "Price-current")
    price = re.sub("\.", '', price)
    price = re.sub(",", ".", price)
    price = re.sub("lei", '', price)
    price = float(price)
    currency = cur.ron
    image = soup.find("div",
                      attrs={
                          "class": "slick-slide slick-active slick-current"
                      }).img['src'].strip()
    product_data = class_ProductData.ProductData(title, price, currency, image)
    return product_data