add mhx weapon search, hammer data only

This commit is contained in:
Bryce Allen
2015-12-26 12:12:48 -06:00
parent ca374fc036
commit 1d649ea8b7
8 changed files with 15703 additions and 3 deletions

15
scrapers/_pathfix.py Normal file
View File

@@ -0,0 +1,15 @@
"""
Hack to get scripts to run from source checkout without having to set
PYTHONPATH.
"""
import sys
from os.path import dirname, join, abspath
bin_path = dirname(__file__)
project_path = abspath(join(bin_path, ".."))
sys.path.insert(0, project_path)
db_path = join(project_path, "db", "mh4u.db")
motion_values_path = join(project_path, "db", "motion_values.json")
web_path = join(project_path, "web")