Skip to content

Collection of crawlers used by the ahmia search engine

Notifications You must be signed in to change notification settings

hybridious/ahmia-crawler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Code Health Requirements Status

https://ahmia.fi/

Ahmia is the search engine for .onion domains on the Tor anonymity network. It is led by Juha Nurmi and is based in Finland. This repository contains crawlers used by Ahmia search engine

Prerequisites

Ahmia-index should be installed and running

Installation guide

Install dependencies:

Ubuntu 16.04

$ apt-get install build-essential python-pip python-virtualenv
$ apt-get install libxml2-dev libxslt1-dev python-dev libffi-dev libssl-dev
$ apt-get install tor polipo

Fedora 23

$ dnf install @development-tools redhat-rpm-config python-pip python-virtualenv
$ dnf install libxml-devel libxslt-devel python-devel libffi-devel openssl-devel
$ dnf install tor polipo

Install requirements in a virtual environment

$ virtualenv /path/to/venv
$ source /path/to/venv/bin/activate
(venv)$ pip install -r requirements.txt

Proxy configuration

Please use polipo config sample here.

Start tor and polipo

$ systemctl start tor
$ systemctl start polipo

Or use with own python HTTP proxy.

$ sudo pip3 install PySocks
$ sudo pip3 install urlparse2
$ python http_tor_proxy.py
$ curl -x http://localhost:14444 http://msydqstlz2kzerdg.onion/

Usage

Please refer to the crawler guide.

How to use multiple Tor clients ?

You can setup TorBalancer to do this. Don't forget to update the bot settings.py

About

Collection of crawlers used by the ahmia search engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.5%
  • Shell 2.5%