SHARE
TWEET

Untitled

a guest Jan 5th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sizes = ', '.join
  2. (scrapy.Selector(response).xpath
  3. ('----A WORKING XPATH ---//text()').extract()).replace(',','.')
  4.  
  5. results = New York,10032 New Jersey,07067 California,90001, New Mexico, Texas, Rhode Island
  6.  
  7. Looking to get results like this =
  8.  
  9. New York.10032, New Jersey.07067, California.90001, New Mexico, Texas, Rhode Island
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top