Skip to content

Commit 3a0643e

Browse files
committed
Onionbot is updated.
1 parent 3062471 commit 3a0643e

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.bak
33
venv/
44
ahmia_db
5+
onionbot/*.json

onionbot/README.rst

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,9 @@ The items scraped by this project are websites, and the item is defined in the
4848

4949
dirbot.items.CrawledWebsiteItem
5050

51-
Which is:
52-
53-
domain = Field()
54-
url = Field()
55-
tor2web_url = Field()
56-
title = Field()
57-
text = Field()
58-
date_inserted = Field()
51+
and the data is
52+
53+
domain, url, tor2web_url, title, text, date_inserted
5954

6055
Spiders
6156
=======

onionbot/dirbot/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
DOWNLOAD_TIMEOUT = 60 # 1 min
88
DOWNLOAD_DELAY = 2 # 2 sec
9-
DEPTH_LIMIT = 10
9+
DEPTH_LIMIT = 1
1010
DEPTH_STATS = True
1111
DNSCACHE_ENABLED = True
1212
ROBOTSTXT_OBEY = True

0 commit comments

Comments
 (0)