Nutch 2.3.1 in crawl Deep Web

358 views Asked by At

i follow the tutorial from

  1. Nutch Wiki "SetupNutchAndTor"(https://wiki.apache.org/nutch/SetupNutchAndTor)

  2. Set up nutch-site.xml

      <property>
            <name>http.proxy.host</name>
            <value>127.0.0.1</value>
            <description>The proxy hostname.  If empty, no proxy is used.
            </description>
      </property>
    
        <property>
            <name>http.proxy.port</name>
            <value>8118</value>
            <description>The proxy port.</description>
        </property>
    

but still crawl nothing from the .onion link and not indexed into Solr. Anyone know what is the problem?

1

There are 1 answers

1
Julien Nioche On

Anything in the logs?

FYI with StormCrawler you can use a SOCKS proxy directly thanks to this commit

You'd need to use OKHTTP for the protocol implementation and configure it like this

http.protocol.implementation: "com.digitalpebble.stormcrawler.protocol.okhttp.HttpProtocol" https.protocol.implementation: "com.digitalpebble.stormcrawler.protocol.okhttp.HttpProtocol"

http.proxy.host: localhost
http.proxy.port: 9050
http.proxy.type: "SOCKS"