Deploying on surge
This commit is contained in:
@@ -2,6 +2,9 @@ const puppeteer = require('puppeteer-extra');
|
||||
const { writeFile } = require('fs').promises;
|
||||
|
||||
/*************************************
|
||||
*
|
||||
* LIVE EXAMPLE : https://puppeteer-scraping-example.surge.sh/
|
||||
*
|
||||
* THIS IS WHAT MAKES IT WORK
|
||||
* SHOUT OUT JORDAN HANSEN - https://cobaltintelligence.com/blog/avoid-being-blocked-with-puppeteer/
|
||||
* ALSO ANOTHER WAY TO BLOCK ALL ADS IS TO INTERCEPT ALL REQUESTS, AND FILTER ALL REQUESTS FOR THESE DOMAINS:
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
console.log( dbData );
|
||||
|
||||
const passCompletions = new Chart(document.getElementById('passCompletions'), {
|
||||
type: 'bar',
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user