about summary refs log tree commit diff stats
path: root/scrape.rb
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-02-23 10:39:45 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-02-23 10:39:45 -0500
commitfc52b357a1f865ea4facedad0012704be5dae71f (patch)
tree0196b6ec52d5886b33cf68a0449d1596ae0328f2 /scrape.rb
parent4a8bd6d2bafe9bbbb4c43f06a351fa67b0616699 (diff)
downloadlunatic-fc52b357a1f865ea4facedad0012704be5dae71f.tar.gz
lunatic-fc52b357a1f865ea4facedad0012704be5dae71f.tar.bz2
lunatic-fc52b357a1f865ea4facedad0012704be5dae71f.zip
Scraper now takes path to config as command-line argument
Diffstat (limited to 'scrape.rb')
-rw-r--r--scrape.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/scrape.rb b/scrape.rb index 07faeb6..c70fcff 100644 --- a/scrape.rb +++ b/scrape.rb
@@ -3,7 +3,7 @@ require 'nokogiri'
3require 'open-uri' 3require 'open-uri'
4require 'yaml' 4require 'yaml'
5 5
6config = YAML.load(open("lunatic/config.yml")) 6config = YAML.load(open(ARGV[0]))
7usernames = config["usernames"] 7usernames = config["usernames"]
8 8
9achieves = usernames.map do |username| 9achieves = usernames.map do |username|