Jump to content
Sign in to follow this  
faustf

regexp problem

Recommended Posts

hi guys

i want take in page of amazon the title asin-data, price etc...

i have created a script , inside of them  i must  run a regexp for  take , data-asin, name of insertion,link , price, if exist ship price , if exist price option and link 

the regexp is this 

Local $aLTest =  StringRegExp($sLFileRead,'data-asin="(.*?)">.+?href="(.*?)">.+?title=(.*?) class="a-link-.+?a-text-bold">EUR (.*?)</span></a>.+?\+ EUR (.*?) di spedizione.+?href="(.*?)"><span class="a-color-secondary.+?class="a-size-base a-color-price a-text-bold">EUR (.*?)</span>',3)

        _ArrayDisplay($aLTest)

the problem is  when find also optional data , like if exist ship price  , etc.., the regexp  match  correctly but when not exist a optional , not match nothing , how is possible to fix it ?

thankz at  all 

this is a script 

#cs ----------------------------------------------------------------------------

    AutoIt Version: 3.3.14.2
    Author:         faustf

    Script Function:
    Macro per usare Amazon come venditore non professionale

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here
;#cs
#include <MsgBoxConstants.au3>
#include <WinAPIFiles.au3>
#include <File.au3>
#include <IE.au3>
#include <Array.au3>

If ProcessExists("iexplore.exe") Then ; Check if the internet esplorer process is running.
    ProcessClose("iexplore.exe")
EndIf
;#ce

Global $iGTimeToCeck = "1000", $iGTimeOut = "1000"
Local $urlAmaS = "https://www.amazon.it/s/ref=nb_sb_noss?__mk_it_IT=%C3%85M%C3%85%C5%BD%C3%95%C3%91&url=search-alias%3Daps&field-keywords="
;Local $urlAmaS = "https://www.amazon.it/s/ref=sr_nr_p_76_0?fst=as%3Aoff&rh=n%3A425916031%2Cn%3A460080031%2Cn%3A460126031%2Ck%3Ai7%2Cp_76%3A490211031%7C490210031&keywords=i7&ie=UTF8&qid=1489074068&rnid=490209031" ; con opzione attiva amazon prime e spedizione gratis
;Local $urlAmaS = "https://www.amazon.it/s/ref=sr_st_price-asc-rank?keywords=" ; prima parte url per prezzo crescente
Local $sLUrl2 = "&__mk_it_IT=%C3%85M%C3%85Z%C3%95%C3%91&rh=i%3Aaps%2Ck%3A0190198457509&qid=1533231546&sort=price-asc-rank" ; opzione prezzo crescente
Global $sUrlAtom1 = "https://www.amazon.it/s/ref=sr_pg_"

Local $sLuser = ""
Local $sLpass = ""

;_Amazon_Search("TN329BK", $urlAmaS)
;_Amazon_Search("5032037108591", $urlAmaS)
;_Amazon_Search("iphone x", $urlAmaS)
_Amazon_Search("278e8qjab", $urlAmaS)


Func _Amazon_Search($frases, $url, $Hide = 0, $slow = 0)

    If $Hide = 0 Then
        $Hide = 1
    EndIf
    If $slow = 0 Then
        $slow = 1000
    EndIf

    Global $oIE = _IECreate($url & $frases & $sLUrl2, 0, $Hide, 1, 1) ; <--- 0011 invisible explorer  <--- 0111 visible explorer
    _IELoadWait($oIE)
    Sleep($slow)
    Local $sText = _IEBodyReadText($oIE)
    Local $iFindBadPage = StringInStr($sText, "This page can’t be displayed")

    If $iFindBadPage <> 0 Then
        If ProcessExists("iexplore.exe") Then ; Check if the internet esplorer process is running.
            ProcessClose("iexplore.exe")
        EndIf
        Sleep($slow)
        $oIE = _IECreate($url & $frases, 0, $Hide, 1, 1) ; <--- 0011 invisible explorer  <--- 0111 visible explorer
        _IELoadWait($oIE, $iGTimeToCeck, $iGTimeOut)
    EndIf

    Local $sLHtml = _IEBodyReadHTML($oIE)
    ;ConsoleWrite($sLHtml)
    Local $sLText = _IEBodyReadText($oIE)
    ;ConsoleWrite($sLText)
    If StringInStr($sLText, "non coincide con alcun prodotto") = 0 Then
        ;MsgBox(0,'','sono qui')
        FileDelete(@ScriptDir & "\TEMP\Amazon.html")
        ;-------------------------------------------------------------------- MODIFICO LA PAGINA AMZON TOGLIENDO IL SUPERFLUO ---------------------
        _True_write_File(@ScriptDir & "\TEMP\Amazon.html", $sLHtml)
        Local $arraytest
        _FileReadToArray(@ScriptDir & "\TEMP\Amazon.html", $arraytest)
        Local $iLStopFlag1 = 0
        ;_ArrayDisplay($arraytest)
        If IsArray($arraytest) Then
            For $j = 0 To UBound($arraytest) - 1
                If StringInStr($arraytest[$j], '<div id="centerMinus">') <> 0 Then
                    If $iLStopFlag1 = 0 Then
                        $iLStopFlag1 = $j
                    EndIf
                    ;ConsoleWrite($j & @CRLF)
                    ;MsgBox(0, '82', $iLStopFlag1)
                EndIf
            Next
        EndIf
        ;MsgBox(0, '83', $iLStopFlag1)
        _FileDeleteLine(@ScriptDir & '\TEMP\Amazon.html', '', '1', $iLStopFlag1)
        Local $arraytest2
        _FileReadToArray(@ScriptDir & "\TEMP\Amazon.html", $arraytest2)
        Local $iLStartFlag1 = 0
        If IsArray($arraytest2) Then
            For $j = 0 To UBound($arraytest2) - 1
                If StringInStr($arraytest2[$j], '<div class="rightCol" id="paRightContent">') <> 0 Then
                    If $iLStartFlag1 = 0 Then
                        $iLStartFlag1 = $j
                    EndIf
                    ;ConsoleWrite($j & @CRLF)
                    ;MsgBox(0, '82', $iLStartFlag1)
                EndIf
            Next
        EndIf
        _FileDeleteLine(@ScriptDir & '\TEMP\Amazon.html', '', $iLStartFlag1, 'end')
        ;_ArrayDisplay($arraytest2)
        ;------------------------------------------------------------------------------------------------------------------------------------------



        ;Local $aL = StringRegExp($sLHtml, 'href="(.*?)"><img src="(.*?)" srcset="(.+?)title="(.*?)" href="', 3)
        ;_ArrayDisplay($aL)
        ;Local $aL1 = StringRegExp($sLHtml, '(?s)href="([^"]+)"><img src="([^"]+)"\h*srcset="[^"]+.*?title="([^"]+)" href="', 3)
        ;MsgBox(0,'','sono qui2')
        Local $hLFileOP = FileOpen(@ScriptDir & "\TEMP\Amazon.html", $FO_READ)
        Local $sLFileRead = FileRead($hLFileOP)
        Local $aLData_Asin =  StringRegExp($sLFileRead,'data-asin="(.*?)">',3)
        Local $aLTitle =  StringRegExp($sLFileRead,'<a title="(.*?)" class="a-link-normal',3)
        Local $aLLink =  StringRegExp($sLFileRead,'href="(.*?)">',3)

        Local $aLPrice =  StringRegExp($sLFileRead,'">EUR (.*?)</span>',3)
        Local $aLShip =  StringRegExp($sLFileRead,'">\+ EUR (.*?) di spedizione</span>',3)

        Local $aLTest =  StringRegExp($sLFileRead,'data-asin="(.*?)">.+?href="(.*?)">.+?title=(.*?) class="a-link-.+?a-text-bold">EUR (.*?)</span></a>.+?\+ EUR (.*?) di spedizione.+?href="(.*?)"><span class="a-color-secondary.+?class="a-size-base a-color-price a-text-bold">EUR (.*?)</span>',3)

        _ArrayDisplay($aLTest)
        Local $sLPagSuccessiva = StringRegExp($sLFileRead, '<span id="pagnNextString">(.*?)</span>', 3)
        If IsArray($sLPagSuccessiva) Then ; controlla se ci sono piu pagine
            Local $aLAddres2Page = StringRegExp($sLFileRead, '<a href="\/s\/ref=sr_pg_2(.*?)">2<\/a>', 3)
            ;MsgBox(0,'','sono qui3')
            If IsArray($aLAddres2Page) Then
                Local $aLAddres2PageSplit1 = StringRegExp($aLAddres2Page[0], '(.*?)page', 3)
                Local $aLAddres2PageSplit2 = StringRegExp($aLAddres2Page[0], 'page=2(.*?)$', 3)

                Local $aL2 = StringRegExp($sLFileRead, 'text-bold">EUR (.*?)</span></a><span class=', 3)
                ;Local $aL = StringRegExp($sLHtml, 'cfMarker" alt="(.*?)" src="', 3)
                Local $aL = StringRegExp($sLFileRead, 'cfMarker" alt=(.*?) src="', 3)
                ConsoleWrite($sLFileRead)

                _ArrayDisplay($aL2)
                _ArrayDisplay($aL)
                _ArrayDisplay($aLAddres2Page)
                _ArrayDisplay($aLAddres2PageSplit1)
                _ArrayDisplay($aLAddres2PageSplit2)
            Else
                MsgBox(16, 'Errore', 'Problema con regexp url $aLAddres2Page ')
            EndIf
            FileClose($hLFileOP)

        Else ; se ce una pagina solo
            MsgBox(0, 'Info', 'non ci sono piu pagine')

        EndIf
        _ArrayDisplay($sLPagSuccessiva)


    Else

        MsgBox(0, 'Info', 'non coincide con alcun prodoto ' & $frases)
    EndIf

    #cs
        Local $oBtns = $oIE.document.GetElementsByTagName("input")
        For $oBtn In $oBtns
        $name = String($oBtn.id())
        $buttonOK = String($oBtn.type())
        If $name = "twotabsearchtextbox" Then
        _IEAction($oBtn, "click")
        _IEFormElementSetValue($oBtn, $frases)
        EndIf
        If $buttonOK = "submit" Then
        _IEAction($oBtn, "click")
        EndIf
        Next
    #ce
EndFunc   ;==>_Amazon_Search



; #INDEX# ========================================================================
; Title .........: GUI_Configure.au3
; AutoIt Version : 3.3.14.2++
; Language ......: Italian
; Description ...: A collection of Function for Logic of Gest
; Author ........: Faustf
; What do you do.: Write data in File
; Version .......: 0.0.1 BETA - Work in progress 15/03/2016
; Syntax ........:
; ================================================================================

Func _True_write_File($sFilePath, $sDataWrite, $iReturn = 0)
    If $iReturn = Default Then $iReturn = 0

    $File = FileOpen($sFilePath, 1)
    If $iReturn = 0 Then
        FileWrite($File, $sDataWrite & @CRLF)
    Else
        FileWrite($File, $sDataWrite)
    EndIf
    FileClose($File)

EndFunc   ;==>_True_write_File


; #INDEX# =========================================================================================================================
; Title .........: UDF_Plus.au3
; AutoIt Version : 3.3.14.2++
; Language ......: Italian
; Description ...: A collection of Function
; Author ........: Faustf
; What do you do.: delete a line inside of file
; Version .......: 0.0.1 BETA - Work in progress 13/06/2018
; Syntax ........: _FileDeleteLine($path, $match, $start, $to) path of file + word to $match, when find it erase all line.
; ...............: or you can use  $match + $to if you want erase a range of line or $start + $to if  you want erase a range
; ...............: of line. You can use a word "end"  if you want erase line at end of file
; Example .......: _FileDeleteLine(@ScriptDir & '\TEMP\test.txt', '<div class="container table-wrap">', '0', '20')
; ...............: _FileDeleteLine(@ScriptDir & "\TEMP\test.txt", 0, 1, "end")
; ...............: _FileDeleteLine(@ScriptDir & '\TEMP\test.txt', '', '2', '133')
; Error Retrun ..: txtopenko = when is not possible open a file
; ...............: Error 1 = when insert a number of line , you have this error.
; ...............: You must use a difference from first point to arrive point
; =================================================================================================================================

Func _FileDeleteLine($path, $match, $start, $to)

    Local $file_count_lines = _FileCountLines($path)
    If $file_count_lines = 0 Then Return "txtopenko"
    If $to = "end" Then
        $to = $file_count_lines
    EndIf

    Select
        Case $start = 0 And $to = "" And $match = "" ;  cancel only match word finded
            Local $aLText = FileReadToArray($path)
            ;_ArrayDisplay($aLText)
            For $i = 0 To UBound($aLText) - 1
                If StringInStr($aLText[$i], $match) Then
                    _ArrayDelete($aLText, $i)
                EndIf
            Next
            ;_ArrayDisplay($aLText)
            _FileWriteFromArray($path, $aLText)

        Case $start = 0 And $to <> "" And $match <> "" ;  cancel from word finded till $to
            Local $iLCtrlDO = 1
            Local $aLText = FileReadToArray($path)
            Local $aLTextClone = FileReadToArray($path)
            ;_ArrayDisplay($aLText)
            For $i = 0 To UBound($aLText) - 1
                If StringInStr($aLText[$i], $match) Then
                    $iLCtrlDO = $i
                    Do
                        _ArrayDelete($aLTextClone, $iLCtrlDO)
                        $to -= 1
                    Until $to <= 0
                EndIf
            Next
            ;_ArrayDisplay($aLTextClone)
            _FileWriteFromArray($path, $aLTextClone)

        Case $start <> 0 And $to <> "" And $match = "" ; cancel from $start till $to (also with "end" special-word)
            If $to = $file_count_lines Then
                Local $aLText = FileReadToArray($path)
                ;_ArrayDisplay($aLText)
                Local $aLTextClone = FileReadToArray($path)
                For $i = 0 To UBound($aLText) - 1
                    $iLCtrlDO = ($start - 1)
                    While $to <> 0
                        ;       MsgBox(0,'235',$iLCtrlDO)
                        _ArrayDelete($aLTextClone, $iLCtrlDO)
                        ;_ArrayDisplay($aLTextClone,'while')
                        $to -= 1
                        ;$to = 0
                    WEnd
                Next
                ;_ArrayDisplay($aLTextClone)
                _FileWriteFromArray($path, $aLTextClone)
            Else
                Local $to1 = $to + $start
                If $to1 < $file_count_lines Then
                    Local $aLText = FileReadToArray($path)
                    Local $aLTextClone = FileReadToArray($path)
                    For $i = 0 To UBound($aLText) - 1
                        $iLCtrlDO = ($start - 1)
                        Do
                            _ArrayDelete($aLTextClone, $iLCtrlDO)
                            $to -= 1
                        Until $to = 0
                        ExitLoop
                    Next
                    _FileWriteFromArray($path, $aLTextClone)
                Else
                    Return "Error 1"
                    ;MsgBox(16, "Errore", "Errore probabilmente non hai inserito la differenza ma  hai messo direttamente il numero riga e superi con l'inizio  il totale righe del foglio")
                EndIf
            EndIf

    EndSelect
EndFunc   ;==>_FileDeleteLine

 

Share this post


Link to post
Share on other sites

As you didn't provide the source text(s) it's difficult to answer
So probably the reason is : when the option doesn't exist, then the string that you use as a mark in the pattern doesn't exist either so the regex fails
So maybe the solution is : place all the concerned parts in non-capturing groups and make them optional in the pattern
Example

#include <Array.au3>

$s1 = "test1=abc, test2=123, test3=last"
$s2 = "test1=abc, test2=123"
$s3 = "test1=abc"

; this works on $s1 only
$a1 = StringRegExp($s1, "^test1=(.*?), test2=(.*?), test3=(.*?)$", 3)
_ArrayDisplay($a1)

; this works on $s1, $s2 but not $s3
$a2 = StringRegExp($s2, "^test1=(.*?), test2=(.*?)(?:, test3=(.*?))?$", 3)
_ArrayDisplay($a2)

; this works on all
$a3 = StringRegExp($s3, "^test1=(.*?)(?:, test2=(.*?))?(?:, test3=(.*?))?$", 3)
_ArrayDisplay($a3)

; example $s1
$a1 = StringRegExp($s1, "^test1=(.*?)(?:, test2=(.*?))?(?:, test3=(.*?))?$", 3)
_ArrayDisplay($a1)

 

Share this post


Link to post
Share on other sites

dont worry  i attach a  code

<div class="a-row s-result-list-parent-container" id="atfResults"><ul class="s-result-list s-col-1 s-col-ws-1 s-result-list-hgrid s-height-equalized s-list-view s-text-condensed s-item-container-height-auto" id="s-results-list-atf"><li class="s-result-item celwidget  " id="result_0" data-asin="B00DPFM15Y"><div class="s-item-container"><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-273V5LHSB-Gaming-Monitor-Attacco/dp/B00DPFM15Y/ref=sr_1_1?ie=UTF8&amp;qid=1533577692&amp;sr=8-1&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt='Philips 273V5LHSB Gaming Monitor 27" LED Full HD, 1920 x 1080, 1 ms, HDMI, VGA, Attacco VESA, Nero' src="https://images-eu.ssl-images-amazon.com/images/I/51uIfwkx4aL._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/51uIfwkx4aL._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/51uIfwkx4aL._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/51uIfwkx4aL._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/51uIfwkx4aL._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none scx-truncate-medium sx-line-clamp-2"><a title='Philips 273V5LHSB Gaming Monitor 27" LED Full HD, 1920 x 1080, 1 ms, HDMI, VGA, Attacco VESA, Nero' class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/Philips-273V5LHSB-Gaming-Monitor-Attacco/dp/B00DPFM15Y/ref=sr_1_1?ie=UTF8&amp;qid=1533577692&amp;sr=8-1&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="2" data-attribute='Philips 273V5LHSB Gaming Monitor 27" LED Full HD, 1920 x 1080, 1 ms, HDMI, VGA, Attacco VESA, Nero'>Philips 273V5LHSB Gaming Monitor 27" LED Full HD, 1920 x 1080, 1 ms, HDMI, VGA, Attacco VESA, Nero</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">Philips Monitor</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-273V5LHSB-Gaming-Monitor-Attacco/dp/B00DPFM15Y/ref=sr_1_1?ie=UTF8&amp;qid=1533577692&amp;sr=8-1&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 158,80</span></a><span class="a-letter-space"></span><span class="a-size-small a-color-secondary a-text-strike" aria-label="Suggested Retail Price: EUR 310,11">EUR 310,11</span><span class="a-letter-space"></span><span class="a-size-small a-color-secondary">+ EUR 8,00 di spedizione</span></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><span class="a-size-small a-color-price">Solo 1 con disponibilità immediata - Ordina ora.</span></div></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><div class="a-row a-spacing-mini"></div><span class="a-size-small a-color-secondary">Ulteriori opzioni di acquisto</span></div><div class="a-row a-spacing-none"><a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/gp/offer-listing/B00DPFM15Y/ref=sr_1_1_olp?ie=UTF8&amp;qid=1533577692&amp;sr=8-1&amp;keywords=278e8qjab"><span class="a-color-secondary a-text-strike"></span><span class="a-size-base a-color-price a-text-bold">EUR 151,98</span><span class="a-letter-space"></span>(33 offerte prodotti nuovi e usati)</a></div></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B00DPFM15Y">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B00DPFM15Y&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-4"><span class="a-icon-alt">4,1 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/Philips-273V5LHSB-Gaming-Monitor-Attacco/dp/B00DPFM15Y/ref=sr_1_1?ie=UTF8&amp;qid=1533577692&amp;sr=8-1&amp;keywords=278e8qjab#customerReviews">141</a></div></div></div></div></div></div></div></li><li class="s-result-item celwidget  " id="result_1" data-asin="B016AWBO2E"><div class="s-item-container"><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Asus-Monitor-1920x1080-Flicker-Certified/dp/B016AWBO2E/ref=sr_1_2?ie=UTF8&amp;qid=1533577692&amp;sr=8-2&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt="Asus VP278H Gaming Monitor 27'' FHD (1920x1080), 1ms, HDMI, D-Sub, Low Blue Light, Flicker Free, TUV Certified" src="https://images-eu.ssl-images-amazon.com/images/I/51puvllL+DL._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/51puvllL+DL._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/51puvllL+DL._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/51puvllL+DL._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/51puvllL+DL._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none scx-truncate-medium sx-line-clamp-2"><a title="Asus VP278H Gaming Monitor 27'' FHD (1920x1080), 1ms, HDMI, D-Sub, Low Blue Light, Flicker Free, TUV Certified" class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/Asus-Monitor-1920x1080-Flicker-Certified/dp/B016AWBO2E/ref=sr_1_2?ie=UTF8&amp;qid=1533577692&amp;sr=8-2&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="2" data-attribute="Asus VP278H Gaming Monitor 27'' FHD (1920x1080), 1ms, HDMI, D-Sub, Low Blue Light, Flicker Free, TUV Certified">Asus VP278H Gaming Monitor 27'' FHD (1920x1080), 1ms, HDMI, D-Sub, Low Blue Light, Flicker Free, TUV Certified</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">Asus</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Asus-Monitor-1920x1080-Flicker-Certified/dp/B016AWBO2E/ref=sr_1_2?ie=UTF8&amp;qid=1533577692&amp;sr=8-2&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 167,36</span></a><span class="a-letter-space"></span><span class="a-size-small a-color-secondary a-text-strike" aria-label="Suggested Retail Price: EUR 308,60">EUR 308,60</span><span class="a-letter-space"></span><i class="a-icon a-icon-prime a-icon-small s-align-text-bottom" aria-label="Prime"><span class="a-icon-alt">Prime</span></i></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">Idoneo alla Spedizione GRATUITA</span></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-price">Solo 5 con disponibilità immediata - Ordina ora.</span></div></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><div class="a-row a-spacing-mini"></div><span class="a-size-small a-color-secondary">Ulteriori opzioni di acquisto</span></div><div class="a-row a-spacing-none"><a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/gp/offer-listing/B016AWBO2E/ref=sr_1_2_olp?ie=UTF8&amp;qid=1533577692&amp;sr=8-2&amp;keywords=278e8qjab&amp;condition=new"><span class="a-color-secondary a-text-strike"></span><span class="a-size-base a-color-price a-text-bold">EUR 163,68</span><span class="a-letter-space"></span>(43 offerte prodotti nuovi)</a></div></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B016AWBO2E">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B016AWBO2E&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-4"><span class="a-icon-alt">4,1 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/Asus-Monitor-1920x1080-Flicker-Certified/dp/B016AWBO2E/ref=sr_1_2?ie=UTF8&amp;qid=1533577692&amp;sr=8-2&amp;keywords=278e8qjab#customerReviews">9</a></div></div></div></div></div></div></div></li><li class="s-result-item celwidget  " id="result_2" data-asin="B00EGLR69W"><div class="s-item-container"><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-273V5LHAB-Monitor-Integrato-Attacco/dp/B00EGLR69W/ref=sr_1_3?ie=UTF8&amp;qid=1533577692&amp;sr=8-3&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt='Philips 273V5LHAB Gaming Monitor 27" LED Full HD, 1920 x 1080, 1 ms, HDMI, DVI, VGA, Audio Integrato, Attacco VESA, Nero' src="https://images-eu.ssl-images-amazon.com/images/I/51QhvcMFR5L._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/51QhvcMFR5L._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/51QhvcMFR5L._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/51QhvcMFR5L._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/51QhvcMFR5L._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none scx-truncate-medium sx-line-clamp-2"><a title='Philips 273V5LHAB Gaming Monitor 27" LED Full HD, 1920 x 1080, 1 ms, HDMI, DVI, VGA, Audio Integrato, Attacco VESA, Nero' class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/Philips-273V5LHAB-Monitor-Integrato-Attacco/dp/B00EGLR69W/ref=sr_1_3?ie=UTF8&amp;qid=1533577692&amp;sr=8-3&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="2" data-attribute='Philips 273V5LHAB Gaming Monitor 27" LED Full HD, 1920 x 1080, 1 ms, HDMI, DVI, VGA, Audio Integrato, Attacco VESA, Nero'>Philips 273V5LHAB Gaming Monitor 27" LED Full HD, 1920 x 1080, 1 ms, HDMI, DVI, VGA, Audio Integrato, Attacco VESA, Nero</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">Philips Monitor</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-273V5LHAB-Monitor-Integrato-Attacco/dp/B00EGLR69W/ref=sr_1_3?ie=UTF8&amp;qid=1533577692&amp;sr=8-3&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 168,24</span></a><span class="a-letter-space"></span><span class="a-size-small a-color-secondary a-text-strike" aria-label="Suggested Retail Price: EUR 282,61">EUR 282,61</span><span class="a-letter-space"></span><i class="a-icon a-icon-prime a-icon-small s-align-text-bottom" aria-label="Prime"><span class="a-icon-alt">Prime</span></i></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">Ricevilo entro <span class="a-color-success a-text-bold">giovedì 9 agosto</span></span></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">Idoneo alla Spedizione GRATUITA</span></div></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><div class="a-row a-spacing-mini"></div><span class="a-size-small a-color-secondary">Ulteriori opzioni di acquisto</span></div><div class="a-row a-spacing-none"><a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/gp/offer-listing/B00EGLR69W/ref=sr_1_3_olp?ie=UTF8&amp;qid=1533577692&amp;sr=8-3&amp;keywords=278e8qjab&amp;condition=new"><span class="a-color-secondary a-text-strike"></span><span class="a-size-base a-color-price a-text-bold">EUR 166,80</span><span class="a-letter-space"></span>(40 offerte prodotti nuovi)</a></div></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B00EGLR69W">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B00EGLR69W&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-4"><span class="a-icon-alt">4,2 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/Philips-273V5LHAB-Monitor-Integrato-Attacco/dp/B00EGLR69W/ref=sr_1_3?ie=UTF8&amp;qid=1533577692&amp;sr=8-3&amp;keywords=278e8qjab#customerReviews">6</a></div></div></div></div></div></div></div></li><li class="s-result-item celwidget  " id="result_3" data-asin="B071XP29J4"><div class="s-item-container"><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-273V7QDSB-Monitor-Frameless-Cornici/dp/B071XP29J4/ref=sr_1_4?ie=UTF8&amp;qid=1533577692&amp;sr=8-4&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt='Philips 273V7QDSB Monitor 27" LED IPS Full HD, 1920 x 1080, 5 ms, 3 Side Frameless, Cornici Sottili, Low Blue Mode, Flicker Free, HDMI, DVI, VGA, Attacco VESA, Nero' src="https://images-eu.ssl-images-amazon.com/images/I/51DYfZZa6UL._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/51DYfZZa6UL._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/51DYfZZa6UL._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/51DYfZZa6UL._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/51DYfZZa6UL._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none scx-truncate-medium sx-line-clamp-2"><a title='Philips 273V7QDSB Monitor 27" LED IPS Full HD, 1920 x 1080, 5 ms, 3 Side Frameless, Cornici Sottili, Low Blue Mode, Flicker Free, HDMI, DVI, VGA, Attacco VESA, Nero' class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/Philips-273V7QDSB-Monitor-Frameless-Cornici/dp/B071XP29J4/ref=sr_1_4?ie=UTF8&amp;qid=1533577692&amp;sr=8-4&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="2" data-attribute='Philips 273V7QDSB Monitor 27" LED IPS Full HD, 1920 x 1080, 5 ms, 3 Side Frameless, Cornici Sottili, Low Blue Mode, Flicker Free, HDMI, DVI, VGA, Attacco VESA, Nero'>Philips 273V7QDSB Monitor 27" LED IPS Full HD, 1920 x 1080, 5 ms, 3 Side Frameless, Cornici Sottili, Low Blue Mode, Flicker Free, HDMI, DVI, VGA, Attacco VESA, Nero</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">Philips Monitor</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-273V7QDSB-Monitor-Frameless-Cornici/dp/B071XP29J4/ref=sr_1_4?ie=UTF8&amp;qid=1533577692&amp;sr=8-4&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 172,99</span></a><span class="a-letter-space"></span><i class="a-icon a-icon-prime a-icon-small s-align-text-bottom" aria-label="Prime"><span class="a-icon-alt">Prime</span></i></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">Idoneo alla Spedizione GRATUITA</span></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-price">Solo 2 con disponibilità immediata - Ordina ora.</span></div></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B071XP29J4">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B071XP29J4&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-4-5"><span class="a-icon-alt">4,5 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/Philips-273V7QDSB-Monitor-Frameless-Cornici/dp/B071XP29J4/ref=sr_1_4?ie=UTF8&amp;qid=1533577692&amp;sr=8-4&amp;keywords=278e8qjab#customerReviews">2</a></div></div></div></div></div></div></div></li><li class="s-result-item celwidget  " id="result_4" data-asin="B06VV5Q3F4"><div class="s-item-container"><div class="a-row a-spacing-micro"><div class="a-row sx-badge-region sx-pinned-top-badge"><div class="a-row a-badge-region"><a class="a-badge" id="AMAZONS_CHOICE_B06VV5Q3F4" aria-labelledby="AMAZONS_CHOICE_B06VV5Q3F4-label AMAZONS_CHOICE_B06VV5Q3F4-supplementary" href="https://www.amazon.it/Philips-278E8QJAB-Freesync-Monitor-Integrate/dp/B06VV5Q3F4/ref=ice_ac_b_dpb?ie=UTF8&amp;qid=1533577692&amp;sr=8-5&amp;keywords=278e8qjab" data-a-badge-type="status" data-a-badge-supplementary-position="right"><span class="a-badge-label" id="AMAZONS_CHOICE_B06VV5Q3F4-label" aria-hidden="true" data-a-badge-color="sx-gulfstream"><span class="a-badge-label-inner a-text-ellipsis"><span class="a-badge-text" data-a-badge-color="sx-cloud">Amazon's </span><span class="a-badge-text" data-a-badge-color="ac-orange">Choice</span></span></span><span class="a-badge-supplementary-text a-text-ellipsis" id="AMAZONS_CHOICE_B06VV5Q3F4-supplementary" aria-hidden="true">per "278e8qjab"</span></a></div></div></div><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-278E8QJAB-Freesync-Monitor-Integrate/dp/B06VV5Q3F4/ref=sr_1_5?ie=UTF8&amp;qid=1533577692&amp;sr=8-5&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt='Philips 278E8QJAB Freesync Gaming Monitor Curvo LED da 27", Full HD 1920 x 1080, Pannello VA, 4 ms, HDMI, Display Port, VGA, Casse Audio Integrate, Flicker Free, Sottile, Ultra Wide Color, Nero' src="https://images-eu.ssl-images-amazon.com/images/I/51Tmuqk-GKL._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/51Tmuqk-GKL._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/51Tmuqk-GKL._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/51Tmuqk-GKL._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/51Tmuqk-GKL._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none scx-truncate-medium sx-line-clamp-2"><a title='Philips 278E8QJAB Freesync Gaming Monitor Curvo LED da 27", Full HD 1920 x 1080, Pannello VA, 4 ms, HDMI, Display Port, VGA, Casse Audio Integrate, Flicker Free, Sottile, Ultra Wide Color, Nero' class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/Philips-278E8QJAB-Freesync-Monitor-Integrate/dp/B06VV5Q3F4/ref=sr_1_5?ie=UTF8&amp;qid=1533577692&amp;sr=8-5&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="2" data-attribute='Philips 278E8QJAB Freesync Gaming Monitor Curvo LED da 27", Full HD 1920 x 1080, Pannello VA, 4 ms, HDMI, Display Port, VGA, Casse Audio Integrate, Flicker Free, Sottile, Ultra Wide Color, Nero'>Philips 278E8QJAB Freesync Gaming Monitor Curvo LED da 27", Full HD 1920 x 1080, Pannello VA, 4 ms, HDMI, Display Port, VGA, Casse Audio Integrate, Flicker Free, Sottile, Ultra Wide Color, Nero</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">Philips Monitor</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-278E8QJAB-Freesync-Monitor-Integrate/dp/B06VV5Q3F4/ref=sr_1_5?ie=UTF8&amp;qid=1533577692&amp;sr=8-5&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 179,99</span></a><span class="a-letter-space"></span><i class="a-icon a-icon-prime a-icon-small s-align-text-bottom" aria-label="Prime"><span class="a-icon-alt">Prime</span></i></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">Ricevilo entro <span class="a-color-success a-text-bold">giovedì 9 agosto</span></span></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">Idoneo alla Spedizione GRATUITA</span></div></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B06VV5Q3F4">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B06VV5Q3F4&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-4-5"><span class="a-icon-alt">4,4 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/Philips-278E8QJAB-Freesync-Monitor-Integrate/dp/B06VV5Q3F4/ref=sr_1_5?ie=UTF8&amp;qid=1533577692&amp;sr=8-5&amp;keywords=278e8qjab#customerReviews">27</a></div><div class="a-row a-spacing-mini"><span class="a-size-small a-color-secondary a-text-bold">Descrizione prodotto</span><br><span class="a-size-small a-color-secondary">... Il Monitor Gaming <em>278E8QJAB</em> di Philips ti permette di giocare al meglio ...</span></div></div></div></div></div></div></div></li><li class="s-result-item celwidget  " id="result_5" data-asin="B01NAAW265"><div class="s-item-container"><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/HP-1920x1080-Retroilluminazione-Altoparlanti-Integrati/dp/B01NAAW265/ref=sr_1_6?ie=UTF8&amp;qid=1533577692&amp;sr=8-6&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt='HP 27ea Monitor, 27", Full HD 1920x1080, IPS con Retroilluminazione LED, Altoparlanti Integrati, Argento' src="https://images-eu.ssl-images-amazon.com/images/I/51UHaKrSY0L._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/51UHaKrSY0L._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/51UHaKrSY0L._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/51UHaKrSY0L._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/51UHaKrSY0L._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none scx-truncate-medium sx-line-clamp-2"><a title='HP 27ea Monitor, 27", Full HD 1920x1080, IPS con Retroilluminazione LED, Altoparlanti Integrati, Argento' class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/HP-1920x1080-Retroilluminazione-Altoparlanti-Integrati/dp/B01NAAW265/ref=sr_1_6?ie=UTF8&amp;qid=1533577692&amp;sr=8-6&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="2" data-attribute='HP 27ea Monitor, 27", Full HD 1920x1080, IPS con Retroilluminazione LED, Altoparlanti Integrati, Argento'>HP 27ea Monitor, 27", Full HD 1920x1080, IPS con Retroilluminazione LED, Altoparlanti Integrati, Argento</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">HP Display</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/HP-1920x1080-Retroilluminazione-Altoparlanti-Integrati/dp/B01NAAW265/ref=sr_1_6?ie=UTF8&amp;qid=1533577692&amp;sr=8-6&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 206,99</span></a><span class="a-letter-space"></span><span class="a-size-small a-color-secondary a-text-strike" aria-label="Suggested Retail Price: EUR 259,00">EUR 259,00</span><span class="a-letter-space"></span><i class="a-icon a-icon-prime a-icon-small s-align-text-bottom" aria-label="Prime"><span class="a-icon-alt">Prime</span></i></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">Ricevilo entro <span class="a-color-success a-text-bold">giovedì 9 agosto</span></span></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">Idoneo alla Spedizione GRATUITA</span></div></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B01NAAW265">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B01NAAW265&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-4"><span class="a-icon-alt">4,2 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/HP-1920x1080-Retroilluminazione-Altoparlanti-Integrati/dp/B01NAAW265/ref=sr_1_6?ie=UTF8&amp;qid=1533577692&amp;sr=8-6&amp;keywords=278e8qjab#customerReviews">66</a></div></div></div></div></div></div></div></li><li class="s-result-item celwidget  " id="result_6" data-asin="B00CAJO5M8"><div class="s-item-container"><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-Monitor-27-Pollici-1920x1080/dp/B00CAJO5M8/ref=sr_1_7?ie=UTF8&amp;qid=1533577692&amp;sr=8-7&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt="Philips Monitor, 27 Pollici, 16:9, 1920x1080, Nero" src="https://images-eu.ssl-images-amazon.com/images/I/51lLILsNBuL._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/51lLILsNBuL._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/51lLILsNBuL._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/51lLILsNBuL._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/51lLILsNBuL._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none"><a title="Philips Monitor, 27 Pollici, 16:9, 1920x1080, Nero" class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/Philips-Monitor-27-Pollici-1920x1080/dp/B00CAJO5M8/ref=sr_1_7?ie=UTF8&amp;qid=1533577692&amp;sr=8-7&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="0" data-attribute="Philips Monitor, 27 Pollici, 16:9, 1920x1080, Nero">Philips Monitor, 27 Pollici, 16:9, 1920x1080, Nero</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">Philips Monitor</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-Monitor-27-Pollici-1920x1080/dp/B00CAJO5M8/ref=sr_1_7?ie=UTF8&amp;qid=1533577692&amp;sr=8-7&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 208,61</span></a><span class="a-letter-space"></span><span class="a-size-small a-color-secondary a-text-strike" aria-label="Suggested Retail Price: EUR 307,06">EUR 307,06</span><span class="a-letter-space"></span><span class="a-size-small a-color-secondary">+ EUR 9,06 di spedizione</span></div><div class="a-row a-spacing-mini"><a class="a-link-emphasis a-text-normal" href="https://www.amazon.it/dp/B00UEME7IA/ref=sr_ob_7?ie=UTF8&amp;qid=1533577692&amp;sr=8-7">Vedi il modello più recente di questo articolo</a></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B00CAJO5M8">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B00CAJO5M8&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-5"><span class="a-icon-alt">5 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/Philips-Monitor-27-Pollici-1920x1080/dp/B00CAJO5M8/ref=sr_1_7?ie=UTF8&amp;qid=1533577692&amp;sr=8-7&amp;keywords=278e8qjab#customerReviews">2</a></div></div></div></div></div></div></div></li><li class="s-result-item celwidget  " id="result_7" data-asin="B01HZRG478"><div class="s-item-container"><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-276E7QDAB-Monitor-Elegante-Integrato/dp/B01HZRG478/ref=sr_1_8?ie=UTF8&amp;qid=1533577692&amp;sr=8-8&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt='Philips 276E7QDAB Monitor 27" LED IPS Full HD, 1920 x 1080, 5ms, Ultra Wide Color, Flicker Free, Elegante, HDMI, DVI, VGA, Attacco VESA, Audio Integrato, Nero' src="https://images-eu.ssl-images-amazon.com/images/I/5192EvbI5dL._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/5192EvbI5dL._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/5192EvbI5dL._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/5192EvbI5dL._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/5192EvbI5dL._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none scx-truncate-medium sx-line-clamp-2"><a title='Philips 276E7QDAB Monitor 27" LED IPS Full HD, 1920 x 1080, 5ms, Ultra Wide Color, Flicker Free, Elegante, HDMI, DVI, VGA, Attacco VESA, Audio Integrato, Nero' class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/Philips-276E7QDAB-Monitor-Elegante-Integrato/dp/B01HZRG478/ref=sr_1_8?ie=UTF8&amp;qid=1533577692&amp;sr=8-8&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="2" data-attribute='Philips 276E7QDAB Monitor 27" LED IPS Full HD, 1920 x 1080, 5ms, Ultra Wide Color, Flicker Free, Elegante, HDMI, DVI, VGA, Attacco VESA, Audio Integrato, Nero'>Philips 276E7QDAB Monitor 27" LED IPS Full HD, 1920 x 1080, 5ms, Ultra Wide Color, Flicker Free, Elegante, HDMI, DVI, VGA, Attacco VESA, Audio Integrato, Nero</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">Philips Monitor</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-276E7QDAB-Monitor-Elegante-Integrato/dp/B01HZRG478/ref=sr_1_8?ie=UTF8&amp;qid=1533577692&amp;sr=8-8&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 220,99</span></a><span class="a-letter-space"></span><i class="a-icon a-icon-prime a-icon-small s-align-text-bottom" aria-label="Prime"><span class="a-icon-alt">Prime</span></i></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">Idoneo alla Spedizione GRATUITA</span></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-price">Solo 10 con disponibilità immediata - Ordina ora.</span></div></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B01HZRG478">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B01HZRG478&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-4-5"><span class="a-icon-alt">4,3 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/Philips-276E7QDAB-Monitor-Elegante-Integrato/dp/B01HZRG478/ref=sr_1_8?ie=UTF8&amp;qid=1533577692&amp;sr=8-8&amp;keywords=278e8qjab#customerReviews">11</a></div></div></div></div></div></div></div></li><li class="s-result-item celwidget  " id="result_8" data-asin="B0136RCQAA"><div class="s-item-container"><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-276E7QDSW-Monitor-Flicker-Elegante/dp/B0136RCQAA/ref=sr_1_9?ie=UTF8&amp;qid=1533577692&amp;sr=8-9&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt='Philips 276E7QDSW Monitor 27" LED PLS Full HD, 1920 x 1080, 5 ms, Ultra Wide Color, Flicker Free, Elegante, HDMI, DVI, VGA, Attacco VESA, Bianco' src="https://images-eu.ssl-images-amazon.com/images/I/41r8Muka0sL._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/41r8Muka0sL._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/41r8Muka0sL._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/41r8Muka0sL._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/41r8Muka0sL._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none scx-truncate-medium sx-line-clamp-2"><a title='Philips 276E7QDSW Monitor 27" LED PLS Full HD, 1920 x 1080, 5 ms, Ultra Wide Color, Flicker Free, Elegante, HDMI, DVI, VGA, Attacco VESA, Bianco' class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/Philips-276E7QDSW-Monitor-Flicker-Elegante/dp/B0136RCQAA/ref=sr_1_9?ie=UTF8&amp;qid=1533577692&amp;sr=8-9&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="2" data-attribute='Philips 276E7QDSW Monitor 27" LED PLS Full HD, 1920 x 1080, 5 ms, Ultra Wide Color, Flicker Free, Elegante, HDMI, DVI, VGA, Attacco VESA, Bianco'>Philips 276E7QDSW Monitor 27" LED PLS Full HD, 1920 x 1080, 5 ms, Ultra Wide Color, Flicker Free, Elegante, HDMI, DVI, VGA, Attacco VESA, Bianco</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">Philips Monitor</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-276E7QDSW-Monitor-Flicker-Elegante/dp/B0136RCQAA/ref=sr_1_9?ie=UTF8&amp;qid=1533577692&amp;sr=8-9&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 223,00</span></a><span class="a-letter-space"></span><span class="a-size-small a-color-secondary">+ EUR 2,99 di spedizione</span></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><div class="a-row a-spacing-mini"></div><span class="a-size-small a-color-secondary">Ulteriori opzioni di acquisto</span></div><div class="a-row a-spacing-none"><a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/gp/offer-listing/B0136RCQAA/ref=sr_1_9_olp?ie=UTF8&amp;qid=1533577692&amp;sr=8-9&amp;keywords=278e8qjab&amp;condition=new"><span class="a-color-secondary a-text-strike"></span><span class="a-size-base a-color-price a-text-bold">EUR 219,00</span><span class="a-letter-space"></span>(17 offerte prodotti nuovi)</a></div></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B0136RCQAA">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B0136RCQAA&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-3"><span class="a-icon-alt">2,9 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/Philips-276E7QDSW-Monitor-Flicker-Elegante/dp/B0136RCQAA/ref=sr_1_9?ie=UTF8&amp;qid=1533577692&amp;sr=8-9&amp;keywords=278e8qjab#customerReviews">9</a></div></div></div></div></div></div></div></li><li class="s-result-item celwidget  " id="result_9" data-asin="B0051AUYPA"><div class="s-item-container"><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-273E3LHSB-LCD-Monitor-27/dp/B0051AUYPA/ref=sr_1_10?ie=UTF8&amp;qid=1533577692&amp;sr=8-10&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt='Philips 273E3LHSB LCD Monitor 27"' src="https://images-eu.ssl-images-amazon.com/images/I/5117zVVnhmL._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/5117zVVnhmL._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/5117zVVnhmL._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/5117zVVnhmL._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/5117zVVnhmL._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none"><a title='Philips 273E3LHSB LCD Monitor 27"' class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/Philips-273E3LHSB-LCD-Monitor-27/dp/B0051AUYPA/ref=sr_1_10?ie=UTF8&amp;qid=1533577692&amp;sr=8-10&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="0" data-attribute='Philips 273E3LHSB LCD Monitor 27"'>Philips 273E3LHSB LCD Monitor 27"</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">Philips Monitor</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Philips-273E3LHSB-LCD-Monitor-27/dp/B0051AUYPA/ref=sr_1_10?ie=UTF8&amp;qid=1533577692&amp;sr=8-10&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 226,80</span></a><span class="a-letter-space"></span><span class="a-size-small a-color-secondary a-text-strike" aria-label="Suggested Retail Price: EUR 310,11">EUR 310,11</span><span class="a-letter-space"></span><span class="a-size-small a-color-secondary">+ EUR 12,90 di spedizione</span></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><span class="a-size-small a-color-price">Solo 2 con disponibilità immediata - Ordina ora.</span></div></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B0051AUYPA">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B0051AUYPA&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-3-5"><span class="a-icon-alt">3,7 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/Philips-273E3LHSB-LCD-Monitor-27/dp/B0051AUYPA/ref=sr_1_10?ie=UTF8&amp;qid=1533577692&amp;sr=8-10&amp;keywords=278e8qjab#customerReviews">55</a></div></div></div></div></div></div></div></li><li class="s-result-item celwidget  " id="result_10" data-asin="B0097I5CNG"><div class="s-item-container"><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Asus-VS278Q-Monitor-1920x1080-Pollici/dp/B0097I5CNG/ref=sr_1_11?ie=UTF8&amp;qid=1533577692&amp;sr=8-11&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt="Asus VS278Q Gaming Monitor 27'' FHD (1920x1080), 1ms, DP, HDMI, DVI-D (via HDMI-to-DVI cable), D-Sub, Nero, 68,6 cm (27 Pollici)" src="https://images-eu.ssl-images-amazon.com/images/I/5180UCAu6mL._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/5180UCAu6mL._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/5180UCAu6mL._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/5180UCAu6mL._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/5180UCAu6mL._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none scx-truncate-medium sx-line-clamp-2"><a title="Asus VS278Q Gaming Monitor 27'' FHD (1920x1080), 1ms, DP, HDMI, DVI-D (via HDMI-to-DVI cable), D-Sub, Nero, 68,6 cm (27 Pollici)" class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/Asus-VS278Q-Monitor-1920x1080-Pollici/dp/B0097I5CNG/ref=sr_1_11?ie=UTF8&amp;qid=1533577692&amp;sr=8-11&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="2" data-attribute="Asus VS278Q Gaming Monitor 27'' FHD (1920x1080), 1ms, DP, HDMI, DVI-D (via HDMI-to-DVI cable), D-Sub, Nero, 68,6 cm (27 Pollici)">Asus VS278Q Gaming Monitor 27'' FHD (1920x1080), 1ms, DP, HDMI, DVI-D (via HDMI-to-DVI cable), D-Sub, Nero, 68,6 cm (27 Pollici)</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">Asus</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/Asus-VS278Q-Monitor-1920x1080-Pollici/dp/B0097I5CNG/ref=sr_1_11?ie=UTF8&amp;qid=1533577692&amp;sr=8-11&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 231,76</span></a><span class="a-letter-space"></span><span class="a-size-small a-color-secondary a-text-strike" aria-label="Suggested Retail Price: EUR 278,01">EUR 278,01</span><span class="a-letter-space"></span><span class="a-size-small a-color-secondary">+ EUR 8,90 di spedizione</span></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><span class="a-size-small a-color-price">Solo 2 con disponibilità immediata - Ordina ora.</span></div></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><div class="a-row a-spacing-mini"></div><span class="a-size-small a-color-secondary">Ulteriori opzioni di acquisto</span></div><div class="a-row a-spacing-none"><a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/gp/offer-listing/B0097I5CNG/ref=sr_1_11_olp?ie=UTF8&amp;qid=1533577692&amp;sr=8-11&amp;keywords=278e8qjab"><span class="a-color-secondary a-text-strike"></span><span class="a-size-base a-color-price a-text-bold">EUR 109,00</span><span class="a-letter-space"></span>(19 offerte prodotti nuovi e usati)</a></div></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B0097I5CNG">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B0097I5CNG&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-4-5"><span class="a-icon-alt">4,3 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/Asus-VS278Q-Monitor-1920x1080-Pollici/dp/B0097I5CNG/ref=sr_1_11?ie=UTF8&amp;qid=1533577692&amp;sr=8-11&amp;keywords=278e8qjab#customerReviews">94</a></div><div class="a-row a-spacing-mini"><span class="a-size-small a-color-base">Classe efficienza energetica:</span><span class="a-letter-space"></span><span class="a-size-small a-color-base a-text-bold">A+</span></div></div></div></div></div></div></div></li><li class="s-result-item celwidget  " id="result_11" data-asin="B071LM1HYK"><div class="s-item-container"><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/HP-Monitor-Curvo-FreeSync-Argento/dp/B071LM1HYK/ref=sr_1_12?ie=UTF8&amp;qid=1533577692&amp;sr=8-12&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt="HP 27 Monitor Curvo 27”, Full HD (1920 x 1080 a 60 Hz), HDMI, FreeSync, 5ms, Argento" src="https://images-eu.ssl-images-amazon.com/images/I/51dtUvo4eFL._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/51dtUvo4eFL._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/51dtUvo4eFL._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/51dtUvo4eFL._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/51dtUvo4eFL._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none"><a title="HP 27 Monitor Curvo 27”, Full HD (1920 x 1080 a 60 Hz), HDMI, FreeSync, 5ms, Argento" class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/HP-Monitor-Curvo-FreeSync-Argento/dp/B071LM1HYK/ref=sr_1_12?ie=UTF8&amp;qid=1533577692&amp;sr=8-12&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="0" data-attribute="HP 27 Monitor Curvo 27”, Full HD (1920 x 1080 a 60 Hz), HDMI, FreeSync, 5ms, Argento">HP 27 Monitor Curvo 27, Full HD (1920 x 1080 a 60 Hz), HDMI, FreeSync, 5ms, Argento</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">HP Display</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/HP-Monitor-Curvo-FreeSync-Argento/dp/B071LM1HYK/ref=sr_1_12?ie=UTF8&amp;qid=1533577692&amp;sr=8-12&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 237,16</span></a><span class="a-letter-space"></span><span class="a-size-small a-color-secondary a-text-strike" aria-label="Suggested Retail Price: EUR 329,99">EUR 329,99</span><span class="a-letter-space"></span><i class="a-icon a-icon-prime a-icon-small s-align-text-bottom" aria-label="Prime"><span class="a-icon-alt">Prime</span></i></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">Idoneo alla Spedizione GRATUITA</span></div></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><div class="a-row a-spacing-mini"></div><span class="a-size-small a-color-secondary">Ulteriori opzioni di acquisto</span></div><div class="a-row a-spacing-none"><a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/gp/offer-listing/B071LM1HYK/ref=sr_1_12_olp?ie=UTF8&amp;qid=1533577692&amp;sr=8-12&amp;keywords=278e8qjab&amp;condition=new"><span class="a-color-secondary a-text-strike"></span><span class="a-size-base a-color-price a-text-bold">EUR 232,40</span><span class="a-letter-space"></span>(18 offerte prodotti nuovi)</a></div></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B071LM1HYK">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B071LM1HYK&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-4-5"><span class="a-icon-alt">4,3 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/HP-Monitor-Curvo-FreeSync-Argento/dp/B071LM1HYK/ref=sr_1_12?ie=UTF8&amp;qid=1533577692&amp;sr=8-12&amp;keywords=278e8qjab#customerReviews">17</a></div><div class="a-row a-spacing-mini"><span class="a-size-small a-color-base">Classe efficienza energetica:</span><span class="a-letter-space"></span><span class="a-size-small a-color-base a-text-bold">A</span></div></div></div></div></div></div></div></li><li class="s-result-item celwidget  " id="result_12" data-asin="B01HS7R38O"><div class="s-item-container"><div class="a-fixed-left-grid"><div class="a-fixed-left-grid-inner" style="padding-left: 218px;"><div class="a-fixed-left-grid-col a-col-left" style="width: 218px; margin-left: -218px; float: left;"><div class="a-row"><div class="a-column a-span12 a-text-center" aria-hidden="true"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/BenQ-VZ2770H-Monitor-Pollici-Full-HD/dp/B01HS7R38O/ref=sr_1_13?ie=UTF8&amp;qid=1533577692&amp;sr=8-13&amp;keywords=278e8qjab"><img width="218" height="218" class="s-access-image cfMarker" alt="BenQ VZ2770H Monitor da 27 Pollici Full-HD, 2 Porte HDMI, 178°/178°, Bianco" src="https://images-eu.ssl-images-amazon.com/images/I/41BP4issxEL._AC_US218_.jpg" srcset="https://images-eu.ssl-images-amazon.com/images/I/41BP4issxEL._AC_US218_.jpg 1x, https://images-eu.ssl-images-amazon.com/images/I/41BP4issxEL._AC_US327_QL65_.jpg 1.5x, https://images-eu.ssl-images-amazon.com/images/I/41BP4issxEL._AC_US436_QL65_.jpg 2x, https://images-eu.ssl-images-amazon.com/images/I/41BP4issxEL._AC_US500_QL65_.jpg 2.2935x" data-search-image-load=""></a><div class="a-section a-spacing-none a-text-center"></div></div></div></div><div class="a-fixed-left-grid-col a-col-right" style="padding-left: 2%; float: left;"><div class="a-row a-spacing-small"><div class="a-row a-spacing-none"><a title="BenQ VZ2770H Monitor da 27 Pollici Full-HD, 2 Porte HDMI, 178°/178°, Bianco" class="a-link-normal s-access-detail-page  s-color-twister-title-link a-text-normal" href="https://www.amazon.it/BenQ-VZ2770H-Monitor-Pollici-Full-HD/dp/B01HS7R38O/ref=sr_1_13?ie=UTF8&amp;qid=1533577692&amp;sr=8-13&amp;keywords=278e8qjab"><h2 class="a-size-medium s-inline  s-access-title  a-text-normal" data-max-rows="0" data-attribute="BenQ VZ2770H Monitor da 27 Pollici Full-HD, 2 Porte HDMI, 178°/178°, Bianco">BenQ VZ2770H Monitor da 27 Pollici Full-HD, 2 Porte HDMI, 178°/178°, Bianco</h2></a></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">di </span><span class="a-size-small a-color-secondary">BenQ</span></div></div><div class="a-row"><div class="a-column a-span7"><div class="a-row a-spacing-none"><a class="a-link-normal a-text-normal" href="https://www.amazon.it/BenQ-VZ2770H-Monitor-Pollici-Full-HD/dp/B01HS7R38O/ref=sr_1_13?ie=UTF8&amp;qid=1533577692&amp;sr=8-13&amp;keywords=278e8qjab"><span class="a-size-small a-color-secondary"></span><span class="a-size-base a-color-price s-price a-text-bold">EUR 246,93</span></a><span class="a-letter-space"></span><i class="a-icon a-icon-prime a-icon-small s-align-text-bottom" aria-label="Prime"><span class="a-icon-alt">Prime</span></i></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">Ricevilo entro <span class="a-color-success a-text-bold">mercoledì 8 agosto</span></span></div><div class="a-row a-spacing-none"><span class="a-size-small a-color-secondary">Idoneo alla Spedizione GRATUITA</span></div></div><div class="a-row a-spacing-mini"><div class="a-row a-spacing-none"><div class="a-row a-spacing-mini"></div><span class="a-size-small a-color-secondary">Ulteriori opzioni di acquisto</span></div><div class="a-row a-spacing-none"><a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/gp/offer-listing/B01HS7R38O/ref=sr_1_13_olp?ie=UTF8&amp;qid=1533577692&amp;sr=8-13&amp;keywords=278e8qjab&amp;condition=new"><span class="a-color-secondary a-text-strike"></span><span class="a-size-base a-color-price a-text-bold">EUR 241,94</span><span class="a-letter-space"></span>(5 offerte prodotti nuovi)</a></div></div></div><div class="a-column a-span5 a-span-last"><div class="a-row a-spacing-mini"><span name="B01HS7R38O">
    <span class="a-declarative" data-action="a-popover" data-a-popover='{"max-width":"700","closeButton":"false","position":"triggerBottom","url":"/review/widgets/average-customer-review/popover/ref=acr_search__popover?ie=UTF8&amp;asin=B01HS7R38O&amp;contextId=search&amp;ref=acr_search__popover"}'><a class="a-popover-trigger a-declarative" href="javascript:void(0)"><i class="a-icon a-icon-star a-star-4"><span class="a-icon-alt">4,2 su 5 stelle</span></i><i class="a-icon a-icon-popover"></i></a></span></span>

<a class="a-size-small a-link-normal a-text-normal" href="https://www.amazon.it/BenQ-VZ2770H-Monitor-Pollici-Full-HD/dp/B01HS7R38O/ref=sr_1_13?ie=UTF8&amp;qid=1533577692&amp;sr=8-13&amp;keywords=278e8qjab#customerReviews">20</a></div></div></div></div></div></div></div></li></ul></div></div>

 

Share this post


Link to post
Share on other sites

cant make the last one (shipping price) all pretty since it doesnt always exist, but the others seem doable with some slight finesse.  Bet some skilled folk can do it in less regexes.

#include<array.au3>

$s = FileRead("test.txt")

$asin = stringregexp($s , 'data-asin="(.*?)"' , 3)
_ArrayTranspose($asin)


$atitle = stringregexp($s , 'a title=(.*?)class=' , 3)
_ArrayTranspose($atitle)
_ArrayConcatenate($asin , $aTitle)


$alink = _ArrayUnique(stringregexp($s , '(https://www.amazon.it/.*?/dp/.*?)ref' , 3))
_ArrayDelete($alink , 0)
_ArrayTranspose($alink)
_ArrayConcatenate($asin , $alink)


$aPrice = stringregexp($s , 'class=".*s-price.*">(EUR .*?)<', 3)
_ArrayTranspose($aPrice)
_ArrayConcatenate($asin , $aPrice)


_ArrayDisplay($asin)

;~ $aShip = stringregexp($s , '(EUR \d+,\d+ di spedizione)<', 3)
;~ _ArrayDisplay($aShip)

 

Edited by iamtheky
my amazing grammar

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

Hmmm. gollum gollum... did you even try what I suggested before ?   :huh:

 Local $aLTest =  StringRegExp($sLFileRead,'data-asin="(.*?)">.+?href="(.*?)">.+?title=(.*?) class="a-link-.+?a-text-bold">EUR (.*?)</span></a>(?:.+?\+ EUR (.*?) di spedizione.+?href="(.*?)"><span class="a-color-secondary.+?class="a-size-base a-color-price a-text-bold">EUR (.*?)</span>)?',3)

 

Share this post


Link to post
Share on other sites

so i  belive finded a solution , but i call  dirty solution ,  because  is  slow , first  simplify the html and remove unnecessary part, second  work of them but not directly wit regexp ,   load  page in array and  find for singular match  ...

obviously this procedure  give me a strong delay, if someone have one regexp for do all i will appreciate so much ,  in this  time i gift my code

#cs ----------------------------------------------------------------------------

    AutoIt Version: 3.3.14.2
    Author:         faustf

    Script Function:
    Macro per usare Amazon come venditore non professionale

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here
;#cs
#include <MsgBoxConstants.au3>
#include <WinAPIFiles.au3>
#include <File.au3>
#include <IE.au3>
#include <Array.au3>

If ProcessExists("iexplore.exe") Then ; Check if the internet esplorer process is running.
    ProcessClose("iexplore.exe")
EndIf
;#ce

Global $iGTimeToCeck = "1000", $iGTimeOut = "1000"
Local $urlAmaS = "https://www.amazon.it/s/ref=nb_sb_noss?__mk_it_IT=%C3%85M%C3%85%C5%BD%C3%95%C3%91&url=search-alias%3Daps&field-keywords="
;Local $urlAmaS = "https://www.amazon.it/s/ref=sr_nr_p_76_0?fst=as%3Aoff&rh=n%3A425916031%2Cn%3A460080031%2Cn%3A460126031%2Ck%3Ai7%2Cp_76%3A490211031%7C490210031&keywords=i7&ie=UTF8&qid=1489074068&rnid=490209031" ; con opzione attiva amazon prime e spedizione gratis
;Local $urlAmaS = "https://www.amazon.it/s/ref=sr_st_price-asc-rank?keywords=" ; prima parte url per prezzo crescente
Local $sLUrl2 = "&__mk_it_IT=%C3%85M%C3%85Z%C3%95%C3%91&rh=i%3Aaps%2Ck%3A0190198457509&qid=1533231546&sort=price-asc-rank" ; opzione prezzo crescente
Global $sUrlAtom1 = "https://www.amazon.it/s/ref=sr_pg_"

Local $sLuser = 
Local $sLpass = 

_Amazon_Search("TN329BK", $urlAmaS)
;_Amazon_Search("5032037108591", $urlAmaS)
;_Amazon_Search("iphone x", $urlAmaS)
;_Amazon_Search("278e8qjab", $urlAmaS)


Func _Amazon_Search($frases, $url, $Hide = 0, $slow = 0)

    If $Hide = 0 Then
        $Hide = 1
    EndIf
    If $slow = 0 Then
        $slow = 1000
    EndIf

    Global $oIE = _IECreate($url & $frases & $sLUrl2, 0, $Hide, 1, 1) ; <--- 0011 invisible explorer  <--- 0111 visible explorer
    _IELoadWait($oIE)
    Sleep($slow)
    Local $sText = _IEBodyReadText($oIE)
    Local $iFindBadPage = StringInStr($sText, "This page can’t be displayed")

    If $iFindBadPage <> 0 Then
        If ProcessExists("iexplore.exe") Then ; Check if the internet esplorer process is running.
            ProcessClose("iexplore.exe")
        EndIf
        Sleep($slow)
        $oIE = _IECreate($url & $frases, 0, $Hide, 1, 1) ; <--- 0011 invisible explorer  <--- 0111 visible explorer
        _IELoadWait($oIE, $iGTimeToCeck, $iGTimeOut)
    EndIf

    Local $sLHtml = _IEBodyReadHTML($oIE)
    ;ConsoleWrite($sLHtml)
    Local $sLText = _IEBodyReadText($oIE)
    ;ConsoleWrite($sLText)
    If StringInStr($sLText, "non coincide con alcun prodotto") = 0 Then
        ;MsgBox(0,'','sono qui')
        FileDelete(@ScriptDir & "\TEMP\Amazon.html")
        ;-------------------------------------------------------------------- MODIFICO LA PAGINA AMZON TOGLIENDO IL SUPERFLUO ---------------------
        _True_write_File(@ScriptDir & "\TEMP\Amazon.html", $sLHtml)
        Local $arraytest
        _FileReadToArray(@ScriptDir & "\TEMP\Amazon.html", $arraytest)
        Local $iLStopFlag1 = 0
        ;_ArrayDisplay($arraytest)
        If IsArray($arraytest) Then
            For $j = 0 To UBound($arraytest) - 1
                If StringInStr($arraytest[$j], '<div id="centerMinus">') <> 0 Then
                    If $iLStopFlag1 = 0 Then
                        $iLStopFlag1 = $j
                    EndIf
                    ;ConsoleWrite($j & @CRLF)
                    ;MsgBox(0, '82', $iLStopFlag1)
                EndIf
            Next
        EndIf
        ;MsgBox(0, '83', $iLStopFlag1)
        _FileDeleteLine(@ScriptDir & '\TEMP\Amazon.html', '', '1', $iLStopFlag1)
        Local $arraytest2
        _FileReadToArray(@ScriptDir & "\TEMP\Amazon.html", $arraytest2)
        Local $iLStartFlag1 = 0
        If IsArray($arraytest2) Then
            For $j = 0 To UBound($arraytest2) - 1
                If StringInStr($arraytest2[$j], '<div class="rightCol" id="paRightContent">') <> 0 Then
                    If $iLStartFlag1 = 0 Then
                        $iLStartFlag1 = $j
                    EndIf
                    ;ConsoleWrite($j & @CRLF)
                    ;MsgBox(0, '82', $iLStartFlag1)
                EndIf
            Next
        EndIf
        _FileDeleteLine(@ScriptDir & '\TEMP\Amazon.html', '', $iLStartFlag1, 'end')
        ;_ArrayDisplay($arraytest2)
        ;------------------------------------------------------------------------------------------------------------------------------------------



        ;Local $aL = StringRegExp($sLHtml, 'href="(.*?)"><img src="(.*?)" srcset="(.+?)title="(.*?)" href="', 3)
        ;_ArrayDisplay($aL)
        ;Local $aL1 = StringRegExp($sLHtml, '(?s)href="([^"]+)"><img src="([^"]+)"\h*srcset="[^"]+.*?title="([^"]+)" href="', 3)
        ;MsgBox(0,'','sono qui2')
        Local $hLFileOP = FileOpen(@ScriptDir & "\TEMP\Amazon.html", $FO_READ)
        Local $sLFileRead = FileRead($hLFileOP)
        Local $aLData_Asin =  StringRegExp($sLFileRead,'data-asin="(.*?)">',3)
        Local $aLTitle =  StringRegExp($sLFileRead,'<a title="(.*?)" class="a-link-normal',3)
        Local $aLLink =  StringRegExp($sLFileRead,'href="(.*?)">',3)

        Local $aLPrice =  StringRegExp($sLFileRead,'">EUR (.*?)</span>',3)
        Local $aLShip =  StringRegExp($sLFileRead,'">\+ EUR (.*?) di spedizione</span>',3)
Local $aLTEstSplit = StringSplit ($sLFileRead,'>')
Local $aLTEstSplit2=_Remove_BlankIN_Array($aLTEstSplit)
_ArrayDisplay($aLTEstSplit2)
Local $testArraynew[UBound($aLTEstSplit2)]
For $t=0 To UBound ($aLTEstSplit2) -1
    Local $aDataSin= StringRegExp ($aLTEstSplit2[$t],'data-asin="(.*?)"',3)
    If IsArray ($aDataSin) Then
        $testArraynew[$t]=$aDataSin[0]
    EndIf

Local $aLink = StringRegExp ($aLTEstSplit2[$t],'<a class="a-link-normal a-text-normal" href="(.*?)"',3)
If IsArray ($aLink) Then
        $testArraynew[$t]=$aLink[0]
EndIf

    Local $aText= StringRegExp ($aLTEstSplit2[$t],'alt=(.*?)src=',3)
If IsArray ($aText) Then
        $testArraynew[$t]=$aText[0]
EndIf
If $t > 2 Then
    Local $PrePrezzo='<span class="a-size-base a-color-price s-price a-text-bold"'


    If $aLTEstSplit2[$t] = $PrePrezzo Then
        Local $aLEurPrice=StringRegExp ($aLTEstSplit2[($t+1)],'EUR (.*?)</span',3)
        $testArraynew[$t]=$aLEurPrice[0]
        EndIf
    EndIf


    Local $aShip= StringRegExp ($aLTEstSplit2[$t],'\+ EUR (.*?) di spedizione</span',3)
If IsArray ($aShip) Then
        $testArraynew[$t]=$aShip[0]
EndIf

If $t > 2 Then
    Local $PrePrezzoOption='<span class="a-size-base a-color-price a-text-bold"'

    If $aLTEstSplit2[$t] = $PrePrezzoOption Then
        Local $aLEurPriceOption=StringRegExp ($aLTEstSplit2[($t+1)],'EUR (.*?)</span',3)
        $testArraynew[$t]=$aLEurPriceOption[0]
        EndIf
    EndIf

    Local $aLinkOptions= StringRegExp ($aLTEstSplit2[$t],'<a class="a-size-small a-link-normal a-text-normal" href="https:\/\/www.amazon\.it\/gp\/offer-listing(.*?)"',3)
If IsArray ($aLinkOptions) Then
        $testArraynew[$t]=$aLinkOptions[0]
EndIf


Next

Local $aLTEstSplitV=_Remove_BlankIN_Array($testArraynew)

_ArrayDisplay($aLTEstSplitV)
    ;   Local $aLTest =  StringRegExp($sLFileRead,'data-asin="(.*?)">.+?href="(.*?)">.+?title=(.*?) class="a-link-.+?a-text-bold">EUR (.*?)</span></a>.+?\+ EUR (.*?) di spedizione.+?href="(.*?)"><span class="a-color-secondary.+?class="a-size-base a-color-price a-text-bold">EUR (.*?)</span>',3)
        Local $aLTest =  StringRegExp($sLFileRead,'data-asin="(.*?)">.+?href="(.*?)">.+?title=(.*?) class="a-link-.+?a-text-bold">EUR (.*?)</span>',3)
        ;</a>.+?\+ EUR (.*?) di spedizione.+?href="(.*?)"><span class="a-color-secondary.+?class="a-size-base a-color-price a-text-bold">EUR (.*?)</span>',3)

        _ArrayDisplay($aLTest)
        Local $sLPagSuccessiva = StringRegExp($sLFileRead, '<span id="pagnNextString">(.*?)</span>', 3)
        If IsArray($sLPagSuccessiva) Then ; controlla se ci sono piu pagine
            Local $aLAddres2Page = StringRegExp($sLFileRead, '<a href="\/s\/ref=sr_pg_2(.*?)">2<\/a>', 3)
            ;MsgBox(0,'','sono qui3')
            If IsArray($aLAddres2Page) Then
                Local $aLAddres2PageSplit1 = StringRegExp($aLAddres2Page[0], '(.*?)page', 3)
                Local $aLAddres2PageSplit2 = StringRegExp($aLAddres2Page[0], 'page=2(.*?)$', 3)

                Local $aL2 = StringRegExp($sLFileRead, 'text-bold">EUR (.*?)</span></a><span class=', 3)
                ;Local $aL = StringRegExp($sLHtml, 'cfMarker" alt="(.*?)" src="', 3)
                Local $aL = StringRegExp($sLFileRead, 'cfMarker" alt=(.*?) src="', 3)
                ConsoleWrite($sLFileRead)

                _ArrayDisplay($aL2)
                _ArrayDisplay($aL)
                _ArrayDisplay($aLAddres2Page)
                _ArrayDisplay($aLAddres2PageSplit1)
                _ArrayDisplay($aLAddres2PageSplit2)
            Else
                MsgBox(16, 'Errore', 'Problema con regexp url $aLAddres2Page ')
            EndIf
            FileClose($hLFileOP)

        Else ; se ce una pagina solo
            MsgBox(0, 'Info', 'non ci sono piu pagine')

        EndIf
        _ArrayDisplay($sLPagSuccessiva)


    Else

        MsgBox(0, 'Info', 'non coincide con alcun prodoto ' & $frases)
    EndIf

    #cs
        Local $oBtns = $oIE.document.GetElementsByTagName("input")
        For $oBtn In $oBtns
        $name = String($oBtn.id())
        $buttonOK = String($oBtn.type())
        If $name = "twotabsearchtextbox" Then
        _IEAction($oBtn, "click")
        _IEFormElementSetValue($oBtn, $frases)
        EndIf
        If $buttonOK = "submit" Then
        _IEAction($oBtn, "click")
        EndIf
        Next
    #ce
EndFunc   ;==>_Amazon_Search



; #INDEX# ========================================================================
; Title .........: GUI_Configure.au3
; AutoIt Version : 3.3.14.2++
; Language ......: Italian
; Description ...: A collection of Function for Logic of Gest
; Author ........: Faustf
; What do you do.: Remove Blank in array 1d
; Version .......: 0.0.1 BETA - Work in progress 15/03/2016
; Syntax ........:
; ================================================================================

Func _Remove_BlankIN_Array($arr_2)

    For $i = UBound($arr_2) - 1 To 0 Step -1
        If $arr_2[$i] = "" Then
            _ArrayDelete($arr_2, $i)
        EndIf
    Next
    Return $arr_2
EndFunc   ;==>_Remove_BlankIN_Array



; #INDEX# ========================================================================
; Title .........: GUI_Configure.au3
; AutoIt Version : 3.3.14.2++
; Language ......: Italian
; Description ...: A collection of Function for Logic of Gest
; Author ........: Faustf
; What do you do.: Write data in File
; Version .......: 0.0.1 BETA - Work in progress 15/03/2016
; Syntax ........:
; ================================================================================

Func _True_write_File($sFilePath, $sDataWrite, $iReturn = 0)
    If $iReturn = Default Then $iReturn = 0

    $File = FileOpen($sFilePath, 1)
    If $iReturn = 0 Then
        FileWrite($File, $sDataWrite & @CRLF)
    Else
        FileWrite($File, $sDataWrite)
    EndIf
    FileClose($File)

EndFunc   ;==>_True_write_File


; #INDEX# =========================================================================================================================
; Title .........: UDF_Plus.au3
; AutoIt Version : 3.3.14.2++
; Language ......: Italian
; Description ...: A collection of Function
; Author ........: Faustf
; What do you do.: delete a line inside of file
; Version .......: 0.0.1 BETA - Work in progress 13/06/2018
; Syntax ........: _FileDeleteLine($path, $match, $start, $to) path of file + word to $match, when find it erase all line.
; ...............: or you can use  $match + $to if you want erase a range of line or $start + $to if  you want erase a range
; ...............: of line. You can use a word "end"  if you want erase line at end of file
; Example .......: _FileDeleteLine(@ScriptDir & '\TEMP\test.txt', '<div class="container table-wrap">', '0', '20')
; ...............: _FileDeleteLine(@ScriptDir & "\TEMP\test.txt", 0, 1, "end")
; ...............: _FileDeleteLine(@ScriptDir & '\TEMP\test.txt', '', '2', '133')
; Error Retrun ..: txtopenko = when is not possible open a file
; ...............: Error 1 = when insert a number of line , you have this error.
; ...............: You must use a difference from first point to arrive point
; =================================================================================================================================

Func _FileDeleteLine($path, $match, $start, $to)

    Local $file_count_lines = _FileCountLines($path)
    If $file_count_lines = 0 Then Return "txtopenko"
    If $to = "end" Then
        $to = $file_count_lines
    EndIf

    Select
        Case $start = 0 And $to = "" And $match = "" ;  cancel only match word finded
            Local $aLText = FileReadToArray($path)
            ;_ArrayDisplay($aLText)
            For $i = 0 To UBound($aLText) - 1
                If StringInStr($aLText[$i], $match) Then
                    _ArrayDelete($aLText, $i)
                EndIf
            Next
            ;_ArrayDisplay($aLText)
            _FileWriteFromArray($path, $aLText)

        Case $start = 0 And $to <> "" And $match <> "" ;  cancel from word finded till $to
            Local $iLCtrlDO = 1
            Local $aLText = FileReadToArray($path)
            Local $aLTextClone = FileReadToArray($path)
            ;_ArrayDisplay($aLText)
            For $i = 0 To UBound($aLText) - 1
                If StringInStr($aLText[$i], $match) Then
                    $iLCtrlDO = $i
                    Do
                        _ArrayDelete($aLTextClone, $iLCtrlDO)
                        $to -= 1
                    Until $to <= 0
                EndIf
            Next
            ;_ArrayDisplay($aLTextClone)
            _FileWriteFromArray($path, $aLTextClone)

        Case $start <> 0 And $to <> "" And $match = "" ; cancel from $start till $to (also with "end" special-word)
            If $to = $file_count_lines Then
                Local $aLText = FileReadToArray($path)
                ;_ArrayDisplay($aLText)
                Local $aLTextClone = FileReadToArray($path)
                For $i = 0 To UBound($aLText) - 1
                    $iLCtrlDO = ($start - 1)
                    While $to <> 0
                        ;       MsgBox(0,'235',$iLCtrlDO)
                        _ArrayDelete($aLTextClone, $iLCtrlDO)
                        ;_ArrayDisplay($aLTextClone,'while')
                        $to -= 1
                        ;$to = 0
                    WEnd
                Next
                ;_ArrayDisplay($aLTextClone)
                _FileWriteFromArray($path, $aLTextClone)
            Else
                Local $to1 = $to + $start
                If $to1 < $file_count_lines Then
                    Local $aLText = FileReadToArray($path)
                    Local $aLTextClone = FileReadToArray($path)
                    For $i = 0 To UBound($aLText) - 1
                        $iLCtrlDO = ($start - 1)
                        Do
                            _ArrayDelete($aLTextClone, $iLCtrlDO)
                            $to -= 1
                        Until $to = 0
                        ExitLoop
                    Next
                    _FileWriteFromArray($path, $aLTextClone)
                Else
                    Return "Error 1"
                    ;MsgBox(16, "Errore", "Errore probabilmente non hai inserito la differenza ma  hai messo direttamente il numero riga e superi con l'inizio  il totale righe del foglio")
                EndIf
            EndIf

    EndSelect
EndFunc   ;==>_FileDeleteLine

 

Share this post


Link to post
Share on other sites

So, here is my last suggestion : cause the main array to return empty lines if optional data not found, using a tiny modification in your regex from post #1
It should make the array much easier to walk  through by steps (in this case, step 8) ;)

#include <Array.au3>

$sLFileRead = FileRead("test.txt")

Local $aLTest =  StringRegExp($sLFileRead,'data-asin="(.*?)">.+?href="([^"]+)">.+?title=["'']?(.*?)["'']?? class="a-link-.+?a-text-bold">EUR (.*?)</span></a>(?:.+?\+ EUR (.*?) di spedizione.+?href="([^"]+)"><span class="a-color-secondary.+?class="a-size-base a-color-price a-text-bold">EUR (.*?)</span>)?()', 3)

_ArrayDisplay($aLTest)

 

Edited by mikell
little regex improvement

Share this post


Link to post
Share on other sites

now @mikell i study your  example ,(sorry for delay) the second  and last suggestion, i just used , and  work  close to right things , but  with  this case 

https://www.amazon.it/s/ref=nb_sb_noss?__mk_it_IT=ÅMÅŽÕÑ&url=search-alias%3Daps&field-keywords=iphone x&__mk_it_IT=%C3%85M%C3%85Z%C3%95%C3%91&rh=i%3Aaps%2Ck%3A0190198457509&qid=1533231546&sort=price-asc-rank

not  work compleatly 

if  you try to run last my posted script  in top of script you can find  4  cases  3 not active 

;_Amazon_Search("TN329BK", $urlAmaS)
;_Amazon_Search("5032037108591", $urlAmaS)
_Amazon_Search("iphone x", $urlAmaS)
;_Amazon_Search("278e8qjab", $urlAmaS)

if  you try iphone x  you can look 

thankz  again for your example , your  code for me is always right things  for increase my skill level  

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...