diff options
Diffstat (limited to 'run-scraper')
-rwxr-xr-x | run-scraper | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/run-scraper b/run-scraper index 1f9637b..c617064 100755 --- a/run-scraper +++ b/run-scraper @@ -4,6 +4,10 @@ # the scrapers to be tested locally. file=$1 -export PYTHONPATH=`pwd`/testlib -python $file +topdir=`pwd` + +export PYTHONPATH=`pwd`/testlib/scraperwiki-python:`pwd`/testlib/dumptruck + +mkdir -p data/$1 +(cd data/$file ; python $topdir/scrapersources/$file) |