python-craigslist icon indicating copy to clipboard operation
python-craigslist copied to clipboard

Craigslist Housing Attribute Error

Open dannyrussell53 opened this issue 10 years ago • 0 comments

It looks like craigslist has two ['data-id'] tags that are used interchangeably. As an example for this request (http://washingtondc.craigslist.org/search/doc/apa?minAsk=3000&maxAsk=5000), 1/2 of the results have a link attribute of "['data-id']" and the other half have a link attribute of "['data-ids']".
This throws an attribute error, so if i might suggest you could just try data-id except for attribute error and try data-ids. Let me know if you need any more clarification. Thanks!

dannyrussell53 avatar May 03 '15 18:05 dannyrussell53