CPP 42
C++) Fetch robots.txt for a Site Guest on 5th June 2020 10:40:06 AM
  1. #include <CkSpider.h>
  2.  
  3. void ChilkatSample(void)
  4.     {
  5.     CkSpider spider;
  6.  
  7.     spider.Initialize("www.chilkatsoft.com");
  8.  
  9.     const char *robotsText = 0;
  10.     robotsText = spider.fetchRobotsText();
  11.  
  12.     std::cout << robotsText << "\r\n";
  13.  
  14.     }

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.