المشاريع
عرض على GitHub
ahmia/ahmia-crawler
حول
Collection of crawlers used by the ahmia search engine
البيانات والتحليلاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- +٢
- خلال 15 يومًا
- +٤
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل
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 requirements in a virtual environment
python3 -m virtualenv venv3
source venv3/bin/activate
pip install -r requirements.txt
Prefer own python HTTP proxy
Look fleet installation here.
Configuration
ahmia/ahmia/example.env contains some default values that should work out of the box.
Copy this to .env to create your own instance of environment settings:
cp ahmia/ahmia/example.env ahmia/ahmia/.env
Usage
In order to execute the crawler to run permanently:
source venv/bin/activate
./run.sh &> crawler.log
Specific run examples
source venv3/bin/activate
scrapy crawl ahmia-tor -s DEPTH_LIMIT=1 -s LOG_LEVEL=DEBUG
or
scrapy crawl ahmia-tor -s DEPTH_LIMIT=1 -O items.json:json
or
scrapy crawl ahmia-tor -s DEPTH_LIMIT=3
Crontabs
# Every day
PATH=/usr/local/bin:/usr/bin:/bin:/home/juha/.local/bin
30 06 * * * cd /home/juha/ahmia-crawler/ && . venv3/bin/activate && bash run_daily.sh > ./daily.log 2>&1
# First day of each month
PATH=/usr/local/bin:/usr/bin:/bin:/home/juha/.local/bin
30 01 01 * * cd /home/juha/ahmia-crawler/ && . venv3/bin/activate && bash run.sh > ./monthly.log 2>&1
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…