pricecharts

track prices of consumer electronics
Log | Files | Refs | README

commit c56cf834f7b0d6ce5ec470761225a1a1b0585629
parent 4f75edeccb1122f35c6b4181fb9a1428f0c28ab5
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Tue, 31 Mar 2015 20:42:53 -0600

price_scraper: remove quotes from hash keys

Diffstat:
Mprice_scraper | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/price_scraper b/price_scraper @@ -84,11 +84,11 @@ my ($start, @status, $i) = (time, "", -1); for my $retailer (sort keys %{$cfg->{retailers}}) { my %props = %{$cfg->{retailers}{$retailer}}; # this could probably be done smarter - my $url = $props{"url"}; - my $color = $props{"color"}; - my $price_tag = $props{"reg_tag"}; - my $sale_tag = $props{"sale_tag"}; - my $desc_tag = $props{"title"}; + my $url = $props{url}; + my $color = $props{color}; + my $price_tag = $props{reg_tag}; + my $sale_tag = $props{sale_tag}; + my $desc_tag = $props{title}; my $retailer_start = time; $status[++$i] = " ";