Vietnam

    Nodejs.vn

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Groups
    • Search

    [Meteor] Xin package tương tự module "cheerio" của NodeJS

    Meteor
    0
    3
    907
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Nhật Thịnh
      Nhật Thịnh last edited by

      Các bác cho em hỏi, Meteor có package nào có chức năng tương tự như module cheerio của NodeJS không ạ.
      Cụ thể là:

      • Dùng Meteor gửi 1 request đến 1 url cho trước
      • Lấy body trả về
      • Sử dụng được chức năng tương tự jQuery selector đối với dữ liệu body đó.
        Module cheerio được đề cập đến trong bài này: https://anythingjs.com/crawl-du-lieu-cua-mot-trang-web-bang-nodejs/
        Em xin cảm ơn ạ!
      1 Reply Last reply Reply Quote 0
      • P
        pbn last edited by

        Meteor dùng package npm được nên bạn có thể dùng cheerio bình thường.

        1 Reply Last reply Reply Quote 0
        • Q
          Quang Nguyễn last edited by

          nightmare nhé bạn . http://www.nightmarejs.org/ https://github.com/segmentio/nightmare có thể tham khảo

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          $(document).ready(function () { app.coldLoad(); }); }