ASIN_XPATH = {
    "us": {
        "img_url": [
            "//img[@class='a-dynamic-image frontImage']/@src",
            "//div[@class='image-wrapper']/img/@src",
            "//*[@data-thumb-action]//img/@src",
            "//li[contains(@class, 'thumbItemUnrolled thumbTypeimage thumbIndex') or contains(@class, 'thumbItemUnrolled thumbTypechromeful-video thumbIndex')]//img/@src",
            '//div[@id="img-canvas"]/img/@src',
            "//span[@id='imgThumbs']//img/@src",
        ],
        # 原title
        # "title": [
        #     '//*[@id="productTitle"]/parent::h1//text()',
        #     '//*[@id="productTitle"]/text()',
        #     '//h1[@class="a-size-large"]/text()',
        #           '//h1[@class="a-size-large a-spacing-micro"]/text()', '//h1[@class="gc-detail-page-title"]//text()',
        #           '//h1[@id="mas-atf-product-title"]/span/span/text()', '//h1[@class="a2s-title-content"]/text()',
        #           '//span[@id="collection-title"]/text()', '//title[0]/text()', '//title[@dir="ltr"]/text()',
        #           # '//h1/span/text()',
        #           '//h1/span[@id="gc-asin-title"]/text()'
        # ],
        "title": [
            '//*[@id="productTitle"]/text()',
            '//h1[@class="a-size-large"]/text()',
            '//h1[@class="a-size-large a-spacing-micro"]/text()',
            '//h1[@class="gc-detail-page-title"]//text()',
            '//h1[@id="mas-atf-product-title"]/span/span/text()',
            '//h1[@class="a2s-title-content"]/text()',
            '//span[@id="collection-title"]/text()',
            '//title[0]/text()',
            '//title[@dir="ltr"]/text()',
            '//h1/span/text()',
            '//h1/span[@id="gc-asin-title"]/text()'
        ],
        # 原
        # "price": [
        #     # fr
        #     "//div[@class='a-section a-spacing-none aok-align-center']//span[@class='a-offscreen']/text()",
        #
        #     "//span[@class='a-button a-button-selected a-spacing-mini a-button-toggle format']//span[@class='a-color-base']/text()",
        #     "//div[@class='a-section a-spacing-none aok-align-center']//span[@class='a-offscreen']/text()",
        #     "//span[@class='a-color-base']/text()",
        #     "//span[@class='a-size-medium a-color-price priceBlockSalePriceString']/text()",
        #     "//span[@class='a-size-base a-color-price a-color-price']/text()",
        #     '//span[@id="priceblock_ourprice"]/text()',
        #     '//span[@id="priceblock_ourprice"]/span/text()',
        #     '//span[@id="priceLarge"]/text()',
        #     '//span[@id="priceblock_saleprice"]/text()',
        #     '//span[@id="newBuyBoxPrice"]/text()',
        #     "//span[@id='price']/text()",
        #     "//div[@id='gc-amount-mini-picker-wrapper']//span[@class='a-list-item']//text()",
        #     # "//span[@class='a-price a-text-price header-price a-size-base a-text-normal']//text()",
        #     "//span[@class='a-size-medium a-color-price header-price']/text()",
        #     "//div[@id='apex_offerDisplay_desktop']//span[contains(text(),'$')]/text()",
        #     "//div[@id='buyNew_noncbb']/span/text()",
        #     # "//td//span[@data-a-color='price']//text()",
        #     "//span[@class='a-size-medium a-color-price a-text-normal']//text()",
        #     # uk
        #     "//span[@id='sns-base-price']/text()",
        #     "(//td//span[@aria-hidden]//text())[1]",
        #     "//strong[@class='priceLarge']//text()",
        #     # "(//div[@class='a-spacing-top-mini']//span[@class='a-offscreen']/text())[1]",
        #     # "//span[@class='a-color-secondary olp-message']//text()",
        #     "//li[@data-defaultasin and string-length(@data-dp-url)=0]//span[@class='a-size-mini']/text()",
        #
        # ],
        "price": [
            # tr B0C6KRFJ7T
            # "//span[@class='aok-offscreen']/text()",
            "//span[@class='a-color-base']/text()",  # 0007275536
            "//ul[@class='a-unordered-list a-nostyle a-button-list a-declarative a-button-toggle-group a-horizontal a-spacing-top-micro swatches swatchesSquare']/li[@class='swatchSelect']//span[@class='a-size-mini olpWrapper']//text()",
            "//span[@class='a-size-medium a-color-price priceBlockSalePriceString']/text()",
            "//span[@class='a-size-base a-color-price a-color-price']/text()",
            '//span[@id="priceblock_ourprice"]/text()',
            '//span[@id="priceblock_ourprice"]/span/text()',
            '//span[@id="priceLarge"]/text()',
            '//span[@id="priceblock_saleprice"]/text()',
            '//span[@id="newBuyBoxPrice"]/text()',
            "//span[@id='price']/text()",
            "//div[@id='gc-amount-mini-picker-wrapper']//span[@class='a-list-item']//text()",
            "//span[@class='a-price a-text-price header-price a-size-base a-text-normal']//text()",
            "//span[@class='audible_mm_price']/span/text()",
            "//span[@class='a-size-medium a-color-price header-price']/text()",
            "//div[@id='apex_offerDisplay_desktop']//span[contains(text(),'$')]/text()",
            "//span[@class='a-color-price a-text-bold']/text()",
            "//div[@id='buyNew_noncbb']/span/text()",
            "//span[contains(@class,'a-price ')]/span/text()"
        ],
        "rating": [
            '//*[@id="acrPopover"]/@title',
            '//div[@class="a-row"]//span[@class="a-size-medium a-color-base"]/text()'
        ],
        "total_comments": [
            "//span[@class='a-size-small']/a[@class='a-link-normal']/text()",
            '//*[@id="acrCustomerReviewText"]/text()',
            '//div[@class="a2s-pdd-reviews"]//a/span/text()',
        ],
        "buy_box_seller_type": [
            # us
            "//div[@id='desktop_qualifiedBuyBox']//div[contains(@class, 'offer-display-feature-text a-spacing-none')]//text()",
            '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Ships from" or @tabular-attribute-name="Sold by"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Ships from" or @tabular-attribute-name="Sold by") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',
            # de Versand
            '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Versand" or @tabular-attribute-name="Verkäufer"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Versand" or @tabular-attribute-name="Verkäufer") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',

            '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Vendido por" or @tabular-attribute-name="Envío desde"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Vendido por" or @tabular-attribute-name="Envío desde") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',

            '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Vendu par" or @tabular-attribute-name="Expédié par"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Vendu par" or @tabular-attribute-name="Expédié par") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',

            '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Spedizione" or @tabular-attribute-name="Venditore"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Spedizione" or @tabular-attribute-name="Venditore") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',

            # uk
            '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Dispatches from" or @tabular-attribute-name="Sold by"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Spedizione" or @tabular-attribute-name="Venditore") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',

            # ca
            '//div[@id="desktop_qualifiedBuyBox"]//div[@id="merchant-info"]/a//text()',

            # mx
            '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Envío desde" or @tabular-attribute-name="Vendido por"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Envío desde" or @tabular-attribute-name="Vendido por") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',

            # '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Spedizione" or @tabular-attribute-name="Venditore") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',

        ],
        "page_inventory": [
            '//select[@id="quantity"]//option/text()',
            '//div[@id="availability"]/span/text()',
            '//span[@id="submit.add-to-cart-announce"]/text()',
            '//span[@id="submit.add-to-cart-ubb-announce"]/text()',
            '//div[@id="availability-string"]/span/text()'
        ],
        "category": ["//ul[@class='a-unordered-list a-horizontal a-size-small']//li/span//text()"],
        'volume': [
            # tr
            '//*[@id="detailBullets_feature_div"]//span[contains(text(), "Paket Boyutları")]/parent::span/span[2]/text()',
            '//th[contains(text(), "Paket Boyutları")]/parent::tr/td/text()',
            # nl
            '//th[contains(text(), "Productafmetingen")]/parent::tr/td/text()',
            '//th[contains(text(), "Afmetingen pakket")]/parent::tr/td/text()',
            '//*[@id="detailBullets_feature_div"]//span[contains(text(), "Productafmetingen")]/parent::span/span[2]/text()',
            # jp
            '//th[text()=" 製品サイズ "]/parent::tr/td/text()',
            # fr
            '//th[contains(text(), "Dimensions du produit")]/parent::tr/td/text()',
            # us
            '//div[@id="detailBulletsWrapper_feature_div"]//*[contains(text(), "Product Dimensions")]/parent::*/span[not(@class)]/text()',
            '//th[contains(text(), "Produktabmessungen")]/parent::tr/td/text()',
            '//th[contains(text(), "Verpackungsabmessungen")]/parent::tr/td/text()',
            '//*[@id="detailBullets_feature_div"]//span[contains(text(), "mensions")]/parent::span/span[2]/text()',

            '//*[@id="detailBullets_feature_div"]//span[contains(text(), "Dimensiones")]/parent::span/span[2]/text()',
            '//th[contains(text(), "mensions")]/parent::tr/td/text()',
            '//*[contains(text(), "Produktabmessungen")]/parent::*/span[not(@class)]/text()',
            '//th[contains(text(), "Dimensiones del producto")]/parent::tr/td/text()',
            '//*[contains(text(), "Abmessungen")]/parent::*/span[2]/text()',
            '//*[contains(text(), "Dimensioni")]/parent::*/span[2]/text()',
            '//*[contains(text(), "Verpackungsabmessungen")]/parent::*/span[not(@class)]/text()',
            # it
            '//th[contains(text(), "Dimensioni ")]/parent::tr/td/text()',
            # fr
            '//th[contains(text(), "Product Dimensions")]/parent::tr/td//text()',

            '//div[@id="aplus"]//td[contains(./span/text(), "Dimension")]/parent::tr/td[2]//text()',  # B00SBBZITI
            # '//th[text()=" Size "]/parent::tr/td/text()'
            # '//div[@id="productDescription"]//br/following-sibling::text()',
        ],
        "weight": [
            # tr
            '//*[@id="detailBullets_feature_div"]//span[contains(text(), "Paket Boyutları")]/parent::span/span[2]/text()',
            # '//th[contains(text(), "Paket Boyutları")]/parent::tr/td/text()',
            '//th[contains(text(), "Paketi Ağırlığ")]/parent::tr/td/text()',
            # nl
            '//th[contains(text(), "Productafmetingen")]/parent::tr/td/text()',
            '//*[@id="detailBullets_feature_div"]//span[contains(text(), "Productafmetingen")]/parent::span/span[2]/text()',
            # jp
            '//th[text()=" 商品の重量 "]/parent::tr/td/text()',
            # fr
            '//*[contains(text(), "Poids du produit")]/parent::*/td/text()',
            '//th[text()=" Package Weight "]/parent::tr/td/text()',
            '//*[contains(text(), "Artikelgewicht")]/parent::*/td/text()',
            '//th[contains(text(), "Nettogewicht des Einzelartikels")]/parent::tr/td/text()',
            '//th[contains(text(), "Item Weight")]/parent::tr/td/text()',
            '//*[@id="detailBullets_feature_div"]//span[contains(text(), "Poids")]/parent::span/span[2]/text()',
            '//*[@id="detailBullets_feature_div"]//span[contains(text(), "Item Weight")]/parent::span/span[2]/text()',
            '//*[@id="detailBullets_feature_div"]//span[contains(text(), "Peso")]/parent::span/span[2]/text()',
            '//div[@id="aplus"]//td[contains(./span/text(), "Weight")]/parent::tr/td[2]//text()',  # B00SBBZITI
            # '//div[@id="productDescription"]//descendant-or-self::text()',
            # '//div[@id="productDescription"]//br/following-sibling::text()',
        ],
        "rank": [
            # tr
            '//span[contains(text(),"Satanlar Sıralaması")]/parent::span',
            '//th[contains(text(), "Satanlar Sıralaması")]/parent::tr/td',
            # se
            '//span[contains(text(),"Rangordning")]/parent::span',
            '//th[contains(text(), "Rangordning")]/parent::tr/td',
            # pl
            '//span[contains(text(),"Ranking")]/parent::span',
            '//th[contains(text(), "Ranking najlepiej")]/parent::tr/td',
            # nl
            '//span[contains(text(),"bestsellerlijst")]/parent::span',
            '//th[contains(text(), "bestsellerlijst")]/parent::tr/td',
            # fr
            '//th[contains(text(), "Classement")]/parent::tr/td',
            '//span[contains(text(),"Classement des")]/parent::span',

            '//th[contains(text(), "Amazon Bestseller-Rang")]/parent::tr/td',
            '//th[contains(text(), "Best Sellers Rank")]/parent::tr/td',
            # '(//th[contains(text(),"Best Sellers Rank")]/following-sibling::td//a/parent::span/text())[1]',
            '//span[contains(text(),"Best Sellers Rank")]/parent::span',
            '//*[contains(text(), "Amazon Bestseller-Rang")]/parent::*',
            '//*[contains(text(), "Posizione nella")]/parent::*',
            '//*[contains(text(), "Clasificación en los más vendidos de Amazon")]/parent::*',
            '//*[contains(text(), "Clasificación en los más vendidos de Amazon")]/parent::*//span[contains(text(), "nº")]',
            '//th[contains(text(), "Posizione nella classifica")]/parent::tr/td',
        ],
        "productdetail_json_rank": [
            '//th[contains(text(),"Best Sellers Rank")]/following-sibling::td',
            '//span[contains(text(),"Best Sellers Rank")]/parent::span',
            # tr
            '//th[contains(text(),"Satanlar Sıralaması")]/following-sibling::td',
            '//span[contains(text(),"Satanlar Sıralaması")]/parent::span',
            # se
            '//th[contains(text(),"Rangordning")]/following-sibling::td',
            '//span[contains(text(),"Rangordning")]/parent::span',

            '//th[contains(text(),"Ranking najlepiej")]/following-sibling::td',
            '//span[contains(text(),"Ranking najlepiej")]/parent::span',

            '//th[contains(text(),"bestsellerlijst")]/following-sibling::td',
            '//span[contains(text(),"bestsellerlijst")]/parent::span',

            '//th[contains(text(),"Classement")]/following-sibling::td',
            '//span[contains(text(),"Classement")]/parent::span',

            '//th[contains(text(),"Amazon Bestseller-Rang")]/following-sibling::td',
            '//span[contains(text(),"Amazon Bestseller-Rang")]/parent::span',

            '//th[contains(text(),"Posizione nella")]/following-sibling::td',
            '//span[contains(text(),"Posizione nella")]/parent::span',

            '//th[contains(text(),"Clasificación en los más vendidos de Amazon")]/following-sibling::td',
            '//span[contains(text(),"Clasificación en los más vendidos de Amazon")]/parent::span',

            '//th[contains(text(),"Clasificación en los más vendidos de Amazon")]/following-sibling::td',
            '//span[contains(text(),"Clasificación en los más vendidos de Amazon")]/parent::span',

            '//th[contains(text(),"Posizione nella classifica")]/following-sibling::td',
            '//span[contains(text(),"Posizione nella classifica")]/parent::span',
        ],
        "launch_time": [
            # tr
            '//span[contains(text(),"Satışa Sunuld")]/following-sibling::span[1]/text()',
            '//th[contains(text(),"Satışa Sunuld")]/following-sibling::td[1]/text()',
            # be
            '//span[contains(text(),"Date de mise")]/following-sibling::span[1]/text()',
            '//th[contains(text(),"Date de mise")]/following-sibling::td[1]/text()',
            # nl
            '//span[contains(text(),"Datum eer")]/following-sibling::span[1]/text()',
            '//th[contains(text(),"Datum eerste")]/following-sibling::td[1]/text()',
            # us
            "//span[text()='Publication date']/parent::div/parent::div/div[@class='a-section a-spacing-none a-text-center rpi-attribute-value']//text()",
            # us B08ZDKVMG5
            "//span[contains(text(), 'Date first')]/parent::div/span[2]/text()",
            # ca B06XHXJG31
            "//span[contains(text(), 'Date First')]/parent::div/span[2]/text()",
            '//th[contains(text(),"Date First")]/following-sibling::td[1]/text()',
            # de
            "//span[text()='Erscheinungstermin']/parent::div/parent::div/div[@class='a-section a-spacing-none a-text-center rpi-attribute-value']//text()",
            # es
            "//span[text()='Fecha de publicación']/parent::div/parent::div/div[@class='a-section a-spacing-none a-text-center rpi-attribute-value']//text()",
            # fr
            "//span[text()='Date de publication']/parent::div/parent::div/div[@class='a-section a-spacing-none a-text-center rpi-attribute-value']//text()",
            '//th[contains(text(),"Date de mise")]/following-sibling::td[1]/text()',
            "//span[contains(text(), 'Date de mise en ')]/parent::span/span[2]/text()",


            # it
            "//span[text()='Data di pubblicazione']/parent::div/parent::div/div[@class='a-section a-spacing-none a-text-center rpi-attribute-value']//text()",
            # '//th[contains(text(),"Herstellerreferenz")]/following-sibling::td[1]/text()',
            '//th[contains(text(),"Date First Available")]/following-sibling::td[1]/text()',
            '//span[contains(text(),"Date First Available")]/following-sibling::span[1]/text()',
            '//th[contains(text(),"Release date")]/following-sibling::td[1]/text()',

            '//span[contains(text(),"Release date")]/following-sibling::span[1]/text()',
            # de
            '//span[contains(text(),"Erscheinungstermin")]/following-sibling::span[1]/text()',
            '//span[contains(text(),"Publication date")]/following-sibling::span[1]/text()',
            '//th[contains(text(),"Im Angebot von")]/following-sibling::td[1]/text()',
            # es
            '//th[contains(text(),"Producto")]/following-sibling::td[1]/text()',
            '//span[contains(text(),"Producto")]/following-sibling::span[1]/text()',
            # it
            '//th[contains(text(),"Disponibile")]/following-sibling::td[1]/text()',
            '//span[contains(text(),"Data d")]/following-sibling::span[1]/text()',
        ],
        "qa_num": ["//a[@id='askATFLink']/span/text()"],
        "five_star": ["//a[@class='a-link-normal 5star']/@title", "//a[contains(@aria-label, 'percent of reviews have 5 stars')]/text()"],
        "four_star": ["//a[@class='a-link-normal 4star']/@title", "//a[contains(@aria-label, 'percent of reviews have 4 stars')]/text()"],
        "three_star": ["//a[@class='a-link-normal 3star']/@title", "//a[contains(@aria-label, 'percent of reviews have 3 stars')]/text()"],
        "two_star": ["//a[@class='a-link-normal 2star']/@title", "//a[contains(@aria-label, 'percent of reviews have 2 stars')]/text()"],
        "one_star": ["//a[@class='a-link-normal 1star']/@title", "//a[contains(@aria-label, 'percent of reviews have 1 stars')]/text()"],
        "brand": [
            "//tr[@class='a-spacing-small po-brand']//span[@class='a-size-base po-break-word']//text()",
            "//div[@id='bylineInfo_feature_div']//a[@id='bylineInfo']/text()",
            '//div[@class="a-section a-spacing-small a-spacing-top-small"]//span[contains(text(), "Brand")]/parent::td/following-sibling::td/span/text()',
            "//a[@id='amznStoresBylineLogoImageContainer']/following-sibling::a/text()",
            "//a[@id='bylineInfo']/text()",
            "//a[@id='amznStoresBylineLogoImageContainer']/following-sibling::a/text()",
            "//div[@class='a-section a-spacing-small a-spacing-top-small']//span[text()='Brand']/parent::td/parent::tr//span[@class='a-size-base po-break-word']/text()"
        ],
        "ac_name": [
            "//span[@class='ac-keyword-link']/a/text()",
            "//span[@class='ac-for-text']/span/text()"
            # # us
            # '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Ships from" or @tabular-attribute-name="Sold by"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            # '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Ships from" or @tabular-attribute-name="Sold by") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',
            # # de
            # '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Versand" or @tabular-attribute-name="Verkäufer"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            # '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Versand" or @tabular-attribute-name="Verkäufer") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',
            #
            # '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Vendido por" or @tabular-attribute-name="Envío desde"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            # '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Vendido por" or @tabular-attribute-name="Envío desde") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',
            #
            # '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Vendu par" or @tabular-attribute-name="Expédié par"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            # '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Vendu par" or @tabular-attribute-name="Expédié par") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',
            #
            # '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Spedizione" or @tabular-attribute-name="Venditore"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            # '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Spedizione" or @tabular-attribute-name="Venditore") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',
            #
            # # uk
            # '//div[@id="desktop_qualifiedBuyBox"]//div[@tabular-attribute-name="Dispatches from" or @tabular-attribute-name="Sold by"]//span[contains(@class, "a-size-small") and contains(@class, "text") or ./a[@id="sellerProfileTriggerId"]]//text()',
            # '//div[@id="desktop_qualifiedBuyBox"]//div[(@tabular-attribute-name="Spedizione" or @tabular-attribute-name="Venditore") and @class="tabular-buybox-text"]//span[contains(@class, "a-size-small") or ./a[@id="sellerProfileTriggerId"]]//text()',

        ],
        "material": [
            "//span[text()='Material']/ancestor-or-self::td/following-sibling::td/span/text()",
            '//*[text()="Artikelgewicht"]/parent::*/td/text()',
            '//th[contains(text(),"Manufacturer")]/following-sibling::td//text()',
        ],
        "sp_num": [
            "//div[@data-a-carousel-options and contains(@data-a-carousel-options, 'set_size') and contains(@id, 'sp_detail')]/@data-a-carousel-options"
        ],
        "describe": [
            "//div[@id='feature-bullets']/ul//li/span/text()",
            # "//div[@class='a-expander-content a-expander-partial-collapse-content']//ul//text()"
            "//div[@class='a-expander-content a-expander-partial-collapse-content']//ul[@class='a-unordered-list a-vertical a-spacing-small']//text()"
        ],
        "node_id": ["//ul[@class='a-unordered-list a-horizontal a-size-small']//li/span//@href"],
        "together_asin": ['//input[@name="submit.addToCart"]/@data-asins'],
        "search_category": ['//div[@data-value="search-alias=aps"]//text()'],
        "other_seller_name": ["//div[@class='a-box mbc-offer-row pa_mbc_on_amazon_offer']//span[@class='a-size-small mbcMerchantName']//text()"],
        "other_sellers_id": [
            "//div[@class='a-box mbc-offer-row pa_mbc_on_amazon_offer']//a[@class='a-size-small a-link-normal a-text-bold']/@href"],

        # "other_sellers_id": ["//div[@class='a-box mbc-offer-row pa_mbc_on_amazon_offer']//a[@class='a-size-base a-link-normal' or @class='a-size-small a-link-normal a-text-bold']/@href"],
        "other_seller_buy_boy_type": [
            # "//div[@class='a-box mbc-offer-row pa_mbc_on_amazon_offer']//span[@class='a-size-small a-color-secondary mbc-delivery']/text()",
            "//div[@class='a-box mbc-offer-row pa_mbc_on_amazon_offer']//div[@class='a-box-inner a-padding-small']"
        ],
        "package_quantity": [
            "//div[@id='variation_item_package_quantity']//span[@class='selection']//text()"
        ],
        "pattern_name": [
            "//div[@id='variation_pattern_name']//span[@class='selection']//text()"
        ],
        "upc": [
            '//div[@id="detailBulletsWrapper_feature_div"]//*[contains(text(), "UPC")]/parent::*/span[not(@class)]/text()'
        ],
        "product_description": [
            '//div[@data-feature-name="productDescription"]//span//text()', # 适配 ca站点 B00L7JOZK4
            '//div[@data-feature-name="productDescription"]//p//text()',
            # "//div[@id='aplus']//h3/text()|//div[@id='aplus']//p/text()",
            "//h2[contains(text(),'Product Description')]/following-sibling::div//p//text()"
        ],
        "follow_sellers": [
            "//div[@class='olp-text-box']/span/text()"
        ],
        "buy_sales": [
            '//div[@id="socialProofingAsinFaceout_feature_div"]//span[contains(text(),"past ")]/text()',
            '//div[@id="centerCol"]//span[contains(text(),"bought") or contains(text(),"past")]/preceding-sibling::span/text()',
            # '//span[contains(text(),"bought in past")]/text()'
        ],
        # 'buy_sales_list': [
        #     '//div[@id="centerCol"]//span[contains(text(),"past ")]/text()'
        # ],
        # 'buy_sales_num_list': [
        #     '//div[@id="centerCol"]//span[contains(text(),"bought") or contains(text(),"past")]/preceding-sibling::span/text()',
        # ],
        "video_url": [
            '//div[@id="altImages"]/ul//li[contains(@class,"a-spacing-small item")]//img/@src',
        ],
        "add_url": [
            '//div[@id="aplus"]//@src'
        ],
        "mpn": [
            '//th[contains(text(),"Manufacturer Part Number")]/following-sibling::td[1]/text()|//span[contains(text(),"Manufacturer Part Number")]/following-sibling::span[1]/text()'
        ],
        "online_time": [
            "//span[contains(@id, 'make-sure-this-fits')]/text()"
        ],
        "cat_id": [
            "//a[@class='a-link-normal a-color-tertiary']/@href",
        ],
        "image_view": [
            "//script[contains(text(), 'ImageBlockATF')]//text()"
        ],
        'product_json': [
            "//div[@class='a-section a-spacing-small a-spacing-top-small']",
            "//div[@class='a-expander-content a-expander-partial-collapse-content' and contains(./*, 'Product details')]"
        ],
        'productdetail_json': [
            '//div[contains(@id,"detailBullets")]/ul',
            "//div[@id='prodDetails']//table",
        ],
        'review_ai_text': [
            "//div[contains(@id,'product-insights')]//button//span[@class='a-size-base']//text()",
            "//div[contains(@id,'aspect-bottom-sheet')]"
        ],
        "review_label_json": [
            '//div[contains(@id,"product-insights")]//div[@id="product-summary"]//span/text()'
        ],
        "lob_asin_json": [
            "//div[@id='pba-lob-carousel-row']//a/@href",
        ],
        "sp_initial_seen_asins_json": [
            '//div[contains(@cel_widget_id,"sp_detai")]/div[@data-p13n-feature-name="sp_detail2"]/@data-a-carousel-options',
            '//div[contains(@data-csa-c-slot-id,"sp_detai")]//div[@data-p13n-feature-name="sp_detail2"]/@data-a-carousel-options',
        ],
        "sp_4stars_initial_seen_asins_json": [
            '//div[contains(@cel_widget_id,"sp_detai")]/div[@data-p13n-feature-name="sp_detail_thematic-highly_rated"]/@data-a-carousel-options',
            '//div[contains(@data-csa-c-slot-id,"sp_detai")]/div[@data-p13n-feature-name="sp_detail_thematic-highly_rated"]/@data-a-carousel-options',
        ],
        "sp_delivery_initial_seen_asins_json": [
            '//div[contains(@cel_widget_id,"sp_detai")]/div[@data-p13n-feature-name="sp_detail2-prime_theme_for_non_prime_members"]/@data-a-carousel-options',
            '//div[contains(@data-csa-c-slot-id,"sp_detai")]/div[@data-p13n-feature-name="sp_detail2-prime_theme_for_non_prime_members"]/@data-a-carousel-options',
        ],
        "compare_similar_asin_json": ['//div[contains(@id,"imageContainer-")]/@id'],
        "customer_reviews_json": ["//div[@data-csa-c-content-id='customerReviewsAttribute']//div[@class='a-row a-spacing-none']//span/text()"],
        "together_asin_json": [
            '//div[contains(@class,"a-section thumbnail")]//a/@href',
            '//div[contains(@class, "cardRoot bucket")]//a/@href',
        ],
        "min_match_asin_json": ['//div[contains(@class,"bundlesAsinFaceout")]//div/@data-asin'],
        "returns": [
            "//div[@id='NEW_1_nostos_badge']//p/span//text()",
            "//div[@data-csa-c-content-id='desktop-return-info' and @class='offer-display-feature-text']//span/text()",
            # "//div[@class='a-section a-spacing-none hrrv-badge-T2-title']/p/span//text()",
        ],
        # "result_list_json": [
        #     '//div[@data-a-carousel-options and @aria-labelledby="Frequently purchased items with fast delivery"]/@data-a-carousel-options',
        #     '//div[@data-a-carousel-options and @aria-labelledby="Related Climate Pledge Friendly items"]/@data-a-carousel-options',
        # ]
    }
}
