Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate wget/WARC-based crawler approach #84

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ _site/
*.sqlite3
!sample/sample.sqlite3

# Crawl files, except for the sample crawl #
############################################
*.warc
*.warc.gz
!sample/crawl.warc.gz

# OS generated files #
######################
.DS_Store
Expand Down
104 changes: 0 additions & 104 deletions crawler/management/commands/warc_to_csv.py

This file was deleted.

76 changes: 0 additions & 76 deletions crawler/management/commands/warc_to_db.py

This file was deleted.

189 changes: 0 additions & 189 deletions crawler/reader.py

This file was deleted.

2 changes: 1 addition & 1 deletion crawler/wpull_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def deactivate(self):
self.db_writer.analyze()

def init_db(self):
db_alias = "warc_to_db"
db_alias = "crawler"

connections.databases[db_alias] = {
"ENGINE": "django.db.backends.sqlite3",
Expand Down
Loading
Loading