Skip to content

Instantly share code, notes, and snippets.

@khunreus
Created February 9, 2019 15:51
Show Gist options
  • Save khunreus/f20801e43e46eaf39ae382bff95b275a to your computer and use it in GitHub Desktop.
Save khunreus/f20801e43e46eaf39ae382bff95b275a to your computer and use it in GitHub Desktop.
# Command line
scrapy shell 'https://www.airbnb.ae/s/Dubai/homes?refinement_paths%5B%5D=%2Fhomes&adults=0&children=0&infants=0&guests=0&place_id=ChIJRcbZaklDXz4RYlEphFBu5r0&query=Dubai&allow_override%5B%5D=&s_tag=CKxLe9y7'
# testing selector for the property name
response.xpath('//*[@class="_ng4pvpo"]')
# Out[1]: []
response.xpath('//*[@itemtype="http://schema.org/ListItem"]')
# Out[2]: []
response.xpath('//*[@itemprop="name"]')
# Out[3]: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment