This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grunt.registerTask('getEvents', function(){ | |
var http = require('https'); | |
var cheerio = require('cheerio'); | |
var fs = require('fs'); | |
var url = 'https://wiki.phpbb.com/Event_List'; | |
var done = this.async(); | |
var dom = http.get(url, function(response){ | |
var srcContents = ''; | |
//another chunk of data has been recieved, so append it to `str` |