Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First of all, you should take a look at this thread on how to deal with scraping ajax dynamically loaded content: <a href="https://stackoverflow.com/questions/8550114/can-scrapy-be-used-to-scrape-dynamic-content-from-websites-that-are-using-ajax">Can scrapy be used to scrape dynamic content from websites that are using AJAX?</a></p> <p>So, clicking on "View More" button fires up an XHR request:</p> <pre><code>http://www.aido.com/eshop/faces/tiles/category.jsp?q=&amp;categoryID=189&amp;catalogueID=2&amp;parentCategoryID=185&amp;viewType=grid&amp;bnm=&amp;atmSize=&amp;format=&amp;gender=&amp;ageRange=&amp;actor=&amp;director=&amp;author=&amp;region=&amp;compProductType=&amp;compOperatingSystem=&amp;compScreenSize=&amp;compCpuSpeed=&amp;compRam=&amp;compGraphicProcessor=&amp;compDedicatedGraphicMemory=&amp;mobProductType=&amp;mobOperatingSystem=&amp;mobCameraMegapixels=&amp;mobScreenSize=&amp;mobProcessor=&amp;mobRam=&amp;mobInternalStorage=&amp;elecProductType=&amp;elecFeature=&amp;elecPlaybackFormat=&amp;elecOutput=&amp;elecPlatform=&amp;elecMegaPixels=&amp;elecOpticalZoom=&amp;elecCapacity=&amp;elecDisplaySize=&amp;narrowage=&amp;color=&amp;prc=&amp;k1=&amp;k2=&amp;k3=&amp;k4=&amp;k5=&amp;k6=&amp;k7=&amp;k8=&amp;k9=&amp;k10=&amp;k11=&amp;k12=&amp;startPrize=&amp;endPrize=&amp;newArrival=&amp;entityType=&amp;entityId=&amp;brandId=&amp;brandCmsFlag=&amp;boutiqueID=&amp;nmt=&amp;disc=&amp;rat=&amp;cts=empty&amp;isBoutiqueSoldOut=undefined&amp;sort=12&amp;isAjax=true&amp;hstart=24&amp;targetDIV=searchResultDisplay </code></pre> <p>which returns <code>text/html</code> of the next 24 items. Note this <code>hstart=24</code> parameter: first time you click "View more" it's equal to 24, second time - 48 etc..this should be your lifesaver.</p> <p>Now, you should simulate these requests in your spider. The recommended way to do this is to instantiate scrapy's <a href="http://doc.scrapy.org/en/latest/topics/request-response.html" rel="nofollow noreferrer">Request</a> object providing callback where you'll extract the data.</p> <p>Hope that helps.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload