aboutsummaryrefslogtreecommitdiffstats
path: root/run-scraper
diff options
context:
space:
mode:
Diffstat (limited to 'run-scraper')
-rwxr-xr-xrun-scraper9
1 files changed, 9 insertions, 0 deletions
diff --git a/run-scraper b/run-scraper
new file mode 100755
index 0000000..1f9637b
--- /dev/null
+++ b/run-scraper
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# Run scraperwiki scrapers with a fake scraperwiki library, to allow
+# the scrapers to be tested locally.
+
+file=$1
+export PYTHONPATH=`pwd`/testlib
+
+python $file