summaryrefslogtreecommitdiff
path: root/src/crawl/crawl.cpp
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-03 17:58:36 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-03 17:58:36 +0200
commit92ba06d58475fd4ab07d8e3b1efa6993f1f02340 (patch)
tree385a511835136fb2d190df05651b03c015690e91 /src/crawl/crawl.cpp
parentee52b3eab8cc7feb49fa6db964b94b35e2bc8bac (diff)
downloadcrawler-92ba06d58475fd4ab07d8e3b1efa6993f1f02340.tar.gz
crawler-92ba06d58475fd4ab07d8e3b1efa6993f1f02340.tar.bz2
added an experimental curl fetcher
Diffstat (limited to 'src/crawl/crawl.cpp')
-rwxr-xr-xsrc/crawl/crawl.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/crawl/crawl.cpp b/src/crawl/crawl.cpp
index 4f3eb00..9f5e0b2 100755
--- a/src/crawl/crawl.cpp
+++ b/src/crawl/crawl.cpp
@@ -120,7 +120,8 @@ int main( int /* argc */, char *argv[] )
vector<string> fetcherModules;
#ifndef _WIN32
- fetcherModules.push_back( "./modules/fetcher/libfetch/mod_fetcher_libfetch.so" );
+// fetcherModules.push_back( "./modules/fetcher/libfetch/mod_fetcher_libfetch.so" );
+ fetcherModules.push_back( "./modules/fetcher/libcurl/mod_fetcher_libcurl.so" );
#else
fetcherModules.push_back( ".\\modules\\fetcher\\winhttp\\mod_fetcher_winhttp.dll" );
#endif
@@ -162,7 +163,8 @@ int main( int /* argc */, char *argv[] )
Frontier *frontier = frontiers.create( "memory_frontier" );
#ifndef _WIN32
- Fetcher *fetcher = fetchers.create( "libfetch_fetcher" );
+// Fetcher *fetcher = fetchers.create( "libfetch_fetcher" );
+ Fetcher *fetcher = fetchers.create( "libcurl_fetcher" );
#else
Fetcher *fetcher = fetchers.create( "winhttp_fetcher" );
#endif