craigslist

Why is this warning being shown: “Received problem 2 in the chunky parser”?

时光怂恿深爱的人放手 提交于 2019-12-05 07:21:00
I am trying to use PHP and cURL to log in to a website (namely Craigslist ). When accessing the script, I get this warning message: Received problem 2 in the chunky parser Searches showed that it is not a problem associated with cURL. I am unable to find the source of the problem. What may be the reason? Thank you. Update: Googling for the error message, I also find this : The chunky-parser error message occurs when curl expects a chunked HTTP response body and then doesn't get one. Your reply sends the Transfer-Encoding: chunked header, so curl expects to see a body chunked according to

NSURLRequest, why does craigslist return a 404?

微笑、不失礼 提交于 2019-12-04 17:13:48
I'm building my first iPhone app and I'm stymied. I'm trying to build an RSS reader, and I'm trying to use a feed from craigslist. This code, using stackoverflow, returns "Status code: 200": - (void)parseRSSFeed:(NSString *)feed withDelegate:(id)delegate { responseData = [[NSMutableData data] retain]; feed = @"http://stackoverflow.com"; NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:feed]]; [[NSURLConnection alloc] initWithRequest:request delegate:self]; } - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response { NSLog(@"status

Scrapy Python Craigslist Scraper

泪湿孤枕 提交于 2019-12-04 10:18:49
I am trying to scrape Craigslist classifieds using Scrapy to extract items that are for sale. I am able to extract date, post title, and post url but am having trouble extracting price . For some reason the current code extracts all of the prices, but when I remove the // before the price span look up the price field returns as empty. Can someone please review the code below and help me out? from scrapy.spider import BaseSpider from scrapy.selector import HtmlXPathSelector from craigslist_sample.items import CraigslistSampleItem class MySpider(BaseSpider): name = "craig" allowed_domains = [

is it possible to making a posting to Craigslist through my own website?

蹲街弑〆低调 提交于 2019-11-29 07:29:52
What I am trying to do is allow users to making postings to Craiglist through my own website using PHP curl. This is NOT an automated posting system, I just want users to be able to post onto Craigslist and my website at the same time. So far, I've managed to log in using php but I'm still not sure how to post the title, description, contact information, etc. I am not familiar with cURL. Your question is kind of broad, so I'll answer broadly. Narrow down your question (or post a follow-up) so we can help you better. Is it possible to making a posting to Craigslist through my own website? It

Craigslist Automated Posting API? [closed]

寵の児 提交于 2019-11-28 16:33:37
i was looking through craigslist bulk posting section and it requires an rss feed to be sent to a server to automatically post an add the site is found at http://www.craigslist.org/about/bulk_posting_interface i have looked up and down for a sample of a php class but cannot find out. anyone know of any class that exists? thanks I just checked the CL's terms of use and it explicitly mentions any automated posting to be illegal. So, if it is a generic commercial idea you wish to scale up, note that: It is expressly prohibited to post content to craigslist using any automated means. Users must

Is there a developers api for craigslist.org [closed]

时间秒杀一切 提交于 2019-11-28 15:28:18
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I am building an application and would like to automatically post to craigslist with a click of a button. Is there any way to do this? I have an account and will pay for each post. 回答1: Ultimately no. You can query for listings with a search string from an RSS feed such as this: http://YOURCITY.craigslist.org

Craigslist Automated Posting API? [closed]

余生长醉 提交于 2019-11-27 09:46:38
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . i was looking through craigslist bulk posting section and it requires an rss feed to be sent to a server to automatically post an add