commit ebf624d5994891a248d17cb9337bc5d09d5dcbb5
parent 7afac970f4191d95b6d361de94882c346946fa05
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Thu,  5 Nov 2015 21:20:05 -0700
product_scraper: ignore part nums that start with BDL_
- memory express has these purchasable items called bundles
- usually like a cpu/motherboard or tv/pvr kind of thing
- these aren't comparable to other places, so don't keep track of them
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/product_scraper b/product_scraper
@@ -128,6 +128,10 @@ sub mem_exp_scrape_class
 			next;
 		}
 
+		# memory express has bundles, we're not really interested in
+		# those
+		next if ($part_num =~ /^BDL_/);
+
 		# sanitize $brand against known good manufacturer names
 		$sql = qq{select manufacturer from products where
 			lower(manufacturer) = ?};