Closed jschwalbe closed 7 years ago
Solution:
Commented out the Accept-encoding: gzip. Not sure why that's messing things up. Running macOS Sierra. Thanks for the code!
public function getStoreInfo($storeId) {
$headers = array(
"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
// "Accept-encoding: gzip, deflate, sdch, br",
"Accept-language: en-US,en;q=0.8",
);
Should be fixed by 04215b3
Just tried out the script, but switched the UPC to something else (54905488). That number works on brickseek, but gives an error here. Any ideas?
If it matters, I commented out Target in the config.