Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 409 Bytes

scrape-client.coffee.md

File metadata and controls

13 lines (9 loc) · 409 Bytes

Scrape (Client)

This module uses the same API on the client and the server and has two modes: websites and feeds. Either way, it consumes an URL and returns an object.

This field contains the client Code. And is only loaded in the client.

@Scrape =
  website1: (url, fn) ->
    Meteor.call "Scrape.website", url, (error, data) ->
      fn? error, data
  feed: (url, fn) ->