Skip to content

Commit

Permalink
Fix #26
Browse files Browse the repository at this point in the history
  • Loading branch information
y-lohse committed Oct 15, 2016
1 parent 540dda8 commit d6ac24d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/controllers/snapshots.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ router.post('/snapshot', function(req, res, next){
var options = {
urls: [url],
directory: scrapDestination,
request: {
headers: {
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36'
},
},
};

//start scraping
Expand Down

0 comments on commit d6ac24d

Please sign in to comment.