commit d3fbab1f44080a0ec6ce6809c887391c364389a3
parent 9cd97c701e5c857625a88900f20a6b177f32a1f3
Author: Kyle Milz <kyle@getaddrinfo.net>
Date: Thu, 6 Nov 2014 22:15:11 -0700
product_scraper: whitespace fixups
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/product_scraper.pl b/product_scraper.pl
@@ -11,7 +11,6 @@ use shared;
my $ua = get_ua();
-
srand;
$dbh->do("create table if not exists products(" .
@@ -149,7 +148,7 @@ sub get_tag_text
my $tag = shift;
my $field = $dom->find($tag)->text();
- if (!defined $field || $field eq "" ) {
+ if (!defined $field || $field eq "") {
vprint("could not find $tag, html was:\n");
vprint($dom->html());
vprint("\n\n");