Of course! Its hard to imagine what meteor can't do! First you need something to handle the remote http requests. In your meteor directory in the terminal run meteor add http
to add the Meteor.http
package, also npm install cheerio
(have a look at another SO question on how to install npm modules to see exactly where to install external npm modules.
Here is an example that might help you out a bit, it scrapes the current time.
Server js
require = __meteor_bootstrap__.require; //to use npm require must be exposed.
var cheerio = require('cheerio');
Meteor.methods({
getTime: function () {
result = Meteor.http.get("http://www.timeanddate.com/worldclock/city.html?n=136");
$ = cheerio.load(result.content);
CurrentTime = $('#ct').html();
return CurrentTime;
}
});
Client side script:
Meteor.call("getTime", function(error, result) {
alert("The current time is " + result);
});
I hope this is helpful. amongst with Cheerio there are also other node frameworks such as node.io